Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkButton ╰── PhoshQuickSetting
PhoshQuickSetting implements AtkImplementorIface, GtkBuildable, GtkActionable and GtkActivatable.
The PhoshQuickSetting is a widget which is meant to be placed inside the top drawer. It contains a GtkLabel and accepts one PhoshStatusIcon as a child. The info property of the PhoshStatusIcon is bind to the GtkLabel. A PhoshQuickSetting has two signals long_press and clicked, where the first is emited when the user performs a long press, the second signal is a normal single click.
void phosh_quick_setting_set_status_icon (PhoshQuickSetting *self
,PhoshStatusIcon *widget
);
PhoshStatusIcon *
phosh_quick_setting_get_status_icon (PhoshQuickSetting *self
);
“status-icon”
property“status-icon” PhoshStatusIcon *
The status icon representing the quick setting.
Flags: Read
“long-pressed”
signalvoid user_function (PhoshQuickSetting *phoshquicksetting, gpointer user_data)
Flags: Action