| Top |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkButton ╰── PhoshQuickSetting
PhoshQuickSetting implements AtkImplementorIface, GtkBuildable, GtkActionable and GtkActivatable.
The QuickSetting is a widget which is meant to be placed inside the top drawer. It contains a GtkLabel and accepts one StatusIcon as a child. The info property of the StatusIcon is bind to the GtkLabel. It's ideal to set show-always property to true of the StatusIcon, because otherways QuickSetting would lose it's icon. A QuickSetting 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);
void
phosh_quick_setting_open_settings_panel
(gchar *panel);
“status-icon” property“status-icon” PhoshStatusIcon *
The status icon representing the quick setting.
Owner: PhoshQuickSetting
Flags: Read
“long-pressed” signalvoid user_function (PhoshQuickSetting *phoshquicksetting, gpointer user_data)
Flags: Action