gp_widget *gp_widget_frame_new(const char *label, gp_widget_tattr tattr, gp_widget *child);
Frame is a widget that visually groups a set of widgets.
Frame attributes can be accessed as widget->frame
.
gp_widget *gp_widget_frame_new(const char *label, gp_widget_tattr tattr, gp_widget *child);
gp_widget *gp_widget_frame_put(gp_widget *self, gp_widget *child);
Returns old frame child.
void gp_widget_frame_title_set(gp_widget *self, const char *title);
Attribute | Type | Default | Description |
---|---|---|---|
|
string |
Frame title |
|
|
tattr |
"bold" |
Text attribute, e.g. bold. |
|
Frame child widget |
Widget event value | Description |
---|