From 629324674c65f9ddcc89ec50cac747ac7040d798 Mon Sep 17 00:00:00 2001
From: Ted Gould
-Get the GType for a AppIndicator.
+Get the GType for a AppIndicator.
-Safely convert a GObject into an AppIndicator.
+Safely convert a GObject into an AppIndicator.
void
);
-AppIndicator * app_indicator_new (const gchar *id
,
- const gchar *icon_name
,
+GType app_indicator_get_type (void
);
+AppIndicator * app_indicator_new (const gchar *id
,
+ const gchar *icon_name
,
AppIndicatorCategory category
);
-AppIndicator * app_indicator_new_with_path (const gchar *id
,
- const gchar *icon_name
,
+AppIndicator * app_indicator_new_with_path (const gchar *id
,
+ const gchar *icon_name
,
AppIndicatorCategory category
,
- const gchar *icon_path
);
+ const gchar *icon_path
);
void app_indicator_set_status (AppIndicator *self
,
AppIndicatorStatus status
);
void app_indicator_set_attention_icon (AppIndicator *self
,
- const gchar *icon_name
);
+ const gchar *icon_name
);
void app_indicator_set_menu (AppIndicator *self
,
- GtkMenu *menu
);
+ GtkMenu *menu
);
void app_indicator_set_icon (AppIndicator *self
,
- const gchar *icon_name
);
-const gchar * app_indicator_get_id (AppIndicator *self
);
+ const gchar *icon_name
);
+const gchar * app_indicator_get_id (AppIndicator *self
);
AppIndicatorCategory app_indicator_get_category (AppIndicator *self
);
AppIndicatorStatus app_indicator_get_status (AppIndicator *self
);
-const gchar * app_indicator_get_icon (AppIndicator *self
);
-const gchar * app_indicator_get_attention_icon (AppIndicator *self
);
-GtkMenu * app_indicator_get_menu (AppIndicator *self
);
+const gchar * app_indicator_get_icon (AppIndicator *self
);
+const gchar * app_indicator_get_attention_icon (AppIndicator *self
);
+GtkMenu * app_indicator_get_menu (AppIndicator *self
);
Properties
- "attention-icon-name" gchar* : Read / Write
- "category" gchar* : Read / Write / Construct Only
- "connected" gboolean : Read
- "icon-name" gchar* : Read / Write
- "icon-theme-path" gchar* : Read / Write / Construct Only
- "id" gchar* : Read / Write / Construct Only
+ "attention-icon-name" gchar* : Read / Write
+ "category" gchar* : Read / Write / Construct Only
+ "connected" gboolean : Read
+ "icon-name" gchar* : Read / Write
+ "icon-theme-path" gchar* : Read / Write / Construct Only
+ "id" gchar* : Read / Write / Construct Only
"menu" DBusGObjectPath* : Read
- "status" gchar* : Read / Write
+ "status" gchar* : Read / Write
#define APP_INDICATOR_TYPE (app_indicator_get_type ())
@@ -148,7 +148,7 @@ Get the #define APP_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), APP_INDICATOR_TYPE, AppIndicator))
klass
is in the object
@@ -223,7 +223,7 @@ Gets a pointer to the
-klass
:An GObjectClass to check
+ An GObjectClass to check
@@ -354,10 +354,6 @@ These are the states that the indicator can be on in
All of the private data in an instance of a
application indicator.
-obj
:A GObject in the class hierarchy of AppIndicator.
+ A GObject in the class hierarchy of AppIndicator.
GObjectClass parent_class
;
GObjectClass parent_class
;
fallback
()
-GType app_indicator_get_type (void
);
+GType app_indicator_get_type (void
);
-Generates or returns the unique GType for AppIndicator. +Generates or returns the unique GType for AppIndicator.
Returns : |
-A unique GType for AppIndicator objects. + | A unique GType for AppIndicator objects. |
AppIndicator * app_indicator_new (@@ -638,7 +630,7 @@ Sets the menu that should be shown when the Application Indicatorconst gchar *id
, -const gchar *icon_name
, +AppIndicator * app_indicator_new (const gchar *id
, +const gchar *icon_name
,AppIndicatorCategory category
);Creates a new AppIndicator setting the properties: @@ -519,10 +511,10 @@ Creates a new
app_indicator_new_with_path ()
-AppIndicator * app_indicator_new_with_path (const gchar *id
, -const gchar *icon_name
, +AppIndicator * app_indicator_new_with_path (+const gchar *id
, +const gchar *icon_name
,AppIndicatorCategory category
, -const gchar *icon_path
);const gchar *icon_path
);Creates a new AppIndicator setting the properties: "id" with
id
, "category" @@ -588,7 +580,7 @@ Wrapper function for property "status".app_indicator_set_attention_icon ()
void app_indicator_set_attention_icon (+AppIndicator *self
, -const gchar *icon_name
);const gchar *icon_name
);Wrapper function for property "attention-icon".
@@ -612,7 +604,7 @@ Wrapper function for property "attention-icon".app_indicator_set_menu ()
void app_indicator_set_menu (+AppIndicator *self
, -GtkMenu *menu
);GtkMenu *menu
);Sets the menu that should be shown when the Application Indicator is clicked on in the panel. An application indicator will not @@ -628,7 +620,7 @@ Sets the menu that should be shown when the Application Indicator
-
menu
:A GtkMenu to set + A GtkMenu to set
void app_indicator_set_icon (+AppIndicator *self
, -const gchar *icon_name
);
const gchar *icon_name
);
Sets the default icon to use when the status is active but not set to attention. In most cases, this should be the @@ -663,7 +655,7 @@ Sets the default icon to use when the status is active but
const gchar * app_indicator_get_id (AppIndicator *self
);
+const gchar * app_indicator_get_id (AppIndicator *self
);
Wrapper function for property "id".
@@ -732,7 +724,7 @@ Wrapper function for property "status".const gchar * app_indicator_get_icon (AppIndicator *self
);
+const gchar * app_indicator_get_icon (AppIndicator *self
);
Wrapper function for property "icon-name".
@@ -755,7 +747,7 @@ Wrapper function for property "icon-name".const gchar * app_indicator_get_attention_icon (AppIndicator *self
);
+const gchar * app_indicator_get_attention_icon (AppIndicator *self
);
Wrapper function for property "attention-icon-name".
@@ -778,7 +770,7 @@ Wrapper function for property "attention-icon-name".GtkMenu * app_indicator_get_menu (AppIndicator *self
);
+GtkMenu * app_indicator_get_menu (AppIndicator *self
);
Gets the menu being used for this application indicator.
@@ -792,7 +784,7 @@ Gets the menu being used for this application indicator.Returns :
"attention-icon-name"
property"attention-icon-name" gchar* : Read / Write+
"attention-icon-name" gchar* : Read / Write
If the indicator sets it's status to 'attention' then this icon is shown.
Default value: NULL
"category"
property"category" gchar* : Read / Write / Construct Only+
"category" gchar* : Read / Write / Construct Only
The type of indicator that this represents. Please don't use 'other'. Defaults to 'Application Status'.
Default value: NULL
"connected"
property"connected" gboolean : Read+
"connected" gboolean : Read
Pretty simple, true if we have a reasonable expectation of being displayed through this object. You should hide your TrayIcon if so.
Default value: FALSE
"icon-name"
property"icon-name" gchar* : Read / Write+
"icon-name" gchar* : Read / Write
The default icon that is shown for the indicator.
Default value: NULL
"icon-theme-path"
property"icon-theme-path" gchar* : Read / Write / Construct Only+
"icon-theme-path" gchar* : Read / Write / Construct Only
An additional place to look for icon names that may be installed by the application.
Default value: NULL
"id"
property"id" gchar* : Read / Write / Construct Only+
"id" gchar* : Read / Write / Construct Only
An ID that should be unique, but used consistently by this program and it's indicator.
Default value: NULL
"status"
property"status" gchar* : Read / Write+
"status" gchar* : Read / Write
Whether the indicator is shown or requests attention. Defaults to 'off'.
Default value: NULL
"connection-changed"
signalvoid user_function (AppIndicator *arg0, - gboolean arg1, - gpointer user_data) : Run Last+ gboolean arg1, + gpointer user_data) : Run Last
Signaled when we connect to a watcher, or when it drops away. @@ -891,7 +883,7 @@ Signaled when we connect to a watcher, or when it drops
"new-attention-icon"
signalvoid user_function (AppIndicator *arg0, - gpointer user_data) : Run Last+ gpointer user_data) : Run Last
Signaled when there is a new attention icon set for the object. @@ -915,7 +907,7 @@ Signaled when there is a new attention icon set for the
"new-icon"
signalvoid user_function (AppIndicator *arg0, - gpointer user_data) : Run Last+ gpointer user_data) : Run Last
Signaled when there is a new icon set for the object. @@ -939,8 +931,8 @@ Signaled when there is a new icon set for the
"new-status"
signalvoid user_function (AppIndicator *arg0, - gchar *arg1, - gpointer user_data) : Run Last+ gchar *arg1, + gpointer user_data) : Run Last
Signaled when the status of the indicator changes.
-- cgit v1.2.3