]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/private/win_gtk.h
Add wxActivateEvent::GetActivationReason().
[wxWidgets.git] / include / wx / gtk / private / win_gtk.h
1 /* ///////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/private/win_gtk.h
3 // Purpose: native GTK+ widget for wxWindow
4 // Author: Robert Roebling
5 // Copyright: (c) 1998 Robert Roebling
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////// */
8
9 #ifndef _WX_GTK_PIZZA_H_
10 #define _WX_GTK_PIZZA_H_
11
12 #define WX_PIZZA(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, wxPizza::type(), wxPizza)
13 #define WX_IS_PIZZA(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, wxPizza::type())
14
15 struct WXDLLIMPEXP_CORE wxPizza
16 {
17 // borders styles which can be used with wxPizza
18 enum { BORDER_STYLES =
19 wxBORDER_SIMPLE | wxBORDER_RAISED | wxBORDER_SUNKEN | wxBORDER_THEME };
20
21 static GtkWidget* New(long windowStyle = 0);
22 static GType type();
23 void move(GtkWidget* widget, int x, int y, int width, int height);
24 void put(GtkWidget* widget, int x, int y, int width, int height);
25 void scroll(int dx, int dy);
26 void get_border(GtkBorder& border);
27
28 GtkFixed m_fixed;
29 GList* m_children;
30 int m_scroll_x;
31 int m_scroll_y;
32 int m_windowStyle;
33 };
34
35 #endif // _WX_GTK_PIZZA_H_