Next: , Previous: , Up: Low-level X Interface   [Contents][Index]


25.3 X Selections

These functions are defined in sawfish.wm.util.selection.

Function: x-get-selection sel

Return the string corresponding to the current value of the X11 selection defined by sel, or nil if the selection currently has no value. Sel should be one of PRIMARY, SECONDARY or CLIPBOARD.

Function: x-selection-active-p sel

Returns t if the X11 selection defined by the symbol sel is available for reading. Sel should be one of PRIMARY, SECONDARY or CLIPBOARD.