## GtrMessageTable

GtrMessageTable

## Synopsis

    struct              GtrMessageTable;
    gboolean            (*GtrMessageTableNavigationFunc)    (GtrMsg *msg);
    struct              GtrMessageTableClass;
    enum                GtrMessageTableNavigation;
    GType               gtr_message_table_register_type     (GTypeModule *module);
    GtkWidget *         gtr_message_table_new               (GtkWidget *tab);
    void                gtr_message_table_populate          (GtrMessageTable *table,
                                                             GtrMessageContainer *container);
    GtrMsg *            gtr_message_table_navigate          (GtrMessageTable *table,
                                                             GtrMessageTableNavigation navigation,
                                                             GtrMessageTableNavigationFunc func);
    void                gtr_message_table_update_translation
                                                            (GtrMessageTable *table,
                                                             GtrMsg *msg,
                                                             gchar *translation);

## Description

## Details

### struct GtrMessageTable

    struct GtrMessageTable {
      GtkBox parent_instance;
    };

### GtrMessageTableNavigationFunc ()

    gboolean            (*GtrMessageTableNavigationFunc)    (GtrMsg *msg);

### struct GtrMessageTableClass

    struct GtrMessageTableClass {
      GtkBoxClass parent_class;
    };

### enum GtrMessageTableNavigation

    typedef enum {
      GTR_NAVIGATE_PREV,
      GTR_NAVIGATE_NEXT,
      GTR_NAVIGATE_FIRST,
      GTR_NAVIGATE_LAST
    } GtrMessageTableNavigation;

`GTR_NAVIGATE_PREV` |
`GTR_NAVIGATE_NEXT` |
`GTR_NAVIGATE_FIRST` |
`GTR_NAVIGATE_LAST` |

### gtr_message_table_register_type ()

    GType               gtr_message_table_register_type     (GTypeModule *module);

### gtr_message_table_new ()

    GtkWidget *         gtr_message_table_new               (GtkWidget *tab);

Creates a new GtrMessageTable object.

`tab` : | a GtrTab
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.

`table` : | a GtrMessageTable
`container` : | a list of GtrMsg

### gtr_message_table_navigate ()

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

`func` : | . [scope call]
Returns : | . [transfer none]

### gtr_message_table_update_translation ()

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