]> icculus.org git repositories - mikachu/openbox.git/blob - otk/appwidget.hh
you can bind buttons already about, and itll replace them
[mikachu/openbox.git] / otk / appwidget.hh
1 #ifndef __appwidget_hh
2 #define __appwidget_hh
3
4 #include "widget.hh"
5
6 namespace otk {
7
8 class OtkApplication;
9
10 class OtkAppWidget : public OtkWidget {
11
12 public:
13   OtkAppWidget(OtkApplication *app, Direction direction = Horizontal,
14                Cursor cursor = 0, int bevel_width = 1);
15   virtual ~OtkAppWidget();
16
17   virtual void show(void);
18   virtual void hide(void);
19
20   virtual void clientMessageHandler(const XClientMessageEvent &e);
21   
22 private:
23
24   OtkApplication *_application;
25   Atom _wm_protocols;
26   Atom _wm_delete;
27 };
28
29 }
30
31 #endif // __appwidget_hh