00001 /* 00002 * File Name: gtk_widget.h 00003 */ 00004 00005 /* 00006 * This file is part of liberscribble. 00007 * 00008 * liberscribble is free software: you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation, either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * liberscribble is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00020 */ 00021 00022 /** 00023 * Copyright (C) 2008 iRex Technologies B.V. 00024 * All rights reserved. 00025 */ 00026 00027 #ifndef GTK_WIDGET_H_ 00028 #define GTK_WIDGET_H_ 00029 00030 #include <gtk/gtk.h> 00031 #include <gdk/gdk.h> 00032 00033 /// Define GTK widget interface here for all classes that needs the GTK widget. 00034 namespace gtk 00035 { 00036 00037 /// @brief CPP wrapper for gtk widget. Maybe not necessary. 00038 class Window 00039 { 00040 public: 00041 Window(); 00042 ~Window(); 00043 00044 public: 00045 /// @brief Create the widget. 00046 GtkWidget *create_widget(GtkWidget *parent = 0); 00047 00048 }; 00049 00050 }; 00051 00052 #endif