Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | phosh_background_new () |
void | phosh_background_set_primary () |
void | phosh_background_set_scale () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── PhoshLayerSurface ╰── PhoshBackground
GtkWidget * phosh_background_new (gpointer layer_shell
,gpointer wl_output
,guint scale
,gboolean primary
);
void phosh_background_set_primary (PhoshBackground *self
,gboolean primary
);
“primary”
property“primary” gboolean
Whether this is the background for the primary monitor.
Flags: Read / Write / Construct
Default value: FALSE
“scale”
property“scale” guint
The output scale.
Flags: Read / Write / Construct
Allowed values: >= 1
Default value: 1
“background-loaded”
signalvoid user_function (PhoshBackground *phoshbackground, gpointer user_data)
Flags: Run Last