Back to index

python3.2  3.2.2
Public Member Functions | Static Public Attributes
tkinter.tix.Form Class Reference

List of all members.

Public Member Functions

def config
def __setitem__
def check
def forget
def grid
def info
def slaves

Static Public Attributes

 form = config

Detailed Description

The Tix Form geometry manager

Widgets can be arranged by specifying attachments to other widgets.
See Tix documentation for complete details

Definition at line 233 of file tix.py.


Member Function Documentation

def tkinter.tix.Form.__setitem__ (   self,
  key,
  value 
)

Definition at line 244 of file tix.py.

00244 
00245     def __setitem__(self, key, value):
00246         Form.form(self, {key: value})

def tkinter.tix.Form.check (   self)

Definition at line 247 of file tix.py.

00247 
00248     def check(self):
00249         return self.tk.call('tixForm', 'check', self._w)

Here is the caller graph for this function:

def tkinter.tix.Form.config (   self,
  cnf = {},
  kw 
)

Definition at line 239 of file tix.py.

00239 
00240     def config(self, cnf={}, **kw):
00241         self.tk.call('tixForm', self._w, *self._options(cnf, kw))

Here is the call graph for this function:

def tkinter.tix.Form.forget (   self)

Definition at line 250 of file tix.py.

00250 
00251     def forget(self):
00252         self.tk.call('tixForm', 'forget', self._w)

def tkinter.tix.Form.grid (   self,
  xsize = 0,
  ysize = 0 
)

Definition at line 253 of file tix.py.

00253 
00254     def grid(self, xsize=0, ysize=0):
00255         if (not xsize) and (not ysize):
00256             x = self.tk.call('tixForm', 'grid', self._w)
00257             y = self.tk.splitlist(x)
00258             z = ()
00259             for x in y:
00260                 z = z + (self.tk.getint(x),)
00261             return z
00262         return self.tk.call('tixForm', 'grid', self._w, xsize, ysize)

def tkinter.tix.Form.info (   self,
  option = None 
)

Definition at line 263 of file tix.py.

00263 
00264     def info(self, option=None):
00265         if not option:
00266             return self.tk.call('tixForm', 'info', self._w)
00267         if option[0] != '-':
00268             option = '-' + option
00269         return self.tk.call('tixForm', 'info', self._w, option)

Here is the caller graph for this function:

def tkinter.tix.Form.slaves (   self)

Definition at line 270 of file tix.py.

00270 
00271     def slaves(self):
00272         return [self._nametowidget(x) for x in
00273                 self.tk.splitlist(
00274                        self.tk.call(
00275                        'tixForm', 'slaves', self._w))]
00276 
00277 
00278 
00279 tkinter.Widget.__bases__ = tkinter.Widget.__bases__ + (Form,)


Member Data Documentation

Definition at line 242 of file tix.py.


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