Nictk 2.2.0
An easy to use pyton GUI
_setitBind Class Reference

Internal class. More...

Public Member Functions

def __call__ (self, event)
 The call method. More...
 
def __init__ (self, widget, callback=None)
 The constructor. More...
 

Detailed Description

Internal class.

It wraps the function call for events bound to a widget by the bind() method, allowing to ignore the event when the widget is in the DISABLED state.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  widget,
  callback = None 
)

The constructor.

Parameters
widgetthe widget which will generate the call (it will be retrieved as the .widget attribute of the generated event)
callbackthe callback

Member Function Documentation

◆ __call__()

def __call__ (   self,
  event 
)

The call method.


The documentation for this class was generated from the following file: