gtr-message-table

gtr-message-table

Functions

Types and Values

Description

Functions

GtrMessageTableNavigationFunc ()

gboolean
(*GtrMessageTableNavigationFunc) (GtrMsg *msg);

gtr_message_table_register_type ()

GType
gtr_message_table_register_type (GTypeModule *module);

gtr_message_table_new ()

GtkWidget *
gtr_message_table_new (void);

Creates a new GtrMessageTable object.

Returns

the newly created GtrMessageTable


gtr_message_table_populate ()

void
gtr_message_table_populate (GtrMessageTable *table,
                            GtrMessageContainer *container);

Populates the GtrMessageTable with the list of GtrMsg and sort them.

Parameters

table

a GtrMessageTable

 

container

a list of GtrMsg

 

gtr_message_table_navigate ()

GtrMsg *
gtr_message_table_navigate (GtrMessageTable *table,
                            GtrMessageTableNavigation navigation,
                            GtrMessageTableNavigationFunc func);

Parameters

func

.

[scope call]

Returns

.

[transfer none]


gtr_message_table_select ()

void
gtr_message_table_select (GtrMessageTable *table,
                          GtrMsg *msg);

Select the msg in the list view

Parameters

msg

the GtrMsg to select in the list view

 

gtr_message_table_update_translation ()

void
gtr_message_table_update_translation (GtrMessageTable *table,
                                      GtrMsg *msg,
                                      gchar *translation);

gtr_message_table_sort_by ()

void
gtr_message_table_sort_by (GtrMessageTable *table,
                           GtrMessageTableSortBy sort);

gtr_message_table_get_selection_model ()

GtkSingleSelection *
gtr_message_table_get_selection_model (GtrMessageTable *table);

gtr_message_table_get_model ()

GListStore *
gtr_message_table_get_model (GtrMessageTable *table);

Types and Values

GTR_TYPE_MESSAGE_TABLE

#define GTR_TYPE_MESSAGE_TABLE (gtr_message_table_get_type ())

enum GtrMessageTableNavigation

Members

GTR_NAVIGATE_PREV

   

GTR_NAVIGATE_NEXT

   

GTR_NAVIGATE_FIRST

   

GTR_NAVIGATE_LAST

   

enum GtrMessageTableSortBy

Members

GTR_MESSAGE_TABLE_SORT_ID

   

GTR_MESSAGE_TABLE_SORT_STATUS

   

GTR_MESSAGE_TABLE_SORT_MSGID

   

GTR_MESSAGE_TABLE_SORT_TRANSLATED

   

GtrMessageTable

typedef struct _GtrMessageTable GtrMessageTable;