Package pywm :: Class Fl_Repeat_Button
[show private | hide private]
[frames | no frames]

Class Fl_Repeat_Button


Creates and manages button widgets for use in Fl_Window popup windows.
Method Summary
  __init__(self, x, y, w, h, label)
Creates a repeat button widget.
  callback(self, func)
Sets the callback to be triggered when the button gets pushed or while it's held
  hide(self)
probably not much point to this either
  show(self)
probably not much point to this
  symbollabel(self)
Sets the label to diaplay as an FLTK symbol

Method Details

__init__(self, x, y, w, h, label)
(Constructor)

Creates a repeat button widget.

Arguments:
  • x, y, w, h - x and y-position within window, width and height
  • label - text to put on the button

callback(self, func)

Sets the callback to be triggered when the button gets pushed or while it's held

Argument:
  • func - a callable object, eg function, bound method, to be invoked when the button gets pushed. Note that at this stage, the callable you provide will be called with no arguments.

hide(self)

probably not much point to this either

show(self)

probably not much point to this

symbollabel(self)

Sets the label to diaplay as an FLTK symbol

Generated by Epydoc 2.1 on Mon Feb 27 15:47:09 2006 http://epydoc.sf.net