summaryrefslogtreecommitdiff
path: root/otk/appwidget.hh
blob: b2ea44aadb7f237b80070cd2c593dc9c98cbf1d7 (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
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
#ifndef __appwidget_hh
#define __appwidget_hh

#include "widget.hh"

namespace otk {

class Application;

class AppWidget : public Widget {

public:
  AppWidget(Application *app, Direction direction = Horizontal, int bevel = 0);
  virtual ~AppWidget();

  virtual void render();

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

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

  Application *_application;
};

}

#endif // __appwidget_hh