2015-06-11 18:07:06 -05:00
|
|
|
// 11 june 2015
|
|
|
|
#include "uipriv_unix.h"
|
|
|
|
|
2015-08-27 22:00:34 -05:00
|
|
|
struct uiSeparator {
|
|
|
|
uiUnixControl c;
|
2015-06-11 18:07:06 -05:00
|
|
|
GtkWidget *widget;
|
2015-06-27 18:48:01 -05:00
|
|
|
GtkSeparator *separator;
|
2015-06-11 18:07:06 -05:00
|
|
|
};
|
|
|
|
|
2016-04-25 19:00:25 -05:00
|
|
|
uiUnixControlAllDefaults(uiSeparator)
|
2015-06-11 18:07:06 -05:00
|
|
|
|
|
|
|
uiSeparator *uiNewHorizontalSeparator(void)
|
|
|
|
{
|
2015-08-27 22:00:34 -05:00
|
|
|
uiSeparator *s;
|
2015-06-11 18:07:06 -05:00
|
|
|
|
2016-04-25 19:00:25 -05:00
|
|
|
uiUnixNewControl(uiSeparator, s);
|
2015-06-11 18:07:06 -05:00
|
|
|
|
2015-06-27 18:48:01 -05:00
|
|
|
s->widget = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
|
|
|
|
s->separator = GTK_SEPARATOR(s->widget);
|
2015-06-11 18:07:06 -05:00
|
|
|
|
2015-08-27 22:00:34 -05:00
|
|
|
return s;
|
2015-06-11 18:07:06 -05:00
|
|
|
}
|