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 top and bottom border radius are different then this matches the top border radius. given applies to all corners of the panel.
deprecated: 0.6.0 since: 0.0.1
gm_display_panel_get_corner_radii
Gets the panels border radii starting with the top-left corner clockwise.
since: 0.6.0
gm_display_panel_get_corner_radii_array
Gets the panels border radii starting with the top-left corner clockwise.
since: 0.6.0
Properties
Gm.DisplayPanel:border-radius
The corner radius of the panel edges in device pixels.
deprecated: 0.6.0 since: 0.0.1
Gm.DisplayPanel:corner-radii
The radii of the panels corner starting top-left and going clockwise.
since: 0.6.0
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.