]>
git.saurik.com Git - wxWidgets.git/blob - 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 /////////////////////////////////////////////////////////////////////////// */
9 #ifndef _WX_GTK_PIZZA_H_
10 #define _WX_GTK_PIZZA_H_
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())
15 struct WXDLLIMPEXP_CORE wxPizza
17 // borders styles which can be used with wxPizza
18 enum { BORDER_STYLES
=
19 wxBORDER_SIMPLE
| wxBORDER_RAISED
| wxBORDER_SUNKEN
| wxBORDER_THEME
};
21 static GtkWidget
* New(long windowStyle
= 0);
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
);
35 #endif // _WX_GTK_PIZZA_H_