window.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _HILDON_LIBSMM_WINDOW_H
00004 #define _HILDON_LIBSMM_WINDOW_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* $Id: window.hg,v 1.10 2006/22/9 10:52:44 murrayc Exp $ */
00010 
00011 /* window.h
00012  *
00013  * Copyright (C) 1998-2005 The gtkmm Development Team
00014  *
00015  * This library is free software; you can redistribute it and/or
00016  * modify it under the terms of the GNU Library General Public
00017  * License as published by the Free Software Foundation; either
00018  * version 2 of the License, or (at your option) any later version.
00019  *
00020  * This library is distributed in the hope that it will be useful,
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00023  * Library General Public License for more details.
00024  *
00025  * You should have received a copy of the GNU Library General Public
00026  * License along with this library; if not, write to the Free
00027  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00028  */
00029 
00030 #include <gtkmm/window.h>
00031 #include <gtkmm/menu.h>
00032 #include <gtkmm/toolbar.h>
00033 
00034  
00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00036 typedef struct _HildonWindow HildonWindow;
00037 typedef struct _HildonWindowClass HildonWindowClass;
00038 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00039 
00040 
00041 namespace Hildon
00042 { class Window_Class; } // namespace Hildon
00043 namespace Hildon
00044 {
00045 
00051 class Window : public Gtk::Window
00052 {
00053         public:
00054 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00055   typedef Window CppObjectType;
00056   typedef Window_Class CppClassType;
00057   typedef HildonWindow BaseObjectType;
00058   typedef HildonWindowClass BaseClassType;
00059 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00060 
00061   virtual ~Window();
00062 
00063 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00064 
00065 private:
00066   friend class Window_Class;
00067   static CppClassType window_class_;
00068 
00069   // noncopyable
00070   Window(const Window&);
00071   Window& operator=(const Window&);
00072 
00073 protected:
00074   explicit Window(const Glib::ConstructParams& construct_params);
00075   explicit Window(HildonWindow* castitem);
00076 
00077 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00078 
00079 public:
00080 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00081   static GType get_type()      G_GNUC_CONST;
00082   static GType get_base_type() G_GNUC_CONST;
00083 #endif
00084 
00086   HildonWindow*       gobj()       { return reinterpret_cast<HildonWindow*>(gobject_); }
00087 
00089   const HildonWindow* gobj() const { return reinterpret_cast<HildonWindow*>(gobject_); }
00090 
00091 
00092 public:
00093   //C++ methods used to invoke GTK+ virtual functions:
00094 #ifdef GLIBMM_VFUNCS_ENABLED
00095 #endif //GLIBMM_VFUNCS_ENABLED
00096 
00097 protected:
00098   //GTK+ Virtual Functions (override these to change behaviour):
00099 #ifdef GLIBMM_VFUNCS_ENABLED
00100 #endif //GLIBMM_VFUNCS_ENABLED
00101 
00102   //Default Signal Handlers::
00103 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00104 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00105 
00106 
00107 private:
00108 
00109         public:
00110                 Window();
00111                 
00112                 
00118   void add_with_scrollbar(Gtk::Widget& child);
00119                 
00120                 
00124   Gtk::Menu& get_menu() const;
00125                 
00131   void set_menu(Gtk::Menu& menu);
00132                 
00133                 
00137   void add_toolbar(Gtk::Toolbar& toolbar);
00138                 
00142   void remove_toolbar(Gtk::Toolbar& toolbar);
00143                 
00144                 
00149   bool get_is_topmost() const;
00150                 
00151                 // These seem to be private
00152                 
00153                 
00154 };
00155 
00156 } // namespace Hildon
00157 
00158 
00159 namespace Glib
00160 {
00166   Hildon::Window* wrap(HildonWindow* object, bool take_copy = false);
00167 } //namespace Glib
00168 
00169 
00170 #endif /* _HILDON_LIBSMM_WINDOW_H */
00171 

Generated on Wed Nov 8 17:20:41 2006 for hildon-libsmm by  doxygen 1.4.6