Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/tooltipOptions

Vars

alignComputed axis alignment
boundsParsed target dimensions
contentThe main content body to display
extraAny random extra stuff
hudWhether the target is a non-map atom
mouseParsed coordinate data as provided from MouseEntered etc procs in params
offsetComputed tooltip positioning offsets
pinnedPinned means the tooltip requires clicking to open and close
sizeComputed tooltip size overrides
themeWhat theme to apply. See tooltip.css for available themes
titleThe text to display as a title
transformThe transform matrix applied to the target atom

Procs

pushTilesApply an extra positioning offset to the tooltip.
setAlignSet the position of the tooltip around the target
setBoundsSet the dimensions of the target, required for tooltip positioning. Unlikely you will need to use this directly.
setMouseParse and set the mouse target position
setOffsetSet positioning offsets around the target, for example to push the tooltip down further away.
setSizeOverride the size of the tooltip. Note that dimensions will still not exceed maximums set in tooltip.css, and are still subject to window/dpi scaling.

Var Details

align

Computed axis alignment

bounds

Parsed target dimensions

content

The main content body to display

extra

Any random extra stuff

hud

Whether the target is a non-map atom

mouse

Parsed coordinate data as provided from MouseEntered etc procs in params

offset

Computed tooltip positioning offsets

pinned

Pinned means the tooltip requires clicking to open and close

size

Computed tooltip size overrides

theme

What theme to apply. See tooltip.css for available themes

title

The text to display as a title

transform

The transform matrix applied to the target atom

Proc Details

pushTiles

Apply an extra positioning offset to the tooltip.

Arguments:

setAlign

Set the position of the tooltip around the target

Arguments:

setBounds

Set the dimensions of the target, required for tooltip positioning. Unlikely you will need to use this directly.

Arguments:

setMouse

Parse and set the mouse target position

Arguments:

setOffset

Set positioning offsets around the target, for example to push the tooltip down further away.

Arguments:

setSize

Override the size of the tooltip. Note that dimensions will still not exceed maximums set in tooltip.css, and are still subject to window/dpi scaling.

Arguments: