Tk Source Code

View Ticket
Login
Ticket UUID: 814831
Title: No flat button relief, Mac Aqua
Type: Bug Version: obsolete: 8.4.4
Submitter: tom_goddard Created on: 2003-09-30 00:16:56
Subsystem: 03. [*button] and [label] Assigned To: das
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2011-01-18 00:13:34
Resolution: Out of Date Closed By: wordtech
    Closed on: 2011-01-17 17:13:34
Description:
Setting relief to "flat" makes no difference in Aqua Tk
8.4.4.
The button still appears raised.

button .b -relief flat -text {hippo}
pack .b

The Python Mega-Widget package uses flat relief buttons
for the
tabs on tabbed panes (PMW Notebook).  The raised buttons
make it not obvious these are tabs.

This is related to tktoolkit bug 780528 which is a
relief problem
with radiobuttons with indicators off.
User Comments: wordtech added on 2011-01-18 00:13:34:

allow_comments - 1

wolfsuit added on 2003-10-01 00:23:42:
Logged In: YES 
user_id=169107

That's an odd way to do a Notebook.  Most people use a Canvas, 
so you can draw the tabs in some nice fashion.  See for instance 
the iWidgets Tabbed Notebook.  Then you can just use the touch-
sensitivity of regions on the canvas to run the tabs.

Note this doesn't mean we shouldn't do something with non-
standard buttons.  There are no flat buttons in the Mac OS X 
Toolbox.  We probably need to list all the options that are not 
supported in the Toolbox, and just make X11 widgets if any of 
these options are set.