Gtk.Widget.get_width

### Method

# Gtk Widgetget_width

#### Declaration [src]

    int
    gtk_widget_get_width (
      GtkWidget* widget
    )

#### Description [src]

Returns the content width of the widget.

This function returns the width passed to its size-allocate implementation, which is the width you should be using in `Gtk.WidgetClass.snapshot`.

For pointer events, see `gtk_widget_contains()`.

#### Return value

Returns: | `int`
| The width of `widget`.