Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pygubu example with frame and menu ? #26

Closed
hemmerling opened this issue Aug 14, 2014 · 3 comments
Closed

pygubu example with frame and menu ? #26

hemmerling opened this issue Aug 14, 2014 · 3 comments

Comments

@hemmerling
Copy link

Hello,
I checked the examples,
BUT I failed to generate the well known standard GUI application on any platform which usually combine:

  • Frame ( "commands.ui" )
  • Menus at the top of the Frame ( "menuexample.ui" )

and I did not find any example in the examples folder.

Indeed pygubu offers with "commands.ui" an example how to put menus at any place on the screen, but I don´t see that I can generate the same effect as done do with your "menuexample.ui" and as I know from the SpecTcl Designer
http://www.sourceforge.net/projects/spectcl

I already tested to move around some of the XML code, but without positive effect.

May you, the developer or the users, help me :-)?! With a working project example?
Or are there techncial Python Tkinter constrains which prevent that ?! As I said, SpecTCL designer generates code which does it, so it must be possible but who know if in the Tkinter mode used here...

Sincerely
Rolf

@hemmerling
Copy link
Author

I just found the example in the Wiki, which does the wanted:

Adding the menu to the main window
https://github.com/alejandroautalan/pygubu/wiki/MenuTipsAndTricks

So suggestion:
Please copy this example code in the GutHub examples folder :-)

Sincerely
Rolf

@zaazbb
Copy link
Contributor

zaazbb commented Aug 15, 2014

In the Wiki, a full example code file and a Interface file are provided. Download this two files, run the menu.py file, you will see the result.
Adding the menu to the main window: https://github.com/alejandroautalan/pygubu/wiki/MenuTipsAndTricks
menu.py: https://github.com/alejandroautalan/pygubu/wiki/examples/menu.py
menu.ui: https://github.com/alejandroautalan/pygubu/wiki/examples/menu.ui

@alejandroautalan
Copy link
Owner

Fixed by zaazbb on #28.
Thanks zaazbb :) !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants