Top | ![]() |
![]() |
![]() |
![]() |
gchar * | icon-name | Read / Write |
gint | icon-size | Read / Write |
gchar * | label | Read / Write |
gchar * | metadata | Read / Write |
gchar * | name | Read / Write |
gboolean | primary-menu-is-open | Read / Write |
gboolean | secondary-menu-is-open | Read / Write |
gchar * | tooltip-text | Read / Write |
gboolean | visible | Read / Write |
gboolean | handle-button-press | Run Last |
gboolean | handle-button-release | Run Last |
gboolean | handle-scroll | Run Last |
GInterface ╰── XAppStatusIconInterface GObject ├── GDBusInterfaceSkeleton │ ╰── XAppStatusIconInterfaceSkeleton ╰── GDBusProxy ╰── XAppStatusIconInterfaceProxy
GDBusInterfaceInfo *
xapp_status_icon_interface_interface_info
(void
);
Gets a machine-readable description of the org.x.StatusIcon D-Bus interface.
guint xapp_status_icon_interface_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the XAppStatusIconInterface interface for a concrete class. The properties are overridden in the order they are defined.
void xapp_status_icon_interface_complete_button_press (XAppStatusIconInterface *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the ButtonPress()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void xapp_status_icon_interface_complete_button_release (XAppStatusIconInterface *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the ButtonRelease()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void xapp_status_icon_interface_complete_scroll (XAppStatusIconInterface *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the Scroll()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void xapp_status_icon_interface_call_button_press (XAppStatusIconInterface *proxy
,gint arg_x
,gint arg_y
,guint arg_button
,guint arg_time
,gint arg_panel_position
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the ButtonPress()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call xapp_status_icon_interface_call_button_press_finish()
to get the result of the operation.
See xapp_status_icon_interface_call_button_press_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_x |
Argument to pass with the method invocation. |
|
arg_y |
Argument to pass with the method invocation. |
|
arg_button |
Argument to pass with the method invocation. |
|
arg_time |
Argument to pass with the method invocation. |
|
arg_panel_position |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean xapp_status_icon_interface_call_button_press_finish (XAppStatusIconInterface *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with xapp_status_icon_interface_call_button_press()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean xapp_status_icon_interface_call_button_press_sync (XAppStatusIconInterface *proxy
,gint arg_x
,gint arg_y
,guint arg_button
,guint arg_time
,gint arg_panel_position
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the ButtonPress()
proxy
. The calling thread is blocked until a reply is received.
See xapp_status_icon_interface_call_button_press()
for the asynchronous version of this method.
proxy |
||
arg_x |
Argument to pass with the method invocation. |
|
arg_y |
Argument to pass with the method invocation. |
|
arg_button |
Argument to pass with the method invocation. |
|
arg_time |
Argument to pass with the method invocation. |
|
arg_panel_position |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void xapp_status_icon_interface_call_button_release (XAppStatusIconInterface *proxy
,gint arg_x
,gint arg_y
,guint arg_button
,guint arg_time
,gint arg_panel_position
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the ButtonRelease()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call xapp_status_icon_interface_call_button_release_finish()
to get the result of the operation.
See xapp_status_icon_interface_call_button_release_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_x |
Argument to pass with the method invocation. |
|
arg_y |
Argument to pass with the method invocation. |
|
arg_button |
Argument to pass with the method invocation. |
|
arg_time |
Argument to pass with the method invocation. |
|
arg_panel_position |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean xapp_status_icon_interface_call_button_release_finish (XAppStatusIconInterface *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with xapp_status_icon_interface_call_button_release()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean xapp_status_icon_interface_call_button_release_sync (XAppStatusIconInterface *proxy
,gint arg_x
,gint arg_y
,guint arg_button
,guint arg_time
,gint arg_panel_position
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the ButtonRelease()
proxy
. The calling thread is blocked until a reply is received.
See xapp_status_icon_interface_call_button_release()
for the asynchronous version of this method.
proxy |
||
arg_x |
Argument to pass with the method invocation. |
|
arg_y |
Argument to pass with the method invocation. |
|
arg_button |
Argument to pass with the method invocation. |
|
arg_time |
Argument to pass with the method invocation. |
|
arg_panel_position |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void xapp_status_icon_interface_call_scroll (XAppStatusIconInterface *proxy
,gint arg_delta
,gint arg_orientation
,guint arg_time
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Scroll()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call xapp_status_icon_interface_call_scroll_finish()
to get the result of the operation.
See xapp_status_icon_interface_call_scroll_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_delta |
Argument to pass with the method invocation. |
|
arg_orientation |
Argument to pass with the method invocation. |
|
arg_time |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean xapp_status_icon_interface_call_scroll_finish (XAppStatusIconInterface *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with xapp_status_icon_interface_call_scroll()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean xapp_status_icon_interface_call_scroll_sync (XAppStatusIconInterface *proxy
,gint arg_delta
,gint arg_orientation
,guint arg_time
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Scroll()
proxy
. The calling thread is blocked until a reply is received.
See xapp_status_icon_interface_call_scroll()
for the asynchronous version of this method.
const gchar *
xapp_status_icon_interface_get_name (XAppStatusIconInterface *object
);
Gets the value of the "Name" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use xapp_status_icon_interface_dup_name()
if on another thread.[skip]
gchar *
xapp_status_icon_interface_dup_name (XAppStatusIconInterface *object
);
Gets a copy of the "Name" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void xapp_status_icon_interface_set_name (XAppStatusIconInterface *object
,const gchar *value
);
Sets the "Name" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
const gchar *
xapp_status_icon_interface_get_icon_name
(XAppStatusIconInterface *object
);
Gets the value of the "IconName" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use xapp_status_icon_interface_dup_icon_name()
if on another thread.[skip]
gchar *
xapp_status_icon_interface_dup_icon_name
(XAppStatusIconInterface *object
);
Gets a copy of the "IconName" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void xapp_status_icon_interface_set_icon_name (XAppStatusIconInterface *object
,const gchar *value
);
Sets the "IconName" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
const gchar *
xapp_status_icon_interface_get_tooltip_text
(XAppStatusIconInterface *object
);
Gets the value of the "TooltipText" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use xapp_status_icon_interface_dup_tooltip_text()
if on another thread.[skip]
gchar *
xapp_status_icon_interface_dup_tooltip_text
(XAppStatusIconInterface *object
);
Gets a copy of the "TooltipText" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void xapp_status_icon_interface_set_tooltip_text (XAppStatusIconInterface *object
,const gchar *value
);
Sets the "TooltipText" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
const gchar *
xapp_status_icon_interface_get_label (XAppStatusIconInterface *object
);
Gets the value of the "Label" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use xapp_status_icon_interface_dup_label()
if on another thread.[skip]
gchar *
xapp_status_icon_interface_dup_label (XAppStatusIconInterface *object
);
Gets a copy of the "Label" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void xapp_status_icon_interface_set_label (XAppStatusIconInterface *object
,const gchar *value
);
Sets the "Label" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
gboolean
xapp_status_icon_interface_get_visible
(XAppStatusIconInterface *object
);
Gets the value of the "Visible" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void xapp_status_icon_interface_set_visible (XAppStatusIconInterface *object
,gboolean value
);
Sets the "Visible" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
gint
xapp_status_icon_interface_get_icon_size
(XAppStatusIconInterface *object
);
Gets the value of the "IconSize" D-Bus property.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
[skip]
void xapp_status_icon_interface_set_icon_size (XAppStatusIconInterface *object
,gint value
);
Sets the "IconSize" D-Bus property to value
.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
xapp_status_icon_interface_get_primary_menu_is_open
(XAppStatusIconInterface *object
);
Gets the value of the "PrimaryMenuIsOpen" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void xapp_status_icon_interface_set_primary_menu_is_open (XAppStatusIconInterface *object
,gboolean value
);
Sets the "PrimaryMenuIsOpen" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
gboolean
xapp_status_icon_interface_get_secondary_menu_is_open
(XAppStatusIconInterface *object
);
Gets the value of the "SecondaryMenuIsOpen" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void xapp_status_icon_interface_set_secondary_menu_is_open (XAppStatusIconInterface *object
,gboolean value
);
Sets the "SecondaryMenuIsOpen" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
const gchar *
xapp_status_icon_interface_get_metadata
(XAppStatusIconInterface *object
);
Gets the value of the "Metadata" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use xapp_status_icon_interface_dup_metadata()
if on another thread.[skip]
gchar *
xapp_status_icon_interface_dup_metadata
(XAppStatusIconInterface *object
);
Gets a copy of the "Metadata" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void xapp_status_icon_interface_set_metadata (XAppStatusIconInterface *object
,const gchar *value
);
Sets the "Metadata" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void xapp_status_icon_interface_proxy_new (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously creates a proxy for the D-Bus interface org.x.StatusIcon. See g_dbus_proxy_new()
for more details.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call xapp_status_icon_interface_proxy_new_finish()
to get the result of the operation.
See xapp_status_icon_interface_proxy_new_sync()
for the synchronous, blocking version of this constructor.
connection |
A GDBusConnection. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
XAppStatusIconInterface * xapp_status_icon_interface_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with xapp_status_icon_interface_proxy_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
XAppStatusIconInterface * xapp_status_icon_interface_proxy_new_sync (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Synchronously creates a proxy for the D-Bus interface org.x.StatusIcon. See g_dbus_proxy_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See xapp_status_icon_interface_proxy_new()
for the asynchronous version of this constructor.
connection |
A GDBusConnection. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void xapp_status_icon_interface_proxy_new_for_bus (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Like xapp_status_icon_interface_proxy_new()
but takes a GBusType instead of a GDBusConnection.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call xapp_status_icon_interface_proxy_new_for_bus_finish()
to get the result of the operation.
See xapp_status_icon_interface_proxy_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
XAppStatusIconInterface * xapp_status_icon_interface_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with xapp_status_icon_interface_proxy_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
XAppStatusIconInterface * xapp_status_icon_interface_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like xapp_status_icon_interface_proxy_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See xapp_status_icon_interface_proxy_new_for_bus()
for the asynchronous version of this constructor.
XAppStatusIconInterface *
xapp_status_icon_interface_skeleton_new
(void
);
Creates a skeleton object for the D-Bus interface org.x.StatusIcon.
“icon-name”
property “icon-name” gchar *
Represents the D-Bus property "IconName".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Default value: NULL
“icon-size”
property “icon-size” gint
Represents the D-Bus property "IconSize".
Since the D-Bus property for this GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
Flags: Read / Write
Default value: 0
“label”
property “label” gchar *
Represents the D-Bus property "Label".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Default value: NULL
“metadata”
property “metadata” gchar *
Represents the D-Bus property "Metadata".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Default value: NULL
“name”
property “name” gchar *
Represents the D-Bus property "Name".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Default value: NULL
“primary-menu-is-open”
property “primary-menu-is-open” gboolean
Represents the D-Bus property "PrimaryMenuIsOpen".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Default value: FALSE
“secondary-menu-is-open”
property “secondary-menu-is-open” gboolean
Represents the D-Bus property "SecondaryMenuIsOpen".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Default value: FALSE
“tooltip-text”
property “tooltip-text” gchar *
Represents the D-Bus property "TooltipText".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Default value: NULL
“visible”
property “visible” gboolean
Represents the D-Bus property "Visible".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Default value: FALSE
“handle-button-press”
signalgboolean user_function (XAppStatusIconInterface *object, GDBusMethodInvocation *invocation, gint arg_x, gint arg_y, guint arg_button, guint arg_time, gint arg_panel_position, gpointer user_data)
Signal emitted when a remote caller is invoking the ButtonPress()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call xapp_status_icon_interface_complete_button_press()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
A GDBusMethodInvocation. |
|
arg_x |
Argument passed by remote caller. |
|
arg_y |
Argument passed by remote caller. |
|
arg_button |
Argument passed by remote caller. |
|
arg_time |
Argument passed by remote caller. |
|
arg_panel_position |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-button-release”
signalgboolean user_function (XAppStatusIconInterface *object, GDBusMethodInvocation *invocation, gint arg_x, gint arg_y, guint arg_button, guint arg_time, gint arg_panel_position, gpointer user_data)
Signal emitted when a remote caller is invoking the ButtonRelease()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call xapp_status_icon_interface_complete_button_release()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
A GDBusMethodInvocation. |
|
arg_x |
Argument passed by remote caller. |
|
arg_y |
Argument passed by remote caller. |
|
arg_button |
Argument passed by remote caller. |
|
arg_time |
Argument passed by remote caller. |
|
arg_panel_position |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-scroll”
signalgboolean user_function (XAppStatusIconInterface *object, GDBusMethodInvocation *invocation, gint arg_delta, gint arg_orientation, guint arg_time, gpointer user_data)
Signal emitted when a remote caller is invoking the Scroll()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call xapp_status_icon_interface_complete_scroll()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
A GDBusMethodInvocation. |
|
arg_delta |
Argument passed by remote caller. |
|
arg_orientation |
Argument passed by remote caller. |
|
arg_time |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last