Class
GmDisplayPanel
since: 0.0.1
Description [src]
final class Gm.DisplayPanel : GObject.Object {
/* No available fields */
}
Physical properties of a display panel like size, cutouts and rounded corners.
Available since: 0.0.1
Constructors
gm_display_panel_new_from_data
Constructs a new display panel based on the given data. If that fails
NULL
is returned and error
describes the error that occurred.
since: 0.0.1
gm_display_panel_new_from_resource
Constructs a new display panel by fetching the data from the given
GResource. If that fails NULL
is returned and error
describes
the error that occurred.
since: 0.0.1
Instance methods
gm_display_panel_get_border_radius
Gets the panels border radius. 0 indicates rectangular corners. If given applies to all corners of the panel.
since: 0.0.1
Properties
Gm.DisplayPanel:border-radius
The border radius of the panel edges in device pixels
If a single border radius isn’t enough use multiple GmCutout
.
since: 0.0.1
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.