Class

PhoshStatusIcon

[]

Description [src]

class Phosh.StatusIcon : Gtk.Bin
  implements Atk.ImplementorIface, Gtk.Buildable {
  /* No available fields */
}

Base class for status icons used in the Phosh’s top-bar or in PhoshQuickSettings. It’s very common to have the same status icon class used for both places.

If the widget will be used in a PhoshQuickSetting it is recommended (but not required) that derived classes implement a enabled property.

[]

Constructors

phosh_status_icon_new
No description available.

[]

Instance methods

phosh_status_icon_get_extra_widget

Get the extra widget or NULL if there’s no extra widget.

phosh_status_icon_get_icon_name
No description available.

phosh_status_icon_get_icon_size

Return the size of status-icon.

deprecated: 0.47 

phosh_status_icon_get_info
No description available.

phosh_status_icon_get_pixel_size
No description available.

phosh_status_icon_set_extra_widget
No description available.

phosh_status_icon_set_icon_name
No description available.

phosh_status_icon_set_icon_size

Set the size of status-icon.

deprecated: 0.47 

phosh_status_icon_set_info
No description available.

phosh_status_icon_set_pixel_size
No description available.

Methods inherited from GtkBin (1)
Methods inherited from GtkContainer (33)
Methods inherited from GtkWidget (263)
Methods inherited from GObject (43)
Methods inherited from GtkBuildable (10)
[]

Properties

Phosh.StatusIcon:extra-widget

An extra widget to display. This is used for extra information when used in PhoshTopPanel. When used in PhoshQuickSetting this is not needed.

Phosh.StatusIcon:icon-name

The name of the icon to display in the widget.

Phosh.StatusIcon:icon-size

The size of the icon to display in the widget.

Phosh.StatusIcon:info

Textual information to display. Think of it as the PhoshStatusIcons label.

Phosh.StatusIcon:pixel-size

The size of the icon to display in the widget.

Properties inherited from GtkContainer (3)
Properties inherited from GtkWidget (39)
[]

Signals

Signals inherited from GtkContainer (4)
Signals inherited from GtkWidget (69)
Signals inherited from GObject (1)

Class structure

[]

Virtual methods

Phosh.StatusIconClass.idle_init

A callback to be invoked once on idle.