glademm_support.hh

Go to the documentation of this file.
00001 // generated 2003/1/29 10:56:54 WST by pfb@goldmund.(none)
00002 // using glademm V0.6.4
00003 //
00004 // some glademm convenience functions
00005 //
00006 // DO NOT EDIT THIS FILE !
00007 
00008 #ifndef GLADEMM_SUPPORT_HH
00009 #define GLADEMM_SUPPORT_HH
00010 #include <string>
00011 #include <map>
00012 #include <gtk--/widget.h>
00013 
00014 Gtk::Widget * glademm_get_Widget(const __STD::string &name);
00015 void glademm_set_Widget(const __STD::string &name, Gtk::Widget *w);
00016 
00017 template <class T> T * glademm_get(const __STD::string &name)
00018 {  return reinterpret_cast<T*>(glademm_get_Widget(name));
00019    // 2do: testen ... geht aber nicht ohne Methode gleichen Namens
00020 }
00021 #endif /* GLADEMM_SUPPORT_HH */