summaryrefslogtreecommitdiff
path: root/otk/appwidget.hh
blob: d33f2caa331ab1bc2408711becca99293e994646 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef __appwidget_hh
#define __appwidget_hh

#include "widget.hh"

namespace otk {

class OtkApplication;

class OtkAppWidget : public OtkWidget {

public:
  OtkAppWidget(OtkApplication *app, Direction direction = Horizontal,
               Cursor cursor = 0, int bevel_width = 1);
  virtual ~OtkAppWidget();

  virtual void show(void);
  virtual void hide(void);

  virtual void clientMessageHandler(const XClientMessageEvent &e);
  
private:

  OtkApplication *_application;
  Atom _wm_protocols;
  Atom _wm_delete;
};

}

#endif // __appwidget_hh