Package ocempgui :: Package widgets :: Module base
[show private | hide private]
[frames | no frames]

Module ocempgui.widgets.base

Globally used variables and objects by the widgets.
Function Summary
  init()
base.init () -> None
  set_doubleclick_rate(rate)
base.set_doubleclick_rate (...) -> None

Function Details

init()

base.init () -> None

Initializes the globally used variables and objects.

Initializes the globally used variables and objects for the widgets package such as a global style and the pygame engine

set_doubleclick_rate(rate)

base.set_doubleclick_rate (...) -> None

Sets the maximum time to elaps between two clicks for a double-click.

Sets the maximum time in milliseconds to elaps between two click events (SIG_MOUSEDOWN, SIGMOUSEUP) identify them as a double-click. The default are 250 ms.

Raises a TypeError, if the passed argument is not an integer greater than 0.

Generated by Epydoc 2.1 on Thu Jan 10 10:18:43 2008 http://epydoc.sf.net