11 #include <gwen-gui-cpp/cppwidget.hpp>
30 QSizePolicy::Policy hpolicy=QSizePolicy::Minimum;
31 QSizePolicy::Policy vpolicy=QSizePolicy::Minimum;
34 wParent=GWEN_Widget_Tree_GetParent(
_widget);
40 hpolicy=QSizePolicy::Expanding;
42 vpolicy=QSizePolicy::Expanding;
43 qw->setSizePolicy(hpolicy, vpolicy);
76 qw->resize(value, qw->height());
80 qw->resize(qw->width(), value);
84 qw->setEnabled((value==0)?
false:
true);
103 "Function is not appropriate for this type of widget (%s)",
126 return (qw->isEnabled())?1:0;
129 return (qw->hasFocus())?1:0;
136 "Function is not appropriate for this type of widget (%s)",
148 "Function is not appropriate for this type of widget (%s)",
157 const char *defaultValue) {
159 "Function is not appropriate for this type of widget (%s)",