Made Unix uiTab scrollable.
This commit is contained in:
parent
4f19b9af5a
commit
e19f52f542
1
ui.idl
1
ui.idl
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
package ui {
|
package ui {
|
||||||
|
|
||||||
|
raw "#include <stddef.h>";
|
||||||
raw "#include <stdint.h>";
|
raw "#include <stdint.h>";
|
||||||
|
|
||||||
raw "#ifndef _UI_EXTERN";
|
raw "#ifndef _UI_EXTERN";
|
||||||
|
|
|
@ -136,6 +136,7 @@ uiTab *uiNewTab(void)
|
||||||
|
|
||||||
uiUnixMakeControl(uiControl(t), GTK_TYPE_NOTEBOOK,
|
uiUnixMakeControl(uiControl(t), GTK_TYPE_NOTEBOOK,
|
||||||
FALSE, FALSE, onDestroy, t,
|
FALSE, FALSE, onDestroy, t,
|
||||||
|
"scrollable", TRUE,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
t->pages = g_array_new(FALSE, TRUE, sizeof (struct tabPage));
|
t->pages = g_array_new(FALSE, TRUE, sizeof (struct tabPage));
|
||||||
|
|
Loading…
Reference in New Issue