← Back to team overview

mudlet-makers team mailing list archive

Re: [Bug 1233106] [NEW] setLabelRightClickCallback() for triggering on right-clicks

 

That's a good idea. Perhaps go with addLabelMouseCallback to be consistent.
Pass the event first, then everything else after.

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1233106

Title:
  setLabelRightClickCallback() for triggering on right-clicks

Status in Mudlet the MUD client:
  New

Bug description:
  See user request at
  http://forums.mudlet.org/viewtopic.php?f=5&t=92&start=360#p17888:

  > Can we get a setLabelRightClickCallback function, so we can have
  labels do something when you right click them?

  This opens up to the need for having a setLabelMiddleClickCallback,
  and then what do you do with many of the other buttons a mouse can
  have?

  It would be best to have a single function that reported which button
  was pressed - but unfortunately we can't tack it on as an argument to
  setLabelClickCallback because we already allow the user to pass an
  arbitrary amount of arguments, and doing anything else would stuff
  things up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1233106/+subscriptions


References