gi-gtk-4.0.8: Gtk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Objects.PageSetupUnixDialog

Description

GtkPageSetupUnixDialog implements a page setup dialog for platforms which don’t provide a native page setup dialog, like Unix.

It can be used very much like any other GTK dialog, at the cost of the portability offered by the high-level printing API in PrintOperation.

Synopsis

Exported types

newtype PageSetupUnixDialog Source #

Memory-managed wrapper type.

Constructors

PageSetupUnixDialog (ManagedPtr PageSetupUnixDialog) 

Instances

Instances details
Eq PageSetupUnixDialog Source # 
Instance details

Defined in GI.Gtk.Objects.PageSetupUnixDialog

GObject PageSetupUnixDialog Source # 
Instance details

Defined in GI.Gtk.Objects.PageSetupUnixDialog

ManagedPtrNewtype PageSetupUnixDialog Source # 
Instance details

Defined in GI.Gtk.Objects.PageSetupUnixDialog

TypedObject PageSetupUnixDialog Source # 
Instance details

Defined in GI.Gtk.Objects.PageSetupUnixDialog

Methods

glibType :: IO GType

HasParentTypes PageSetupUnixDialog Source # 
Instance details

Defined in GI.Gtk.Objects.PageSetupUnixDialog

IsGValue (Maybe PageSetupUnixDialog) Source #

Convert PageSetupUnixDialog to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.PageSetupUnixDialog

type ParentTypes PageSetupUnixDialog Source # 
Instance details

Defined in GI.Gtk.Objects.PageSetupUnixDialog

class (GObject o, IsDescendantOf PageSetupUnixDialog o) => IsPageSetupUnixDialog o Source #

Type class for types which can be safely cast to PageSetupUnixDialog, for instance with toPageSetupUnixDialog.

Instances

Instances details
(GObject o, IsDescendantOf PageSetupUnixDialog o) => IsPageSetupUnixDialog o Source # 
Instance details

Defined in GI.Gtk.Objects.PageSetupUnixDialog

toPageSetupUnixDialog :: (MonadIO m, IsPageSetupUnixDialog o) => o -> m PageSetupUnixDialog Source #

Cast to PageSetupUnixDialog, for types for which this is known to be safe. For general casts, use castTo.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

actionSetEnabled, activate, activateAction, activateDefault, addActionWidget, addButton, addController, addCssClass, addMnemonicLabel, addTickCallback, allocate, bindProperty, bindPropertyFull, childFocus, close, computeBounds, computeExpand, computePoint, computeTransform, contains, createPangoContext, createPangoLayout, destroy, disposeTemplate, dragCheckThreshold, errorBell, forceFloating, freezeNotify, fullscreen, fullscreenOnMonitor, getv, grabFocus, hasCssClass, hasDefault, hasFocus, hasGroup, hasVisibleFocus, hide, inDestruction, initTemplate, insertActionGroup, insertAfter, insertBefore, isActive, isAncestor, isDrawable, isFloating, isFocus, isFullscreen, isMaximized, isSensitive, isVisible, keynavFailed, listMnemonicLabels, map, maximize, measure, minimize, mnemonicActivate, notify, notifyByPspec, observeChildren, observeControllers, pick, present, presentWithTime, queueAllocate, queueDraw, queueResize, realize, ref, refSink, removeController, removeCssClass, removeMnemonicLabel, removeTickCallback, resetProperty, resetRelation, resetState, response, runDispose, shouldLayout, show, sizeAllocate, snapshotChild, stealData, stealQdata, thawNotify, translateCoordinates, triggerTooltipQuery, unfullscreen, unmap, unmaximize, unminimize, unparent, unrealize, unref, unsetStateFlags, updateNextAccessibleSibling, updateProperty, updateRelation, updateState, watchClosure.

Getters

getAccessibleParent, getAccessibleRole, getAllocatedBaseline, getAllocatedHeight, getAllocatedWidth, getAllocation, getAncestor, getApplication, getAtContext, getBounds, getBuildableId, getCanFocus, getCanTarget, getChild, getChildVisible, getClipboard, getColor, getContentArea, getCssClasses, getCssName, getCursor, getData, getDecorated, getDefaultSize, getDefaultWidget, getDeletable, getDestroyWithParent, getDirection, getDisplay, getFirstAccessibleChild, getFirstChild, getFocus, getFocusChild, getFocusOnClick, getFocusVisible, getFocusable, getFontMap, getFontOptions, getFrameClock, getGroup, getHalign, getHandleMenubarAccel, getHasTooltip, getHeaderBar, getHeight, getHexpand, getHexpandSet, getHideOnClose, getIconName, getLastChild, getLayoutManager, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getMnemonicsVisible, getModal, getName, getNative, getNextAccessibleSibling, getNextSibling, getOpacity, getOverflow, getPageSetup, getPangoContext, getParent, getPlatformState, getPreferredSize, getPrevSibling, getPrimaryClipboard, getPrintSettings, getProperty, getQdata, getRealized, getReceivesDefault, getRenderer, getRequestMode, getResizable, getResponseForWidget, getRoot, getScaleFactor, getSensitive, getSettings, getSize, getSizeRequest, getStateFlags, getStyleContext, getSurface, getSurfaceTransform, getTemplateChild, getTitle, getTitlebar, getTooltipMarkup, getTooltipText, getTransientFor, getValign, getVexpand, getVexpandSet, getVisible, getWidgetForResponse, getWidth.

Setters

setAccessibleParent, setApplication, setCanFocus, setCanTarget, setChild, setChildVisible, setCssClasses, setCursor, setCursorFromName, setData, setDataFull, setDecorated, setDefaultResponse, setDefaultSize, setDefaultWidget, setDeletable, setDestroyWithParent, setDirection, setDisplay, setFocus, setFocusChild, setFocusOnClick, setFocusVisible, setFocusable, setFontMap, setFontOptions, setHalign, setHandleMenubarAccel, setHasTooltip, setHexpand, setHexpandSet, setHideOnClose, setIconName, setLayoutManager, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setMnemonicsVisible, setModal, setName, setOpacity, setOverflow, setPageSetup, setParent, setPrintSettings, setProperty, setReceivesDefault, setResizable, setResponseSensitive, setSensitive, setSizeRequest, setStartupId, setStateFlags, setTitle, setTitlebar, setTooltipMarkup, setTooltipText, setTransientFor, setValign, setVexpand, setVexpandSet, setVisible.

getPageSetup

pageSetupUnixDialogGetPageSetup Source #

Arguments

:: (HasCallStack, MonadIO m, IsPageSetupUnixDialog a) 
=> a

dialog: a GtkPageSetupUnixDialog

-> m PageSetup

Returns: the current page setup

Gets the currently selected page setup from the dialog.

getPrintSettings

pageSetupUnixDialogGetPrintSettings Source #

Arguments

:: (HasCallStack, MonadIO m, IsPageSetupUnixDialog a) 
=> a

dialog: a GtkPageSetupUnixDialog

-> m (Maybe PrintSettings)

Returns: the current print settings

Gets the current print settings from the dialog.

new

pageSetupUnixDialogNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsWindow a) 
=> Maybe Text

title: the title of the dialog

-> Maybe a

parent: transient parent of the dialog

-> m PageSetupUnixDialog

Returns: the new GtkPageSetupUnixDialog

Creates a new page setup dialog.

setPageSetup

pageSetupUnixDialogSetPageSetup Source #

Arguments

:: (HasCallStack, MonadIO m, IsPageSetupUnixDialog a, IsPageSetup b) 
=> a

dialog: a GtkPageSetupUnixDialog

-> b

pageSetup: a GtkPageSetup

-> m () 

Sets the GtkPageSetup from which the page setup dialog takes its values.

setPrintSettings

pageSetupUnixDialogSetPrintSettings Source #

Arguments

:: (HasCallStack, MonadIO m, IsPageSetupUnixDialog a, IsPrintSettings b) 
=> a

dialog: a GtkPageSetupUnixDialog

-> Maybe b

printSettings: a GtkPrintSettings

-> m () 

Sets the GtkPrintSettings from which the page setup dialog takes its values.