Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

href.h

Go to the documentation of this file.
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMEUIMM_HREF_H 00004 #define _LIBGNOMEUIMM_HREF_H 00005 00006 #include <glibmm.h> 00007 00008 /* $Id: href.hg,v 1.11 2002/04/01 16:54:26 murrayc Exp $ */ 00009 00010 00011 /* href.hg 00012 * 00013 * Copyright (C) 1999 The Gtk-- 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/button.h> 00031 #include <libgnomeui/gnome-href.h> 00032 00033 00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00035 typedef struct _GnomeHRef GnomeHRef; 00036 typedef struct _GnomeHRefClass GnomeHRefClass; 00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00038 00039 00040 namespace Gnome 00041 { 00042 00043 namespace UI 00044 { class HRef_Class; } // namespace UI 00045 00046 } // namespace Gnome 00047 namespace Gnome 00048 { 00049 00050 namespace UI 00051 { 00052 00053 00054 class HRef : public Gtk::Button 00055 { 00056 public: 00057 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00058 typedef HRef CppObjectType; 00059 typedef HRef_Class CppClassType; 00060 typedef GnomeHRef BaseObjectType; 00061 typedef GnomeHRefClass BaseClassType; 00062 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00063 00064 virtual ~HRef(); 00065 00066 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00067 00068 private: 00069 friend class HRef_Class; 00070 static CppClassType href_class_; 00071 00072 // noncopyable 00073 HRef(const HRef&); 00074 HRef& operator=(const HRef&); 00075 00076 protected: 00077 explicit HRef(const Glib::ConstructParams& construct_params); 00078 explicit HRef(GnomeHRef* castitem); 00079 00080 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00081 00082 public: 00083 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00084 static GType get_type() G_GNUC_CONST; 00085 static GType get_base_type() G_GNUC_CONST; 00086 #endif 00087 00089 GnomeHRef* gobj() { return reinterpret_cast<GnomeHRef*>(gobject_); } 00090 00092 const GnomeHRef* gobj() const { return reinterpret_cast<GnomeHRef*>(gobject_); } 00093 00094 00095 public: 00096 //C++ methods used to invoke GTK+ virtual functions: 00097 00098 protected: 00099 //GTK+ Virtual Functions (override these to change behaviour): 00100 00101 //Default Signal Handlers:: 00102 00103 00104 private: 00105 00106 00107 public: 00108 HRef(const Glib::ustring& url, const Glib::ustring& label); 00109 HRef(const Glib::ustring& url); 00110 00111 00112 void set_url(const Glib::ustring& url); 00113 00114 Glib::ustring get_url() const; 00115 00116 void set_text(const Glib::ustring& text); 00117 00118 Glib::ustring get_text() const; 00119 00125 Glib::PropertyProxy<Glib::ustring> property_url(); 00126 00132 Glib::PropertyProxy<Glib::ustring> property_text(); 00133 00134 00135 }; 00136 00137 } /* namespace UI */ 00138 } //namespace Gnome 00139 00140 00141 namespace Glib 00142 { 00144 Gnome::UI::HRef* wrap(GnomeHRef* object, bool take_copy = false); 00145 } 00146 #endif /* _LIBGNOMEUIMM_HREF_H */ 00147

Generated on Fri Aug 13 02:11:00 2004 for libgnomeuimm by doxygen 1.3.7