Method

GtkWidgetget_allocated_width

Declaration [src]

int
gtk_widget_get_allocated_width (
  GtkWidget* widget
)

Description [src]

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

Return value

Type: int

The width of the widget.