libgnomeuimm  2.28.0
href.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMEUIMM_HREF_H
4 #define _LIBGNOMEUIMM_HREF_H
5 
6 
7 #include <glibmm.h>
8 
9 /* $Id: href.hg,v 1.11 2002/04/01 16:54:26 murrayc Exp $ */
10 
11 
12 /* href.hg
13  *
14  * Copyright (C) 1999 The Gtk-- Development Team
15  *
16  * This library is free software; you can redistribute it and/or
17  * modify it under the terms of the GNU Lesser General Public
18  * License as published by the Free Software Foundation; either
19  * version 2.1 of the License, or (at your option) any later version.
20  *
21  * This library is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24  * Lesser General Public License for more details.
25  *
26  * You should have received a copy of the GNU Lesser General Public
27  * License along with this library; if not, write to the Free
28  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29  */
30 
31 #include <gtkmm/button.h>
32 #include <libgnomeui/gnome-href.h>
33 
34 
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
36 typedef struct _GnomeHRef GnomeHRef;
37 typedef struct _GnomeHRefClass GnomeHRefClass;
38 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
39 
40 
41 namespace Gnome
42 {
43 
44 namespace UI
45 { class HRef_Class; } // namespace UI
46 
47 } // namespace Gnome
48 namespace Gnome
49 {
50 
51 namespace UI
52 {
53 
54 
55 class HRef : public Gtk::Button
56 {
57  public:
58 #ifndef DOXYGEN_SHOULD_SKIP_THIS
59  typedef HRef CppObjectType;
60  typedef HRef_Class CppClassType;
61  typedef GnomeHRef BaseObjectType;
62  typedef GnomeHRefClass BaseClassType;
63 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
64 
65  virtual ~HRef();
66 
67 #ifndef DOXYGEN_SHOULD_SKIP_THIS
68 
69 private:
70  friend class HRef_Class;
71  static CppClassType href_class_;
72 
73  // noncopyable
74  HRef(const HRef&);
75  HRef& operator=(const HRef&);
76 
77 protected:
78  explicit HRef(const Glib::ConstructParams& construct_params);
79  explicit HRef(GnomeHRef* castitem);
80 
81 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
82 
83 public:
84 #ifndef DOXYGEN_SHOULD_SKIP_THIS
85  static GType get_type() G_GNUC_CONST;
86 
87 
88  static GType get_base_type() G_GNUC_CONST;
89 #endif
90 
92  GnomeHRef* gobj() { return reinterpret_cast<GnomeHRef*>(gobject_); }
93 
95  const GnomeHRef* gobj() const { return reinterpret_cast<GnomeHRef*>(gobject_); }
96 
97 
98 public:
99  //C++ methods used to invoke GTK+ virtual functions:
100 #ifdef GLIBMM_VFUNCS_ENABLED
101 #endif //GLIBMM_VFUNCS_ENABLED
102 
103 protected:
104  //GTK+ Virtual Functions (override these to change behaviour):
105 #ifdef GLIBMM_VFUNCS_ENABLED
106 #endif //GLIBMM_VFUNCS_ENABLED
107 
108  //Default Signal Handlers::
109 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
110 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
111 
112 
113 private:
114 
115 
116 public:
117  HRef(const Glib::ustring& url, const Glib::ustring& label);
118  HRef(const Glib::ustring& url);
119 
120 
121  void set_url(const Glib::ustring& url);
122 
123  Glib::ustring get_url() const;
124 
125  void set_text(const Glib::ustring& text);
126 
127  Glib::ustring get_text() const;
128 
129  #ifdef GLIBMM_PROPERTIES_ENABLED
130 
136  Glib::PropertyProxy<Glib::ustring> property_url() ;
137 #endif //#GLIBMM_PROPERTIES_ENABLED
138 
139 #ifdef GLIBMM_PROPERTIES_ENABLED
140 
146  Glib::PropertyProxy_ReadOnly<Glib::ustring> property_url() const;
147 #endif //#GLIBMM_PROPERTIES_ENABLED
148 
149  #ifdef GLIBMM_PROPERTIES_ENABLED
150 
156  Glib::PropertyProxy<Glib::ustring> property_text() ;
157 #endif //#GLIBMM_PROPERTIES_ENABLED
158 
159 #ifdef GLIBMM_PROPERTIES_ENABLED
160 
166  Glib::PropertyProxy_ReadOnly<Glib::ustring> property_text() const;
167 #endif //#GLIBMM_PROPERTIES_ENABLED
168 
169 
170 };
171 
172 } /* namespace UI */
173 } //namespace Gnome
174 
175 
176 namespace Glib
177 {
186  Gnome::UI::HRef* wrap(GnomeHRef* object, bool take_copy = false);
187 } //namespace Glib
188 
189 
190 #endif /* _LIBGNOMEUIMM_HREF_H */
191 
void set_url(const Glib::ustring &url)
Glib::PropertyProxy< Glib::ustring > property_text()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
GnomeHRef * gobj()
Provides access to the underlying C GtkObject.
Definition: href.h:92
Glib::ustring get_url() const
Definition: href.h:55
Glib::PropertyProxy< Glib::ustring > property_url()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
HRef(const Glib::ustring &url, const Glib::ustring &label)
virtual ~HRef()
void set_text(const Glib::ustring &text)
const GnomeHRef * gobj() const
Provides access to the underlying C GtkObject.
Definition: href.h:95
Glib::ustring get_text() const