29#include <sptk5/gui/CComboBox.h>
54 explicit CFontComboBox(
const char* label =
nullptr,
int layoutSize = 10,
57#ifdef __COMPATIBILITY_MODE__
66 CFontComboBox(
int x,
int y,
int w,
int h,
const char* label = 0);
79 return data().asString();
95 if (
const auto* theSelectedRow = selectedRow();
98 return theSelectedRow->argument();
Combo box widget.
Definition: CComboBox.h:461
Font combobox widget.
Definition: CFontComboBox.h:46
CFontComboBox(const char *label=nullptr, int layoutSize=10, CLayoutAlign layoutAlign=CLayoutAlign::TOP)
String className() const override
Returns widget class name (internal SPTK RTTI).
Definition: CFontComboBox.h:112
static CLayoutClient * creator(const xdoc::SNode &node)
Creates a widget based on the XML node information.
String fontName() const
Definition: CFontComboBox.h:77
Fl_Font font() const
Definition: CFontComboBox.h:93
void fontName(const char *fn)
Definition: CFontComboBox.h:85
Definition: CLayoutClient.h:82
CLayoutAlign
Definition: CLayoutClient.h:44