Package: gtk

Function gtk:page-setup-orientation

Lambda List

gtk:page-setup-orientation (setup)

Syntax

(gtk:page-setup-orientation setup) => orientation
(setf (gtk:page-setup-orientation setup) orientation)

Arguments

setup -- a gtk:page-setup object
orientation -- a gtk:page-orientation value

Details

The gtk:page-setup-orientation function gets the page orientation of the page setup object. The (setf gtk:page-setup-orientation) function sets the page orientation. Possible values are :portrait and :landscape.

Examples

Get the default page orientation.
(let ((setup (gtk:page-setup-new)))
  (gtk:page-setup-orientation setup))
=> :PORTRAIT    
 

See also

2024-4-30