Package Gnumed :: Package wxpython :: Module gmDateTimeInput :: Class cIntervalPhraseWheel
[frames] | no frames]

Class cIntervalPhraseWheel

source code

     object --+                            
              |                            
wx._core.Object --+                        
                  |                        
wx._core.EvtHandler --+                    
                      |                    
        wx._core.Window --+                
                          |                
           wx._core.Control --+            
                              |            
          wx._controls.TextCtrl --+        
                                  |        
     gmPhraseWheel.cPhraseWheelBase --+    
                                      |    
             gmPhraseWheel.cPhraseWheel --+
                                          |
                                         cIntervalPhraseWheel

Instance Methods
EvtHandler
__init__(self, *args, **kwargs)
__init__(self, Window parent, int id=-1, String value=EmptyString, ...
source code
 
SetValue(self, value)
SetValue(self, String value)
source code
 
SetText(self, value=u'', data=None, suppress_smarts=False) source code
 
SetData(self, data=None)
Set the data and thereby set the value, too.
source code
 
GetData(self)
Retrieve the data associated with the displayed string(s).
source code

Inherited from gmPhraseWheel.cPhraseWheelBase: add_callback_on_lose_focus, add_callback_on_modified, add_callback_on_selection, add_callback_on_set_focus, display_as_disabled, display_as_valid, enable_default_spellchecker, set_context, set_from_instance, set_from_pk, unset_context

Inherited from wx._controls.TextCtrl: AppendText, CanCopy, CanCut, CanPaste, CanRedo, CanUndo, Clear, Copy, Create, Cut, DiscardEdits, EmulateKeyPress, GetDefaultStyle, GetInsertionPoint, GetLastPosition, GetLineLength, GetLineText, GetNumberOfLines, GetRange, GetSelection, GetString, GetStringSelection, GetStyle, GetValue, HitTest, HitTestPos, IsEditable, IsModified, IsMultiLine, IsSingleLine, LoadFile, MarkDirty, Paste, PositionToXY, Redo, Remove, Replace, SaveFile, SelectAll, SetDefaultStyle, SetEditable, SetInsertionPoint, SetInsertionPointEnd, SetMaxLength, SetSelection, SetStyle, ShowPosition, Undo, WriteText, XYToPosition, __repr__, write

Inherited from wx._core.Control: Command, GetLabel, SetLabel

Inherited from wx._core.Window: AcceptsFocus, AcceptsFocusFromKeyboard, AddChild, AssociateHandle, CacheBestSize, CaptureMouse, Center, CenterOnParent, CenterOnScreen, Centre, CentreOnParent, CentreOnScreen, ClearBackground, ClientToScreen, ClientToScreenXY, Close, ConvertDialogPointToPixels, ConvertDialogSizeToPixels, ConvertPixelPointToDialog, ConvertPixelSizeToDialog, DLG_PNT, DLG_SZE, Destroy, DestroyChildren, Disable, DissociateHandle, DragAcceptFiles, Enable, FindWindowById, FindWindowByName, Fit, FitInside, Freeze, GetAcceleratorTable, GetAdjustedBestSize, GetAutoLayout, GetBackgroundColour, GetBackgroundStyle, GetBestFittingSize, GetBestSize, GetBestSizeTuple, GetBestVirtualSize, GetBorder, GetCaret, GetCharHeight, GetCharWidth, GetChildren, GetClientAreaOrigin, GetClientRect, GetClientSize, GetClientSizeTuple, GetConstraints, GetContainingSizer, GetCursor, GetDefaultAttributes, GetDefaultItem, GetDropTarget, GetEventHandler, GetExtraStyle, GetFont, GetForegroundColour, GetFullTextExtent, GetGrandParent, GetHandle, GetHelpText, GetId, GetMaxHeight, GetMaxSize, GetMaxWidth, GetMinHeight, GetMinSize, GetMinWidth, GetName, GetParent, GetPosition, GetPositionTuple, GetRect, GetScrollPos, GetScrollRange, GetScrollThumb, GetSize, GetSizeTuple, GetSizer, GetTextExtent, GetThemeEnabled, GetTitle, GetToolTip, GetUpdateClientRect, GetUpdateRegion, GetValidator, GetVirtualSize, GetVirtualSizeTuple, GetWindowStyle, GetWindowStyleFlag, GetWindowVariant, HasCapture, HasFlag, HasScrollbar, HasTransparentBackground, Hide, HitTestXY, InheritAttributes, InheritsBackgroundColour, InitDialog, InvalidateBestSize, IsBeingDeleted, IsEnabled, IsExposed, IsExposedPoint, IsExposedRect, IsRetained, IsShown, IsTopLevel, Layout, LineDown, LineUp, Lower, MakeModal, Move, MoveAfterInTabOrder, MoveBeforeInTabOrder, MoveXY, Navigate, PageDown, PageUp, PopEventHandler, PopupMenu, PopupMenuXY, PostCreate, PrepareDC, PushEventHandler, Raise, Refresh, RefreshRect, RegisterHotKey, ReleaseMouse, RemoveChild, RemoveEventHandler, Reparent, ScreenToClient, ScreenToClientXY, ScrollLines, ScrollPages, ScrollWindow, SendSizeEvent, SetAcceleratorTable, SetAutoLayout, SetBackgroundColour, SetBackgroundStyle, SetBestFittingSize, SetCaret, SetClientRect, SetClientSize, SetClientSizeWH, SetConstraints, SetContainingSizer, SetCursor, SetDefaultItem, SetDimensions, SetDropTarget, SetEventHandler, SetExtraStyle, SetFocus, SetFocusFromKbd, SetFont, SetForegroundColour, SetHelpText, SetHelpTextForId, SetId, SetMaxSize, SetMinSize, SetName, SetOwnBackgroundColour, SetOwnFont, SetOwnForegroundColour, SetPosition, SetRect, SetScrollPos, SetScrollbar, SetSize, SetSizeHints, SetSizeHintsSz, SetSizeWH, SetSizer, SetSizerAndFit, SetThemeEnabled, SetTitle, SetTmpDefaultItem, SetToolTip, SetToolTipString, SetValidator, SetVirtualSize, SetVirtualSizeHints, SetVirtualSizeHintsSz, SetVirtualSizeWH, SetWindowStyle, SetWindowStyleFlag, SetWindowVariant, ShouldInheritColours, Show, Thaw, TransferDataFromWindow, TransferDataToWindow, UnregisterHotKey, Update, UpdateWindowUI, UseBgCol, Validate, WarpPointer

Inherited from wx._core.EvtHandler: AddPendingEvent, Bind, Connect, Disconnect, GetEvtHandlerEnabled, GetNextHandler, GetPreviousHandler, ProcessEvent, ProcessPendingEvents, SetEvtHandlerEnabled, SetNextHandler, SetPreviousHandler, Unbind

Inherited from wx._core.Object: GetClassName

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods

Inherited from wx._controls.TextCtrl: GetClassDefaultAttributes

Inherited from wx._core.Window: FindFocus, GetCapture, NewControlId, NextControlId, PrevControlId

Properties

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

Inherited from object: __class__

Method Details

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

source code 

__init__(self, Window parent, int id=-1, String value=EmptyString, 
    Point pos=DefaultPosition, Size size=DefaultSize, 
    long style=0, Validator validator=DefaultValidator, 
    String name=TextCtrlNameStr) -> TextCtrl

Returns: EvtHandler
Overrides: object.__init__
(inherited documentation)

SetValue(self, value)

source code 

SetValue(self, String value)

Overrides: wx._controls.TextCtrl.SetValue
(inherited documentation)

SetText(self, value=u'', data=None, suppress_smarts=False)

source code 
Overrides: gmPhraseWheel.cPhraseWheelBase.SetText

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)

GetData(self)

source code 
Retrieve the data associated with the displayed string(s).

- self._create_data() must set self.data if possible (/successful)

Overrides: gmPhraseWheel.cPhraseWheelBase.GetData
(inherited documentation)