gtkTreeViewSetCursor {RGtk2}R Documentation

gtkTreeViewSetCursor

Description

Sets the current keyboard focus to be at path, and selects it. This is useful when you want to focus the user's attention on a particular row. If focus.column is not NULL, then focus is given to the column specified by it. Additionally, if focus.column is specified, and start.editing is TRUE, then editing should be started in the specified cell. This function is often followed by gtk.widget.grab.focus (tree.view) in order to give keyboard focus to the widget. Please note that editing can only happen when the widget is realized.

Usage

gtkTreeViewSetCursor(object, path, focus.column = NULL, start.editing = FALSE)

Arguments

object [GtkTreeView] A GtkTreeView
path [GtkTreePath] A GtkTreePath
focus.column [GtkTreeViewColumn] A GtkTreeViewColumn, or NULL
start.editing [logical] TRUE if the specified cell should start being edited.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]