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