Next: , Previous: Z-order functions, Up: Scheme



6.11 Selection functions

Information


(selected? os)
go -> unspecified
Returns weather the given GO is selected.


(selected-objs)
obj -> list
Returns the list of all selected objects of the obj kind.


(selected-g-children g)
go -> list
Returns the list of all selected g-children of g.


(selected-g-descendants g)
go -> list
Returns the list of all selected g-descendants of g. The list is ordered like a pre-order deep-first tree walk, so comparable objects are in descending g-order.

Modification


(select o1 ...)
go ... -> unspecified
Selects the GOs given as arguments. The function must be called in an appropriate transaction.


(unselect o1 ...)
go ... -> unspecified
Unselects the GOs given as arguments. The function must be called in an appropriate transaction.


(select-g-children g)
go -> unspecified
Unselects g-children of given GO. The function must be called in an appropriate transaction.


(unselect-g-children g)
go -> unspecified
Selects g-children of given GO. The function must be called in an appropriate transaction.


(unselect-all)
-> unspecified
Unselects all GOs in the page specified by the current transaction. The function must be called in an appropriate transaction.