src/swipl-devel/packages/xpce/man/refmanual/md/handle.md

class handle {#class-handle}

A handle object describes a possible end-point for a connection object between two graphical objects. A handle consists of two expression objects in w and h of the graphical that determine the X and Y positions of the handle.

The <-kind of handle determines which connections may attach to this handle. It's value should match link <-from or link<-to, depending on which end of the connection is considered.

Finally, a handle also has a name to identify it. Note that the total set of handles associated with any graphical object is the merge of graphical <-handles and class <-handles of the graphicals' class.

See also example Linking Graphicals, class connection, class link, class connect_gesture and graphical ->connect.

Bugs: There are no possibilities to visualise the presence of handles.

@see graphical->handle @see tree-parent_handle @see graphical-handles @see class-handles @see class link @see class graphical @see class connection @see class expression

Instance variables {#class-handle-instvars}

Send methods {#class-handle-send}

Get methods {#class-handle-get}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.