| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/gtk-doc/html/gtk/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkStatusIcon</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="DisplayWidgets.html" title="Display Widgets">
<link rel="prev" href="GtkInfoBar.html" title="GtkInfoBar">
<link rel="next" href="ButtonWidgets.html" title="Buttons and Toggles">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gtk.html" title="Part I. GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part II. GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part III. GTK+ Widgets and Objects">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="Widget Gallery">
<link rel="chapter" href="WindowWidgets.html" title="Windows">
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
<link rel="chapter" href="Ornaments.html" title="Ornaments">
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
<link rel="chapter" href="Printing.html" title="Printing">
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
<link rel="chapter" href="Builder.html" title="Interface builder">
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
<link rel="part" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and GtkComboBoxEntry">
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
<link rel="chapter" href="gtk-migrating-GtkBuilder.html" title="Migrating from libglade to GtkBuilder">
<link rel="chapter" href="gtk-migrating-tooltips.html" title="Migrating from GtkTooltips to GtkTooltip">
<link rel="chapter" href="gtk-migrating-entry-icons.html" title="Migrating from SexyIconEntry to GtkEntry">
<link rel="chapter" href="gtk-migrating-label-links.html" title="Migrating from SexyUrlLabel to GtkLabel">
<link rel="chapter" href="gtk-migrating-ClientSideWindows.html" title="Migrating to client-side windows">
<link rel="part" href="pt05.html" title="Part V. GTK+ Tools">
<link rel="glossary" href="glossary.html" title="Glossary">
<link rel="index" href="api-index-full.html" title="Index of all symbols">
<link rel="index" href="api-index-deprecated.html" title="Index of deprecated symbols">
<link rel="index" href="api-index-2-2.html" title="Index of new symbols in 2.2">
<link rel="index" href="api-index-2-4.html" title="Index of new symbols in 2.4">
<link rel="index" href="api-index-2-6.html" title="Index of new symbols in 2.6">
<link rel="index" href="api-index-2-8.html" title="Index of new symbols in 2.8">
<link rel="index" href="api-index-2-10.html" title="Index of new symbols in 2.10">
<link rel="index" href="api-index-2-12.html" title="Index of new symbols in 2.12">
<link rel="index" href="api-index-2-14.html" title="Index of new symbols in 2.14">
<link rel="index" href="api-index-2-16.html" title="Index of new symbols in 2.16">
<link rel="index" href="api-index-2-18.html" title="Index of new symbols in 2.18">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkInfoBar.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="DisplayWidgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="ButtonWidgets.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkStatusIcon.synopsis" class="shortcut">Top</a>
|
<a href="#GtkStatusIcon.description" class="shortcut">Description</a>
|
<a href="#GtkStatusIcon.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GtkStatusIcon.properties" class="shortcut">Properties</a>
|
<a href="#GtkStatusIcon.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" title="GtkStatusIcon">
<a name="GtkStatusIcon"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkStatusIcon.top_of_page"></a>GtkStatusIcon</span></h2>
<p>GtkStatusIcon — Display an icon in the system tray</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="GtkStatusIcon.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <gtk/gtk.h>
<a class="link" href="GtkStatusIcon.html#GtkStatusIcon-struct" title="GtkStatusIcon">GtkStatusIcon</a>;
<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-new" title="gtk_status_icon_new ()">gtk_status_icon_new</a> (void);
<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-new-from-pixbuf" title="gtk_status_icon_new_from_pixbuf ()">gtk_status_icon_new_from_pixbuf</a> (<a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf);
<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-new-from-file" title="gtk_status_icon_new_from_file ()">gtk_status_icon_new_from_file</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename);
<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-new-from-stock" title="gtk_status_icon_new_from_stock ()">gtk_status_icon_new_from_stock</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id);
<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-new-from-icon-name" title="gtk_status_icon_new_from_icon_name ()">gtk_status_icon_new_from_icon_name</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *icon_name);
<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-new-from-gicon" title="gtk_status_icon_new_from_gicon ()">gtk_status_icon_new_from_gicon</a> (<a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
>GIcon</a> *icon);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-from-pixbuf" title="gtk_status_icon_set_from_pixbuf ()">gtk_status_icon_set_from_pixbuf</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-from-file" title="gtk_status_icon_set_from_file ()">gtk_status_icon_set_from_file</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-from-stock" title="gtk_status_icon_set_from_stock ()">gtk_status_icon_set_from_stock</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-from-icon-name" title="gtk_status_icon_set_from_icon_name ()">gtk_status_icon_set_from_icon_name</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *icon_name);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-from-gicon" title="gtk_status_icon_set_from_gicon ()">gtk_status_icon_set_from_gicon</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
>GIcon</a> *icon);
<a class="link" href="GtkImage.html#GtkImageType" title="enum GtkImageType">GtkImageType</a> <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-storage-type" title="gtk_status_icon_get_storage_type ()">gtk_status_icon_get_storage_type</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
<a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-pixbuf" title="gtk_status_icon_get_pixbuf ()">gtk_status_icon_get_pixbuf</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-stock" title="gtk_status_icon_get_stock ()">gtk_status_icon_get_stock</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-icon-name" title="gtk_status_icon_get_icon_name ()">gtk_status_icon_get_icon_name</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
<a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
>GIcon</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-gicon" title="gtk_status_icon_get_gicon ()">gtk_status_icon_get_gicon</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-size" title="gtk_status_icon_get_size ()">gtk_status_icon_get_size</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-screen" title="gtk_status_icon_set_screen ()">gtk_status_icon_set_screen</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"
>GdkScreen</a> *screen);
<a
href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"
>GdkScreen</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-screen" title="gtk_status_icon_get_screen ()">gtk_status_icon_get_screen</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-tooltip" title="gtk_status_icon_set_tooltip ()">gtk_status_icon_set_tooltip</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *tooltip_text);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-tooltip-text" title="gtk_status_icon_set_tooltip_text ()">gtk_status_icon_set_tooltip_text</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-tooltip-text" title="gtk_status_icon_get_tooltip_text ()">gtk_status_icon_get_tooltip_text</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-tooltip-markup" title="gtk_status_icon_set_tooltip_markup ()">gtk_status_icon_set_tooltip_markup</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *markup);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-tooltip-markup" title="gtk_status_icon_get_tooltip_markup ()">gtk_status_icon_get_tooltip_markup</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-has-tooltip" title="gtk_status_icon_set_has_tooltip ()">gtk_status_icon_set_has_tooltip</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> has_tooltip);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-has-tooltip" title="gtk_status_icon_get_has_tooltip ()">gtk_status_icon_get_has_tooltip</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-title" title="gtk_status_icon_set_title ()">gtk_status_icon_set_title</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> * <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-title" title="gtk_status_icon_get_title ()">gtk_status_icon_get_title</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-visible" title="gtk_status_icon_set_visible ()">gtk_status_icon_set_visible</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> visible);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-visible" title="gtk_status_icon_get_visible ()">gtk_status_icon_get_visible</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-blinking" title="gtk_status_icon_set_blinking ()">gtk_status_icon_set_blinking</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> blinking);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-blinking" title="gtk_status_icon_get_blinking ()">gtk_status_icon_get_blinking</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GtkStatusIcon.html#gtk-status-icon-is-embedded" title="gtk_status_icon_is_embedded ()">gtk_status_icon_is_embedded</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
void <a class="link" href="GtkStatusIcon.html#gtk-status-icon-position-menu" title="gtk_status_icon_position_menu ()">gtk_status_icon_position_menu</a> (<a class="link" href="GtkMenu.html" title="GtkMenu">GtkMenu</a> *menu,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> *push_in,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-geometry" title="gtk_status_icon_get_geometry ()">gtk_status_icon_get_geometry</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"
>GdkScreen</a> **screen,
<a
href="http://library.gnome.org/devel/gdk/unstable/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
<a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation">GtkOrientation</a> *orientation);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-x11-window-id" title="gtk_status_icon_get_x11_window_id ()">gtk_status_icon_get_x11_window_id</a> (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="GtkStatusIcon.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----GtkStatusIcon
</pre>
</div>
<div class="refsect1" title="Properties">
<a name="GtkStatusIcon.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--blinking" title='The "blinking" property'>blinking</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--embedded" title='The "embedded" property'>embedded</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--file" title='The "file" property'>file</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Write
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--gicon" title='The "gicon" property'>gicon</a>" <a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
>GIcon</a>* : Read / Write
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--has-tooltip" title='The "has-tooltip" property'>has-tooltip</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--icon-name" title='The "icon-name" property'>icon-name</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--orientation" title='The "orientation" property'>orientation</a>" <a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation">GtkOrientation</a> : Read
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--pixbuf" title='The "pixbuf" property'>pixbuf</a>" <a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a>* : Read / Write
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--screen" title='The "screen" property'>screen</a>" <a
href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"
>GdkScreen</a>* : Read / Write
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--size" title='The "size" property'>size</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> : Read
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--stock" title='The "stock" property'>stock</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--storage-type" title='The "storage-type" property'>storage-type</a>" <a class="link" href="GtkImage.html#GtkImageType" title="enum GtkImageType">GtkImageType</a> : Read
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--title" title='The "title" property'>title</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--tooltip-markup" title='The "tooltip-markup" property'>tooltip-markup</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--tooltip-text" title='The "tooltip-text" property'>tooltip-text</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--visible" title='The "visible" property'>visible</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
</pre>
</div>
<div class="refsect1" title="Signals">
<a name="GtkStatusIcon.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon-activate" title='The "activate" signal'>activate</a>" : Run First / Action
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon-button-press-event" title='The "button-press-event" signal'>button-press-event</a>" : Run Last
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon-button-release-event" title='The "button-release-event" signal'>button-release-event</a>" : Run Last
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon-popup-menu" title='The "popup-menu" signal'>popup-menu</a>" : Run First / Action
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon-query-tooltip" title='The "query-tooltip" signal'>query-tooltip</a>" : Run Last
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon-scroll-event" title='The "scroll-event" signal'>scroll-event</a>" : Run Last
"<a class="link" href="GtkStatusIcon.html#GtkStatusIcon-size-changed" title='The "size-changed" signal'>size-changed</a>" : Run Last
</pre>
</div>
<div class="refsect1" title="Description">
<a name="GtkStatusIcon.description"></a><h2>Description</h2>
<p>
The "system tray" or notification area is normally used for transient icons
that indicate some special state. For example, a system tray icon might
appear to tell the user that they have new mail, or have an incoming instant
message, or something along those lines. The basic idea is that creating an
icon in the notification area is less annoying than popping up a dialog.
</p>
<p>
A <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> object can be used to display an icon in a "system tray".
The icon can have a tooltip, and the user can interact with it by
activating it or popping up a context menu. Critical information should
not solely be displayed in a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>, since it may not be
visible (e.g. when the user doesn't have a notification area on his panel).
This can be checked with <a class="link" href="GtkStatusIcon.html#gtk-status-icon-is-embedded" title="gtk_status_icon_is_embedded ()"><code class="function">gtk_status_icon_is_embedded()</code></a>.
</p>
<p>
On X11, the implementation follows the freedesktop.org "System Tray"
<a class="ulink" href="http://www.freedesktop.org/wiki/Standards/systemtray-spec" target="_top">specification</a>. Implementations of the "tray" side of this specification can
be found e.g. in the GNOME and KDE panel applications.
</p>
<p>
Note that a GtkStatusIcon is <span class="emphasis"><em>not</em></span> a widget, but just
a <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a>. Making it a widget would be impractical, since the system tray
on Win32 doesn't allow to embed arbitrary widgets.
</p>
</div>
<div class="refsect1" title="Details">
<a name="GtkStatusIcon.details"></a><h2>Details</h2>
<div class="refsect2" title="GtkStatusIcon">
<a name="GtkStatusIcon-struct"></a><h3>GtkStatusIcon</h3>
<pre class="programlisting">typedef struct _GtkStatusIcon GtkStatusIcon;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_new ()">
<a name="gtk-status-icon-new"></a><h3>gtk_status_icon_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> * gtk_status_icon_new (void);</pre>
<p>
Creates an empty status icon object.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_new_from_pixbuf ()">
<a name="gtk-status-icon-new-from-pixbuf"></a><h3>gtk_status_icon_new_from_pixbuf ()</h3>
<pre class="programlisting"><a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> * gtk_status_icon_new_from_pixbuf (<a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf);</pre>
<p>
Creates a status icon displaying <em class="parameter"><code>pixbuf</code></em>.
</p>
<p>
The image will be scaled down to fit in the available
space in the notification area, if necessary.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
<td> a <a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><span class="type">GdkPixbuf</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_new_from_file ()">
<a name="gtk-status-icon-new-from-file"></a><h3>gtk_status_icon_new_from_file ()</h3>
<pre class="programlisting"><a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> * gtk_status_icon_new_from_file (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename);</pre>
<p>
Creates a status icon displaying the file <em class="parameter"><code>filename</code></em>.
</p>
<p>
The image will be scaled down to fit in the available
space in the notification area, if necessary.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td> a filename
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_new_from_stock ()">
<a name="gtk-status-icon-new-from-stock"></a><h3>gtk_status_icon_new_from_stock ()</h3>
<pre class="programlisting"><a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> * gtk_status_icon_new_from_stock (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id);</pre>
<p>
Creates a status icon displaying a stock icon. Sample stock icon
names are <a class="link" href="gtk-Stock-Items.html#GTK-STOCK-OPEN--CAPS" title="GTK_STOCK_OPEN"><span class="type">GTK_STOCK_OPEN</span></a>, <a class="link" href="gtk-Stock-Items.html#GTK-STOCK-QUIT--CAPS" title="GTK_STOCK_QUIT"><span class="type">GTK_STOCK_QUIT</span></a>. You can register your
own stock icon names, see <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-factory-add-default" title="gtk_icon_factory_add_default ()"><code class="function">gtk_icon_factory_add_default()</code></a> and
<a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-factory-add" title="gtk_icon_factory_add ()"><code class="function">gtk_icon_factory_add()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
<td> a stock icon id
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_new_from_icon_name ()">
<a name="gtk-status-icon-new-from-icon-name"></a><h3>gtk_status_icon_new_from_icon_name ()</h3>
<pre class="programlisting"><a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> * gtk_status_icon_new_from_icon_name (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *icon_name);</pre>
<p>
Creates a status icon displaying an icon from the current icon theme.
If the current icon theme is changed, the icon will be updated
appropriately.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_name</code></em> :</span></p></td>
<td> an icon name
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_new_from_gicon ()">
<a name="gtk-status-icon-new-from-gicon"></a><h3>gtk_status_icon_new_from_gicon ()</h3>
<pre class="programlisting"><a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> * gtk_status_icon_new_from_gicon (<a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
>GIcon</a> *icon);</pre>
<p>
Creates a status icon displaying a <a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
><span class="type">GIcon</span></a>. If the icon is a
themed icon, it will be updated when the theme changes.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td>
<td> a <a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
><span class="type">GIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_set_from_pixbuf ()">
<a name="gtk-status-icon-set-from-pixbuf"></a><h3>gtk_status_icon_set_from_pixbuf ()</h3>
<pre class="programlisting">void gtk_status_icon_set_from_pixbuf (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf);</pre>
<p>
Makes <em class="parameter"><code>status_icon</code></em> display <em class="parameter"><code>pixbuf</code></em>.
See <a class="link" href="GtkStatusIcon.html#gtk-status-icon-new-from-pixbuf" title="gtk_status_icon_new_from_pixbuf ()"><code class="function">gtk_status_icon_new_from_pixbuf()</code></a> for details.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
<td> a <a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><span class="type">GdkPixbuf</span></a> or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_set_from_file ()">
<a name="gtk-status-icon-set-from-file"></a><h3>gtk_status_icon_set_from_file ()</h3>
<pre class="programlisting">void gtk_status_icon_set_from_file (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename);</pre>
<p>
Makes <em class="parameter"><code>status_icon</code></em> display the file <em class="parameter"><code>filename</code></em>.
See <a class="link" href="GtkStatusIcon.html#gtk-status-icon-new-from-file" title="gtk_status_icon_new_from_file ()"><code class="function">gtk_status_icon_new_from_file()</code></a> for details.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td> a filename
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_set_from_stock ()">
<a name="gtk-status-icon-set-from-stock"></a><h3>gtk_status_icon_set_from_stock ()</h3>
<pre class="programlisting">void gtk_status_icon_set_from_stock (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id);</pre>
<p>
Makes <em class="parameter"><code>status_icon</code></em> display the stock icon with the id <em class="parameter"><code>stock_id</code></em>.
See <a class="link" href="GtkStatusIcon.html#gtk-status-icon-new-from-stock" title="gtk_status_icon_new_from_stock ()"><code class="function">gtk_status_icon_new_from_stock()</code></a> for details.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
<td> a stock icon id
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_set_from_icon_name ()">
<a name="gtk-status-icon-set-from-icon-name"></a><h3>gtk_status_icon_set_from_icon_name ()</h3>
<pre class="programlisting">void gtk_status_icon_set_from_icon_name (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *icon_name);</pre>
<p>
Makes <em class="parameter"><code>status_icon</code></em> display the icon named <em class="parameter"><code>icon_name</code></em> from the
current icon theme.
See <a class="link" href="GtkStatusIcon.html#gtk-status-icon-new-from-icon-name" title="gtk_status_icon_new_from_icon_name ()"><code class="function">gtk_status_icon_new_from_icon_name()</code></a> for details.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_name</code></em> :</span></p></td>
<td> an icon name
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_set_from_gicon ()">
<a name="gtk-status-icon-set-from-gicon"></a><h3>gtk_status_icon_set_from_gicon ()</h3>
<pre class="programlisting">void gtk_status_icon_set_from_gicon (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
>GIcon</a> *icon);</pre>
<p>
Makes <em class="parameter"><code>status_icon</code></em> display the <a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
><span class="type">GIcon</span></a>.
See <a class="link" href="GtkStatusIcon.html#gtk-status-icon-new-from-gicon" title="gtk_status_icon_new_from_gicon ()"><code class="function">gtk_status_icon_new_from_gicon()</code></a> for details.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td>
<td> a GIcon
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_storage_type ()">
<a name="gtk-status-icon-get-storage-type"></a><h3>gtk_status_icon_get_storage_type ()</h3>
<pre class="programlisting"><a class="link" href="GtkImage.html#GtkImageType" title="enum GtkImageType">GtkImageType</a> gtk_status_icon_get_storage_type (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Gets the type of representation being used by the <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
to store image data. If the <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> has no image data,
the return value will be <a class="link" href="GtkImage.html#GTK-IMAGE-EMPTY--CAPS"><code class="literal">GTK_IMAGE_EMPTY</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the image representation being used
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_pixbuf ()">
<a name="gtk-status-icon-get-pixbuf"></a><h3>gtk_status_icon_get_pixbuf ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> * gtk_status_icon_get_pixbuf (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Gets the <a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><span class="type">GdkPixbuf</span></a> being displayed by the <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>.
The storage type of the status icon must be <a class="link" href="GtkImage.html#GTK-IMAGE-EMPTY--CAPS"><code class="literal">GTK_IMAGE_EMPTY</code></a> or
<a class="link" href="GtkImage.html#GTK-IMAGE-PIXBUF--CAPS"><code class="literal">GTK_IMAGE_PIXBUF</code></a> (see <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-storage-type" title="gtk_status_icon_get_storage_type ()"><code class="function">gtk_status_icon_get_storage_type()</code></a>).
The caller of this function does not own a reference to the
returned pixbuf.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the displayed pixbuf, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if the image is empty.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_stock ()">
<a name="gtk-status-icon-get-stock"></a><h3>gtk_status_icon_get_stock ()</h3>
<pre class="programlisting">const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> * gtk_status_icon_get_stock (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Gets the id of the stock icon being displayed by the <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>.
The storage type of the status icon must be <a class="link" href="GtkImage.html#GTK-IMAGE-EMPTY--CAPS"><code class="literal">GTK_IMAGE_EMPTY</code></a> or
<a class="link" href="GtkImage.html#GTK-IMAGE-STOCK--CAPS"><code class="literal">GTK_IMAGE_STOCK</code></a> (see <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-storage-type" title="gtk_status_icon_get_storage_type ()"><code class="function">gtk_status_icon_get_storage_type()</code></a>).
The returned string is owned by the <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> and should not
be freed or modified.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> stock id of the displayed stock icon,
or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if the image is empty.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_icon_name ()">
<a name="gtk-status-icon-get-icon-name"></a><h3>gtk_status_icon_get_icon_name ()</h3>
<pre class="programlisting">const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> * gtk_status_icon_get_icon_name (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Gets the name of the icon being displayed by the <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>.
The storage type of the status icon must be <a class="link" href="GtkImage.html#GTK-IMAGE-EMPTY--CAPS"><code class="literal">GTK_IMAGE_EMPTY</code></a> or
<a class="link" href="GtkImage.html#GTK-IMAGE-ICON-NAME--CAPS"><code class="literal">GTK_IMAGE_ICON_NAME</code></a> (see <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-storage-type" title="gtk_status_icon_get_storage_type ()"><code class="function">gtk_status_icon_get_storage_type()</code></a>).
The returned string is owned by the <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> and should not
be freed or modified.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> name of the displayed icon, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if the image is empty.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_gicon ()">
<a name="gtk-status-icon-get-gicon"></a><h3>gtk_status_icon_get_gicon ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
>GIcon</a> * gtk_status_icon_get_gicon (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Retrieves the <a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
><span class="type">GIcon</span></a> being displayed by the <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>.
The storage type of the status icon must be <a class="link" href="GtkImage.html#GTK-IMAGE-EMPTY--CAPS"><code class="literal">GTK_IMAGE_EMPTY</code></a> or
<a class="link" href="GtkImage.html#GTK-IMAGE-GICON--CAPS"><code class="literal">GTK_IMAGE_GICON</code></a> (see <a class="link" href="GtkStatusIcon.html#gtk-status-icon-get-storage-type" title="gtk_status_icon_get_storage_type ()"><code class="function">gtk_status_icon_get_storage_type()</code></a>).
The caller of this function does not own a reference to the
returned <a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
><span class="type">GIcon</span></a>.
</p>
<p>
If this function fails, <em class="parameter"><code>icon</code></em> is left unchanged;</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the displayed icon, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if the image is empty
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_size ()">
<a name="gtk-status-icon-get-size"></a><h3>gtk_status_icon_get_size ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> gtk_status_icon_get_size (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Gets the size in pixels that is available for the image.
Stock icons and named icons adapt their size automatically
if the size of the notification area changes. For other
storage types, the size-changed signal can be used to
react to size changes.
</p>
<p>
Note that the returned size is only meaningful while the
status icon is embedded (see <a class="link" href="GtkStatusIcon.html#gtk-status-icon-is-embedded" title="gtk_status_icon_is_embedded ()"><code class="function">gtk_status_icon_is_embedded()</code></a>).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the size that is available for the image
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_set_screen ()">
<a name="gtk-status-icon-set-screen"></a><h3>gtk_status_icon_set_screen ()</h3>
<pre class="programlisting">void gtk_status_icon_set_screen (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"
>GdkScreen</a> *screen);</pre>
<p>
Sets the <a
href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"
><span class="type">GdkScreen</span></a> where <em class="parameter"><code>status_icon</code></em> is displayed; if
the icon is already mapped, it will be unmapped, and
then remapped on the new screen.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
<td> a <a
href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"
><span class="type">GdkScreen</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_screen ()">
<a name="gtk-status-icon-get-screen"></a><h3>gtk_status_icon_get_screen ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"
>GdkScreen</a> * gtk_status_icon_get_screen (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Returns the <a
href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"
><span class="type">GdkScreen</span></a> associated with <em class="parameter"><code>status_icon</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a
href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"
><span class="type">GdkScreen</span></a>.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_set_tooltip ()">
<a name="gtk-status-icon-set-tooltip"></a><h3>gtk_status_icon_set_tooltip ()</h3>
<pre class="programlisting">void gtk_status_icon_set_tooltip (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *tooltip_text);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_status_icon_set_tooltip</code> has been deprecated since version 2.16 and should not be used in newly-written code. Use <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-tooltip-text" title="gtk_status_icon_set_tooltip_text ()"><code class="function">gtk_status_icon_set_tooltip_text()</code></a> instead.</p>
</div>
<p>
Sets the tooltip of the status icon.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltip_text</code></em> :</span></p></td>
<td> the tooltip text, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_set_tooltip_text ()">
<a name="gtk-status-icon-set-tooltip-text"></a><h3>gtk_status_icon_set_tooltip_text ()</h3>
<pre class="programlisting">void gtk_status_icon_set_tooltip_text (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);</pre>
<p>
Sets <em class="parameter"><code>text</code></em> as the contents of the tooltip.
</p>
<p>
This function will take care of setting <a class="link" href="GtkStatusIcon.html#GtkStatusIcon--has-tooltip" title='The "has-tooltip" property'><span class="type">"has-tooltip"</span></a> to
<a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> and of the default handler for the <a class="link" href="GtkStatusIcon.html#GtkStatusIcon-query-tooltip" title='The "query-tooltip" signal'><span class="type">"query-tooltip"</span></a>
signal.
</p>
<p>
See also the <a class="link" href="GtkStatusIcon.html#GtkStatusIcon--tooltip-text" title='The "tooltip-text" property'><span class="type">"tooltip-text"</span></a> property and
<a class="link" href="GtkTooltip.html#gtk-tooltip-set-text" title="gtk_tooltip_set_text ()"><code class="function">gtk_tooltip_set_text()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td> the contents of the tooltip for <em class="parameter"><code>status_icon</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_tooltip_text ()">
<a name="gtk-status-icon-get-tooltip-text"></a><h3>gtk_status_icon_get_tooltip_text ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> * gtk_status_icon_get_tooltip_text (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Gets the contents of the tooltip for <em class="parameter"><code>status_icon</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the tooltip text, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>. You should free the
returned string with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when done.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_set_tooltip_markup ()">
<a name="gtk-status-icon-set-tooltip-markup"></a><h3>gtk_status_icon_set_tooltip_markup ()</h3>
<pre class="programlisting">void gtk_status_icon_set_tooltip_markup (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *markup);</pre>
<p>
Sets <em class="parameter"><code>markup</code></em> as the contents of the tooltip, which is marked up with
the <a
href="/usr/share/gtk-doc/html/pango/PangoMarkupFormat.html"
>Pango text markup language</a>.
</p>
<p>
This function will take care of setting <a class="link" href="GtkStatusIcon.html#GtkStatusIcon--has-tooltip" title='The "has-tooltip" property'><span class="type">"has-tooltip"</span></a> to <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a>
and of the default handler for the <a class="link" href="GtkStatusIcon.html#GtkStatusIcon-query-tooltip" title='The "query-tooltip" signal'><span class="type">"query-tooltip"</span></a> signal.
</p>
<p>
See also the <a class="link" href="GtkStatusIcon.html#GtkStatusIcon--tooltip-markup" title='The "tooltip-markup" property'><span class="type">"tooltip-markup"</span></a> property and
<a class="link" href="GtkTooltip.html#gtk-tooltip-set-markup" title="gtk_tooltip_set_markup ()"><code class="function">gtk_tooltip_set_markup()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>markup</code></em> :</span></p></td>
<td> the contents of the tooltip for <em class="parameter"><code>status_icon</code></em>, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_tooltip_markup ()">
<a name="gtk-status-icon-get-tooltip-markup"></a><h3>gtk_status_icon_get_tooltip_markup ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> * gtk_status_icon_get_tooltip_markup (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Gets the contents of the tooltip for <em class="parameter"><code>status_icon</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the tooltip text, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>. You should free the
returned string with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when done.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_set_has_tooltip ()">
<a name="gtk-status-icon-set-has-tooltip"></a><h3>gtk_status_icon_set_has_tooltip ()</h3>
<pre class="programlisting">void gtk_status_icon_set_has_tooltip (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> has_tooltip);</pre>
<p>
Sets the has-tooltip property on <em class="parameter"><code>status_icon</code></em> to <em class="parameter"><code>has_tooltip</code></em>.
See <a class="link" href="GtkStatusIcon.html#GtkStatusIcon--has-tooltip" title='The "has-tooltip" property'><span class="type">"has-tooltip"</span></a> for more information.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>has_tooltip</code></em> :</span></p></td>
<td> whether or not <em class="parameter"><code>status_icon</code></em> has a tooltip
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_has_tooltip ()">
<a name="gtk-status-icon-get-has-tooltip"></a><h3>gtk_status_icon_get_has_tooltip ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_status_icon_get_has_tooltip (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Returns the current value of the has-tooltip property.
See <a class="link" href="GtkStatusIcon.html#GtkStatusIcon--has-tooltip" title='The "has-tooltip" property'><span class="type">"has-tooltip"</span></a> for more information.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> current value of has-tooltip on <em class="parameter"><code>status_icon</code></em>.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_set_title ()">
<a name="gtk-status-icon-set-title"></a><h3>gtk_status_icon_set_title ()</h3>
<pre class="programlisting">void gtk_status_icon_set_title (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title);</pre>
<p>
Sets the title of this tray icon.
This should be a short, human-readable, localized string
describing the tray icon. It may be used by tools like screen
readers to render the tray icon.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td> the title
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.18</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_title ()">
<a name="gtk-status-icon-get-title"></a><h3>gtk_status_icon_get_title ()</h3>
<pre class="programlisting">const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> * gtk_status_icon_get_title (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Gets the title of this tray icon. See <a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-title" title="gtk_status_icon_set_title ()"><code class="function">gtk_status_icon_set_title()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the title of the status icon
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.18</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_set_visible ()">
<a name="gtk-status-icon-set-visible"></a><h3>gtk_status_icon_set_visible ()</h3>
<pre class="programlisting">void gtk_status_icon_set_visible (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> visible);</pre>
<p>
Shows or hides a status icon.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>visible</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> to show the status icon, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> to hide it
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_visible ()">
<a name="gtk-status-icon-get-visible"></a><h3>gtk_status_icon_get_visible ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_status_icon_get_visible (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Returns whether the status icon is visible or not.
Note that being visible does not guarantee that
the user can actually see the icon, see also
<a class="link" href="GtkStatusIcon.html#gtk-status-icon-is-embedded" title="gtk_status_icon_is_embedded ()"><code class="function">gtk_status_icon_is_embedded()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the status icon is visible
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_set_blinking ()">
<a name="gtk-status-icon-set-blinking"></a><h3>gtk_status_icon_set_blinking ()</h3>
<pre class="programlisting">void gtk_status_icon_set_blinking (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> blinking);</pre>
<p>
Makes the status icon start or stop blinking.
Note that blinking user interface elements may be problematic
for some users, and thus may be turned off, in which case
this setting has no effect.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>blinking</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> to turn blinking on, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> to turn it off
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_blinking ()">
<a name="gtk-status-icon-get-blinking"></a><h3>gtk_status_icon_get_blinking ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_status_icon_get_blinking (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Returns whether the icon is blinking, see
<a class="link" href="GtkStatusIcon.html#gtk-status-icon-set-blinking" title="gtk_status_icon_set_blinking ()"><code class="function">gtk_status_icon_set_blinking()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the icon is blinking
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_is_embedded ()">
<a name="gtk-status-icon-is-embedded"></a><h3>gtk_status_icon_is_embedded ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_status_icon_is_embedded (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
Returns whether the status icon is embedded in a notification
area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the status icon is embedded in
a notification area.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_position_menu ()">
<a name="gtk-status-icon-position-menu"></a><h3>gtk_status_icon_position_menu ()</h3>
<pre class="programlisting">void gtk_status_icon_position_menu (<a class="link" href="GtkMenu.html" title="GtkMenu">GtkMenu</a> *menu,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> *push_in,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>
Menu positioning function to use with <a class="link" href="GtkMenu.html#gtk-menu-popup" title="gtk_menu_popup ()"><code class="function">gtk_menu_popup()</code></a>
to position <em class="parameter"><code>menu</code></em> aligned to the status icon <em class="parameter"><code>user_data</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
<td> the <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td> return location for the x position
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td> return location for the y position
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>push_in</code></em> :</span></p></td>
<td> whether the first menu item should be offset (pushed in) to be
aligned with the menu popup position (only useful for GtkOptionMenu).
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td> the status icon to position the menu on
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_geometry ()">
<a name="gtk-status-icon-get-geometry"></a><h3>gtk_status_icon_get_geometry ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_status_icon_get_geometry (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"
>GdkScreen</a> **screen,
<a
href="http://library.gnome.org/devel/gdk/unstable/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
<a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation">GtkOrientation</a> *orientation);</pre>
<p>
Obtains information about the location of the status icon
on screen. This information can be used to e.g. position
popups like notification bubbles.
</p>
<p>
See <a class="link" href="GtkStatusIcon.html#gtk-status-icon-position-menu" title="gtk_status_icon_position_menu ()"><code class="function">gtk_status_icon_position_menu()</code></a> for a more convenient
alternative for positioning menus.
</p>
<p>
Note that some platforms do not allow GTK+ to provide
this information, and even on platforms that do allow it,
the information is not reliable unless the status icon
is embedded in a notification area, see
<a class="link" href="GtkStatusIcon.html#gtk-status-icon-is-embedded" title="gtk_status_icon_is_embedded ()"><code class="function">gtk_status_icon_is_embedded()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
<td> return location for the screen, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if the
information is not needed
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>area</code></em> :</span></p></td>
<td> return location for the area occupied by the status
icon, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>orientation</code></em> :</span></p></td>
<td> return location for the orientation of the panel
in which the status icon is embedded, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>. A panel
at the top or bottom of the screen is horizontal, a panel
at the left or right is vertical.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the location information has
been filled in
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_status_icon_get_x11_window_id ()">
<a name="gtk-status-icon-get-x11-window-id"></a><h3>gtk_status_icon_get_x11_window_id ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> gtk_status_icon_get_x11_window_id (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon);</pre>
<p>
This function is only useful on the X11/freedesktop.org platform.
It returns a window ID for the widget in the underlying
status icon implementation. This is useful for the Galago
notification service, which can send a window ID in the protocol
in order for the server to position notification windows
pointing to a status icon reliably.
</p>
<p>
This function is not intended for other use cases which are
more likely to be met by one of the non-X11 specific methods, such
as <a class="link" href="GtkStatusIcon.html#gtk-status-icon-position-menu" title="gtk_status_icon_position_menu ()"><code class="function">gtk_status_icon_position_menu()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> An 32 bit unsigned integer identifier for the
underlying X11 Window
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="GtkStatusIcon.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "blinking" property'>
<a name="GtkStatusIcon--blinking"></a><h3>The <code class="literal">"blinking"</code> property</h3>
<pre class="programlisting"> "blinking" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Whether or not the status icon is blinking.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" title='The "embedded" property'>
<a name="GtkStatusIcon--embedded"></a><h3>The <code class="literal">"embedded"</code> property</h3>
<pre class="programlisting"> "embedded" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read</pre>
<p>
<a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the statusicon is embedded in a notification area.</p>
<p>
</p>
<p>Default value: FALSE</p>
<p>Since 2.12</p>
</div>
<hr>
<div class="refsect2" title='The "file" property'>
<a name="GtkStatusIcon--file"></a><h3>The <code class="literal">"file"</code> property</h3>
<pre class="programlisting"> "file" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Write</pre>
<p>Filename to load and display.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "gicon" property'>
<a name="GtkStatusIcon--gicon"></a><h3>The <code class="literal">"gicon"</code> property</h3>
<pre class="programlisting"> "gicon" <a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
>GIcon</a>* : Read / Write</pre>
<p>
The <a
href="/usr/share/gtk-doc/html/gio/GIcon.html"
><span class="type">GIcon</span></a> displayed in the <a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>. For themed icons,
the image will be updated automatically if the theme changes.</p>
<p>
</p>
<p>Since 2.14</p>
</div>
<hr>
<div class="refsect2" title='The "has-tooltip" property'>
<a name="GtkStatusIcon--has-tooltip"></a><h3>The <code class="literal">"has-tooltip"</code> property</h3>
<pre class="programlisting"> "has-tooltip" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>
Enables or disables the emission of <a class="link" href="GtkStatusIcon.html#GtkStatusIcon-query-tooltip" title='The "query-tooltip" signal'><span class="type">"query-tooltip"</span></a> on
<em class="parameter"><code>status_icon</code></em>. A value of <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> indicates that <em class="parameter"><code>status_icon</code></em> can have a
tooltip, in this case the status icon will be queried using
<a class="link" href="GtkStatusIcon.html#GtkStatusIcon-query-tooltip" title='The "query-tooltip" signal'><span class="type">"query-tooltip"</span></a> to determine whether it will provide a
tooltip or not.
</p>
<p>
Note that setting this property to <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> for the first time will change
the event masks of the windows of this status icon to include leave-notify
and motion-notify events. This will not be undone when the property is set
to <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> again.
</p>
<p>
Whether this property is respected is platform dependent.
For plain text tooltips, use <a class="link" href="GtkStatusIcon.html#GtkStatusIcon--tooltip-text" title='The "tooltip-text" property'><span class="type">"tooltip-text"</span></a> in preference.</p>
<p>
</p>
<p>Default value: FALSE</p>
<p>Since 2.16</p>
</div>
<hr>
<div class="refsect2" title='The "icon-name" property'>
<a name="GtkStatusIcon--icon-name"></a><h3>The <code class="literal">"icon-name"</code> property</h3>
<pre class="programlisting"> "icon-name" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write</pre>
<p>The name of the icon from the icon theme.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "orientation" property'>
<a name="GtkStatusIcon--orientation"></a><h3>The <code class="literal">"orientation"</code> property</h3>
<pre class="programlisting"> "orientation" <a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation">GtkOrientation</a> : Read</pre>
<p>
The orientation of the tray in which the statusicon
is embedded.</p>
<p>
</p>
<p>Default value: GTK_ORIENTATION_HORIZONTAL</p>
<p>Since 2.12</p>
</div>
<hr>
<div class="refsect2" title='The "pixbuf" property'>
<a name="GtkStatusIcon--pixbuf"></a><h3>The <code class="literal">"pixbuf"</code> property</h3>
<pre class="programlisting"> "pixbuf" <a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a>* : Read / Write</pre>
<p>A GdkPixbuf to display.</p>
</div>
<hr>
<div class="refsect2" title='The "screen" property'>
<a name="GtkStatusIcon--screen"></a><h3>The <code class="literal">"screen"</code> property</h3>
<pre class="programlisting"> "screen" <a
href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"
>GdkScreen</a>* : Read / Write</pre>
<p>The screen where this status icon will be displayed.</p>
</div>
<hr>
<div class="refsect2" title='The "size" property'>
<a name="GtkStatusIcon--size"></a><h3>The <code class="literal">"size"</code> property</h3>
<pre class="programlisting"> "size" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> : Read</pre>
<p>The size of the icon.</p>
<p>Allowed values: >= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "stock" property'>
<a name="GtkStatusIcon--stock"></a><h3>The <code class="literal">"stock"</code> property</h3>
<pre class="programlisting"> "stock" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write</pre>
<p>Stock ID for a stock image to display.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "storage-type" property'>
<a name="GtkStatusIcon--storage-type"></a><h3>The <code class="literal">"storage-type"</code> property</h3>
<pre class="programlisting"> "storage-type" <a class="link" href="GtkImage.html#GtkImageType" title="enum GtkImageType">GtkImageType</a> : Read</pre>
<p>The representation being used for image data.</p>
<p>Default value: GTK_IMAGE_EMPTY</p>
</div>
<hr>
<div class="refsect2" title='The "title" property'>
<a name="GtkStatusIcon--title"></a><h3>The <code class="literal">"title"</code> property</h3>
<pre class="programlisting"> "title" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write</pre>
<p>
The title of this tray icon. This should be a short, human-readable,
localized string describing the tray icon. It may be used by tools
like screen readers to render the tray icon.</p>
<p>
</p>
<p>Default value: NULL</p>
<p>Since 2.18</p>
</div>
<hr>
<div class="refsect2" title='The "tooltip-markup" property'>
<a name="GtkStatusIcon--tooltip-markup"></a><h3>The <code class="literal">"tooltip-markup"</code> property</h3>
<pre class="programlisting"> "tooltip-markup" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write</pre>
<p>
Sets the text of tooltip to be the given string, which is marked up
with the <a
href="/usr/share/gtk-doc/html/pango/PangoMarkupFormat.html"
>Pango text markup
language</a>. Also see <a class="link" href="GtkTooltip.html#gtk-tooltip-set-markup" title="gtk_tooltip_set_markup ()"><code class="function">gtk_tooltip_set_markup()</code></a>.
</p>
<p>
This is a convenience property which will take care of getting the
tooltip shown if the given string is not <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>.
<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--has-tooltip" title='The "has-tooltip" property'><span class="type">"has-tooltip"</span></a> will automatically be set to <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> and
the default handler for the <a class="link" href="GtkStatusIcon.html#GtkStatusIcon-query-tooltip" title='The "query-tooltip" signal'><span class="type">"query-tooltip"</span></a> signal
will take care of displaying the tooltip.
</p>
<p>
On some platforms, embedded markup will be ignored.</p>
<p>
</p>
<p>Default value: NULL</p>
<p>Since 2.16</p>
</div>
<hr>
<div class="refsect2" title='The "tooltip-text" property'>
<a name="GtkStatusIcon--tooltip-text"></a><h3>The <code class="literal">"tooltip-text"</code> property</h3>
<pre class="programlisting"> "tooltip-text" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write</pre>
<p>
Sets the text of tooltip to be the given string.
</p>
<p>
Also see <a class="link" href="GtkTooltip.html#gtk-tooltip-set-text" title="gtk_tooltip_set_text ()"><code class="function">gtk_tooltip_set_text()</code></a>.
</p>
<p>
This is a convenience property which will take care of getting the
tooltip shown if the given string is not <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>.
<a class="link" href="GtkStatusIcon.html#GtkStatusIcon--has-tooltip" title='The "has-tooltip" property'><span class="type">"has-tooltip"</span></a> will automatically be set to <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> and
the default handler for the <a class="link" href="GtkStatusIcon.html#GtkStatusIcon-query-tooltip" title='The "query-tooltip" signal'><span class="type">"query-tooltip"</span></a> signal
will take care of displaying the tooltip.
</p>
<p>
Note that some platforms have limitations on the length of tooltips
that they allow on status icons, e.g. Windows only shows the first
64 characters.</p>
<p>
</p>
<p>Default value: NULL</p>
<p>Since 2.16</p>
</div>
<hr>
<div class="refsect2" title='The "visible" property'>
<a name="GtkStatusIcon--visible"></a><h3>The <code class="literal">"visible"</code> property</h3>
<pre class="programlisting"> "visible" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Whether or not the status icon is visible.</p>
<p>Default value: TRUE</p>
</div>
</div>
<div class="refsect1" title="Signal Details">
<a name="GtkStatusIcon.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" title='The "activate" signal'>
<a name="GtkStatusIcon-activate"></a><h3>The <code class="literal">"activate"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First / Action</pre>
<p>
Gets emitted when the user activates the status icon.
If and how status icons can activated is platform-dependent.
</p>
<p>
Unlike most G_SIGNAL_ACTION signals, this signal is meant to
be used by applications and should be wrapped by language bindings.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> the object which received the signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p>Since 2.10</p>
</div>
<hr>
<div class="refsect2" title='The "button-press-event" signal'>
<a name="GtkStatusIcon-button-press-event"></a><h3>The <code class="literal">"button-press-event"</code> signal</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> user_function (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEventButton"
>GdkEventButton</a> *event,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
The ::button-press-event signal will be emitted when a button
(typically from a mouse) is pressed.
</p>
<p>
Whether this event is emitted is platform-dependent. Use the ::activate
and ::popup-menu signals in preference.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> the object which received the signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td> the <a
href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEventButton"
><span class="type">GdkEventButton</span></a> which triggered this signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> to stop other handlers from being invoked
for the event. <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> to propagate the event further.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.14</p>
</div>
<hr>
<div class="refsect2" title='The "button-release-event" signal'>
<a name="GtkStatusIcon-button-release-event"></a><h3>The <code class="literal">"button-release-event"</code> signal</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> user_function (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEventButton"
>GdkEventButton</a> *event,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
The ::button-release-event signal will be emitted when a button
(typically from a mouse) is released.
</p>
<p>
Whether this event is emitted is platform-dependent. Use the ::activate
and ::popup-menu signals in preference.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> the object which received the signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td> the <a
href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEventButton"
><span class="type">GdkEventButton</span></a> which triggered this signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> to stop other handlers from being invoked
for the event. <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> to propagate the event further.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.14</p>
</div>
<hr>
<div class="refsect2" title='The "popup-menu" signal'>
<a name="GtkStatusIcon-popup-menu"></a><h3>The <code class="literal">"popup-menu"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> button,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> activate_time,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First / Action</pre>
<p>
Gets emitted when the user brings up the context menu
of the status icon. Whether status icons can have context
menus and how these are activated is platform-dependent.
</p>
<p>
The <em class="parameter"><code>button</code></em> and <em class="parameter"><code>activate_time</code></em> parameters should be
passed as the last to arguments to <a class="link" href="GtkMenu.html#gtk-menu-popup" title="gtk_menu_popup ()"><code class="function">gtk_menu_popup()</code></a>.
</p>
<p>
Unlike most G_SIGNAL_ACTION signals, this signal is meant to
be used by applications and should be wrapped by language bindings.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> the object which received the signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>button</code></em> :</span></p></td>
<td> the button that was pressed, or 0 if the
signal is not emitted in response to a button press event
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>activate_time</code></em> :</span></p></td>
<td> the timestamp of the event that
triggered the signal emission
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p>Since 2.10</p>
</div>
<hr>
<div class="refsect2" title='The "query-tooltip" signal'>
<a name="GtkStatusIcon-query-tooltip"></a><h3>The <code class="literal">"query-tooltip"</code> signal</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> user_function (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> keyboard_mode,
<a class="link" href="GtkTooltip.html" title="GtkTooltip">GtkTooltip</a> *tooltip,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
Emitted when the <a class="link" href="GtkSettings.html#GtkSettings--gtk-tooltip-timeout" title='The "gtk-tooltip-timeout" property'><span class="type">"gtk-tooltip-timeout"</span></a> has expired with the
cursor hovering above <em class="parameter"><code>status_icon</code></em>; or emitted when <em class="parameter"><code>status_icon</code></em> got
focus in keyboard mode.
</p>
<p>
Using the given coordinates, the signal handler should determine
whether a tooltip should be shown for <em class="parameter"><code>status_icon</code></em>. If this is
the case <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> should be returned, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> otherwise. Note that if
<em class="parameter"><code>keyboard_mode</code></em> is <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a>, the values of <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> are undefined and
should not be used.
</p>
<p>
The signal handler is free to manipulate <em class="parameter"><code>tooltip</code></em> with the therefore
destined function calls.
</p>
<p>
Whether this signal is emitted is platform-dependent.
For plain text tooltips, use <a class="link" href="GtkStatusIcon.html#GtkStatusIcon--tooltip-text" title='The "tooltip-text" property'><span class="type">"tooltip-text"</span></a> in preference.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> the object which received the signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td> the x coordinate of the cursor position where the request has been
emitted, relative to <em class="parameter"><code>status_icon</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td> the y coordinate of the cursor position where the request has been
emitted, relative to <em class="parameter"><code>status_icon</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>keyboard_mode</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the tooltip was trigged using the keyboard
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
<td> a <a class="link" href="GtkTooltip.html" title="GtkTooltip"><span class="type">GtkTooltip</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>tooltip</code></em> should be shown right now, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> otherwise.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.16</p>
</div>
<hr>
<div class="refsect2" title='The "scroll-event" signal'>
<a name="GtkStatusIcon-scroll-event"></a><h3>The <code class="literal">"scroll-event"</code> signal</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> user_function (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEventScroll"
>GdkEventScroll</a> *event,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
The ::scroll-event signal is emitted when a button in the 4 to 7
range is pressed. Wheel mice are usually configured to generate
button press events for buttons 4 and 5 when the wheel is turned.
</p>
<p>
Whether this event is emitted is platform-dependent.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td> the <a
href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEventScroll"
><span class="type">GdkEventScroll</span></a> which triggered this signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> to stop other handlers from being invoked for the event.
<a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> to propagate the event further.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "size-changed" signal'>
<a name="GtkStatusIcon-size-changed"></a><h3>The <code class="literal">"size-changed"</code> signal</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> user_function (<a class="link" href="GtkStatusIcon.html" title="GtkStatusIcon">GtkStatusIcon</a> *status_icon,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> size,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
Gets emitted when the size available for the image
changes, e.g. because the notification area got resized.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td> the object which received the signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td> the new size
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the icon was updated for the new
size. Otherwise, GTK+ will scale the icon as necessary.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.10</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
</body>
</html>