summaryrefslogtreecommitdiffstats
path: root/doc/ttk_menubutton.n
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2006-12-13 23:04:31 (GMT)
committerhobbs <hobbs@noemail.net>2006-12-13 23:04:31 (GMT)
commit4f93182680d788860946c86d98c30544ef037ca0 (patch)
tree128697b7c80828f4a3d31417bb432bc8eec88b00 /doc/ttk_menubutton.n
parentfcbcf1f70db6a302f4ebaa3637e0f9aabd4175a5 (diff)
downloadtk-4f93182680d788860946c86d98c30544ef037ca0.zip
tk-4f93182680d788860946c86d98c30544ef037ca0.tar.gz
tk-4f93182680d788860946c86d98c30544ef037ca0.tar.bz2
* unix/Makefile.in (install-doc): intentionally skip ttk_dialog.n
installation (not for public consumption) * doc/scrollbar.n, doc/button.n, doc/checkbutton.n: * doc/entry.n, doc/frame.n, doc/label.n, doc/labelframe.n: * doc/menu.n, doc/menubutton.n, doc/panedwindow.n: * doc/radiobutton.n, doc/scrollbar.n, doc/ttk_*: revamp ttk docs to use consist nroff format (not 100% consistent with classic widget docs). Add more man page cross-linking "SEE ALSO". FossilOrigin-Name: ced3eab22eba6dc2d0074b45404edb632e9940c4
Diffstat (limited to 'doc/ttk_menubutton.n')
-rw-r--r--doc/ttk_menubutton.n17
1 files changed, 14 insertions, 3 deletions
diff --git a/doc/ttk_menubutton.n b/doc/ttk_menubutton.n
index 572a2ea..11bc820 100644
--- a/doc/ttk_menubutton.n
+++ b/doc/ttk_menubutton.n
@@ -1,22 +1,30 @@
'\"
'\" Copyright (c) 2004 Joe English
'\"
+'\" See the file "license.terms" for information on usage and redistribution
+'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
+'\"
+'\" RCS: @(#) $Id: ttk_menubutton.n,v 1.3 2006/12/13 23:04:33 hobbs Exp $
+'\"
.so man.macros
.TH ttk_menubutton n 8.5 Tk "Tk Themed Widget"
.BS
+.\" Use _ instead of :: as the name becomes a filename on install
.SH NAME
-ttk::menubutton \- Widget that pops down a menu when pressed
+ttk_menubutton \- Widget that pops down a menu when pressed
.SH SYNOPSIS
\fBttk::menubutton\fR \fIpathName \fR?\fIoptions\fR?
.BE
+
.SH DESCRIPTION
-A \fBmenubutton\fR widget displays a textual label and/or image,
+A \fBttk::menubutton\fR widget displays a textual label and/or image,
and displays a menu when pressed.
.SO
\-class \-compound \-cursor \-image
\-state \-style \-takefocus \-text
\-textvariable \-underline \-width
.SE
+
.SH "WIDGET-SPECIFIC OPTIONS"
.OP \-direction direction Direction
Specifies where the menu is to be popped up relative
@@ -31,11 +39,14 @@ menubutton.
.\" not documented: may go away:
.\" .OP \-anchor anchor Anchor
.\" .OP \-padding padding Pad
+
.SH "WIDGET COMMAND"
Menubutton widgets support the standard
\fBcget\fR, \fBconfigure\fR, \fBinstate\fR, and \fBstate\fR
methods. No other widget methods are used.
+
.SH "SEE ALSO"
-widget(n), keynav(n), menu(n)
+ttk_widget(n), menu(n), menubutton(n)
+
.SH "KEYWORDS"
widget, button, menu