Tk Source Code

View Ticket
Login
Ticket UUID: 1032953
Title: menubutton: can't set fg on aqua Tcl/Tk
Type: Bug Version: obsolete: 8.4.7
Submitter: reowen Created on: 2004-09-22 20:45:22
Subsystem: 11. Aqua Menus Assigned To: aku
Priority: 4 Severity: Minor
Status: Open Last Modified: 2019-02-28 04:28:27
Resolution: None Closed By: nobody
    Closed on:
Description:
Setting the fg or bg of a menubutton under aqua tcl/tk 
(8.4.7 or earlier, MacOS X 10.3.4 or earlier) does nothing 
useful. Setting bg sets the color of a border region around 
the menubutton. Setting fg does nothing. Setting other 
colors (active..., etc.) also does nothing.

I realize this is probably an issue with limitations in the 
native toolkit, but what with all the other problems with 
aqua menubuttons (see my recent spate of bug reports and 
reports from others), I was hoping you might consider 
making your own menubutton instead of relying on the 
native widget.

(aqua buttons have some of the same limitations and would 
also benefit from being homegrown instead of native).
User Comments: chrstphrchvz added on 2019-02-28 04:28:27:

On Tk 8.6.9, setting the -foreground and -activeforeground of a menubutton seems to work as expected.

However -background only sets the color of the area around the menubutton (as the reporter stated), and -activebackground has no effect. These limitations probably need to be documented.