Requisition

A #GtkRequisition-struct represents the desired size of a widget. See [GtkWidget’s geometry management section][geometry-management] for more information.

Constructors

this
this(GtkRequisition* gtkRequisition, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this()

Allocates a new #GtkRequisition-struct and initializes its elements to zero.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

copy
Requisition copy()

Copies a #GtkRequisition.

free
void free()

Frees a #GtkRequisition.

getRequisitionStruct
GtkRequisition* getRequisitionStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Properties

height
int height [@property getter]
int height [@property setter]

the widget’s desired height

width
int width [@property getter]
int width [@property setter]

the widget’s desired width

Static functions

getType
GType getType()

Variables

gtkRequisition
GtkRequisition* gtkRequisition;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta