Changeset 0663dfb1 in sasview for guiframe


Ignore:
Timestamp:
Jan 31, 2011 11:48:11 AM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
6db811e
Parents:
213892bc
Message:

allow floating panels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_manager.py

    r213892bc r0663dfb1  
    440440            self._popup_fixed_panel(p) 
    441441     
    442         elif style2 in GUIFRAME.FLOATING_PANEL: 
     442        elif style2 == GUIFRAME.FLOATING_PANEL: 
    443443            self._mgr.AddPane(p, wx.aui.AuiPaneInfo(). 
    444444                              Name(windowname).Caption(caption). 
     
    11371137        make the plot panel floatable 
    11381138        """ 
     1139        self.__gui_style &= (~GUIFRAME.FIXED_PANEL) 
    11391140        self.__gui_style |= GUIFRAME.FLOATING_PANEL 
    11401141        for p in self.panels.values(): 
     
    11481149        make the plot panel fixed 
    11491150        """ 
     1151        self.__gui_style &= (~GUIFRAME.FLOATING_PANEL) 
    11501152        self.__gui_style |= GUIFRAME.FIXED_PANEL 
    11511153        plot_panel = [] 
Note: See TracChangeset for help on using the changeset viewer.