Class Index | Cross Index | Namespace Index |
A frame that constrains its child to a particular aspect ratio.
Contained in: Gtk
Derived from:
Gtk::Frame
Derived by:
none
#include <gtk--/aspectframe.h>
public function member index: |
||
AspectFrame | (const string& label, gfloat xalign, gfloat yalign, gfloat ratio=1.0, bool obey_child=false); | |
AspectFrame | (gfloat xalign, gfloat yalign, gfloat ratio=1.0, bool obey_child=false); | |
GtkAspectFrame* | gtkobj | (); |
const GtkAspectFrame* | gtkobj | () const; |
static bool | isA | (Object* object); |
void | set | (gfloat xalign, gfloat yalign, gfloat ratio, gint obey_child); |
virtual | ~AspectFrame | (); |
private function member index: |
||
void | construct | (const char* label, gfloat xalign, gfloat yalign, gfloat ratio, bool obey_child); |
label: Label text.xalign: Horizontal alignment of the child within the allocation of the GtkAspectFrame. This ranges from 0.0 (left aligned) to 1.0 (right aligned).
yalign: Vertical alignment of the child within the allocation of the GtkAspectFrame. This ranges from 0.0 (left aligned) to 1.0 (right aligned).
ratio: The desired aspect ratio.
obey_child: If TRUE, ratio is ignored, and the aspect ratio is taken from the requistion of the child.
The rest of the arguments are the same as above.