comparison lisp/dialog.el @ 510:5bdbc721d46a

[xemacs-hg @ 2001-05-06 08:33:35 by ben] implement printing the selection when it's selected. force redisplay when set-charset-ccl-program called. if bytecomp or byte-optimize need recompiling, then load the .el version of them first, recompile them, and reload the .elc versions to recompile everything else (so we won't be waiting until the cows come home).
author ben
date Sun, 06 May 2001 08:33:41 +0000
parents 39ccc7dd8077
children a6c89d799f00
comparison
equal deleted inserted replaced
509:68eb53e4b7e5 510:5bdbc721d46a
187 187
188 The keywords allowed for `general' are 188 The keywords allowed for `general' are
189 189
190 :spec 190 :spec
191 The widget spec -- anything that can be passed to `make-glyph'. 191 The widget spec -- anything that can be passed to `make-glyph'.
192
193 :title 192 :title
194 The title of the frame. 193 The title of the frame.
195 :parent 194 :parent
196 The frame is made a child of this frame (defaults to the selected frame). 195 The frame is made a child of this frame (defaults to the selected frame).
197
198 :properties 196 :properties
199 Additional properties of the frame, as well as `dialog-frame-plist'. 197 Additional properties of the frame, as well as `dialog-frame-plist'.
200 198
201 --------------------------------------------------------------------------- 199 ---------------------------------------------------------------------------
202 200
274 272
275 :device 273 :device
276 An 'msprinter device. 274 An 'msprinter device.
277 :print-settings 275 :print-settings
278 A printer settings object. 276 A printer settings object.
279 277 :allow-selection
280 Exactly one of these keywords must be given. 278 t or nil -- whether the \"Selection\" button is enabled (defaults to nil).
279 :allow-pages
280 t or nil -- whether the \"Pages\" button and associated edit controls
281 are enabled (defaults to t).
282 :selected-page-button
283 `all', `selection', or `pages' -- which page button is initially
284 selected.
285
286 Exactly one of :device and :print-settings must be given.
281 287
282 The function brings up the Print dialog, where the user can 288 The function brings up the Print dialog, where the user can
283 select a different printer and/or change printer options. Connection 289 select a different printer and/or change printer options. Connection
284 name can change as a result of selecting a different printer device. If 290 name can change as a result of selecting a different printer device. If
285 a device is specified, then changes are stored into the settings object 291 a device is specified, then changes are stored into the settings object
288 printer, then changes are propagated to that printer 294 printer, then changes are propagated to that printer
289 too. 295 too.
290 296
291 Return value is nil if the user has canceled the dialog. Otherwise, it 297 Return value is nil if the user has canceled the dialog. Otherwise, it
292 is a new plist, with the following properties: 298 is a new plist, with the following properties:
293 name Printer device name, even if unchanged by the user. 299 name Printer device name, even if unchanged by the user.
294 from-page First page to print, 1-based. If not specified by the user, 300 from-page First page to print, 1-based. Returned if
295 then this value is not included in the plist. 301 `selected-page-button' is `pages'.
296 to-page Last page to print, inclusive, 1-based. If not specified by 302 user, then this value is not included in the plist.
297 the user, then this value is not included in the plist. 303 to-page Last page to print, inclusive, 1-based. Returned if
298 copies Number of copies to print. Always returned. 304 `selected-page-button' is `pages'.
305 copies Number of copies to print. Always returned.
306 selected-page-button Which page button was selected (`all', `selection',
307 or `pages').
299 308
300 The DEVICE is destroyed and an error is signaled in case of 309 The DEVICE is destroyed and an error is signaled in case of
301 initialization problem with the new printer. 310 initialization problem with the new printer.
302 311
303 See also the `page-setup' and `print-setup' dialog boxes. 312 See also the `page-setup' dialog box type.
304 313
305 --------------------------------------------------------------------------- 314 ---------------------------------------------------------------------------
306 315
307 For type `page-setup': 316 For type `page-setup':
308 317
344 into the print-settings or device object. 353 into the print-settings or device object.
345 354
346 The DEVICE is destroyed and an error is signaled in case of 355 The DEVICE is destroyed and an error is signaled in case of
347 initialization problem with the new printer. 356 initialization problem with the new printer.
348 357
349 See also the `print' and `print-setup' dialogs. 358 See also the `print' dialog box type.
350
351 ---------------------------------------------------------------------------
352
353 For type `print-setup':
354
355 This invokes the Windows standard Print Setup dialog.
356 This dialog is usually invoked when the user selects the Printer Setup
357 command.
358
359 The keywords allowed are
360
361 :device
362 An 'msprinter device.
363 :print-settings
364 A printer settings object.
365
366 Exactly one of these keywords must be given.
367
368 The function brings up the Print Setup dialog, where the user
369 can select a different printer and/or change printer options.
370 Connection name can change as a result of selecting a different printer
371 device. If a printer is specified, then changes are stored into the
372 settings object currently selected into that printer. If a settings
373 object is supplied, then changes are recorded into it, and, it it is
374 selected into a printer, then changes are propagated to that printer
375 too.
376
377 Return value is nil if the user has canceled the dialog. Otherwise, it
378 is a new plist, with the following properties:
379 name Printer device name, even if unchanged by the user.
380
381 The printer device is destroyed and an error is signaled if new printer
382 is selected by the user, but cannot be initialized.
383
384 See also the `print' and `page-setup' dialogs.
385 359
386 --------------------------------------------------------------------------- 360 ---------------------------------------------------------------------------
387 361
388 For type `mswindows-message': 362 For type `mswindows-message':
389 363