[Top]
GTK2
GTK2.TreeView
|
Method GTK2.TreeView()->set_cursor_on_cell()
- Method
set_cursor_on_cell
GTK2.TreeView set_cursor_on_cell(GTK2.TreePath path, GTK2.TreeViewColumn focus_column, int|void start_editing, GTK2.CellRenderer focus_cell)
- 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 present, then focus is given to the column specified by
it. If focus_column and focus_cell are present, and focus_column contains
2 or more editable or activatable cells, then focus is given to the cell
specified by focus_cell. 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 grab_focus() in order to give
keyboard focus to the widget. Please note that editing can only happen
when the widget is realized.
|