Package: gtk
Function gtk:tree-view-is-blank-at-pos
Lambda Listgtk:tree-view-is-blank-at-pos (view x y) ArgumentsReturn Value path -- a gtk:tree-path instance, or nil column -- a gtk:tree-view-column object, or nil xcell -- an integer with the x coordinate relative to the cell, or nil ycell -- an integer where the y coordinate relative to the cell, or nil Details Determine whether the point (x,y) in the 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 coordinates that are provided must be relative to the bin window coordinates. Widget relative coordinates must be converted using the gtk:tree-view-convert-widget-to-bin-window-coords function. For converting widget coordinates, for example, the ones you get from the "query-tooltip" signal, please see the gtk:tree-view-convert-widget-to-bin-window-coords function. The path, column, xcell and ycell arguments will be returned likewise as for the gtk:tree-view-path-at-pos function. | See also |
#2024-3-10