Added a disabled uiTab test. It works fine on GTK+ (as expected) but the feature needs to be implemented on Windows and OS X.
This commit is contained in:
parent
4716781e78
commit
e59aeb19ca
|
@ -56,6 +56,7 @@ uiBox *makePage2(void)
|
|||
uiBox *innerhbox;
|
||||
uiBox *innerhbox2;
|
||||
uiBox *innerhbox3;
|
||||
uiTab *disabledTab;
|
||||
|
||||
page2 = newVerticalBox();
|
||||
|
||||
|
@ -131,5 +132,11 @@ uiBox *makePage2(void)
|
|||
uiBoxAppend(hbox, uiControl(button), 0);
|
||||
uiBoxAppend(page2, uiControl(hbox), 0);
|
||||
|
||||
disabledTab = newTab();
|
||||
uiTabAppendPage(disabledTab, "Disabled", uiControl(uiNewButton("Button")));
|
||||
uiTabAppendPage(disabledTab, "Tab", uiControl(uiNewLabel("Label")));
|
||||
uiControlDisable(uiControl(disabledTab));
|
||||
uiBoxAppend(page2, uiControl(disabledTab), 1);
|
||||
|
||||
return page2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue