Gtk.TextView.window_to_buffer_coords

### Method

# Gtk TextViewwindow_to_buffer_coords

#### Declaration [src]

    void
    gtk_text_view_window_to_buffer_coords (
      GtkTextView* text_view,
      GtkTextWindowType win,
      int window_x,
      int window_y,
      int* buffer_x,
      int* buffer_y
    )

#### Description [src]

Converts coordinates on the window identified by `win` to buffer coordinates.

#### Parameters

`win` | `GtkTextWindowType`
| A `GtkTextWindowType`
`window_x` | `int`
| Window x coordinate.
`window_y` | `int`
| Window y coordinate.
`buffer_x` | `int*`
| Buffer x coordinate return location.
| The argument will be set by the function.
| The argument can be `NULL`.
`buffer_y` | `int*`
| Buffer y coordinate return location.
| The argument will be set by the function.
| The argument can be `NULL`.