Widget.getAllocatedWidth

Returns the width that has currently been allocated to widget. This function is intended to be used when implementing handlers for the draw function.

class Widget
int
getAllocatedWidth
()

Return Value

Type: int

the width of the widget