Property

GtkViewport:scroll-to-focus

Declaration

property scroll-to-focus: gboolean [ read, write ]

Description [src]

Whether to scroll when the focus changes.

Before 4.6.2, this property was mistakenly defaulting to FALSE, so if your code needs to work with older versions, consider setting it explicitly to TRUE.

Type:gboolean

Default valueTRUE
Getter methodgtk_viewport_get_scroll_to_focus()
Setter methodgtk_viewport_set_scroll_to_focus()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno