\documentclass[]{article}
\usepackage{amsmath,graphicx,supertabular,hyperref,tabularx,ifthen}
\title{TIP \#366: Variable Sized Indicators for Menubuttons}
\date{April 29, 2010}
\author{Russell Davidson}
\urlstyle{sf}
\setlength{\parskip}{1ex}
\setlength{\parindent}{0pt}
\def\tipversion$#1${\texttt{\$#1\$}}
\def\tiplangle#1{\ensuremath{<}}
\def\tiprangle#1{\ensuremath{>}}
\def\tipbar#1{\ensuremath{|}}
\def\tipmail#1#2{\(\langle\){\small\expandafter\url{#1@#2}}\(\rangle\)}
\ifx\pdfoutput\undefined
\newcommand{\tipimage}[2]{\typeout{Make sure you download #1.eps}\ifthenelse{\lengthtest{0.8\textwidth>#2}\and\lengthtest{0pt<#2}}{\includegraphics{#1.eps}}{\includegraphics[width=0.8\textwidth]{#1.eps}}}
\newcommand{\tipxref}[1]{}
\newcommand{\tipxrefend}{}
\else
\newcommand{\tipimage}[2]{\typeout{Make sure you create #1.pdf}\ifthenelse{\lengthtest{0.8\textwidth>#2}\and\lengthtest{0pt<#2}}{\includegraphics{#1.pdf}}{\includegraphics[width=0.8\textwidth]{#1.pdf}}}
\pdfcatalog{/PageMode /UseOutlines}
\newcommand{\tipxref}[1]{\pdfannotlink attr {/C [0.5 0.5 1.0] /Border [0 0 1]} goto name {#1}}
\newcommand{\tipxrefend}{\pdfendlink}
\fi
\newenvironment{tipabstract}{\begin{abstract}}{\end{abstract}}
\begin{document}\maketitle
\begin{center}\begin{tabularx}{\linewidth}{|r@{: }X|}\hline
\textbf{TIP \#366}&\textbf{Variable Sized Indicators for Menubuttons}\\\hline
Author&

Russell Davidson \tipmail{russelld}{actarg.com}
\\
Created&Thursday, \(\text{29}^{\text{th}}\) April 2010\\
Type&Project\\
Tcl Version&\(8.7\)\\
State&Draft\\
Vote&Pending\\
Version&\tipversion$Revision: 1.4 $\\
Keywords&Tk\\
Post History&\\
\hline\end{tabularx}\end{center}
\thispagestyle{empty}\pagestyle{empty}
\begin{tipabstract}

This TIP is to allow custom sizing of menubutton indicators using \textbf{-indwidth} and \textbf{-indheight} as options.
\end{tipabstract}
\tableofcontents\setcounter{page}{0}\clearpage\pagestyle{plain}

\section{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.

\section{Specification}

The following options are proposed to be added to the \textbf{::menubutton} widget:

\begin{quote}
The \textbf{-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).
\end{quote}

\begin{quote}
The \textbf{-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).
\end{quote}

\section{Implementation}

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

\section{Copyright}

This document has been placed in the public domain.

\section{Colophon}

\textit{TIP AutoGenerator --- written by Donal K. Fellows}
\end{document}
