TplTextEvent

TplTextEvent — Representation of a text log event

Synopsis

                    TplTextEvent;
                    TplTextEventClass;
                    TplTextEventPriv;
TpChannelTextMessageType  tpl_text_event_get_message_type
                                                        (TplTextEvent *self);
const gchar *       tpl_text_event_get_message          (TplTextEvent *self);

Object Hierarchy

  GObject
   +----TplEvent
         +----TplTextEvent

Properties

  "message"                  gchar*                : Read / Write / Construct Only
  "message-type"             guint                 : Read / Write / Construct Only

Description

A subclass of TplEvent representing a text log event.

Details

TplTextEvent

typedef struct _TplTextEvent TplTextEvent;

An object representing a text log event.


TplTextEventClass

typedef struct _TplTextEventClass TplTextEventClass;


TplTextEventPriv

typedef struct _TplTextEventPriv TplTextEventPriv;


tpl_text_event_get_message_type ()

TpChannelTextMessageType  tpl_text_event_get_message_type
                                                        (TplTextEvent *self);

self :

a TplTextEvent

Returns :

the same message as the "message-type" property

tpl_text_event_get_message ()

const gchar *       tpl_text_event_get_message          (TplTextEvent *self);

self :

a TplTextEvent

Returns :

the same message as the "message" property

Property Details

The "message" property

  "message"                  gchar*                : Read / Write / Construct Only

The text message of the log event.

Default value: NULL


The "message-type" property

  "message-type"             guint                 : Read / Write / Construct Only

The message type for a Text log event.

Default value: 0