GtkStatusIcon::get_visible

bool get_visible();

Get visibility state of the GtkStatusIcon object. An invisible state is useful for applications that do not require the constant reporting of the current state to the user. An example would be an auto updater for an application, that only displays an icon when an update is available.

$tray = new GtkStatusIcon();
$is_visible = $tray->get_visible();

See also: set_visible()