[wxPython] wxMenuBar and fonts

Is there anyway to set the font of the entries in a wxMenuBar?
It does not appear to have a SetFont method, nor does it use the font (set with .SetFont) of the wxFrame to which it is attached.
Am I missing something obvious (again)?

Thanks,
-greg

···

----
greg Landrum (greglandrum@earthlink.net)
Software Carpenter/Computational Chemist

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users

Is there anyway to set the font of the entries in a wxMenuBar?
It does not appear to have a SetFont method,

Did you try it? wxMenuBar derives from wxWindow. I don't know if it
actually works though, let me know.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users

> Is there anyway to set the font of the entries in a wxMenuBar?
> It does not appear to have a SetFont method,

Did you try it? wxMenuBar derives from wxWindow.

Nope, I made the mistake of relying upon the documentation, which says wxMenuBar derives from wxObject and wxEvtHandler.

I don't know if it
actually works though, let me know.

As far as I can tell, it does not work, though no exceptions are thrown.

-greg

···

At 04:29 PM 2/7/2001, you wrote:

----
greg Landrum (greglandrum@earthlink.net)
Software Carpenter/Computational Chemist

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users

What platform are you on? On Windows, the font for
frame menubars is provided by the system, and controlled by
the Menu item in Control Panel / Display / Appearance.

Since wxWindows attempts to use native platform controls
when it can, it may not be possible to alter this on
an application-by-application basis (except by implementing
menus yourself, instead of using wxMenuBar)

David Fox

···

At 04:29 PM 2/7/2001, you wrote:
> > Is there anyway to set the font of the entries in a wxMenuBar?
> > It does not appear to have a SetFont method,
>
>Did you try it? Â wxMenuBar derives from wxWindow.

Nope, I made the mistake of relying upon the documentation, which says
wxMenuBar derives from wxObject and wxEvtHandler.

>I don't know if it
>actually works though, let me know.

As far as I can tell, it does not work, though no exceptions are thrown.

-greg

----
greg Landrum (greglandrum@earthlink.net)
Software Carpenter/Computational Chemist

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users

__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users