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

PythonCard-0.8.1::widget::Widget Class Reference

Inheritance diagram for PythonCard-0.8.1::widget::Widget:

PythonCard-0.8.1::component::Component PythonCard-0.8.1::event::EventSource PythonCard-0.8.1::components::bitmapcanvas::BitmapCanvas PythonCard-0.8.1::components::button::Button PythonCard-0.8.1::components::checkbox::CheckBox PythonCard-0.8.1::components::choice::Choice PythonCard-0.8.1::components::codeeditor::CodeEditor PythonCard-0.8.1::components::combobox::ComboBox PythonCard-0.8.1::components::container::Container PythonCard-0.8.1::components::gauge::Gauge PythonCard-0.8.1::components::grid::Grid PythonCard-0.8.1::components::htmlwindow::HtmlWindow PythonCard-0.8.1::components::iehtmlwindow::IEHtmlWindow PythonCard-0.8.1::components::image::Image PythonCard-0.8.1::components::list::List PythonCard-0.8.1::components::multicolumnlist::MultiColumnList PythonCard-0.8.1::components::radiogroup::RadioGroup PythonCard-0.8.1::components::slider::Slider PythonCard-0.8.1::components::spinner::Spinner PythonCard-0.8.1::components::staticbox::StaticBox PythonCard-0.8.1::components::staticline::StaticLine PythonCard-0.8.1::components::statictext::StaticText PythonCard-0.8.1::components::textfield::TextField PythonCard-0.8.1::components::togglebutton::ToggleButton PythonCard-0.8.1::components::tree::Tree

List of all members.


Detailed Description

The base class for all of our GUI controls.
Each Widget must bind itself to the wxPython
event model.  When it receives an event
from wxPython, it will convert the event
to a PythonCArd event.Event ( SelectEvent, ClickEvent,
 etc ) and post the event to the EventQueue.

Definition at line 49 of file widget.py.


Public Member Functions

def __init__
def __init__
def __repr__
def addEventListener
def getEvents
def getParent
def notifyEventListeners
def redraw
def removeEventListener
def setFocus

Public Attributes

 boundEvents
 eventIdToHandler
 wxEventIdMap

Static Public Attributes

tuple backgroundColor = property(_getBackgroundColor, _setBackgroundColor)
tuple command = property(_getCommand, _setCommand)
tuple enabled = property(_getEnabled, _setEnabled)
tuple font = property(_getFont, _setFont)
tuple foregroundColor = property(_getForegroundColor, _setForegroundColor)
tuple id = property(_getId, _setId)
tuple name = property(_getName, _setName)
tuple position = property(_getPosition, _setPosition)
tuple size = property(_getSize, _setSize)
tuple toolTip = property(_getToolTip, _setToolTip)
tuple userdata = property(_getUserdata, _setUserdata)
tuple visible = property(_getVisible, _setVisible)

Private Member Functions

def _bindEvents
def _dispatch
def _getBackgroundColor
def _getCommand
def _getDefaultColor
def _getEnabled
def _getFont
def _getForegroundColor
def _getId
def _getName
def _getPosition
def _getSize
def _getToolTip
def _getUserdata
def _getVisible
def _setBackgroundColor
def _setCommand
def _setEnabled
def _setFont
def _setForegroundColor
def _setId
def _setName
def _setPosition
def _setSize
def _setToolTip
def _setUserdata
def _setVisible

Private Attributes

 _command
 _font
 _name
 _parent
 _resource
 _userdata

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

Generated by  Doxygen 1.6.0   Back to index