Changeset 503

Show
Ignore:
Timestamp:
04/08/03 01:01:19 (6 years ago)
Author:
sholloway
Message:

Changed some button labels
Added some debug calls for visualizing the window counts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RBSkinning/demo/wxPythonSkin/components/popups_simple.py

    r502 r503  
    3838                <layout sizercfg='1, wxEXPAND'> 
    3939                    <layout sizercfg='0, wxEXPAND'> 
    40                         <button label='Show Popup Top Left' sizercfg='0, wxALL,10'> 
     40                        <button label='Show Popup (Bottom, InnerLeft)' sizercfg='0, wxALL,10'> 
    4141                            <command_event type='EVT_BUTTON' call='ctx.behaviormodel.ShowPopupTL' /> 
    4242                        </button> 
    4343                        <spacer sizercfg='1, wxEXPAND'/> 
    44                         <button label='Show Popup Top Right' sizercfg='0, wxALL,10'> 
     44                        <button label='Show Popup (Bottom, InnerRight)' sizercfg='0, wxALL,10'> 
    4545                            <command_event type='EVT_BUTTON' call='ctx.behaviormodel.ShowPopupTR' /> 
    4646                        </button> 
     
    4848                    <text sizercfg='1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP,10'>The popup element is a good example of a compound component in the standard wxPythonSkin library.</text> 
    4949                    <layout sizercfg='0, wxEXPAND'> 
    50                         <button label='Show Popup Bottom Left' sizercfg='0, wxALL,10'> 
     50                        <button label='Show Popup (Top, InnerLeft)' sizercfg='0, wxALL,10'> 
    5151                            <command_event type='EVT_BUTTON' call='ctx.behaviormodel.ShowPopupBL' /> 
    5252                        </button> 
    5353                        <spacer sizercfg='1, wxEXPAND'/> 
    54                         <button label='Show Popup Bottom Right' sizercfg='0, wxALL,10'> 
     54                        <button label='Show Popup (Top, InnerRight)' sizercfg='0, wxALL,10'> 
    5555                            <command_event type='EVT_BUTTON' call='ctx.behaviormodel.ShowPopupBR' /> 
    5656                        </button> 
     
    104104 
    105105def RunApp(): 
     106    #from RBSkinning.wxPythonSkin import wxSkinObject 
     107    #wxSkinObject.__debug_window_counts__ = True 
    106108    application = wx.wxPySimpleApp() 
    107     behaviormodel = BehaviorModel(
    108     skin = SkinXML(skinxml, behaviormodel=behaviormodel, application=application) 
     109    skin = SkinXML(skinxml, behaviormodel=BehaviorModel(), application=application
     110    #skin2 = SkinXML(skinxml, behaviormodel=BehaviorModel(), application=application) 
    109111    return skin.context.application.MainLoop() 
    110112