Where to find options for add_command?

John Machin sjmachin at lexicon.net
Wed Apr 15 21:16:31 EDT 2009


On Apr 16, 6:55 am, Muddy Coder <cosmo_gene... at yahoo.com> wrote:
> Hi Folks,
>
> When I make Menu, and add in menu items, by using add_command, such
> as:
>
> menuObj.add_command(label='Open File', command=self.open_file)
>
> It works. But, I want to make the GUI looking better. So, I want to
> change color, font, size, background, for the label of Open File. I
> got clobbered. I tried relief, fg, color, no one worked. Can somebody
> points me a website to visit, to check out what options available for
> add_command? Thanks!

If you tell us the name of the module or package that contains the
Menu class or factory function that you are calling, we should be able
to search the web to find the documentation for you.

If you tell yourself the name of the module or package that contains
the Menu class etc that you are calling, you should be able to search
the web to find the documentation for yourself. Hint: bookmark the
link when you find it.



More information about the Python-list mailing list