Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Initial revision |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
74fa4576694af665985bf435f2a08f26 |
User & Date: | ericm 1999-08-03 20:20:23.825 |
Original User & Date: | ericm 1999-08-03 20:20:24.000 |
Context
1999-08-03
| ||
20:20 | BWidget 1.2.1 import check-in: 7417957d5f user: ericm tags: trunk | |
20:20 | Initial revision check-in: 74fa457669 user: ericm tags: trunk | |
20:20 | BWidget 1.2.1 import check-in: 3a6fb22125 user: ericm tags: trunk | |
Changes
Added BWman/NoteBook.html.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 | <HTML> <HEAD><TITLE>NoteBook</TITLE></HEAD> <BODY BGCOLOR=white> <DL><DT><I><A HREF="#descr">NAME</A></I></DT> <DD><B>NoteBook</B> - Notebook manager widget </DD></DL> <DL> <DT><I>CREATION</I></DT> <DD><A HREF="#descr"><B>NoteBook</B></A> <I>pathName</I> ?<I>option value...</I>?</DD> </DL> <DL> <DT><I>STANDARD OPTIONS</I></DT> <DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0> <TR> <TD> <A HREF="options.htm#M-font">-font</A></TR> </TABLE></DD> </DL> <DL> <DT><I><A HREF="ArrowButton.html">OPTIONS from <B>ArrowButton</B></A></I></DT> <DD><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> <TR> <TD> -activebackground</TD> <TD> -activeforeground</TD> </TR> <TR> <TD> -background or -bg</TD> <TD> -borderwidth or -bd</TD> </TR> <TR> <TD> -disabledforeground</TD> <TD> -foreground or -fg</TD> </TR> <TR> <TD> -repeatdelay</TD> <TD> -repeatinterval</TD> </TR> </TABLE></DD> </DL> <DL> <DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT> <DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0> <TR> <TD> <A HREF="#-height">-height</A></TR> <TD> <A HREF="#-homogeneous">-homogeneous</A></TR> </TR> <TR> <TD> <A HREF="#-side">-side</A></TR> <TD> <A HREF="#-width">-width</A></TR> </TR> </TABLE></DD> </DL> <DL> <DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT> <DD><I>pathName</I> <A HREF="#bindtabs"><B>bindtabs</B></A> <I>event</I> <I>script</I> </DD> <DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A> <I>option</I> </DD> <DD><I>pathName</I> <A HREF="#compute_size"><B>compute_size</B></A> </DD> <DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A> ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...? </DD> <DD><I>pathName</I> <A HREF="#delete"><B>delete</B></A> <I>page</I> ?<I>destroyframe</I>? </DD> <DD><I>pathName</I> <A HREF="#getframe"><B>getframe</B></A> <I>page</I> </DD> <DD><I>pathName</I> <A HREF="#index"><B>index</B></A> <I>page</I> </DD> <DD><I>pathName</I> <A HREF="#insert"><B>insert</B></A> <I>index</I> <I>page</I> ?<I>option value...</I>? </DD> <DD><I>pathName</I> <A HREF="#itemcget"><B>itemcget</B></A> <I>page</I> <I>option</I> </DD> <DD><I>pathName</I> <A HREF="#itemconfigure"><B>itemconfigure</B></A> <I>page</I> ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...? </DD> <DD><I>pathName</I> <A HREF="#move"><B>move</B></A> <I>page</I> <I>index</I> </DD> <DD><I>pathName</I> <A HREF="#page"><B>page</B></A> <I>first</I> ?<I>last</I>? </DD> <DD><I>pathName</I> <A HREF="#pages"><B>pages</B></A> ?<I>first</I>? ?<I>last</I>? </DD> <DD><I>pathName</I> <A HREF="#raise"><B>raise</B></A> ?<I>page</I>? </DD> <DD><I>pathName</I> <A HREF="#see"><B>see</B></A> <I>page</I> </DD> </DL> <BR><HR WIDTH="100%"><BR> <B><A NAME="descr"></A>DESCRIPTION</B><BR> <P> NoteBook widget manage a set of pages and displays one of them. </P> <BR><HR WIDTH="50%"><BR> <B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR> <DL><DT><A NAME="-height"><B>-height</B></A></DT> <DD> Specifies the desired height for the pages. If this option is equal to zero (the default) then the window will not request any size at all. In this case, user may want to call NoteBook::<B>compute_size</B> to make NoteBook larger enough to contains the largest page. </DD> </DL> <DL><DT><A NAME="-homogeneous"><B>-homogeneous</B></A></DT> <DD> Specifies wether or not the label of the pages must have the same width. </DD> </DL> <DL><DT><A NAME="-side"><B>-side (read-only)</B></A></DT> <DD> Specifies the side where to place the label of the pages. Must be one of <B>top</B> or <B>bottom</B>. Only <B>top</B> is implemented for the moment. </DD> </DL> <DL><DT><A NAME="-width"><B>-width</B></A></DT> <DD> Specifies the desired width for the pages. If this option is equal to zero (the default) then the window will not request any size at all. In this case, user may want to call NoteBook::<B>compute_size</B> to make NoteBook larger enough to contains the largest page. </DD> </DL> <HR WIDTH="50%"><BR> <B><A NAME="wc">WIDGET COMMAND</A></B><BR> <DL><DT><A NAME="bindtabs"><I>pathName</I> <B>bindtabs</B></A> <I>event</I> <I>script</I> </DT><DD> This command associates a command to execute whenever the event sequence given by <I>event</I> occurs on a tabs. The page idenfier on which the event occurs is appended to the command. </DD></DL> <DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A> <I>option</I> </DT><DD> Returns the current value of the configuration option given by <I>option</I>. <I>Option</I> may have any of the values accepted by the creation command. </DD></DL> <DL><DT><A NAME="compute_size"><I>pathName</I> <B>compute_size</B></A> </DT><DD> This command can be called to make the NoteBook large enough to contain the largest page. Note that if all pages use -createcmd, they will have no requested size. </DD></DL> <DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A> ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...? </DT><DD> Query or modify the configuration options of the widget. If no <I>option</I> is specified, returns a list describing all of the available options for <I>pathName</I>. If <I>option</I> is specified with no <I>value</I>, then the command returns a list describing the one named <I>option</I> (this list will be identical to the corresponding sublist of the value returned if no <I>option</I> is specified). If one or more <I>option-value</I> pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. <I>Option</I> may have any of the values accepted by the creation command. Read-only options are not be modified. </DD></DL> <DL><DT><A NAME="delete"><I>pathName</I> <B>delete</B></A> <I>page</I> ?<I>destroyframe</I>? </DT><DD> Deletes the page <I>page</I>. If <I>destroyframe</I> is 1 (the default), the frame associated to <I>page</I> is destroyed. If <I>destroyframe</I> is 0, the frame is not destroyed and is reused by further call to <B>insert</B> with the same <I>page</I>. </DD></DL> <DL><DT><A NAME="getframe"><I>pathName</I> <B>getframe</B></A> <I>page</I> </DT><DD> Returns the pathname of the page <I>page</I>. </DD></DL> <DL><DT><A NAME="index"><I>pathName</I> <B>index</B></A> <I>page</I> </DT><DD> Return the numerical index corresponding to the item. </DD></DL> <DL><DT><A NAME="insert"><I>pathName</I> <B>insert</B></A> <I>index</I> <I>page</I> ?<I>option value...</I>? </DT><DD> Insert a new page idendified by <I>page</I> at position <I>index</I> in the pages list. <I>index</I> must be numeric or <B>end</B>. The pathname of the new page is returned. <P> <DL><DT><A NAME="Page-createcmd"><B>-createcmd</B></A></DT> <DD> Specifies a command to be called the first time the page is raised. </DD> </DL> <DL><DT><A NAME="Page-image"><B>-image</B></A></DT> <DD> Specifies an image to display for the page at the left of the label </DD> </DL> <DL><DT><A NAME="Page-leavecmd"><B>-leavecmd</B></A></DT> <DD> Specifies a command to be called when a page is about to be leaved. The command must return 0 if the page can not be leaved, or 1 if it can. </DD> </DL> <DL><DT><A NAME="Page-raisecmd"><B>-raisecmd</B></A></DT> <DD> Specifies a command to be called each time the page is raised. </DD> </DL> <DL><DT><A NAME="Page-state"><B>-state</B></A></DT> <DD> Specifies the state of the page. Must be <B>normal</B> or <B>disabled</B>. </DD> </DL> <DL><DT><A NAME="Page-text"><B>-text</B></A></DT> <DD> Specifies a label to display for the page. </DD> </DL> </DD></DL> <DL><DT><A NAME="itemcget"><I>pathName</I> <B>itemcget</B></A> <I>page</I> <I>option</I> </DT><DD> Returns the current value of a configuration option for the item. <I>Option</I> may have any of the values accepted by the item creation command. </DD></DL> <DL><DT><A NAME="itemconfigure"><I>pathName</I> <B>itemconfigure</B></A> <I>page</I> ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...? </DT><DD> This command is similar to the <B>configure</B> command, except that it applies to the options for an individual item, whereas <B>configure</B> applies to the options for the widget as a whole. <B>Options</B> may have any of the values accepted by the item creation widget command. If options are specified, options are modified as indicated in the command and the command returns an empty string. If no options are specified, returns a list describing the current options for the item. Read-only options are not be modified. </DD></DL> <DL><DT><A NAME="move"><I>pathName</I> <B>move</B></A> <I>page</I> <I>index</I> </DT><DD> Moves <I>page</I> tab to index <I>index</I>. </DD></DL> <DL><DT><A NAME="page"><I>pathName</I> <B>page</B></A> <I>first</I> ?<I>last</I>? </DT><DD> <B>Its use is deprecated. Use <I>pages</I> instead.</B><BR> If <I>last</I> is omitted, returns the page at index <I>first</I>, or an empty string if <I>first</I> refers to a non-existent element. If <I>last</I> is specified, the command returns a list whose elements are all of the pages between <I>first</I> and <I>last</I>, inclusive. Both <I>first</I> and <I>last</I> may have any of the standard forms for indices. </DD></DL> <DL><DT><A NAME="pages"><I>pathName</I> <B>pages</B></A> ?<I>first</I>? ?<I>last</I>? </DT><DD> If <I>first</I> and <I>last</I> are omitted, returns the list of all pages. If <I>first</I> is specified and <I>last</I> omitted, returns the page at index <I>first</I>, or an empty string if <I>first</I> refers to a non-existent element. If <I>first</I> and <I>last</I> are specified, the command returns a list whose elements are all of the pages between <I>first</I> and <I>last</I>, inclusive. Both <I>first</I> and <I>last</I> may have any of the standard forms for indices. </DD></DL> <DL><DT><A NAME="raise"><I>pathName</I> <B>raise</B></A> ?<I>page</I>? </DT><DD> Raise the page <I>page</I>, or return the raised page if <I>page</I> is omitted. </DD></DL> <DL><DT><A NAME="see"><I>pathName</I> <B>see</B></A> <I>page</I> </DT><DD> Scrolls labels to make the label of the page <I>page</I> visible. </DD></DL> </BODY></HTML> |