help with create menu in wxpython

Discussion in 'Python' started by franciscodg, Jul 18, 2007.

  1. franciscodg

    franciscodg Guest

    hi group:

    I have the following code:

    .......
    .......
    #MENU
    menuFile = wx.Menu()
    menuFile.Append(14, "E&xit","Sale del programa")

    menuHelp = wx.Menu()
    menuHelp.Append(41, "&about Mutamatic","Informacion de
    Mutamatic")

    menuBar = wx.MenuBar()
    menuBar.Append(menuFile, "&File")
    menuBar.Append(menuHelp, "&Help") #THIS IR IS THE PROBLEM!!!

    self.SetMenuBar(menuBar)
    self.sb = self.CreateStatusBar(1, wx.ST_SIZEGRIP)

    #menu help
    self.Bind(wx.EVT_MENU, self.OnAbout, id=41)
    ......
    .....
    .....


    The question is the following: how can put the menu "HELP" in right
    part of the window?

    for example:

    -------------------------------------
    |FILE| |HELP|
    -------------------------------------
    | windows |
    | |
    -------------------------------------

    Exist some attribute or function that does it??


    thank you very much...

    greeting
    franciscodg, Jul 18, 2007
    #1
    1. Advertising

  2. franciscodg

    Stef Mientki Guest

    better ask in the wx discussion group:


    cheers,
    Stef Mientki
    Stef Mientki, Jul 18, 2007
    #2
    1. Advertising

  3. franciscodg

    franciscodg Guest

    On 18 jul, 13:55, Stef Mientki <>
    wrote:
    > better ask in the wx discussion group:
    >
    >
    > cheers,
    > Stef Mientki


    thks
    franciscodg, Jul 19, 2007
    #3
    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. Anand
    Replies:
    1
    Views:
    354
    Cliff Wells
    Jul 23, 2003
  2. ulysses
    Replies:
    4
    Views:
    764
    Werner Schiendl
    Oct 22, 2003
  3. Logan
    Replies:
    5
    Views:
    762
    David Bolen
    Dec 11, 2003
  4. Steve Richter

    using asp:menu to create drop down menu

    Steve Richter, Jun 5, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    3,277
    Steve Richter
    Jun 5, 2007
  5. naijacoder naijacoder

    How to create dynamic menu with user roles (Treeview menu)

    naijacoder naijacoder, Sep 27, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    345
    naijacoder naijacoder
    Sep 27, 2004
Loading...

Share This Page