Artifact [fcfa75fef9]

Login

Artifact fcfa75fef9ff62855de92efc4e684c15440b48ce293e19247c7dd43663ab00b8:


TIP:            366
Title:          Variable Sized Indicators for Menubuttons
Version:        $Revision: 1.4 $
Author:         Russell Davidson <[email protected]>
State:          Draft
Type:           Project
Vote:           Pending
Created:        29-Apr-2010
Post-History:   
Keywords:       Tk
Tcl-Version:    8.7

~ Abstract

This TIP is to allow custom sizing of menubutton indicators using
'''-indwidth''' and '''-indheight''' as options.

~ Rationale

Currently there is no way to vary the size of the indicator for a classic Unix
menubutton widget.  Adding the ability to control this via configuration
options will give the coder more control over a GUI's appearance for when such
fine control is required.

~ Specification

The following options are proposed to be added to the '''::menubutton'''
widget:

 > The '''-indwidth''' option allows the specification of the width of the
   indicator in 10ths of a mm (will be converted to an integer number of pixels).

 > The '''-indheight''' option allows the specification of the height of the
   indicator in 10ths of a mm (will be converted to an integer number of pixels).

~ Implementation

A patch exists in SourceForge (Feature Request 2996760
[https://sourceforge.net/support/tracker.php?aid=2996760]).

~ Copyright

This document has been placed in the public domain.