2015-04-07 11:17:05 -05:00
|
|
|
// 7 april 2015
|
|
|
|
|
|
|
|
/*
|
|
|
|
This file assumes that you have included <gtk/gtk.h> and "ui.h" beforehand. It provides API-specific functions for interfacing with foreign controls on Unix systems that use GTK+ to provide their UI (currently all except Mac OS X).
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __UI_UI_UNIX_H__
|
|
|
|
#define __UI_UI_UNIX_H__
|
|
|
|
|
|
|
|
// uiUnixNewControl() creates a new uiControl with the given GTK+ control inside.
|
2015-04-07 18:47:44 -05:00
|
|
|
// The first parameter is the type of the control, as passed to the first argument of g_object_new().
|
2015-04-08 15:24:11 -05:00
|
|
|
// The two scrolledWindow parameters allow placing scrollbars on the new control.
|
2015-04-07 18:47:44 -05:00
|
|
|
// The firstProperty parameter and beyond allow passing construct properties to the new control, as with g_object_new(); end this list with NULL.
|
2015-04-09 17:17:04 -05:00
|
|
|
extern uiControl *uiUnixNewControl(GType type, gboolean inScrolledWindow, gboolean scrolledWindowHasBorder, const char *firstProperty, ...);
|
|
|
|
|
|
|
|
struct uiSizingSys {
|
|
|
|
// this structure currently left blank
|
|
|
|
};
|
2015-04-07 11:17:05 -05:00
|
|
|
|
|
|
|
#endif
|