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

Accessor for the page orientation of a page setup object.

The function gtk-page-setup-orientation gets the page orientation of the page setup object. The function (setf gtk-page-setup-orientation) sets the page orientation.

Possible values are :portrait and :landscape.

Example

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

See also

2021-3-17