Smallbox

Smallbox — Small input box.

Synopsis

gboolean            smallbox_x                          (gchar *title,
                                                         struct box_desc *d);
gboolean            smallbox_x2                         (gchar *title,
                                                         struct box_desc2 *d);
gchar*              smallbox                            (gchar *title,
                                                         gchar *labeltext,
                                                         gchar *dval);

Description

Functions to create a simple inputbox offering multiple selections or an input field.

Details

smallbox_x ()

gboolean            smallbox_x                          (gchar *title,
                                                         struct box_desc *d);

Small and simple text input box to query for text input.

title :

d :

Returns :


smallbox_x2 ()

gboolean            smallbox_x2                         (gchar *title,
                                                         struct box_desc2 *d);

Small and simple text input box to query for text input offering a defined set of values to select from or to enter own text.

title :

d :

Returns :


smallbox ()

gchar*              smallbox                            (gchar *title,
                                                         gchar *labeltext,
                                                         gchar *dval);

This function displays an input dialog box to query a user for text input.

title :

Dialog title

labeltext :

Query text displayed inside the box.

dval :

Default value

Returns :

Entered text if user taps OK, NULL otherwise.