Reworked the test program to test tab deletion. It doesn't quite work...
This commit is contained in:
parent
ae66137d01
commit
2637bf4e1f
|
@ -45,6 +45,10 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
tab = newTab();
|
tab = newTab();
|
||||||
uiTabAppendPage(tab, "Page 1", newVerticalBox());
|
uiTabAppendPage(tab, "Page 1", newVerticalBox());
|
||||||
|
uiTabAppendPage(tab, "Page 2", newHorizontalBox());
|
||||||
|
uiTabAppendPage(tab, "Page 3", newVerticalBox());
|
||||||
|
uiTabDeletePage(tab, 1);
|
||||||
|
// TODO delete the stack
|
||||||
uiWindowSetChild(w, uiControl(tab));
|
uiWindowSetChild(w, uiControl(tab));
|
||||||
|
|
||||||
uiControlShow(uiControl(newWindow("Second Window", 320, 240, 1)));
|
uiControlShow(uiControl(newWindow("Second Window", 320, 240, 1)));
|
||||||
|
|
Loading…
Reference in New Issue