![]() |
![]() |
![]() |
GPE Manual: libgpewidget Reference | ![]() |
---|
smallboxsmallbox — |
struct box_desc; struct box_desc2;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);
struct box_desc { gchar *label; gchar *value; };
Value pair to describe a query in a small box.
The componet label describes the query text, value the initial value of the text input field.
struct box_desc2 { gchar *label; gchar *value; GList *suggestions; };
box_desc2 offers a more complex struct to decribe a query in a small box.
The componet label describes the query text, value the initial value of the text input field.
Additionally it contains a list of suggestions to offer the user a set of predefined choices.
gboolean smallbox_x (gchar *title, struct box_desc *d);
Small and simple text input box to query for text input.
title : |
|
d : |
|
Returns : |
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 : |
<< question | spacing >> |