false otherwise.
TreeView.isBlankAtPos
bool isBlankAtPos(int x, int y, out gtk.tree_path.TreePath path, out gtk.tree_view_column.TreeViewColumn column, out int cellX, out int cellY)Determine whether the point (x, y) in tree_view is blank, that is no cell content nor an expander arrow is drawn at the location. If so, the location can be considered as the background. You might wish to take special action on clicks on the background, such as clearing a current selection, having a custom context menu or starting rubber banding.
The x and y coordinate that are provided must be relative to bin_window coordinates. Widget-relative coordinates must be converted using [gtk.tree_view.TreeView.convertWidgetToBinWindowCoords].
For converting widget coordinates (eg. the ones you get from GtkWidget::query-tooltip), please see [gtk.tree_view.TreeView.convertWidgetToBinWindowCoords].
The path, column, cell_x and cell_y arguments will be filled in likewise as for [gtk.tree_view.TreeView.getPathAtPos]. Please see [gtk.tree_view.TreeView.getPathAtPos] for more information.
Parameters
x | The x position to be identified (relative to bin_window) |
y | The y position to be identified (relative to bin_window) |
path | A pointer to a [gtk.tree_path.TreePath] pointer to be filled in |
column | A pointer to a [gtk.tree_view_column.TreeViewColumn] pointer to be filled in |
cellX | A pointer where the X coordinate relative to the cell can be placed |
cellY | A pointer where the Y coordinate relative to the cell can be placed |