~ubuntu-branches/ubuntu/quantal/openmotif/quantal

« back to all changes in this revision

Viewing changes to doc/man/man3/XmCreateSimpleOptionMenu.3

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bauer
  • Date: 2010-06-23 12:12:31 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100623121231-u89gxdp51sg9wjj2
Tags: 2.3.0-1
* New Maintainer (Closes: #379258) 
* Acknowledge NMU changes
* New upstream release (Closes: #494375)
* Get rid of security patches as they are already part of new upstream
  release (00-xpmvuln.openmotif.patch, 342092-CVE-2005-3964.patch)
* Bump Standards to 3.8.4
* Added {misc:Depends} to make the package lintian cleaner
* Fix weak-library-dev-dependency by adding ${binary:Version}) for the
  -dev Package of openmotif
* Let package depend on autotools-dev to use newer autotools-helper-files
* Work around an autoconf-bug (Gentoo-Bug #1475)
* Added Client-side anti-aliased fonts support via XFT
* Added UTF-8 and UTF8_STRING atom support
* Ability to show text and pixmaps in Label, LabelGadget and all
  derived widgets
* Support of PNG/JPEG image formats in the same way as XPM is supported
* Increase FILE_OFFSET_BITS to 64 to show files >2GB in file-selector
  Idea taken from Magne Oestlyngen (Closes: #288537)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
 
2
...\" CreSiC.sgm /main/7 1996/08/30 14:54:35 rws $
 
3
.de P!
 
4
.fl
 
5
\!!1 setgray
 
6
.fl
 
7
\\&.\"
 
8
.fl
 
9
\!!0 setgray
 
10
.fl                     \" force out current output buffer
 
11
\!!save /psv exch def currentpoint translate 0 0 moveto
 
12
\!!/showpage{}def
 
13
.fl                     \" prolog
 
14
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
 
15
\!!psv restore
 
16
.
 
17
.de pF
 
18
.ie     \\*(f1 .ds f1 \\n(.f
 
19
.el .ie \\*(f2 .ds f2 \\n(.f
 
20
.el .ie \\*(f3 .ds f3 \\n(.f
 
21
.el .ie \\*(f4 .ds f4 \\n(.f
 
22
.el .tm ? font overflow
 
23
.ft \\$1
 
24
..
 
25
.de fP
 
26
.ie     !\\*(f4 \{\
 
27
.       ft \\*(f4
 
28
.       ds f4\"
 
29
'       br \}
 
30
.el .ie !\\*(f3 \{\
 
31
.       ft \\*(f3
 
32
.       ds f3\"
 
33
'       br \}
 
34
.el .ie !\\*(f2 \{\
 
35
.       ft \\*(f2
 
36
.       ds f2\"
 
37
'       br \}
 
38
.el .ie !\\*(f1 \{\
 
39
.       ft \\*(f1
 
40
.       ds f1\"
 
41
'       br \}
 
42
.el .tm ? font underflow
 
43
..
 
44
.ds f1\"
 
45
.ds f2\"
 
46
.ds f3\"
 
47
.ds f4\"
 
48
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
 
49
.TH "XmCreateSimpleOptionMenu" "library call"
 
50
.SH "NAME"
 
51
\fBXmCreateSimpleOptionMenu\fP \(em A RowColumn widget convenience creation function
 
52
.iX "XmCreateSimpleOptionMenu"
 
53
.iX "creation functions" "XmCreateSimpleOptionMenu"
 
54
.SH "SYNOPSIS"
 
55
.PP
 
56
.nf
 
57
#include <Xm/RowColumn\&.h>
 
58
\fBWidget \fBXmCreateSimpleOptionMenu\fP\fR(
 
59
\fBWidget \fBparent\fR\fR,
 
60
\fBString \fBname\fR\fR,
 
61
\fBArgList \fBarglist\fR\fR,
 
62
\fBCardinal \fBargcount\fR\fR);
 
63
.fi
 
64
.SH "DESCRIPTION"
 
65
.PP
 
66
\fBXmCreateSimpleOptionMenu\fP creates an instance of a RowColumn widget
 
67
of type \fBXmMENU_OPTION\fP and returns the associated widget ID\&.
 
68
.PP
 
69
This routine creates an OptionMenu and its submenu containing
 
70
PushButtonGadget or CascadeButtonGadget children\&.
 
71
The name of each button is \fBbutton_\fP\fIn\fP, where \fIn\fP is an integer
 
72
from 0 (zero) to the number of buttons in the menu minus 1\&.
 
73
The name of each separator is \fBseparator_\fP\fIn\fP, where \fIn\fP is an integer
 
74
from 0 (zero) to the number of separators in the menu minus 1\&.
 
75
Buttons and separators are named and created in the order they
 
76
are specified in the RowColumn simple menu creation resources supplied
 
77
in the argument list\&.
 
78
.IP "\fIparent\fP" 10
 
79
Specifies the parent widget ID
 
80
.IP "\fIname\fP" 10
 
81
Specifies the name of the created widget
 
82
.IP "\fIarglist\fP" 10
 
83
Specifies the argument list
 
84
.IP "\fIargcount\fP" 10
 
85
Specifies the number of attribute/value pairs in the argument list
 
86
(\fIarglist\fP)
 
87
.PP
 
88
The user can specify resources in a resource file for the automatically
 
89
created widgets and gadgets of an OptionMenu\&.
 
90
These widgets (or gadgets) and the associated
 
91
OptionMenu areas are
 
92
.IP "Option Menu Label Gadget" 10
 
93
\fBOptionLabel\fP
 
94
.IP "Option Menu Cascade Button" 10
 
95
\fBOptionButton\fP
 
96
.PP
 
97
A number of resources exist specifically for use with this and
 
98
other simple menu creation routines\&.
 
99
The only button types allowed in the \fBXmNbuttonType\fP resource are
 
100
\fBXmPUSHBUTTON\fP, \fBXmCASCADEBUTTON\fP, \fBXmSEPARATOR\fP, and
 
101
\fBXmDOUBLE_SEPARATOR\fP\&.
 
102
For a complete definition of RowColumn and its associated resources, see
 
103
\fBXmRowColumn\fP(3)\&.
 
104
.SH "RETURN"
 
105
.PP
 
106
Returns the RowColumn widget ID\&.
 
107
.SH "RELATED"
 
108
.PP
 
109
\fBXmCreateOptionMenu\fP(3),
 
110
\fBXmCreateRowColumn\fP(3),
 
111
\fBXmRowColumn\fP(3), and
 
112
\fBXmVaCreateSimpleOptionMenu\fP(3)\&.
 
113
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:21