Top | ![]() |
![]() |
![]() |
![]() |
All three of the main interfaces, CallsProvider, CallsOrigin and CallsCall require CallsMessageSource. They use this interface's message signal to emit messages intended for display to the user.
#define CALLS_EMIT_MESSAGE(obj,text,type)
Emit a message signal with the specified information. This is a convenience macro for objects implementing interfaces that require CallsMessageSource.
#define CALLS_ERROR(obj,error)
Emit a message signal with an error type, the text of which is contained as the message in a GError. This is a convenience macro for objects implementing interfaces that require CallsMessageSource.
struct CallsMessageSourceInterface { GTypeInterface parent_iface; };
“message”
signalvoid user_function (CallsMessageSource *self, gchar *text, GtkMessageType type, gpointer user_data)
This signal is emitted when an implementing-object needs to emit a message to the user. The message should be suitable for presentation to the user as-is.
self |
The CallsMessageSource instance. |
|
text |
The message text. |
|
type |
The type of the message; error, warning, etc. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last