GTK+ IOStream  Beta
<< GTK+ >> add C++ IOStream operators to GTK+. Now with extra abilities ... like network serialisation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Widget.H
Go to the documentation of this file.
1 #ifndef WIDGET_H_
2 #define WIDGET_H_
3 
6 class Widget {
7 protected:
8  GtkWidget *widget;
9 public:
10  virtual ~Widget() {}
11 
14  GtkWidget *ref(void) {
15  return gtk_widget_ref(widget);
16  }
17 
20  void unref(void) {
21  gtk_widget_unref(widget);
22  }
23 };
24 
25 #endif // WIDGET_H_