Logo Search packages:      
Sourcecode: newt version File versions  Download package

snack::Checkbox Class Reference

Inheritance diagram for snack::Checkbox:

snack::Widget

List of all members.


Detailed Description

A checkbox.

methods:

  - Checkbox(self, text, isOn = 0) : text, and boolean as to default value
  - setValue(self)                 : set value
  - value(self, value)             : return checkbox value
  - selected(self)                 : returns boolean
  - setFlags(self, flag, sense)    : set flags

  flags:  FLAG_DISABLED, FLAGS_SET, FLAGS_RESET

Definition at line 95 of file snack.py.


Public Member Functions

def __init__
def __init__
def selected
def setCallback
def setFlags
def setValue
def value

Public Attributes

 w

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

Generated by  Doxygen 1.6.0   Back to index