setTooltipDismissDelay

Description

Specify the number of milliseconds before the tooltip (a small lightweight window) disappears over a node or edge after appearing.

Usage

1

Arguments

obj

a CytoscapeConnectionClass object.

msecs

an integer.

Value

None.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

setTooltipInitialDelay, setTooltip, setNodeTooltipRule, setEdgeTooltipRule, setNodeTooltipDirect, setEdgeTooltipDirect

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
  # WARNING: Method RCy3::setTooltipDismissDelay() is not implemented in RCy3!
  
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  window.title = 'setTooltipDismissDelay demo'
  cw <- CytoscapeWindow (window.title, graph=makeSimpleGraph())
    # use node type as the tooltip
  setNodeTooltipRule (cw, 'type')
    # and edgeType
  setEdgeTooltipRule (cw, 'edgeType')
  displayGraph (cw)
  layoutNetwork(cw, 'force-directed')
     # have the tooltips popup after 200 milliseconds, and then
     # disappear after 3000 (3 seconds)
  setTooltipInitialDelay (cw, 200)
  setTooltipDismissDelay (cw, 3000)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.