Package Gnumed :: Package wxpython :: Module gmMeasurementWidgets :: Class cMeasurementTypePhraseWheel
[frames] | no frames]

Class cMeasurementTypePhraseWheel

source code

               wx.TextCtrl --+        
                             |        
gmPhraseWheel.cPhraseWheelBase --+    
                                 |    
        gmPhraseWheel.cPhraseWheel --+
                                     |
                                    cMeasurementTypePhraseWheel

Instance Methods
 
__init__(self, *args, **kwargs) source code
 
set_from_instance(self, instance) source code
 
set_from_pk(self, pk) source code
 
SetData(self, data=None)
Set the data and thereby set the value, too.
source code

Inherited from gmPhraseWheel.cPhraseWheel: GetData

Inherited from gmPhraseWheel.cPhraseWheelBase: Disable, Enable, SetText, add_callback_on_lose_focus, add_callback_on_modified, add_callback_on_selection, add_callback_on_set_focus, display_as_valid, enable_default_spellchecker, set_context, unset_context

Class Variables

Inherited from gmPhraseWheel.cPhraseWheelBase: accepted_chars, data, final_regex, final_regex_error_msg, speller_word_separators, static_tooltip_extra

Method Details

__init__(self, *args, **kwargs)
(Constructor)

source code 
Overrides: gmPhraseWheel.cPhraseWheelBase.__init__

set_from_instance(self, instance)

source code 
Overrides: gmPhraseWheel.cPhraseWheelBase.set_from_instance

set_from_pk(self, pk)

source code 
Overrides: gmPhraseWheel.cPhraseWheelBase.set_from_pk

SetData(self, data=None)

source code 

Set the data and thereby set the value, too. if possible.

If you call SetData() you better be prepared doing a scan of the entire potential match space.

The whole thing will only work if data is found in the match space anyways.

Overrides: gmPhraseWheel.cPhraseWheel.SetData
(inherited documentation)