1 /* vi:set ts=8 sts=4 sw=4:
3 * VIM - Vi IMproved by Bram Moolenaar
5 * Do ":help uganda" in Vim to read copying and usage conditions.
6 * Do ":help credits" in Vim to see a list of people who contributed.
10 #define __GTK_FORM_H__
13 #include <gtk/gtkcontainer.h>
20 #define GTK_TYPE_FORM (gtk_form_get_type ())
21 #define GTK_FORM(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_FORM, GtkForm))
22 #define GTK_FORM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_FORM, GtkFormClass))
23 #define GTK_IS_FORM(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_FORM))
24 #define GTK_IS_FORM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FORM))
27 typedef struct _GtkForm GtkForm
;
28 typedef struct _GtkFormClass GtkFormClass
;
32 GtkContainer container
;
39 GdkWindow
*bin_window
;
41 GdkVisibilityState visibility
;
42 gulong configure_serial
;
49 GtkContainerClass parent_class
;
52 GtkType
gtk_form_get_type(void);
54 GtkWidget
*gtk_form_new(void);
56 void gtk_form_put(GtkForm
* form
, GtkWidget
* widget
,
59 void gtk_form_move(GtkForm
*form
, GtkWidget
* widget
,
62 void gtk_form_move_resize(GtkForm
* form
, GtkWidget
* widget
,
65 void gtk_form_set_size(GtkForm
* form
, guint width
, guint height
);
67 /* These disable and enable moving and repainting respectively. If you
68 * want to update the layout's offsets but do not want it to repaint
69 * itself, you should use these functions.
72 void gtk_form_freeze(GtkForm
*form
);
73 void gtk_form_thaw(GtkForm
*form
);
79 #endif /* __GTK_FORM_H__ */