Nictk 2.2.0
An easy to use pyton GUI
_setitCommand Class Reference

Internal class. More...

Public Member Functions

def __call__ (self, *cnf)
 The call method. More...
 
def __init__ (self, widget, callback=None, value=None, variable=None)
 The constructor. More...
 

Detailed Description

Internal class.

It wraps the command in widgets which have a command option.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  widget,
  callback = None,
  value = None,
  variable = 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
valuean optional value, which will retrieved as the .value attribute of the generated event)
variablean IntVar, StringVar, DoubleVar or BooleanVar which will get the value when the callback is called

Member Function Documentation

◆ __call__()

def __call__ (   self,
cnf 
)

The call method.


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