3 #ifndef _GTKMM_ASPECTFRAME_H
4 #define _GTKMM_ASPECTFRAME_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
41 {
class AspectFrame_Class; }
60 #ifndef DOXYGEN_SHOULD_SKIP_THIS
69 #ifndef DOXYGEN_SHOULD_SKIP_THIS
73 static CppClassType aspectframe_class_;
80 explicit AspectFrame(
const Glib::ConstructParams& construct_params);
86 #ifndef DOXYGEN_SHOULD_SKIP_THIS
87 static GType get_type() G_GNUC_CONST;
90 static GType get_base_type() G_GNUC_CONST;
137 explicit AspectFrame(
const Glib::ustring& label,
float xalign,
float yalign,
float ratio = 1.0,
bool obey_child =
false);
151 void set(
float xalign,
float yalign,
float ratio,
bool obey_child =
true);
const GtkAspectFrame * gobj() const
Provides access to the underlying C GtkObject.
GtkAspectFrame * gobj()
Provides access to the underlying C GtkObject.
Glib::PropertyProxy_ReadOnly< float > property_xalign() const
Glib::PropertyProxy< bool > property_obey_child()
Glib::PropertyProxy< float > property_xalign()
AspectFrame(const Glib::ustring &label, float xalign, float yalign, float ratio=1.0, bool obey_child=false)
Glib::PropertyProxy_ReadOnly< bool > property_obey_child() const
Glib::PropertyProxy_ReadOnly< float > property_yalign() const
Gtk::AspectFrame * wrap(GtkAspectFrame *object, bool take_copy=false)
Glib::PropertyProxy_ReadOnly< float > property_ratio() const
Glib::PropertyProxy< float > property_yalign()
void set(float xalign, float yalign, float ratio, bool obey_child=true)
void set(AlignmentEnum xalign, AlignmentEnum yalign, float ratio, bool obey_child=true)
Glib::PropertyProxy< float > property_ratio()
AspectFrame(const Glib::ustring &label=Glib::ustring(), AlignmentEnum xalign=Gtk::ALIGN_CENTER, AlignmentEnum yalign=Gtk::ALIGN_CENTER, float ratio=1.0, bool obey_child=false)