]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/private/win_gtk.h
1 /* ///////////////////////////////////////////////////////////////////////////
3 // Purpose: native GTK+ widget for wxWindow
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////// */
10 #ifndef _WX_GTK_PIZZA_H_
11 #define _WX_GTK_PIZZA_H_
13 #include <gtk/gtkfixed.h>
15 #define WX_PIZZA(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, wxPizza::type(), wxPizza)
16 #define WX_IS_PIZZA(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, wxPizza::type())
18 struct WXDLLIMPEXP_CORE wxPizza
20 // borders styles which can be used with wxPizza
21 enum { BORDER_STYLES
=
22 wxBORDER_SIMPLE
| wxBORDER_RAISED
| wxBORDER_SUNKEN
| wxBORDER_THEME
};
24 static GtkWidget
* New(long windowStyle
= 0);
26 void move(GtkWidget
* widget
, int x
, int y
);
27 void put(GtkWidget
* widget
, int x
, int y
);
28 void scroll(int dx
, int dy
);
29 void get_border_widths(int& x
, int& y
);
38 #endif // _WX_GTK_PIZZA_H_