]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/win_gtk.h
Added stub include files; also a couple more Dialog Editor files.
[wxWidgets.git] / include / wx / gtk / win_gtk.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: win_gtk.h
3 // Purpose: wxWindows's GTK base widget
4 // Author: Robert Roebling
5 // Created: 01/02/97
6 // Id:
7 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11
12 #ifndef __GTK_MYFIXED_H__
13 #define __GTK_MYFIXED_H__
14
15
16 #include <gdk/gdk.h>
17 #include <gtk/gtkcontainer.h>
18
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif /* __cplusplus */
23
24
25 #define GTK_MYFIXED(obj) GTK_CHECK_CAST (obj, gtk_myfixed_get_type (), GtkMyFixed)
26 #define GTK_MYFIXED_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_myfixed_get_type (), GtkMyFixedClass)
27 #define GTK_IS_MYFIXED(obj) GTK_CHECK_TYPE (obj, gtk_myfixed_get_type ())
28
29
30 typedef struct _GtkMyFixed GtkMyFixed;
31 typedef struct _GtkMyFixedClass GtkMyFixedClass;
32 typedef struct _GtkMyFixedChild GtkMyFixedChild;
33
34 struct _GtkMyFixed
35 {
36 GtkContainer container;
37
38 GList *children;
39
40 gint16 scroll_offset_x;
41 gint16 scroll_offset_y;
42 };
43
44 struct _GtkMyFixedClass
45 {
46 GtkContainerClass parent_class;
47 };
48
49 struct _GtkMyFixedChild
50 {
51 GtkWidget *widget;
52 gint16 x;
53 gint16 y;
54 };
55
56 guint gtk_myfixed_get_type (void);
57 GtkWidget* gtk_myfixed_new (void);
58 void gtk_myfixed_set_offset (GtkMyFixed *myfixed,
59 gint16 x,
60 gint16 y);
61 void gtk_myfixed_put (GtkMyFixed *myfixed,
62 GtkWidget *widget,
63 gint16 x,
64 gint16 y);
65 void gtk_myfixed_move (GtkMyFixed *myfixed,
66 GtkWidget *widget,
67 gint16 x,
68 gint16 y);
69
70 #ifdef __cplusplus
71 }
72 #endif /* __cplusplus */
73
74
75 #endif /* __GTK_MYFIXED_H__ */