Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Button RegisterForClicks

Last wiki revision 2023-10-02

Registers the button widget to receive mouse clicks. Button:RegisterForClicks([button1, ...])

  • button1, ...: - A list of combinations of mouse buttons and their click action.
  • {| class="darktable" style="margin-left: 2em"
  • -
  • - Responds to the up action of any mouse button.
  • -
  • - Responds to the down action of any mouse button.
  • -
  • ,
  • -
  • ,
  • -
  • ,
  • -
  • ,
  • -
  • ,
  • }
  • The default button registered on new button objects is.
  • Pass multiple arguments to register several buttons, or none to remove any previous registrations.
  • Subsequent calls replace any prior ones.
  • Controls, , , and.
  • Does not affect, , nor.

When clicking with the left mouse button.

Source

https://warcraft.wiki.gg/wiki/API_Button_RegisterForClicks · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.