6.3. Widgets

Viper supports GUI widgets, which can be created with the builtin function widget_create. The function requires the name of the widget kind as an argument, plus named arguments for any options (some widgets requires certain extra information).

However, widgets can be more conveniently created using classes from the gui module.

The current implementation uses GTK as the GUI. Almost all the widgets are supported. Not all the methods required to manipulate them have been wrapped yet. It is intended to make the interface slightly less GTK specific.