in wxPython, how to minimize the window in absence of minimize button?

Discussion in 'Python' started by Erik Bethke, Feb 8, 2005.

  1. Erik  Bethke

    Erik Bethke Guest

    Hello All,

    I now have a wx.NO_BORDER frame that I have written dragging code
    for... I like my window this way as it looks sleeker and I am now
    installing some image buttons.

    Now I would like to create a new minimize button from an image, and
    then capture that mouse down and cause it to minimize the window...

    I can make buttons all day long, despite all of my googling I still
    cannot figure out what method I should call with my minimize button...

    Please help thank you,
    -Erik
    Erik Bethke, Feb 8, 2005
    #1
    1. Advertising

  2. Erik  Bethke

    Erik Bethke Guest

    Damn,

    I am dumb...

    self.Iconize( True )

    Sorry.

    But a helpful tip is that the demo code *surrounding* the wxPython demo
    is VERY useful, I never looked at that before!
    Erik Bethke, Feb 8, 2005
    #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. Mariano
    Replies:
    0
    Views:
    583
    Mariano
    Dec 2, 2006
  2. Replies:
    1
    Views:
    437
    Laurent Pointal
    Aug 24, 2007
  3. Jimmy
    Replies:
    3
    Views:
    912
  4. Prashant Joshi

    disable minimize button in pop up window

    Prashant Joshi, Sep 5, 2003, in forum: Javascript
    Replies:
    1
    Views:
    1,868
    Grant Wagner
    Sep 5, 2003
  5. Prashant Joshi
    Replies:
    0
    Views:
    125
    Prashant Joshi
    Sep 9, 2003
Loading...

Share This Page