Utilities

Utilities — Various utility routines

Synopsis

GtkWidget *         goa_util_add_row_widget             (GtkGrid *left,
                                                         GtkGrid *right,
                                                         const gchar *label_text,
                                                         GtkWidget *widget);
gboolean            goa_util_lookup_keyfile_boolean     (GoaObject *object,
                                                         const gchar *key);
gchar *             goa_util_lookup_keyfile_string      (GoaObject *object,
                                                         const gchar *key);

Description

Various utility routines.

Details

goa_util_add_row_widget ()

GtkWidget *         goa_util_add_row_widget             (GtkGrid *left,
                                                         GtkGrid *right,
                                                         const gchar *label_text,
                                                         GtkWidget *widget);

Utility function to add label_text and widget to table.

left :

A GtkGrid for the left side.

right :

A GtkGrid for the right side.

label_text :

The text to insert on the left side or NULL for no label. [allow-none]

widget :

A widget to insert on the right side.

Returns :

The GtkWidget that was inserted (e.g. widget itself). [transfer none]

goa_util_lookup_keyfile_boolean ()

gboolean            goa_util_lookup_keyfile_boolean     (GoaObject *object,
                                                         const gchar *key);


goa_util_lookup_keyfile_string ()

gchar *             goa_util_lookup_keyfile_string      (GoaObject *object,
                                                         const gchar *key);