Method
GtkTextViewget_window_type
Declaration [src]
GtkTextWindowType
gtk_text_view_get_window_type (
GtkTextView* text_view,
GdkWindow* window
)
Description [src]
Usually used to find out which window an event corresponds to.
If you connect to an event signal on text_view
, this function
should be called on event->window
to see which window it was.
Parameters
window
-
Type:
GdkWindow
A window type.
The data is owned by the caller of the method.
Return value
Type: GtkTextWindowType
The window type.