More GTK+ control stubbing. Incidentally, this actually finishes the implementation of uiSeparator.
This commit is contained in:
parent
da520af372
commit
7cafbd223a
|
@ -4,6 +4,7 @@
|
||||||
struct separator {
|
struct separator {
|
||||||
uiSeparator s;
|
uiSeparator s;
|
||||||
GtkWidget *widget;
|
GtkWidget *widget;
|
||||||
|
GtkSeparator *separator;
|
||||||
};
|
};
|
||||||
|
|
||||||
uiDefineControlType(uiSeparator, uiTypeSeparator, struct separator)
|
uiDefineControlType(uiSeparator, uiTypeSeparator, struct separator)
|
||||||
|
@ -21,7 +22,9 @@ uiSeparator *uiNewHorizontalSeparator(void)
|
||||||
|
|
||||||
s = (struct separator *) uiNewControl(uiTypeSeparator());
|
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;
|
uiControl(s)->Handle = separatorHandle;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue