Top |
Description
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.
Functions
gedit_message_get_object_path ()
const gchar *
gedit_message_get_object_path (GeditMessage *message
);
Get the message object path.
gedit_message_get_method ()
const gchar *
gedit_message_get_method (GeditMessage *message
);
Get the message method.
gedit_message_type_check ()
gboolean gedit_message_type_check (GType gtype
,const gchar *propname
,GType value_type
);
gedit_message_has ()
gboolean gedit_message_has (GeditMessage *message
,const gchar *propname
);
Check if a message has a certain property.
gedit_message_is_valid_object_path ()
gboolean
gedit_message_is_valid_object_path (const gchar *object_path
);
Returns whether object_path
is a valid object path