GnuCash
5.6-150-g038405b370+
|
Factory class that keeps track of which GncOptionValueType needs which WidgetCreateFunc and calls the appropriate one when required. More...
#include <gnc-option-gtk-ui.hpp>
Static Public Member Functions | |
static void | set_func (GncOptionUIType type, WidgetCreateFunc func) |
Register a WidgetCreateFunc. More... | |
static void | create (GncOption &option, GtkGrid *page, int row) |
Create a widget. More... | |
Factory class that keeps track of which GncOptionValueType needs which WidgetCreateFunc and calls the appropriate one when required.
Definition at line 51 of file gnc-option-gtk-ui.hpp.
|
static |
Create a widget.
option | The option for which to create the widget |
page | The Option dialog page in which to insert the widget |
row | The row in which to insert the widget |
Definition at line 65 of file gnc-option-gtk-ui.cpp.
|
static |
Register a WidgetCreateFunc.
type | The UI type |
func | The function to register |
Definition at line 59 of file gnc-option-gtk-ui.cpp.