libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GtkCRNObject.h
Go to the documentation of this file.
1 /* Copyright 2010 CoReNum
2  *
3  * This file is part of libgtkcrnmm.
4  *
5  * libgtkcrnmm is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU Lesser General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * libgtkcrnmm is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with libgtkcrnmm. If not, see <http://www.gnu.org/licenses/>.
17  *
18  * file: GtkCRNObject.h
19  * \author Yann LEYDIER
20  */
21 
22 #ifndef GtkSObject_HEADER
23 #define GtkSObject_HEADER
24 
25 #include <libgtkcrnmm_config.h>
26 #include <gtkmm.h>
27 #include <CRNObject.h>
28 
29 namespace GtkCRN
30 {
34  Gtk::Widget* create_widget_from_object(const crn::Object *obj);
35 }
36 
37 #endif
38 
39 
40 
Gtk::Widget * create_widget_from_object(const crn::Object *obj)
Creates a widget to display an object.