![]() |
![]() |
![]() |
gedit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#include <gedit/gedit-message.h> struct GeditMessage; const gchar * gedit_message_get_object_path (GeditMessage *message
); const gchar * gedit_message_get_method (GeditMessage *message
);
"method" gchar* : Read / Write / Construct "object-path" gchar* : Read / Write / Construct
Communication on a GeditMessageBus is done through messages. Messages are sent over the bus and received by connecting callbacks on the message bus. A GeditMessage is an instantiation of a GeditMessageType, containing values for the arguments as specified in the message type.
A message can be seen as a method call, or signal emission depending on who is the sender and who is the receiver. There is no explicit distinction between methods and signals.
const gchar * gedit_message_get_object_path (GeditMessage *message
);
Get the message object path.
|
the GeditMessage |
Returns : |
the message object path |
const gchar * gedit_message_get_method (GeditMessage *message
);
Get the message method.
|
the GeditMessage |
Returns : |
the message method |