Re: [wxPython-users] Issue with docking wx.listctrl window

Discussion in 'Python' started by Robin Dunn, Jan 24, 2008.

  1. Robin Dunn

    Robin Dunn Guest

    tarun wrote:
    > Hello All,
    >
    > I'm trying to create a Frame with AuiManager. The code is attached.
    >
    > *Problem:*
    > - I want 2 windows to be docked in the frame. One is a text control and
    > other is a list control.
    > - The text control gets docked, but on trying to dock the list control,
    > all the tabs dis-appear.
    > The tabs appear only when the list control window is kept floating.
    >
    > In the attached code the list control window is kept floating. This can
    > be docked
    > To see the issue with docking, comment line 33 and un-comment line 35 in
    > the attached file and then try to execute, the issue would be clearly
    > visible. On un-docking the window1, the tabs again appear..
    >
    > *Please let me the solution to this ASAP*



    The main problem is that you are putting the listctrl on a panel, but
    you are telling AUI to manage the listctrl, not the panel. If I
    understand correctly then your other problems stem from that as well.
    Try passing self.log to AddPane, instead of self.log.list.


    --
    Robin Dunn
    Software Craftsman
    http://wxPython.org Java give you jitters? Relax with wxPython!
     
    Robin Dunn, Jan 24, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Axial

    Xselerator window docking

    Axial, Sep 29, 2003, in forum: XML
    Replies:
    0
    Views:
    366
    Axial
    Sep 29, 2003
  2. John Taylor
    Replies:
    1
    Views:
    902
    Remi Villatel
    Oct 8, 2004
  3. Todd7
    Replies:
    2
    Views:
    8,370
    Todd7
    Nov 17, 2005
  4. Steve Senior
    Replies:
    1
    Views:
    772
  5. Jerry Hill
    Replies:
    0
    Views:
    487
    Jerry Hill
    Oct 20, 2010
Loading...

Share This Page