This is not necessarily the current version of this TIP.
| TIP: | 71 |
| Title: | Tk Bitmap Image Improvements |
| Version: | $Revision: 1.14 $ |
| Authors: |
Chris Nelson <chris at pinebush dot com> Kevin Kenny <kennykb at acm dot org> Eric Melski <ericm at interwoven dot com> Donal K. Fellows <donal dot k dot fellows at man dot ac dot uk> |
| State: | Withdrawn |
| Type: | Project |
| Tcl-Version: | 8.5 |
| Vote: | Pending |
| Created: | Friday, 26 October 2001 |
Tk has a number of pre-defined bitmaps (10 on all platforms) but it lacks a number of bitmaps useful for creating GUI elements. This TIP adds several such bitmaps (as bitmap images).
Many complex widgets like comboboxes, spinboxes, etc. require arrows pictures on buttons. While newer releases of Tk have added more widgets, there will always be some unforeseen need for new or customized widgets. One example is a menubutton which, according to the Microsoft Windows User Experience [1], should have a downward arrow on the right side. With compound buttons, it is not hard to do:
button .mb -text Tools -image downarrow -compound right
but there is no stock down-arrow image.
I propose to add 12 bitmap images providing all four directions (up, down, left, and right) in three sizes (3x2, 5x3, and 7x4) in black. The down arrows would look something like:
@@@@@@@ @@@@@ @@@ .@@@@@. .@@@