7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
32 #if defined(GTK_DISABLE_DEPRECATED) && !defined(GTKMM_GTK_DISABLE_DEPRECATED_UNDEFED)
33 #undef GTK_DISABLE_DEPRECATED
34 #define GTKMM_GTK_DISABLE_DEPRECATED_UNDEFED 1
39 #if defined(GDK_DISABLE_DEPRECATED) && !defined(GTKMM_GDK_DISABLE_DEPRECATED_UNDEFED)
40 #undef GDK_DISABLE_DEPRECATED
41 #define GTKMM_GDK_DISABLE_DEPRECATED_UNDEFED 1
47 #if defined(GTKMM_GTK_DISABLE_DEPRECATED_UNDEFED)
48 #define GTK_DISABLE_DEPRECATED 1
49 #undef GTKMM_GTK_DISABLE_DEPRECATED_UNDEFED
53 #if defined(GTKMM_GDK_DISABLE_DEPRECATED_UNDEFED)
54 #define GDK_DISABLE_DEPRECATED 1
55 #undef GTKMM_GDK_DISABLE_DEPRECATED_UNDEFED
60 #include <glibmm/helperlist.h>
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
78 #ifndef DOXYGEN_SHOULD_SKIP_THIS
101 namespace Box_Helpers
135 #ifndef DOXYGEN_SHOULD_SKIP_THIS
169 class BoxList :
public Glib::HelperList< Child, const Element, Glib::List_Iterator< Child > >
179 typedef Glib::HelperList< Child, const Element, Glib::List_Iterator< Child > >
type_base;
196 template <
class InputIterator>
199 for(;first != last; ++first)
213 iterator
find(const_reference c);
263 #ifndef DOXYGEN_SHOULD_SKIP_THIS
264 typedef Box CppObjectType;
266 typedef GtkBox BaseObjectType;
272 #ifndef DOXYGEN_SHOULD_SKIP_THIS
276 static CppClassType box_class_;
280 Box& operator=(
const Box&);
283 explicit Box(
const Glib::ConstructParams& construct_params);
289 #ifndef DOXYGEN_SHOULD_SKIP_THIS
290 static GType get_type() G_GNUC_CONST;
293 static GType get_base_type() G_GNUC_CONST;
485 #ifndef DOXYGEN_SHOULD_SKIP_THIS
486 mutable BoxList children_proxy_;
507 #ifndef DOXYGEN_SHOULD_SKIP_THIS
508 typedef VBox CppObjectType;
510 typedef GtkVBox BaseObjectType;
516 #ifndef DOXYGEN_SHOULD_SKIP_THIS
520 static CppClassType vbox_class_;
527 explicit VBox(
const Glib::ConstructParams& construct_params);
533 #ifndef DOXYGEN_SHOULD_SKIP_THIS
534 static GType get_type() G_GNUC_CONST;
537 static GType get_base_type() G_GNUC_CONST;
566 explicit VBox(
bool homogeneous =
false,
int spacing = 0);
590 #ifndef DOXYGEN_SHOULD_SKIP_THIS
591 typedef HBox CppObjectType;
593 typedef GtkHBox BaseObjectType;
599 #ifndef DOXYGEN_SHOULD_SKIP_THIS
603 static CppClassType hbox_class_;
610 explicit HBox(
const Glib::ConstructParams& construct_params);
616 #ifndef DOXYGEN_SHOULD_SKIP_THIS
617 static GType get_type() G_GNUC_CONST;
620 static GType get_base_type() G_GNUC_CONST;
649 explicit HBox(
bool homogeneous =
false,
int spacing = 0);
void push_front(element_type &e)
virtual void erase(iterator start, iterator stop)
const GtkBox * gparent() const
BoxList(const BoxList &src)
void reorder(iterator loc, iterator pos)
BoxList & operator=(const BoxList &src)
virtual GList *& glist() const
virtual iterator erase(iterator)
iterator find(const_reference c)
Glib::HelperList< Child, const Element, Glib::List_Iterator< Child > > type_base
virtual void remove(Widget &w)
void push_back(element_type &e)
virtual void remove(const_reference)
void insert(iterator position, InputIterator first, InputIterator last)
iterator insert(iterator position, element_type &e)
reference operator[](size_type l) const
This is order n. (use at own risk)
_GtkBoxChild * gobj()
Provides access to the underlying C GObject.
void set_pack(PackType pack)
Widget * get_widget() const
void set_options(PackOptions options, guint padding=0)
void set_options(bool expand, bool fill, guint padding=0)
guint16 get_padding() const
const _GtkBoxChild * gobj() const
Provides access to the underlying C GObject.
Child & operator=(const Child &)
Element(Widget &widget, PackOptions options=PACK_EXPAND_WIDGET, guint padding=0, PackType pack=PACK_START)
GtkBox * gobj()
Provides access to the underlying C GtkObject.
Glib::PropertyProxy< int > property_spacing()
const BoxList & children() const
void set_homogeneous(bool homogeneous=true)
void pack_end(Widget &child, bool expand, bool fill, guint padding=0)
void pack_start(Widget &child, bool expand, bool fill, guint padding=0)
bool get_homogeneous() const
Box_Helpers::BoxList BoxList
Glib::PropertyProxy< bool > property_homogeneous()
Gtk::Box * wrap(GtkBox *object, bool take_copy=false)
Glib::PropertyProxy_ReadOnly< bool > property_homogeneous() const
const GtkBox * gobj() const
Provides access to the underlying C GtkObject.
Glib::PropertyProxy_ReadOnly< int > property_spacing() const
void set_spacing(int spacing)
void pack_end(Widget &child, PackOptions options=PACK_EXPAND_WIDGET, guint padding=0)
void reorder_child(Widget &child, int pos)
void pack_start(Widget &child, PackOptions options=PACK_EXPAND_WIDGET, guint padding=0)
GtkHBox * gobj()
Provides access to the underlying C GtkObject.
Gtk::HBox * wrap(GtkHBox *object, bool take_copy=false)
const GtkHBox * gobj() const
Provides access to the underlying C GtkObject.
HBox(bool homogeneous=false, int spacing=0)
VBox(bool homogeneous=false, int spacing=0)
GtkVBox * gobj()
Provides access to the underlying C GtkObject.
const GtkVBox * gobj() const
Provides access to the underlying C GtkObject.
Gtk::VBox * wrap(GtkVBox *object, bool take_copy=false)
PBD::PropertyDescriptor< timepos_t > start
EndElem(Widget &widget, PackOptions options=PACK_EXPAND_WIDGET, guint padding=0)