Method
GtkScrolledWindowset_capture_button_press
since: 3.4
Declaration [src]
void
gtk_scrolled_window_set_capture_button_press (
GtkScrolledWindow* scrolled_window,
gboolean capture_button_press
)
Description [src]
Changes the behaviour of scrolled_window
with regard to the initial
event that possibly starts kinetic scrolling. When capture_button_press
is set to TRUE
, the event is captured by the scrolled window, and
then later replayed if it is meant to go to the child widget.
This should be enabled if any child widgets perform non-reversible
actions on GtkWidget::button-press-event
. If they don’t, and handle
additionally handle GtkWidget::grab-broken-event
, it might be better
to set capture_button_press
to FALSE
.
This setting only has an effect if kinetic scrolling is enabled.
Available since: 3.4