Ardour  8.7-14-g57a6773833
expander.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_EXPANDER_H
4 #define _GTKMM_EXPANDER_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: expander.hg,v 1.9 2006/04/12 11:11:25 murrayc Exp $ */
11 
12 /* expander.h
13  *
14  * Copyright (C) 2003 The gtkmm 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/bin.h>
32 
33 
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 typedef struct _GtkExpander GtkExpander;
36 typedef struct _GtkExpanderClass GtkExpanderClass;
37 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
38 
39 
40 namespace Gtk
41 { class Expander_Class; } // namespace Gtk
42 namespace Gtk
43 {
44 
72 class Expander : public Bin
73 {
74  public:
75 #ifndef DOXYGEN_SHOULD_SKIP_THIS
76  typedef Expander CppObjectType;
77  typedef Expander_Class CppClassType;
78  typedef GtkExpander BaseObjectType;
79  typedef GtkExpanderClass BaseClassType;
80 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
81 
82  virtual ~Expander();
83 
84 #ifndef DOXYGEN_SHOULD_SKIP_THIS
85 
86 private:
87  friend class Expander_Class;
88  static CppClassType expander_class_;
89 
90  // noncopyable
91  Expander(const Expander&);
92  Expander& operator=(const Expander&);
93 
94 protected:
95  explicit Expander(const Glib::ConstructParams& construct_params);
96  explicit Expander(GtkExpander* castitem);
97 
98 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
99 
100 public:
101 #ifndef DOXYGEN_SHOULD_SKIP_THIS
102  static GType get_type() G_GNUC_CONST;
103 
104 
105  static GType get_base_type() G_GNUC_CONST;
106 #endif
107 
109  GtkExpander* gobj() { return reinterpret_cast<GtkExpander*>(gobject_); }
110 
112  const GtkExpander* gobj() const { return reinterpret_cast<GtkExpander*>(gobject_); }
113 
114 
115 public:
116  //C++ methods used to invoke GTK+ virtual functions:
117 
118 protected:
119  //GTK+ Virtual Functions (override these to change behaviour):
120 
121  //Default Signal Handlers::
122 
123 
124 private:
125 
126 public:
127 
133 
145  explicit Expander(const Glib::ustring& label, bool mnemonic = false);
146  //gtkmmproc error: gkt_expander_new_with_mnemonic : ignored method defs lookup failed
147 
148 
155  void set_expanded(bool expanded = true);
156 
164  bool get_expanded() const;
165 
166 
172  void set_spacing(int spacing);
173 
178  int get_spacing() const;
179 
180 
187  void set_label(const Glib::ustring& label);
188 
204  Glib::ustring get_label() const;
205 
206 
212  void set_use_underline(bool use_underline = true);
213 
220  bool get_use_underline() const;
221 
222 
228  void set_use_markup(bool use_markup = true);
229 
236  bool get_use_markup() const;
237 
238 
244  void set_label_widget(Widget& label_widget);
245 
253 
260  const Widget* get_label_widget() const;
261 
262 
269  void set_label_fill(bool label_fill = true);
270 
277  bool get_label_fill() const;
278 
279  //keybinding
280 
286  Glib::PropertyProxy< bool > property_expanded() ;
287 
293  Glib::PropertyProxy_ReadOnly< bool > property_expanded() const;
294 
300  Glib::PropertyProxy< Glib::ustring > property_label() ;
301 
307  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_label() const;
308 
314  Glib::PropertyProxy< bool > property_use_underline() ;
315 
321  Glib::PropertyProxy_ReadOnly< bool > property_use_underline() const;
322 
328  Glib::PropertyProxy< bool > property_use_markup() ;
329 
335  Glib::PropertyProxy_ReadOnly< bool > property_use_markup() const;
336 
342  Glib::PropertyProxy< int > property_spacing() ;
343 
349  Glib::PropertyProxy_ReadOnly< int > property_spacing() const;
350 
356  Glib::PropertyProxy< Widget* > property_label_widget() ;
357 
363  Glib::PropertyProxy_ReadOnly< Widget* > property_label_widget() const;
364 
370  Glib::PropertyProxy< bool > property_label_fill() ;
371 
377  Glib::PropertyProxy_ReadOnly< bool > property_label_fill() const;
378 
379 
380 };
381 
382 
383 } // namespace Gtk
384 
385 
386 namespace Glib
387 {
396  Gtk::Expander* wrap(GtkExpander* object, bool take_copy = false);
397 } //namespace Glib
398 
399 
400 #endif /* _GTKMM_EXPANDER_H */
401 
Definition: bin.h:55
Glib::PropertyProxy_ReadOnly< int > property_spacing() const
void set_label(const Glib::ustring &label)
void set_use_markup(bool use_markup=true)
Glib::PropertyProxy< Glib::ustring > property_label()
bool get_use_markup() const
bool get_label_fill() const
Glib::PropertyProxy< bool > property_label_fill()
const Widget * get_label_widget() const
Widget * get_label_widget()
void set_spacing(int spacing)
void set_label_fill(bool label_fill=true)
Expander(const Glib::ustring &label, bool mnemonic=false)
bool get_expanded() const
Glib::PropertyProxy_ReadOnly< bool > property_expanded() const
virtual ~Expander()
Glib::PropertyProxy_ReadOnly< bool > property_label_fill() const
int get_spacing() const
Glib::PropertyProxy< bool > property_use_underline()
Glib::PropertyProxy< int > property_spacing()
bool get_use_underline() const
Gtk::Expander * wrap(GtkExpander *object, bool take_copy=false)
void set_use_underline(bool use_underline=true)
Glib::PropertyProxy< Widget * > property_label_widget()
void set_label_widget(Widget &label_widget)
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_label() const
Glib::PropertyProxy_ReadOnly< bool > property_use_underline() const
const GtkExpander * gobj() const
Provides access to the underlying C GtkObject.
Definition: expander.h:112
Glib::PropertyProxy_ReadOnly< bool > property_use_markup() const
Glib::ustring get_label() const
Glib::PropertyProxy_ReadOnly< Widget * > property_label_widget() const
Glib::PropertyProxy< bool > property_expanded()
GtkExpander * gobj()
Provides access to the underlying C GtkObject.
Definition: expander.h:109
Glib::PropertyProxy< bool > property_use_markup()
void set_expanded(bool expanded=true)
Definition: ardour_ui.h:188