Top | ![]() |
![]() |
![]() |
![]() |
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.
klass |
The class structure for a GObject derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
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_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 |
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]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
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]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
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]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
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]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
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]
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 |
||
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 |
The constructed proxy object or NULL
if error
is set.
[transfer full][type XAppStatusIconInterfaceProxy]
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 |
||
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 |
The constructed proxy object or NULL
if error
is set.
[transfer full][type XAppStatusIconInterfaceProxy]
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 |
The constructed proxy object or NULL
if error
is set.
[transfer full][type XAppStatusIconInterfaceProxy]
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.
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] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type XAppStatusIconInterfaceProxy]
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
“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
“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
“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 |
||
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 |
||
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