More GTK+ control stubbing. Incidentally, this actually finishes the implementation of uiSeparator.

This commit is contained in:
Pietro Gagliardi 2015-06-27 19:48:01 -04:00
parent da520af372
commit 7cafbd223a
1 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,7 @@
struct separator {
uiSeparator s;
GtkWidget *widget;
GtkSeparator *separator;
};
uiDefineControlType(uiSeparator, uiTypeSeparator, struct separator)
@ -21,7 +22,9 @@ uiSeparator *uiNewHorizontalSeparator(void)
s = (struct separator *) uiNewControl(uiTypeSeparator());
PUT_CODE_HERE;
s->widget = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
s->separator = GTK_SEPARATOR(s->widget);
uiUnixMakeSingleWidgetControl(uiControl(s), s->widget);
uiControl(s)->Handle = separatorHandle;