Back to Seed Clases

Unique


Classes

Interfaces

Structs

Unions

Enums

Struct Unique.MessageData

Import line: Unique = imports.gi.Unique;
GIR File: Unique-1.0.gir
C documentation: UniqueMessageData
Struct : MessageData
  Show / Hide Inherited methods, properties and signals
UniqueMessageData contains the data passed between instances of a UniqueApp. The UniqueMessageData structure received inside the signal handlers for UniqueApp::message-received is guaranteed to contain the GdkScreen, the workspace and the startup notification id of the instance sending the message.
Properties
None
Methods / Constructors
Method / Constructor Defined By
 
new Unique.MessageData.c_new () : Unique.MessageData
Create a new Unique.MessageData
Create a new Unique.MessageData
Returns:
Unique.MessageData
 
Events
None
Used by These Methods / Signals / Properties
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
send_message (Number command_id, MessageData message_data) : Unique.Response
Sends command to a running instance of app.
Unique.Backend
Method
send_message (Number command_id, MessageData message_data, Number time_) : Unique.Response
Sends command_id, and optionally message_data, to a running instance using backend.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:35:03 GMT+0800 (HKT)