EmpathyChatTextView

EmpathyChatTextView

Synopsis

                    EmpathyChatTextView;
#define             EMPATHY_CHAT_TEXT_VIEW_TAG_CUT
#define             EMPATHY_CHAT_TEXT_VIEW_TAG_HIGHLIGHT
#define             EMPATHY_CHAT_TEXT_VIEW_TAG_SPACING
#define             EMPATHY_CHAT_TEXT_VIEW_TAG_TIME
#define             EMPATHY_CHAT_TEXT_VIEW_TAG_ACTION
#define             EMPATHY_CHAT_TEXT_VIEW_TAG_BODY
#define             EMPATHY_CHAT_TEXT_VIEW_TAG_EVENT
#define             EMPATHY_CHAT_TEXT_VIEW_TAG_LINK
EmpathyContact *    empathy_chat_text_view_get_last_contact
                                                        (EmpathyChatTextView *view);
void                empathy_chat_text_view_set_only_if_date
                                                        (EmpathyChatTextView *view,
                                                         gboolean only_if_date);
void                empathy_chat_text_view_append_body  (EmpathyChatTextView *view,
                                                         const gchar *body,
                                                         const gchar *tag);
void                empathy_chat_text_view_append_spacing
                                                        (EmpathyChatTextView *view);
GtkTextTag *        empathy_chat_text_view_tag_set      (EmpathyChatTextView *view,
                                                         const gchar *tag_name,
                                                         const gchar *first_property_name,
                                                         ...);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkTextView
                                 +----EmpathyChatTextView
                                       +----EmpathyThemeBoxes
                                       +----EmpathyThemeIrc

Implemented Interfaces

EmpathyChatTextView implements AtkImplementorIface, GtkBuildable and EmpathyChatView.

Properties

  "last-contact"             EmpathyContact*       : Read
  "only-if-date"             gboolean              : Read / Write

Description

Details

EmpathyChatTextView

typedef struct _EmpathyChatTextView EmpathyChatTextView;


EMPATHY_CHAT_TEXT_VIEW_TAG_CUT

#define EMPATHY_CHAT_TEXT_VIEW_TAG_CUT "cut"


EMPATHY_CHAT_TEXT_VIEW_TAG_HIGHLIGHT

#define EMPATHY_CHAT_TEXT_VIEW_TAG_HIGHLIGHT "highlight"


EMPATHY_CHAT_TEXT_VIEW_TAG_SPACING

#define EMPATHY_CHAT_TEXT_VIEW_TAG_SPACING "spacing"


EMPATHY_CHAT_TEXT_VIEW_TAG_TIME

#define EMPATHY_CHAT_TEXT_VIEW_TAG_TIME "time"


EMPATHY_CHAT_TEXT_VIEW_TAG_ACTION

#define EMPATHY_CHAT_TEXT_VIEW_TAG_ACTION "action"


EMPATHY_CHAT_TEXT_VIEW_TAG_BODY

#define EMPATHY_CHAT_TEXT_VIEW_TAG_BODY "body"


EMPATHY_CHAT_TEXT_VIEW_TAG_EVENT

#define EMPATHY_CHAT_TEXT_VIEW_TAG_EVENT "event"


EMPATHY_CHAT_TEXT_VIEW_TAG_LINK

#define EMPATHY_CHAT_TEXT_VIEW_TAG_LINK "link"


empathy_chat_text_view_get_last_contact ()

EmpathyContact *    empathy_chat_text_view_get_last_contact
                                                        (EmpathyChatTextView *view);

view :

Returns :


empathy_chat_text_view_set_only_if_date ()

void                empathy_chat_text_view_set_only_if_date
                                                        (EmpathyChatTextView *view,
                                                         gboolean only_if_date);

view :

only_if_date :


empathy_chat_text_view_append_body ()

void                empathy_chat_text_view_append_body  (EmpathyChatTextView *view,
                                                         const gchar *body,
                                                         const gchar *tag);

view :

body :

tag :


empathy_chat_text_view_append_spacing ()

void                empathy_chat_text_view_append_spacing
                                                        (EmpathyChatTextView *view);

view :


empathy_chat_text_view_tag_set ()

GtkTextTag *        empathy_chat_text_view_tag_set      (EmpathyChatTextView *view,
                                                         const gchar *tag_name,
                                                         const gchar *first_property_name,
                                                         ...);

view :

tag_name :

first_property_name :

... :

Returns :

Property Details

The "last-contact" property

  "last-contact"             EmpathyContact*       : Read

The sender of the last received message.


The "only-if-date" property

  "only-if-date"             gboolean              : Read / Write

Display timestamp only if the date changes.

Default value: FALSE