TestAspectFrame

This tests the DUI aspect frame

class TestAspectFrame : AspectFrame {}

Constructors

this
this()
Undocumented in source.

Inherited Members

From AspectFrame

gtkAspectFrame
GtkAspectFrame* gtkAspectFrame;

the main Gtk struct

getAspectFrameStruct
GtkAspectFrame* getAspectFrameStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getChild
Widget getChild()

Gets the child widget of @self.

getObeyChild
bool getObeyChild()

Returns whether the child's size request should override the set aspect ratio of the GtkAspectFrame.

getRatio
float getRatio()

Returns the desired aspect ratio of the child.

getXalign
float getXalign()

Returns the horizontal alignment of the child within the allocation of the GtkAspectFrame.

getYalign
float getYalign()

Returns the vertical alignment of the child within the allocation of the GtkAspectFrame.

setChild
void setChild(Widget child)

Sets the child widget of @self.

setObeyChild
void setObeyChild(bool obeyChild)

Sets whether the aspect ratio of the child's size request should override the set aspect ratio of the GtkAspectFrame.

setRatio
void setRatio(float ratio)

Sets the desired aspect ratio of the child.

setXalign
void setXalign(float xalign)

Sets the horizontal alignment of the child within the allocation of the GtkAspectFrame.

setYalign
void setYalign(float yalign)

Sets the vertical alignment of the child within the allocation of the GtkAspectFrame.

Meta