pdk.Gui.Widgets.AggregatedWidgets.AggFloatSpinCtrl (pdk.Gui.Widgets.AggregatedWidgets._AggSpinCtrl )
MonitoringAggFloatSpinCtrl (pdk.Gui.Widgets.AggregatedWidgets.AggFloatSpinCtrl , PropertyMonitorAggSpinCtrlMixin )
pdk.Gui.Widgets.AggregatedWidgets.AggIntegerSpinCtrl (pdk.Gui.Widgets.AggregatedWidgets._AggSpinCtrl )
MonitoringAggIntegerSpinCtrl (pdk.Gui.Widgets.AggregatedWidgets.AggIntegerSpinCtrl , PropertyMonitorAggSpinCtrlMixin )
PropertyMonitorMixin
MonitoringStaticText (wxPython.controls.wxStaticText , PropertyMonitorMixin )
PropertyMonitorAggSpinCtrlMixin
MonitoringAggFloatSpinCtrl (pdk.Gui.Widgets.AggregatedWidgets.AggFloatSpinCtrl , PropertyMonitorAggSpinCtrlMixin )
MonitoringAggIntegerSpinCtrl (pdk.Gui.Widgets.AggregatedWidgets.AggIntegerSpinCtrl , PropertyMonitorAggSpinCtrlMixin )
PropertyMonitorRadioBoxMixin
MonitoringRadioBox (wxPython.controls.wxRadioBox , PropertyMonitorRadioBoxMixin )
PropertyMonitorSpinCtrlMixin
MonitoringSpinCtrl (wxPython.controls.wxSpinCtrl , PropertyMonitorSpinCtrlMixin )
PropertyMonitorTextCtrlMixin
MonitoringTextCtrl (pdk.Gui.Widgets.CoreWidgets.pdkTextCtrl , PropertyMonitorTextCtrlMixin )
MonitoringFloatTextCtrl (pdk.Gui.Widgets.CoreWidgets.pdkFloatTextCtrl , MonitoringTextCtrl )
MonitoringIntegerTextCtrl (pdk.Gui.Widgets.CoreWidgets.pdkIntegerTextCtrl , MonitoringTextCtrl )
PropertyMonitorToggleButtonMixin
MonitoringToggleButton (wxPython.lib.buttons.wxGenToggleButton , PropertyMonitorToggleButtonMixin )
pdk.Gui.Widgets.CoreWidgets.pdkFloatTextCtrl (pdk.Gui.Widgets.CoreWidgets._NumberTextCtrl )
MonitoringFloatTextCtrl (pdk.Gui.Widgets.CoreWidgets.pdkFloatTextCtrl , MonitoringTextCtrl )
pdk.Gui.Widgets.CoreWidgets.pdkIntegerTextCtrl (pdk.Gui.Widgets.CoreWidgets._NumberTextCtrl )
MonitoringIntegerTextCtrl (pdk.Gui.Widgets.CoreWidgets.pdkIntegerTextCtrl , MonitoringTextCtrl )
pdk.Gui.Widgets.CoreWidgets.pdkTextCtrl (wxPython.controls.wxTextCtrl , pdk.Gui.Widgets.CoreWidgets.pdkWidget )
MonitoringTextCtrl (pdk.Gui.Widgets.CoreWidgets.pdkTextCtrl , PropertyMonitorTextCtrlMixin )
MonitoringFloatTextCtrl (pdk.Gui.Widgets.CoreWidgets.pdkFloatTextCtrl , MonitoringTextCtrl )
MonitoringIntegerTextCtrl (pdk.Gui.Widgets.CoreWidgets.pdkIntegerTextCtrl , MonitoringTextCtrl )
wxPython.lib.buttons.wxGenToggleButton (wxPython.lib.buttons.__ToggleMixin , wxPython.lib.buttons.wxGenButton )
MonitoringToggleButton (wxPython.lib.buttons.wxGenToggleButton , PropertyMonitorToggleButtonMixin )
wxPython.controls.wxRadioBox (wxPython.controls.wxRadioBoxPtr )
MonitoringRadioBox (wxPython.controls.wxRadioBox , PropertyMonitorRadioBoxMixin )
wxPython.controls.wxSpinCtrl (wxPython.controls.wxSpinCtrlPtr )
MonitoringSpinCtrl (wxPython.controls.wxSpinCtrl , PropertyMonitorSpinCtrlMixin )
wxPython.controls.wxStaticText (wxPython.controls.wxStaticTextPtr )
MonitoringStaticText (wxPython.controls.wxStaticText , PropertyMonitorMixin )
class PropertyMonitorMixin
Purpose: mixin class allowing a GUI control to monitor a single property
of an arbitrary object
Detail: this is geared towards, but not exclusively useful for, wx
controls (hence the methods for setting/getting the
monitored value are called .GetValue and .SetValue ). Call
.monitorProperty to have .SetValue automatically be called
whenever the managed property of the object changes. Hook up
.OnSetProperty to a control-specific event and the object
property will automatically be set when the control value is
changed.
Methods defined here:
GetValue (self)
OnSetProperty (self, ev)
update the property whenever the value of the control is changed.
SetValue (self, newValue)
getMonitoredObject (self)
returns a reference to the monitored object.
getPropertyValue (self)
returns the current value of the object property.
isMonitoringProperty (self)
monitorProperty (self, object, propertyName)
call this to initiate monitoring the property propertyName of the
object object .
onSignalPropertyChanged (self, newValue)
update the control whenever the object property is changed.
setPropertyValue (self, newValue)
sets the object property to a new value given in %newValue%.