]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/win_gtk.h
fixed typos in last check in
[wxWidgets.git] / include / wx / gtk / win_gtk.h
1 /* ///////////////////////////////////////////////////////////////////////////
2 // Name: win_gtk.h
3 // Purpose: wxWidgets's GTK base widget = GtkPizza
4 // Author: Robert Roebling
5 // Id: $Id$
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////// */
9
10
11 #ifndef __GTK_PIZZA_H__
12 #define __GTK_PIZZA_H__
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */
17
18 #include <gtk/gtkcontainer.h>
19
20 #include "wx/dlimpexp.h"
21
22 #define GTK_PIZZA(obj) GTK_CHECK_CAST (obj, gtk_pizza_get_type (), GtkPizza)
23 #define GTK_IS_PIZZA(obj) GTK_CHECK_TYPE (obj, gtk_pizza_get_type ())
24
25 typedef struct _GtkPizza GtkPizza;
26
27 struct _GtkPizza
28 {
29 GtkContainer container;
30 GList *children;
31
32 guint m_xoffset;
33 guint m_yoffset;
34
35 GdkWindow *bin_window;
36 };
37
38 WXDLLIMPEXP_CORE
39 GtkType gtk_pizza_get_type (void);
40 WXDLLIMPEXP_CORE
41 GtkWidget* gtk_pizza_new (void);
42
43 /* accessors */
44
45 WXDLLIMPEXP_CORE
46 gint gtk_pizza_get_xoffset (GtkPizza *pizza);
47 WXDLLIMPEXP_CORE
48 gint gtk_pizza_get_yoffset (GtkPizza *pizza);
49 WXDLLIMPEXP_CORE
50 void gtk_pizza_set_xoffset (GtkPizza *pizza, gint xoffset);
51 WXDLLIMPEXP_CORE
52 void gtk_pizza_set_yoffset (GtkPizza *pizza, gint yoffset);
53
54
55 WXDLLIMPEXP_CORE
56 gint gtk_pizza_get_rtl_offset (GtkPizza *pizza);
57
58
59 WXDLLIMPEXP_CORE
60 void gtk_pizza_scroll (GtkPizza *pizza,
61 gint dx,
62 gint dy);
63
64 WXDLLIMPEXP_CORE
65 void gtk_pizza_put (GtkPizza *pizza,
66 GtkWidget *widget,
67 gint x,
68 gint y,
69 gint width,
70 gint height);
71
72 WXDLLIMPEXP_CORE
73 void gtk_pizza_set_size (GtkPizza *pizza,
74 GtkWidget *widget,
75 gint x,
76 gint y,
77 gint width,
78 gint height);
79 #ifdef __cplusplus
80 }
81 #endif /* __cplusplus */
82
83
84 #endif /* __GTK_PIZZA_H__ */