GtkSource.Region.get_bounds

### Method

# GtkSource Regionget_bounds

#### Declaration [src]

    gboolean
    gtk_source_region_get_bounds (
      GtkSourceRegion* region,
      GtkTextIter* start,
      GtkTextIter* end
    )

#### Description [src]

Gets the `start` and `end` bounds of the `region`.

#### Parameters

`start` | `GtkTextIter`
| Iterator to initialize with the start of `region`, or `NULL`.
| The argument will be set by the function.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
`end` | `GtkTextIter`
| Iterator to initialize with the end of `region`, or `NULL`.
| The argument will be set by the function.
| The argument can be `NULL`.
| The data is owned by the caller of the function.

#### Return value

Returns: | `gboolean`
| `TRUE` if `start` and `end` have been set successfully (if non-`NULL`), or `FALSE` if the `region` is empty.