Package Gnumed :: Package timelinelib :: Package wxgui :: Package dialogs :: Package editcontainer :: Module view :: Class EditContainerDialog
[frames] | no frames]

Class EditContainerDialog

source code

humblewx.Dialog --+    
                  |    
   framework.Dialog --+
                      |
                     EditContainerDialog


<BoxSizerVertical>
    <FlexGridSizer columns="2" growableColumns="1" proportion="1" border="ALL">
        <StaticText
            align="ALIGN_CENTER_VERTICAL"
            label="$(name_text)"
        />
        <TextCtrl
            name="txt_name"
            width="150"
        />
        <StaticText
            align="ALIGN_CENTER_VERTICAL"
            label="$(category_text)"
        />
        <CategoryChoice
            name="category_choice"
            allow_add="True"
            timeline="$(db)"
            align="ALIGN_CENTER_VERTICAL"
        />
    </FlexGridSizer>
    <DialogButtonsOkCancelSizer
        border="LEFT|BOTTOM|RIGHT"
        event_EVT_BUTTON__ID_OK="on_ok_clicked"
    />
</BoxSizerVertical>

Instance Methods
 
__init__(self, parent, title, db, container=None) source code
 
PopulateCategories(self) source code
 
GetName(self) source code
 
SetName(self, name) source code
 
GetCategory(self) source code
 
SetCategory(self, category) source code
 
DisplayInvalidName(self, message) source code
 
GetEditedContainer(self) source code

Inherited from framework.Dialog: DisplayErrorMessage, DisplayInformationMessage, EndModalOk