The functions documented here are used for building custom widgets with more power and flexibility than previously allowed. They are defined in wofi_widget_builder_api.h
Inserts text into the widget specified by the builder
.Bstructwidget_builder*builder
\- The builder that contains the widget to add the text to
.Bchar*text
\- The text to add to the widget
.Bchar*css_name
\- The name of the CSS node for this text. The name that will be assigned is #mode_name-css_name where mode_name is the name of the mode, i.e. drun etc.
Inserts an image into the widget specified by the builder
.Bstructwidget_builder*builder
\- The builder that contains the widget to add the image to
.BGdkPixbuf*pixbuf
\- The image to add to the widget
.Bchar*css_name
\- The name of the CSS node for this image. The name that will be assigned is #mode_name-css_name where mode_name is the name of the mode, i.e. drun etc.