blob: 8b29940278d48efcd9cc308515bb49af8cd8f328 [file] [log] [blame]
#ifndef OS_CUSTOM_H
#define OS_CUSTOM_H
#include <gtk/gtk.h>
#include <glib-object.h>
#ifndef NO_SwtFixed
#define SWT_TYPE_FIXED (swt_fixed_get_type ())
#define SWT_FIXED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SWT_TYPE_FIXED, SwtFixed))
#define SWT_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SWT_TYPE_FIXED, SwtFixedClass))
#define SWT_IS_FIXED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWT_TYPE_FIXED))
#define SWT_IS_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SWT_TYPE_FIXED))
#define SWT_FIXED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SWT_TYPE_FIXED, SwtFixedClass))
typedef struct _SwtFixed SwtFixed;
typedef struct _SwtFixedPrivate SwtFixedPrivate;
typedef struct _SwtFixedClass SwtFixedClass;
struct _SwtFixed
{
GtkContainer container;
/*< private >*/
SwtFixedPrivate *priv;
};
struct _SwtFixedClass
{
GtkContainerClass parent_class;
};
GType swt_fixed_get_type (void) G_GNUC_CONST;
GtkWidget *swt_fixed_new(void);
void swt_fixed_restack(SwtFixed *fixed, GtkWidget *widget, GtkWidget *sibling, gboolean above);
void swt_fixed_move(SwtFixed *fixed, GtkWidget *widget, gint x, gint y);
void swt_fixed_resize(SwtFixed *fixed, GtkWidget *widget, gint width, gint height);
#endif
#endif /* OS_CUSTOM_H */