Ardour  9.0-pre0-386-g96ef4d20f2
toolitemgroup.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_TOOLITEMGROUP_H
4 #define _GTKMM_TOOLITEMGROUP_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /*
11  * Copyright (C) 2009 The gtkmm Development Team
12  *
13  * This library is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU Lesser General Public
15  * License as published by the Free Software Foundation; either
16  * version 2.1 of the License, or (at your option) any later version.
17  *
18  * This library is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21  * Lesser General Public License for more details.
22  *
23  * You should have received a copy of the GNU Lesser General Public
24  * License along with this library; if not, write to the Free
25  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26  */
27 
28 
29 #include <gtkmm/container.h>
30 #include <gtkmm/toolitem.h>
31 #include <gtkmm/toolshell.h>
32 
33 
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 typedef struct _GtkToolItemGroup GtkToolItemGroup;
37 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
38 
39 
40 namespace Gtk
41 { class ToolItemGroup_Class; } // namespace Gtk
42 namespace Gtk
43 {
44 
52  : public Container,
53  public ToolShell
54 {
55  public:
56 #ifndef DOXYGEN_SHOULD_SKIP_THIS
57  typedef ToolItemGroup CppObjectType;
58  typedef ToolItemGroup_Class CppClassType;
59  typedef GtkToolItemGroup BaseObjectType;
60  typedef GtkToolItemGroupClass BaseClassType;
61 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
62 
63  virtual ~ToolItemGroup();
64 
65 #ifndef DOXYGEN_SHOULD_SKIP_THIS
66 
67 private:
68  friend class ToolItemGroup_Class;
69  static CppClassType toolitemgroup_class_;
70 
71  // noncopyable
73  ToolItemGroup& operator=(const ToolItemGroup&);
74 
75 protected:
76  explicit ToolItemGroup(const Glib::ConstructParams& construct_params);
77  explicit ToolItemGroup(GtkToolItemGroup* castitem);
78 
79 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
80 
81 public:
82 #ifndef DOXYGEN_SHOULD_SKIP_THIS
83  static GType get_type() G_GNUC_CONST;
84 
85 
86  static GType get_base_type() G_GNUC_CONST;
87 #endif
88 
90  GtkToolItemGroup* gobj() { return reinterpret_cast<GtkToolItemGroup*>(gobject_); }
91 
93  const GtkToolItemGroup* gobj() const { return reinterpret_cast<GtkToolItemGroup*>(gobject_); }
94 
95 
96 public:
97  //C++ methods used to invoke GTK+ virtual functions:
98 
99 protected:
100  //GTK+ Virtual Functions (override these to change behaviour):
101 
102  //Default Signal Handlers::
103 
104 
105 private:
106 
107 
108 public:
109  explicit ToolItemGroup(const Glib::ustring& label = Glib::ustring());
110 
111 
117  void set_label(const Glib::ustring& label);
118 
125  void set_label_widget(Widget& label_widget);
126 
131  void set_collapsed(bool collapsed = true);
132 
137  void set_ellipsize(Pango::EllipsizeMode ellipsize);
138 
145 
146 
153  Glib::ustring get_label() const;
154 
155 
162 
168  const Widget* get_label_widget() const;
169 
170 
175  bool get_collapsed() const;
176 
181  Pango::EllipsizeMode get_ellipsize() const;
182 
188 
189 
196  void insert(ToolItem& item, int position);
197 
202  void insert(ToolItem& item);
203 
204 
213 
219  int get_item_position(const ToolItem& item) const;
220 
221 
226  guint get_n_items() const;
227 
228 
234  ToolItem* get_nth_item(guint index);
235 
241  const ToolItem* get_nth_item(guint index) const;
242 
243 
250  ToolItem* get_drop_item(int x, int y);
251 
258  ToolItem* get_drop_item(int x, int y) const;
259 
265  Glib::PropertyProxy< Glib::ustring > property_label() ;
266 
272  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_label() const;
273 
279  Glib::PropertyProxy< Gtk::Widget* > property_label_widget() ;
280 
286  Glib::PropertyProxy_ReadOnly< Gtk::Widget* > property_label_widget() const;
287 
293  Glib::PropertyProxy< bool > property_collapsed() ;
294 
300  Glib::PropertyProxy_ReadOnly< bool > property_collapsed() const;
301 
307  Glib::PropertyProxy< Pango::EllipsizeMode > property_ellipsize() ;
308 
314  Glib::PropertyProxy_ReadOnly< Pango::EllipsizeMode > property_ellipsize() const;
315 
321  Glib::PropertyProxy< ReliefStyle > property_header_relief() ;
322 
328  Glib::PropertyProxy_ReadOnly< ReliefStyle > property_header_relief() const;
329 
330 
331 };
332 
333 } // namespace Gtk
334 
335 
336 namespace Glib
337 {
346  Gtk::ToolItemGroup* wrap(GtkToolItemGroup* object, bool take_copy = false);
347 } //namespace Glib
348 
349 
350 #endif /* _GTKMM_TOOLITEMGROUP_H */
351 
bool get_collapsed() const
ToolItem * get_drop_item(int x, int y)
void set_label_widget(Widget &label_widget)
Glib::PropertyProxy_ReadOnly< Gtk::Widget * > property_label_widget() const
Glib::PropertyProxy< Pango::EllipsizeMode > property_ellipsize()
Glib::PropertyProxy< bool > property_collapsed()
Widget * get_label_widget()
void set_header_relief(ReliefStyle style)
Gtk::ToolItemGroup * wrap(GtkToolItemGroup *object, bool take_copy=false)
const GtkToolItemGroup * gobj() const
Provides access to the underlying C GtkObject.
Definition: toolitemgroup.h:93
ReliefStyle get_header_relief() const
virtual ~ToolItemGroup()
ToolItem * get_nth_item(guint index)
ToolItemGroup(const Glib::ustring &label=Glib::ustring())
guint get_n_items() const
ToolItem * get_drop_item(int x, int y) const
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_label() const
Glib::PropertyProxy_ReadOnly< Pango::EllipsizeMode > property_ellipsize() const
Glib::PropertyProxy< ReliefStyle > property_header_relief()
Pango::EllipsizeMode get_ellipsize() const
void set_item_position(ToolItem &item, int position)
void set_label(const Glib::ustring &label)
Glib::PropertyProxy_ReadOnly< ReliefStyle > property_header_relief() const
void set_ellipsize(Pango::EllipsizeMode ellipsize)
Glib::PropertyProxy_ReadOnly< bool > property_collapsed() const
const ToolItem * get_nth_item(guint index) const
Glib::ustring get_label() const
Glib::PropertyProxy< Gtk::Widget * > property_label_widget()
void insert(ToolItem &item)
GtkToolItemGroup * gobj()
Provides access to the underlying C GtkObject.
Definition: toolitemgroup.h:90
void insert(ToolItem &item, int position)
int get_item_position(const ToolItem &item) const
Glib::PropertyProxy< Glib::ustring > property_label()
const Widget * get_label_widget() const
void set_collapsed(bool collapsed=true)
static GType get_type() G_GNUC_CONST
Definition: ardour_ui.h:187