SmallboxSmallbox — Small input box. | |
Description
Functions to create a simple inputbox offering multiple selections or an
input field.
Details
struct box_desc
struct box_desc {
gchar *label;
gchar *value;
};
struct box_desc2
struct box_desc2 {
gchar *label;
gchar *value;
GList *suggestions;
};
smallbox_x ()
gboolean smallbox_x (gchar *title,
struct box_desc *d);
smallbox_x2 ()
gboolean smallbox_x2 (gchar *title,
struct box_desc2 *d);
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.
|