Can I collapse a Panel in wxPython?

Discussion in 'Python' started by nuffnough@gmail.com, Apr 30, 2006.

  1. Guest

    Hi.

    I have a gui with one frame and 5 panels. The second panel will only
    be required in some cases, so I am wondering if there is some way I
    can only create this panel in the circumstances where it is required,
    confirmed by a simple len(list) > 1

    If it is possible, I am wondering how I might go about it.... I am not
    sure where to put an if statement as there are many different referrals
    to panel_2

    Letting me know or just pointing me to an example of such a thing would
    be fabulous.

    TIA
    , Apr 30, 2006
    #1
    1. Advertising

  2. Guest

    wrote:
    > Hi.
    >
    > I have a gui with one frame and 5 panels. The second panel will only
    > be required in some cases, so I am wondering if there is some way I
    > can only create this panel in the circumstances where it is required,
    > confirmed by a simple len(list) > 1
    >
    > If it is possible, I am wondering how I might go about it.... I am not
    > sure where to put an if statement as there are many different referrals
    > to panel_2
    >
    > Letting me know or just pointing me to an example of such a thing would
    > be fabulous.
    >
    > TIA


    Check out http://wiki.wxpython.org/index.cgi/FoldPanelBar

    Roger
    , Apr 30, 2006
    #2
    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. Vaclav Jedlicka

    datagrid and border-collapse:collapse style

    Vaclav Jedlicka, Jun 26, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    5,939
    Yan-Hong Huang[MSFT]
    Jun 30, 2003
  2. Mike Gleason jr Couturier

    Ajax Collapse panel extender

    Mike Gleason jr Couturier, Aug 2, 2008, in forum: ASP .Net
    Replies:
    0
    Views:
    519
    Mike Gleason jr Couturier
    Aug 2, 2008
  3. VVSRKS

    How can I avoid border-collapse:collapse to come ...

    VVSRKS, Sep 16, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    200
    VVSRKS
    Sep 16, 2004
  4. Tom Castiglia

    Why does Gridview ALWAYS emit style="border-collapse: collapse;"

    Tom Castiglia, Jun 4, 2006, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    1,990
    Tom Castiglia
    Jun 9, 2006
  5. M.L.
    Replies:
    9
    Views:
    296
Loading...

Share This Page