Tk Library Source Code

View Ticket
Login
Ticket UUID: 479935
Title: MainFrame font configuration added
Type: Patch Version: None
Submitter: bach Created on: 2001-11-09 09:56:42
Subsystem: bwidget Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-12-29 08:49:22
Resolution: Fixed Closed By: hobbs
    Closed on: 2001-12-29 01:49:22
Description:
Motivation:
There is currently no way to set the menu and status
bar fonts (sometimes needed for e.g. visually impaired)
for the MainFrame widget.

Remedy:
This patch adds code to support options: -menubarfont,
-menuentryfont and -statusbarfont at creation time of
the widget as well as subsequent configures.

Compatibility:
The code extends the MainFrame configurability and does
not interfere with older version usage.

Bugs:
None known so far. Documentation of these features must
be included in the doc if accepted.

Patch:
The attached file contains a contextual diff and the
complete new mainframe.tcl. BEWARE: the diff is based
on my personal version of mainframe.tcl that already
contains another patch (SF #470273: BWidget: MainFrame
menu inconsistency), the new mainframe.tcl has it also
incorporated.
User Comments: hobbs added on 2001-12-29 08:49:22:
Logged In: YES 
user_id=72656

added in 1.4.0cvs (no docs though).

bach added on 2001-11-09 16:56:43:

File Added - 13063: mainframe_patch.tar.gz

Attachments: