Clamp

Constructors

this
this(HdyClamp* hdyClamp, bool ownedRef)

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

this
this()

Creates a new #HdyClamp.

Members

Functions

getClampStruct
HdyClamp* getClampStruct(bool transferOwnership)

Get the main Gtk struct

getMaximumSize
int getMaximumSize()

Gets the maximum size to allocate to the contained child. It is the width if @self is horizontal, or the height if it is vertical.

getStruct
void* getStruct()

the main Gtk struct as a void*

getTighteningThreshold
int getTighteningThreshold()

Gets the size starting from which the clamp will tighten its grip on the child.

setMaximumSize
void setMaximumSize(int maximumSize)

Sets the maximum size to allocate to the contained child. It is the width if @self is horizontal, or the height if it is vertical.

setTighteningThreshold
void setTighteningThreshold(int tighteningThreshold)

Sets the size starting from which the clamp will tighten its grip on the child.

Mixins

__anonymous
mixin OrientableT!(HdyClamp)
Undocumented in source.

Static functions

getType
GType getType()

Variables

hdyClamp
HdyClamp* hdyClamp;

the main Gtk struct

Meta