]>
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
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////// */
10 #ifndef _WX_GTK_PIZZA_H_
11 #define _WX_GTK_PIZZA_H_
13 #define WX_PIZZA(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, wxPizza::type(), wxPizza)
14 #define WX_IS_PIZZA(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, wxPizza::type())
16 struct WXDLLIMPEXP_CORE wxPizza
18 // borders styles which can be used with wxPizza
19 enum { BORDER_STYLES
=
20 wxBORDER_SIMPLE
| wxBORDER_RAISED
| wxBORDER_SUNKEN
| wxBORDER_THEME
};
22 static GtkWidget
* New(long windowStyle
= 0);
24 void move(GtkWidget
* widget
, int x
, int y
, int width
, int height
);
25 void put(GtkWidget
* widget
, int x
, int y
, int width
, int height
);
26 void scroll(int dx
, int dy
);
27 void get_border(GtkBorder
& border
);
36 #endif // _WX_GTK_PIZZA_H_