Import line: | Unique = imports.gi.Unique; |
GIR File: | Unique-1.0.gir |
C documentation: | UniqueMessageData |
Struct : | MessageData |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
new Unique.MessageData.c_new
()
:
Unique.MessageData
Create a new Unique.MessageData
Create a new Unique.MessageData
|
||
copy
()
:
Unique.MessageData
Copies message_data.
Copies message_data.
|
Unique.MessageData | |
free
()
:
none
Frees all the resources allocated by message_data.
Frees all the resources allocated by message_data.
|
Unique.MessageData | |
Retrieves the raw contents of message_data set using unique_messaget_data_set().
|
Unique.MessageData | |
get_filename
()
:
String
Retrieves the filename set with unique_message_data_set_filename().
Retrieves the filename set with unique_message_data_set_filename().
|
Unique.MessageData | |
get_screen
()
:
Gdk.Screen
Returns a pointer to the screen from where the message came.
Returns a pointer to the screen from where the message came. You can use gtk_window_set_screen() to move windows or dialogs to the right screen. This field is always set by the Unique library.
|
Unique.MessageData | |
get_startup_id
()
:
String
Retrieves the startup notification id set inside message_data.
Retrieves the startup notification id set inside message_data. This field is always set by the Unique library.
|
Unique.MessageData | |
get_text
()
:
String
Retrieves the text set using unique_message_data_set_text().
Retrieves the text set using unique_message_data_set_text().
|
Unique.MessageData | |
get_uris
()
:
Array
Retrieves a NULL-terminated string vector containing the URIs set with unique_message_data_set_uris().
Retrieves a NULL-terminated string vector containing the URIs set with unique_message_data_set_uris().
|
Unique.MessageData | |
get_workspace
()
:
Number
Retrieves the workspace number from where the message came.
Retrieves the workspace number from where the message came. This field is always set by the Unique library.
|
Unique.MessageData | |
Sets data as the payload of message_data.
Sets data as the payload of message_data. Any other data is removed from the message data. If data is NULL, a length of -1 will unset the payload, while a length of 0 will set the payload to an empty string. You can use unique_message_data_get() to retrieve the data.
|
Unique.MessageData | |
set_filename
(String filename)
:
none
Sets filename as the contents of message_data.
Sets filename as the contents of message_data.
|
Unique.MessageData | |
Sets str as the plain text payload of message_data, converting it to UTF-8 if needed.
|
Unique.MessageData | |
Converts uris to a valid URI list and sets it as payload of retrieve the list from a UniqueMessageData.
|
Unique.MessageData |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Unique.App
Signal |
message_received
(App self, Number command, MessageData message_data, Number time_)
:
Unique.Response
The ::message-received signal is emitted each time a second instance of UniqueApp with the same name as app is launched and sends a message using unique_app_send_message().
|
Unique.App
Method |
Sends command to a running instance of app.
|
Unique.Backend
Method |
Sends command_id, and optionally message_data, to a running instance using backend.
|