PhoshStatusIcon
PhoshStatusIcon — Base clase for different status icons e.g in the top bar
|
|
Implemented Interfaces
PhoshStatusIcon implements
AtkImplementorIface and GtkBuildable.
Functions
phosh_status_icon_new ()
GtkWidget *
phosh_status_icon_new (void
);
phosh_status_icon_set_icon_size ()
void
phosh_status_icon_set_icon_size (PhoshStatusIcon *self
,
GtkIconSize size
);
phosh_status_icon_get_icon_size ()
GtkIconSize
phosh_status_icon_get_icon_size (PhoshStatusIcon *self
);
phosh_status_icon_set_icon_name ()
void
phosh_status_icon_set_icon_name (PhoshStatusIcon *self
,
const gchar *icon_name
);
phosh_status_icon_get_icon_name ()
gchar *
phosh_status_icon_get_icon_name (PhoshStatusIcon *self
);
phosh_status_icon_set_extra_widget ()
void
phosh_status_icon_set_extra_widget (PhoshStatusIcon *self
,
GtkWidget *widget
);
phosh_status_icon_get_extra_widget ()
GtkWidget *
phosh_status_icon_get_extra_widget (PhoshStatusIcon *self
);
phosh_status_icon_set_info ()
void
phosh_status_icon_set_info (PhoshStatusIcon *self
,
const gchar *info
);
phosh_status_icon_get_info ()
gchar *
phosh_status_icon_get_info (PhoshStatusIcon *self
);
phosh_status_icon_set_show_always ()
void
phosh_status_icon_set_show_always (PhoshStatusIcon *self
,
gboolean show_always
);
phosh_status_icon_get_show_always ()
gboolean
phosh_status_icon_get_show_always (PhoshStatusIcon *self
);
Types and Values
PHOSH_TYPE_STATUS_ICON
#define PHOSH_TYPE_STATUS_ICON (phosh_status_icon_get_type())
struct PhoshStatusIconClass
struct PhoshStatusIconClass {
GtkBinClass parent_class;
};
PhoshStatusIcon
typedef struct _PhoshStatusIcon PhoshStatusIcon;
Property Details
The “extra-widget”
property
“extra-widget” GtkWidget *
An additional widget.
Flags: Read / Write
The “icon-name”
property
“icon-name” gchar *
The icon name.
Flags: Read / Write
Default value: NULL
The “icon-size”
property
“icon-size” GtkIconSize
The icon size.
Flags: Read / Write
Default value: GTK_ICON_SIZE_LARGE_TOOLBAR
The “info”
property
“info” gchar *
Additional state information.
Flags: Read / Write
Default value: NULL
The “show-always”
property
“show-always” gboolean
Show icon even when the corresponding manager indicates disabled or missing hardware.
Flags: Read / Write
Default value: FALSE