Navigation C API Pages Python bindings Applications

Markup widget

Markup widget is a page of a text with possible additional formatting. The widget is build on the top of the text markup.

A markup widget

Markup widget

Markup widget constructor
gp_widget *gp_widget_markup_new(const char *markup, enum gp_markup_fmt fmt,
                                enum gp_markup_flags flags,
                                char *(*get)(unsigned int var_id, char *old_val));
int gp_widget_markup_set(gp_widget *self, enum gp_markup_fmt fmt,
                         const char *markup_str, enum gp_markup_flags flags);
Table 1. Markup widget events
Widget event value Description