Class: Gnm::ItemCursor

Inherits:
GOffice::CanvasItem
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#bound_set(bound) ⇒ Boolean

Parameters:

  • bound (Gnm::Range)

Returns:

  • (Boolean)

#button=(button) ⇒ Integer

Returns button.

Parameters:

  • button (Integer)

Returns:

  • (Integer)

    button

#color=(color) ⇒ Integer

Returns color.

Parameters:

  • color (Integer)

Returns:

  • (Integer)

    color

#repositionnil

Re-compute the pixel position of the cursor.

When a sheet is zoomed. The pixel coords shift slightly. The item cursor must regenerate to stay in sync.

Returns:

  • (nil)

#SheetControlGUI=(SheetControlGUI) ⇒ Gnm::SheetControlGUI

Returns SheetControlGUI.

Parameters:

Returns:

#style=(style) ⇒ Integer

Returns style.

Parameters:

  • style (Integer)

Returns:

  • (Integer)

    style

#visibility=(visible) ⇒ nil

Parameters:

  • visible (Boolean)

Returns:

  • (nil)