Package muntjac :: Package ui :: Module button
[hide private]
[frames] | no frames]

Module button

source code

Defines a generic button component.

Classes [hide private]
  IClickListener
Interface for listening for a ClickEvent fired by a Component.
  Button
A generic button component.
  ClickShortcut
A ShortcutListener specifically made to define a keyboard shortcut that invokes a click on the given button.
  ClickEvent
Click event.
Functions [hide private]
 
_BUTTON_CLICK_METHOD(self, event)
Called when a Button has been clicked.
source code
 
buttonClickCallback(func) source code
Variables [hide private]
  __package__ = 'muntjac.ui'
Function Details [hide private]

_BUTTON_CLICK_METHOD(self, event)

source code 

Called when a Button has been clicked. A reference to the button is given by ClickEvent.getButton.

Parameters:
  • event - An event containing information about the click.