Hi,
How can I change the font of the Title of the main window and dialog boxes?
Also I need help with changing the font of menu items. Please give me some
solutions.
Thanks.
prjoshi
How can I change the font of the Title of the main window and dialog
boxes?
You can't, except from the Control Panel on Windows or the equivalent on
other platforms. The caption is not drawn by your app, but by the system or
window manager or whatever, so you can't set it's font.
Also I need help with changing the font of menu items. Please give me some
solutions.
You can do this for menu items on regular menus, but not on the menubar.
Again this is a system property that can't be changed by the app unless you
implement your own menus from scratch.
There is an example of changing the font for a menu item in the
wxCheckListBox sample in the demo. Jsut right click on the panel to see it.
(This may only be in 2.3.2, I don't remember when I added it.)
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!
Hi,
Can I get any hints on creating my own menubar from scratch.
Thanks.
Pravin
···
-----Original Message-----
From: wxpython-users-admin@lists.wxwindows.org
[mailto:wxpython-users-admin@lists.wxwindows.org]On Behalf Of Robin Dunn
Sent: Friday, November 30, 2001 6:08 AM
To: wxpython-users@lists.wxwindows.org
Subject: Re: [wxPython] From Pravin
How can I change the font of the Title of the main window and dialog
boxes?
You can't, except from the Control Panel on Windows or the equivalent on
other platforms. The caption is not drawn by your app, but by the system or
window manager or whatever, so you can't set it's font.
Also I need help with changing the font of menu items. Please give me some
solutions.
You can do this for menu items on regular menus, but not on the menubar.
Again this is a system property that can't be changed by the app unless you
implement your own menus from scratch.
There is an example of changing the font for a menu item in the
wxCheckListBox sample in the demo. Jsut right click on the panel to see it.
(This may only be in 2.3.2, I don't remember when I added it.)
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users
Hi,
Can I get any hints on creating my own menubar from scratch.
You could look in the C++ sources at the menu and menu bar implemented for
wxUniversal.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!
Hi,
sorry, but there is one thing more.
Can I use UNICODE fonts(with Devnagri support) in the title and menubar?
Pravin
···
-----Original Message-----
From: wxpython-users-admin@lists.wxwindows.org
[mailto:wxpython-users-admin@lists.wxwindows.org]On Behalf Of Robin Dunn
Sent: Tuesday, December 04, 2001 12:08 PM
To: wxpython-users@lists.wxwindows.org
Subject: Re: [wxPython] From Pravin
Hi,
Can I get any hints on creating my own menubar from scratch.
You could look in the C++ sources at the menu and menu bar implemented for
wxUniversal.
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users
Can I use UNICODE fonts(with Devnagri support) in the title and menubar?
wxPython is currently built with the non-Unicode version of wxWindows.
There is a patch on SF for building with the Unicode version (which is only
supported on NT, 2k, etc.) but I probably won't get to it until after the
2.3.2 release. Even then, as I've said before, the frame's caption and
menubar fonts are not under control of the app, but are set in the control
panel and are drawn by Windows itself.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!