Gtk Namespace Reference

## Namespaces

namespace | AccelMap
namespace | Menu_Helpers
namespace | Stock

## Classes

class | AboutDialog
| The AboutDialog offers a simple way to display information about a program like its logo, name, copyright, website and license. More...
class | AccelGroup
| A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached to a toplevel Gtk::Window (with Gtk::Window::add_accel_group()). More...
class | AccelLabel
| A label which displays an accelerator key on the right of the text. More...
class | Action
| An action which can be triggered by a menu or toolbar item. More...
class | ActionGroup
class | Activatable
| Activatable widgets can be connected to a Gtk::Action and reflect the state of the action. More...
class | Adjustment
| A class representing an adjustable bounded value. More...
class | Alignment
| A widget which controls the alignment and size of its child. More...
class | AppChooser
| This interface can be implemented by widgets which allow the user to choose an application (typically for the purpose of opening a file). More...
class | AppChooserButton
| A button to launch an application chooser dialog. More...
class | AppChooserDialog
| An application chooser dialog. More...
class | AppChooserWidget
| An application chooser widget that can be embedded in other widgets. More...
class | Arrow
| Produces an arrow pointing in one of the four cardinal directions. More...
class | AspectFrame
| A frame that constrains its child to a particular aspect ratio. More...
class | Assistant
| A widget used to guide users through multi-step operations. More...
class | Bin
| A container with just one child. More...
class | Border
class | Box
| The Box widget organizes child widgets into a rectangular area. More...
class | Buildable
| A base class for objects that can be built by Gtk::Builder. More...
class | BuilderError
| Exception class for Gdk::Builder errors. More...
class | Builder
| Build an interface from a UI definition description. More...
class | Button
| A widget that creates a signal when clicked on. More...
class | ButtonBox
| A container for arranging buttons. More...
class | Calendar
| Display a calendar and/or allow the user to select a date. More...
class | CellArea
| An abstract base class for laying out CellRenderers. More...
class | CellAreaBox
| A cell area that renders CellRenderers into a row or a colum, depending on its orientation. More...
class | CellAreaContext
| This stores geometrical information for a series of rows in a CellArea. More...
class | CellEditable
| Interface for widgets which are used for editing cells. More...
class | CellLayout
| An interface for packing cells. More...
class | CellRenderer
| CellRenderers are used by Gtk::TreeView columns to render the Gtk::TreeModel column data appropriately. More...
class | CellRendererAccel
| Renders a keyboard accelerator in a cell More...
class | CellRendererCombo
| Renders a combobox in a cell. More...
class | CellRendererPixbuf
| Renders a pixbuf in a cell. More...
class | CellRendererProgress
| Renders numbers as progress bars. More...
class | CellRendererSpin
| Renders a spin button in a cell. More...
class | CellRendererSpinner
| Renders a spinning animation in a cell. More...
class | CellRendererText
| Renders text in a cell. More...
class | CellRendererToggle
| Renders a toggle button in a cell. More...
class | CellView
| A widget displaying a single row of a TreeModel. More...
class | CheckButton
| Create widgets with a discrete toggle button. More...
class | CheckMenuItem
| A menu item that maintains the state of a boolean value in addition to a Gtk::MenuItem's usual role in activating application code. More...
class | Clipboard
| The Clipboard object represents a clipboard of data shared between different processes or between different widgets in the same process. More...
class | ColorButton
| A button to launch a color selection dialog. More...
class | ColorSelection
| A widget used to select a color. More...
class | ColorSelectionDialog
| This dialog allows the user to select a color. More...
class | ComboBox
| A widget used to choose from a list of items. More...
class | ComboBoxText
| This is a simple variant of ComboBox that hides the model-view complexity for simple text-only use cases. More...
class | Container
| Abstract container class. More...
class | CssProvider
| CSS-like styling for widgets, implementing the StyleProvider base class. More...
class | Dialog
| Create popup windows. More...
class | DrawingArea
| A widget for custom user interface elements. More...
class | Editable
| Base class for text-editing widgets. More...
class | Entry
| A single line text entry field. More...
class | EntryCompletion
| Completion functionality for Gtk::Entry. More...
class | EntryBuffer
| A Text buffer for the Entry widget. More...
class | IconSize
| Represents registered icon sizes. More...
class | EventBox
| Event capturing box. More...
class | Expander
| A container which can hide its child. More...
class | FileChooserError
| Exception class for Gdk::FileChooser errors. More...
class | FileChooser
| Gtk::FileChooser is an interface that can be implemented by file selection widgets. More...
class | FileChooserButton
| A button to launch a file chooser dialog. More...
class | FileChooserDialog
| Convenient file chooser window. More...
class | FileChooserWidget
| File chooser widget that can be embedded in other widgets. More...
class | FileFilter
| A filter for selecting a file subset. More...
class | Fixed
| A container which allows you to position widgets at fixed coordinates. More...
class | FontButton
| A button to launch a font selection dialog. More...
class | FontSelection
| A widget for selecting fonts. More...
class | FontSelectionDialog
| A dialog box for selecting fonts. More...
class | Frame
| A Gtk::Bin with a decorative frame and optional label. More...
class | Grid
| A container which arranges its child widgets in rows and columns. More...
class | HandleBox
| A widget for detachable window portions. More...
class | IconFactory
class | IconInfo
class | IconSet
| This manages a set of variants of a particular icon An IconSet contains variants for different sizes and widget states. More...
class | IconSource
class | IconThemeError
| Exception class for Gdk::IconTheme errors. More...
class | IconTheme
class | IconView
| The IconView provides an alternative view of a list model. More...
class | Image
| A widget displaying an image. More...
class | ImageMenuItem
| A menu item with an icon. More...
class | InfoBar
| This widget that can be used to show messages to the user without showing a dialog. More...
class | Invisible
| This widget is used internally in GTK+, and is probably not useful for application developers. More...
class | Label
| A widget that displays a small to medium amount of text. More...
class | Layout
| Infinite scrollable area containing child widgets and/or custom drawing. More...
class | LinkButton
| Create buttons bound to a URL. More...
class | ListStore
| Thist is a list model for use with a Gtk::TreeView widget. More...
class | Main
| Main application class. More...
class | Menu
| A drop-down menu consisting of Gtk::MenuItem objects which can be navigated and activated by the user to perform application functions. More...
class | MenuBar
| A standard menu bar which usually holds Gtk::Menu submenu items. More...
class | MenuItem
| Child item for menus. More...
class | MenuShell
| The abstract base class for Gtk::Menu and Gtk::MenuBar. More...
class | MenuToolButton
| A Gtk::ToolItem containing a toggle button. More...
class | MessageDialog
| Convenient message window. More...
class | Misc
| A base class for widgets with alignments and padding. More...
class | Notebook
| Container which shows one of its children at a time, in tabbed windows. More...
class | NumerableIcon
| A Gio::Icon that allows numbered emblems. More...
class | OffscreenWindow
| A top-level container widget used to manage offscreen rendering of child widgets. More...
class | Orientable
| This interface is implemented by all widgets that can be oriented horizontally or vertically. More...
class | PageSetup
| A PageSetup object stores the page size, orientation and margins. More...
class | Paned
| A widget with two adjustable panes. More...
class | PaperSize
| PaperSize handles paper sizes. More...
class | PrintContext
| A PrintContext encapsulates context information that is required when drawing pages for printing, such as the cairo context and important parameters like page size and resolution. More...
class | PrintError
class | PrintOperation
| PrintOperation is the high-level, portable printing API. More...
class | PrintOperationPreview
class | PrintSettings
| A PrintSettings object represents the settings of a print dialog in a system-independent way. More...
class | ProgressBar
| A widget which indicates progress visually. More...
class | RadioAction
| An action of which only one in a group can be active. More...
class | RadioButton
| A single radio button performs the same basic function as a Gtk::CheckButton, as its position in the object hierarchy reflects. More...
class | RadioMenuItem
| A CheckMenuItem that belongs to a group. More...
class | RadioToolButton
| A toolbar item that contains a radio button. More...
class | Range
| Base class for widgets which visualize an adjustment. More...
class | RecentAction
| An action of which represents a list of recently used files. More...
class | RecentChooserError
| Exception class for Gtk::RecentChooser errors. More...
class | RecentChooser
| RecentChooser is an interface that can be implemented by widgets displaying the list of recently used files. More...
class | RecentChooserDialog
| RecentChooserDialog is a dialog box suitable for displaying the recently used documents. More...
class | RecentChooserMenu
| RecentChooserMenu is a widget suitable for displaying recently used files inside a menu. More...
class | RecentChooserWidget
| RecentChooserWidget is a widget suitable for selecting recently used files. More...
class | RecentFilter
| RecentFilter can be used to restrict the files being shown in a RecentChooser. More...
class | RecentInfo
| Contains information found when looking up an entry of the recently used files list. More...
class | RecentManagerError
| Exception class for Gtk::RecentManager errors. More...
class | RecentManager
| RecentManager provides a facility for adding, removing and looking up recently used files. More...
class | Scale
| A slider widget for selecting a value from a range. More...
class | ScaleButton
| A button which pops up a scale widget. More...
class | Scrollable
| This interface is implemented by widgets with native scrolling ability. More...
class | Scrollbar
| A Scrollbar. More...
class | ScrolledWindow
| Adds scrollbars to its child widget. More...
class | SelectionData
class | Separator
| A separator widget. More...
class | SeparatorMenuItem
| A separator used to group items within a menu. More...
class | SeparatorToolItem
| A toolbar item that separates groups of other toolbar items. More...
class | Settings
| Sharing settings between applications. More...
class | SizeGroup
| Gtk::SizeGroup provides a mechanism for grouping a number of widgets together so they all request the same amount of space. More...
class | SpinButton
| numeric Entry with up/down buttons Slightly misnamed, this should be called a SpinEntry. More...
class | Spinner
| A widget that displays a spinner animation. More...
class | Statusbar
| Text status indicator This widget is used to display status information. More...
class | StatusIcon
| The "system tray" or notification area is normally used for transient icons that indicate some special state. More...
class | StockItem
class | StyleContext
| This object stores styling information affecting a widget defined by WidgetPath. More...
class | StyleProvider
| This is a base class used to provide style information to a StyleContext. More...
class | Switch
| A "light switch"-style toggle. More...
class | Table
| Pack widgets in regular patterns. More...
class | TargetList
class | TearoffMenuItem
| A special Gtk::MenuItem which is used to tear off and reattach its menu. More...
class | TextAttributes
class | TextBuffer
| Multi-line attributed text that can be displayed by one or more Gtk::TextView widgets. More...
class | TextChildAnchor
| A TextChildAnchor is a spot in the buffer where child widgets can be "anchored" (inserted inline, as if they were characters). More...
class | TextIter
| Typefed as Gtk::TextBuffer::iterator. More...
class | TextMark
| Typedefed as Gtk::TextBuffer::Mark. More...
class | TextTag
| Typedefed as Gtk::TextBuffer::Tag. More...
class | TextTagTable
| Typedefed as Gtk::TextBuffer::TagTable. More...
class | TextView
| Multi-line text editing widget. More...
class | ToggleAction
| An action which can be toggled between two states. More...
class | ToggleButton
| A Gtk::ToggleButton will remain 'pressed-in' when clicked. More...
class | ToggleToolButton
| A Gtk::ToolItem containing a toggle button. More...
class | Toolbar
| Bars of buttons and other widgets. More...
class | ToolButton
| A Gtk::ToolItem subclass that displays buttons. More...
class | ToolItem
class | ToolItemGroup
| A ToolItemGroup is used together with ToolPalette to add ToolItems to a palette-like container with different categories and drag and drop support. More...
class | ToolPalette
| A ToolPalette allows you to add ToolItems to a palette-like container with various categories and drag and drop support. More...
class | ToolShell
| A base class for containers containing ToolItem widgets. More...
class | Tooltip
| Add tips to your widgets. More...
class | TreeDragDest
class | TreeDragSource
class | TreeIterBase
class | TreeIter
| A Gtk::TreeModel::iterator is a reference to a specific node on a specific model. More...
class | TreeValueProxy
class | TreeRow
| Typedefed as TreeModel::Row. More...
class | TreeNodeChildren
| typedefed as TreeModel::Children. More...
class | TreeModel
| This class defines a generic tree interface for use by the Gtk::TreeView widget. More...
class | TreeModelFilter
class | TreeModelSort
| A wrapper which makes an underlying Gtk::TreeModel sortable. More...
class | TreePath
| A path is essentially a potential node. More...
class | TreeRowReference
| Typedefed as Gtk::TreeModel::RowReference. More...
class | TreeSelection
| Typedefed as Gtk::TreeView::Selection. More...
class | TreeSortable
class | TreeStore
class | TreeView
| The TreeView widget displays the model (Gtk::TreeModel) data and allows the user to interact with it. More...
class | TreeViewColumn
| Typedefed as Gtk::TreeView::Column. More...
class | UIManager
| Constructing menus and toolbars from an XML description. More...
class | Viewport
| An adapter which makes widgets scrollable. More...
class | VolumeButton
| A button which pops up a volume control. More...
class | Widget
| Abstract Widget (Base class for all widgets) More...
class | WidgetPath
| This represents a widget hierarchy from the topmost widget, typically a toplevel, to any child. More...
class | WindowGroup
| Limit the effect of grabs. More...
class | Window
| Toplevel Window This represents all widgets which are physical windows controlled by the window manager. More...
class | PageSetupUnixDialog
| PageSetupUnixDialog implements a page setup dialog for platforms which don't provide a native page setup dialog, like Unix. More...
class | Plug
class | Printer
| A Printer object represents a printer. More...
class | PrintJob
| A PrintJob object represents a job that is sent to a printer. More...
class | PrintUnixDialog
| PrintUnixDialog implements a print dialog for platforms which don't provide a native print dialog, like Unix. More...
class | Socket
| Container for widgets from other processes. More...
class | VBox
| Vertical Box for laying widgets in a vertical row. More...
class | HBox
| Horizontal Box for laying widgets in a horizontal row. More...
class | VButtonBox
| A container for arranging buttons vertically. More...
class | HButtonBox
| A container for arranging buttons horizontally. More...
class | HPaned
| The Gtk::HPaned widget is a container widget with two children arranged horizontally. More...
class | VPaned
| The Gtk::VPaned widget is a container widget with two children arranged vertically. More...
class | VScale
| A vertical slider for selecting values. More...
class | HScale
| A horizontal slider for selecting values. More...
class | VScrollbar
| A vertical scrollbar. More...
class | HScrollbar
| A horizontal scrollbar. More...
class | VSeparator
| Vertical line widget. More...
class | HSeparator
| Horizontal line widget. More...
class | AccelKey
| Defines accelerator key combinations. More...
class | ListViewText
| A simple listbox which presents some lines of information in columns and lets the user select some of them. More...
class | Object
| Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustment. More...
class | RadioButtonGroup
| RadioButtonGroup identifier for RadioButtons To set up this RadioButtonGroup, construct a RadioButtonGroup and then pass it to the constructor of all radio items. More...
struct | BuiltinStockID
| See the list of pre-defined stock items, in the Stock namespace. More...
class | StockID
| See also Gtk::BuiltinStockID. More...
class | TargetEntry
class | TreeModelColumnRecord
| Typedefed as TreeModel::ColumnRecord. More...
class | TreeModelColumnBase
| Base class of TreeModelColumn templates. More...
class | TreeModelColumn
| A Gtk::TreeModelColumn describes the C++ type of the data in a model column, and identifies that column in the model. More...

## Typedefs

typedef sigc::slot< void, const Glib::RefPtr< PageSetup >& > | SlotPrintSetupDone
| For example, void on_setup_done(const Glib::RefPtr<PageSetup>& page_setup);.
typedef GtkRequisition | Requisition
typedef Gdk::Rectangle | Allocation

## Enumerations

enum | License { LICENSE_UNKNOWN, LICENSE_CUSTOM, LICENSE_GPL_2_0, LICENSE_GPL_3_0, LICENSE_LGPL_2_1, LICENSE_LGPL_3_0, LICENSE_BSD, LICENSE_MIT_X11, LICENSE_ARTISTIC }
enum | AssistantPageType { ASSISTANT_PAGE_CONTENT, ASSISTANT_PAGE_INTRO, ASSISTANT_PAGE_CONFIRM, ASSISTANT_PAGE_SUMMARY, ASSISTANT_PAGE_PROGRESS, ASSISTANT_PAGE_CUSTOM }
enum | PackOptions { PACK_SHRINK, PACK_EXPAND_PADDING, PACK_EXPAND_WIDGET }
| Packing options for adding child widgets to a Box with pack_start() and pack_end(). More...
enum | { BUTTONBOX_DEFAULT_SPACING = -1 }
enum | CalendarDisplayOptions { CALENDAR_SHOW_HEADING = 1 << 0, CALENDAR_SHOW_DAY_NAMES = 1 << 1, CALENDAR_NO_MONTH_CHANGE = 1 << 2, CALENDAR_SHOW_WEEK_NUMBERS = 1 << 3, CALENDAR_SHOW_DETAILS = 1 << 5 }
enum | CellRendererState { CELL_RENDERER_SELECTED = 1 << 0, CELL_RENDERER_PRELIT = 1 << 1, CELL_RENDERER_INSENSITIVE = 1 << 2, CELL_RENDERER_SORTED = 1 << 3, CELL_RENDERER_FOCUSED = 1 << 4 }
enum | CellRendererMode { CELL_RENDERER_MODE_INERT, CELL_RENDERER_MODE_ACTIVATABLE, CELL_RENDERER_MODE_EDITABLE }
enum | CellRendererAccelMode { CELL_RENDERER_ACCEL_MODE_GTK, CELL_RENDERER_ACCEL_MODE_OTHER }
enum | ResponseType { RESPONSE_NONE = -1, RESPONSE_REJECT = -2, RESPONSE_ACCEPT = -3, RESPONSE_DELETE_EVENT = -4, RESPONSE_OK = -5, RESPONSE_CANCEL = -6, RESPONSE_CLOSE = -7, RESPONSE_YES = -8, RESPONSE_NO = -9, RESPONSE_APPLY = -10, RESPONSE_HELP = -11 }
enum | EntryIconPosition { ENTRY_ICON_PRIMARY, ENTRY_ICON_SECONDARY }
enum | AccelFlags { ACCEL_VISIBLE = 1 << 0, ACCEL_LOCKED = 1 << 1, ACCEL_MASK = 0x07 }
enum | Align { ALIGN_FILL, ALIGN_START, ALIGN_END, ALIGN_CENTER }
enum | ArrowType { ARROW_UP, ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_NONE }
| Used to indicate the direction in which a Gtk::Arrow should point. More...
enum | AttachOptions { EXPAND = 1 << 0, SHRINK = 1 << 1, FILL = 1 << 2 }
| Denotes the expansion properties that a widget will have when it (or its parent) is resized. More...
enum | ButtonBoxStyle { BUTTONBOX_SPREAD = 1, BUTTONBOX_EDGE, BUTTONBOX_START, BUTTONBOX_END, BUTTONBOX_CENTER }
enum | DeleteType { DELETE_CHARS, DELETE_WORD_ENDS, DELETE_WORDS, DELETE_DISPLAY_LINES, DELETE_DISPLAY_LINE_ENDS, DELETE_PARAGRAPH_ENDS, DELETE_PARAGRAPHS, DELETE_WHITESPACE }
enum | DirectionType { DIR_TAB_FORWARD, DIR_TAB_BACKWARD, DIR_UP, DIR_DOWN, DIR_LEFT, DIR_RIGHT }
enum | ExpanderStyle { EXPANDER_COLLAPSED, EXPANDER_SEMI_COLLAPSED, EXPANDER_SEMI_EXPANDED, EXPANDER_EXPANDED }
enum | BuiltinIconSize { ICON_SIZE_INVALID, ICON_SIZE_MENU, ICON_SIZE_SMALL_TOOLBAR, ICON_SIZE_LARGE_TOOLBAR, ICON_SIZE_BUTTON, ICON_SIZE_DND, ICON_SIZE_DIALOG }
enum | TextDirection { TEXT_DIR_NONE, TEXT_DIR_LTR, TEXT_DIR_RTL }
enum | Justification { JUSTIFY_LEFT, JUSTIFY_RIGHT, JUSTIFY_CENTER, JUSTIFY_FILL }
enum | MenuDirectionType { MENU_DIR_PARENT, MENU_DIR_CHILD, MENU_DIR_NEXT, MENU_DIR_PREV }
enum | MessageType { MESSAGE_INFO, MESSAGE_WARNING, MESSAGE_QUESTION, MESSAGE_ERROR, MESSAGE_OTHER }
enum | MovementStep { MOVEMENT_LOGICAL_POSITIONS, MOVEMENT_VISUAL_POSITIONS, MOVEMENT_WORDS, MOVEMENT_DISPLAY_LINES, MOVEMENT_DISPLAY_LINE_ENDS, MOVEMENT_PARAGRAPHS, MOVEMENT_PARAGRAPH_ENDS, MOVEMENT_PAGES, MOVEMENT_BUFFER_ENDS, MOVEMENT_HORIZONTAL_PAGES }
enum | Orientation { ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL }
enum | CornerType { CORNER_TOP_LEFT, CORNER_BOTTOM_LEFT, CORNER_TOP_RIGHT, CORNER_BOTTOM_RIGHT }
enum | PackType { PACK_START, PACK_END }
enum | PathPriorityType { PATH_PRIO_LOWEST = 0, PATH_PRIO_GTK = 4, PATH_PRIO_APPLICATION = 8, PATH_PRIO_THEME = 10, PATH_PRIO_RC = 12, PATH_PRIO_HIGHEST = 15 }
enum | PathType { PATH_WIDGET, PATH_WIDGET_CLASS, PATH_CLASS }
enum | PolicyType { POLICY_ALWAYS, POLICY_AUTOMATIC, POLICY_NEVER }
enum | PositionType { POS_LEFT, POS_RIGHT, POS_TOP, POS_BOTTOM }
enum | ReliefStyle { RELIEF_NORMAL, RELIEF_HALF, RELIEF_NONE }
enum | ResizeMode { RESIZE_PARENT, RESIZE_QUEUE, RESIZE_IMMEDIATE }
enum | ScrollType { SCROLL_NONE, SCROLL_JUMP, SCROLL_STEP_BACKWARD, SCROLL_STEP_FORWARD, SCROLL_PAGE_BACKWARD, SCROLL_PAGE_FORWARD, SCROLL_STEP_UP, SCROLL_STEP_DOWN, SCROLL_PAGE_UP, SCROLL_PAGE_DOWN, SCROLL_STEP_LEFT, SCROLL_STEP_RIGHT, SCROLL_PAGE_LEFT, SCROLL_PAGE_RIGHT, SCROLL_START, SCROLL_END }
enum | SelectionMode { SELECTION_NONE, SELECTION_SINGLE, SELECTION_BROWSE, SELECTION_MULTIPLE }
enum | ShadowType { SHADOW_NONE, SHADOW_IN, SHADOW_OUT, SHADOW_ETCHED_IN, SHADOW_ETCHED_OUT }
enum | StateType { STATE_NORMAL, STATE_ACTIVE, STATE_PRELIGHT, STATE_SELECTED, STATE_INSENSITIVE, STATE_INCONSISTENT, STATE_FOCUSED }
enum | TargetFlags { TARGET_SAME_APP = 1 << 0, TARGET_SAME_WIDGET = 1 << 1, TARGET_OTHER_APP = 1 << 2, TARGET_OTHER_WIDGET = 1 << 3 }
enum | ToolbarStyle { TOOLBAR_ICONS, TOOLBAR_TEXT, TOOLBAR_BOTH, TOOLBAR_BOTH_HORIZ }
enum | WindowPosition { WIN_POS_NONE, WIN_POS_CENTER, WIN_POS_MOUSE, WIN_POS_CENTER_ALWAYS, WIN_POS_CENTER_ON_PARENT }
enum | WindowType { WINDOW_TOPLEVEL, WINDOW_POPUP }
enum | WrapMode { WRAP_NONE, WRAP_CHAR, WRAP_WORD, WRAP_WORD_CHAR }
enum | SortType { SORT_ASCENDING, SORT_DESCENDING }
enum | PageOrientation { PAGE_ORIENTATION_PORTRAIT, PAGE_ORIENTATION_LANDSCAPE, PAGE_ORIENTATION_REVERSE_PORTRAIT, PAGE_ORIENTATION_REVERSE_LANDSCAPE }
enum | SensitivityType { SENSITIVITY_AUTO, SENSITIVITY_ON, SENSITIVITY_OFF }
enum | SizeRequestMode { SIZE_REQUEST_HEIGHT_FOR_WIDTH, SIZE_REQUEST_WIDTH_FOR_HEIGHT }
enum | RegionFlags { REGION_EVEN = 1 << 0, REGION_ODD = 1 << 1, REGION_FIRST = 1 << 2, REGION_LAST = 1 << 3, REGION_SORTED = 1 << 5 }
enum | JunctionSides { JUNCTION_NONE = 0x0, JUNCTION_CORNER_TOPLEFT = 1 << 0, JUNCTION_CORNER_TOPRIGHT = 1 << 1, JUNCTION_CORNER_BOTTOMLEFT = 1 << 2, JUNCTION_CORNER_BOTTOMRIGHT = 1 << 3, JUNCTION_TOP = 0x3, JUNCTION_BOTTOM = 0xC, JUNCTION_LEFT = 0x5, JUNCTION_RIGHT = 0xA }
enum | StateFlags { STATE_FLAG_NORMAL = 0x0, STATE_FLAG_ACTIVE = 1 << 0, STATE_FLAG_PRELIGHT = 1 << 1, STATE_FLAG_SELECTED = 1 << 2, STATE_FLAG_INSENSITIVE = 1 << 3, STATE_FLAG_INCONSISTENT = 1 << 4, STATE_FLAG_FOCUSED = 1 << 5 }
enum | FileChooserAction { FILE_CHOOSER_ACTION_OPEN, FILE_CHOOSER_ACTION_SAVE, FILE_CHOOSER_ACTION_SELECT_FOLDER, FILE_CHOOSER_ACTION_CREATE_FOLDER }
enum | FileChooserConfirmation { FILE_CHOOSER_CONFIRMATION_CONFIRM, FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME, FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN }
enum | FileFilterFlags { FILE_FILTER_FILENAME = 1 << 0, FILE_FILTER_URI = 1 << 1, FILE_FILTER_DISPLAY_NAME = 1 << 2, FILE_FILTER_MIME_TYPE = 1 << 3 }
enum | IconLookupFlags { ICON_LOOKUP_NO_SVG = 1 << 0, ICON_LOOKUP_FORCE_SVG = 1 << 1, ICON_LOOKUP_USE_BUILTIN = 1 << 2, ICON_LOOKUP_GENERIC_FALLBACK = 1 << 3, ICON_LOOKUP_FORCE_SIZE = 1 << 4 }
enum | IconViewDropPosition { ICON_VIEW_NO_DROP, ICON_VIEW_DROP_INTO, ICON_VIEW_DROP_LEFT, ICON_VIEW_DROP_RIGHT, ICON_VIEW_DROP_ABOVE, ICON_VIEW_DROP_BELOW }
enum | ImageType { IMAGE_EMPTY, IMAGE_PIXBUF, IMAGE_STOCK, IMAGE_ICON_SET, IMAGE_ANIMATION, IMAGE_ICON_NAME, IMAGE_GICON }
enum | PackDirection { PACK_DIRECTION_LTR, PACK_DIRECTION_RTL, PACK_DIRECTION_TTB, PACK_DIRECTION_BTT }
enum | ButtonsType { BUTTONS_NONE, BUTTONS_OK, BUTTONS_CLOSE, BUTTONS_CANCEL, BUTTONS_YES_NO, BUTTONS_OK_CANCEL }
enum | NotebookTab { NOTEBOOK_TAB_FIRST, NOTEBOOK_TAB_LAST }
enum | Unit { UNIT_PIXEL, UNIT_POINTS, UNIT_INCH, UNIT_MM }
enum | PrintStatus { PRINT_STATUS_INITIAL, PRINT_STATUS_PREPARING, PRINT_STATUS_GENERATING_DATA, PRINT_STATUS_SENDING_DATA, PRINT_STATUS_PENDING, PRINT_STATUS_PENDING_ISSUE, PRINT_STATUS_PRINTING, PRINT_STATUS_FINISHED, PRINT_STATUS_FINISHED_ABORTED }
enum | PrintOperationResult { PRINT_OPERATION_RESULT_ERROR, PRINT_OPERATION_RESULT_APPLY, PRINT_OPERATION_RESULT_CANCEL, PRINT_OPERATION_RESULT_IN_PROGRESS }
enum | PrintOperationAction { PRINT_OPERATION_ACTION_PRINT_DIALOG, PRINT_OPERATION_ACTION_PRINT, PRINT_OPERATION_ACTION_PREVIEW, PRINT_OPERATION_ACTION_EXPORT }
enum | PrintDuplex { PRINT_DUPLEX_SIMPLEX, PRINT_DUPLEX_HORIZONTAL, PRINT_DUPLEX_VERTICAL }
enum | PrintQuality { PRINT_QUALITY_LOW, PRINT_QUALITY_NORMAL, PRINT_QUALITY_HIGH, PRINT_QUALITY_DRAFT }
enum | PrintPages { PRINT_PAGES_ALL, PRINT_PAGES_CURRENT, PRINT_PAGES_RANGES, PRINT_PAGES_SELECTION }
enum | PageSet { PAGE_SET_ALL, PAGE_SET_EVEN, PAGE_SET_ODD }
enum | NumberUpLayout { NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM, NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP, NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM, NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP, NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT, NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT, NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT, NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT }
enum | RecentSortType { RECENT_SORT_NONE, RECENT_SORT_MRU, RECENT_SORT_LRU, RECENT_SORT_CUSTOM }
enum | RecentFilterFlags { RECENT_FILTER_URI = 1 << 0, RECENT_FILTER_DISPLAY_NAME = 1 << 1, RECENT_FILTER_MIME_TYPE = 1 << 2, RECENT_FILTER_APPLICATION = 1 << 3, RECENT_FILTER_GROUP = 1 << 4, RECENT_FILTER_AGE = 1 << 5 }
enum | ScrollablePolicy { SCROLL_MINIMUM, SCROLL_NATURAL }
enum | SizeGroupMode { SIZE_GROUP_NONE, SIZE_GROUP_HORIZONTAL, SIZE_GROUP_VERTICAL, SIZE_GROUP_BOTH }
enum | SpinButtonUpdatePolicy { UPDATE_ALWAYS, UPDATE_IF_VALID }
enum | SpinType { SPIN_STEP_FORWARD, SPIN_STEP_BACKWARD, SPIN_PAGE_FORWARD, SPIN_PAGE_BACKWARD, SPIN_HOME, SPIN_END, SPIN_USER_DEFINED }
enum | { INPUT_ERROR = -1 }
enum | TextSearchFlags { TEXT_SEARCH_VISIBLE_ONLY = 1 << 0, TEXT_SEARCH_TEXT_ONLY = 1 << 1, TEXT_SEARCH_CASE_INSENSITIVE = 1 << 2 }
enum | TextWindowType { TEXT_WINDOW_PRIVATE, TEXT_WINDOW_WIDGET, TEXT_WINDOW_TEXT, TEXT_WINDOW_LEFT, TEXT_WINDOW_RIGHT, TEXT_WINDOW_TOP, TEXT_WINDOW_BOTTOM }
enum | ToolPaletteDragTargets { TOOL_PALETTE_DRAG_ITEMS = (1 << 0), TOOL_PALETTE_DRAG_GROUPS = (1 << 1) }
enum | TreeModelFlags { TREE_MODEL_ITERS_PERSIST = 1 << 0, TREE_MODEL_LIST_ONLY = 1 << 1 }
enum | TreeViewDropPosition { TREE_VIEW_DROP_BEFORE, TREE_VIEW_DROP_AFTER, TREE_VIEW_DROP_INTO_OR_BEFORE, TREE_VIEW_DROP_INTO_OR_AFTER }
enum | TreeViewGridLines { TREE_VIEW_GRID_LINES_NONE, TREE_VIEW_GRID_LINES_HORIZONTAL, TREE_VIEW_GRID_LINES_VERTICAL, TREE_VIEW_GRID_LINES_BOTH }
enum | TreeViewColumnSizing { TREE_VIEW_COLUMN_GROW_ONLY, TREE_VIEW_COLUMN_AUTOSIZE, TREE_VIEW_COLUMN_FIXED }
enum | UIManagerItemType { UI_MANAGER_AUTO = 0x0, UI_MANAGER_MENUBAR = 1 << 0, UI_MANAGER_MENU = 1 << 1, UI_MANAGER_TOOLBAR = 1 << 2, UI_MANAGER_PLACEHOLDER = 1 << 3, UI_MANAGER_POPUP = 1 << 4, UI_MANAGER_MENUITEM = 1 << 5, UI_MANAGER_TOOLITEM = 1 << 6, UI_MANAGER_SEPARATOR = 1 << 7, UI_MANAGER_ACCELERATOR = 1 << 8, UI_MANAGER_POPUP_WITH_ACCELS = 1 << 9 }
enum | DestDefaults { DEST_DEFAULT_MOTION = 1 << 0, DEST_DEFAULT_HIGHLIGHT = 1 << 1, DEST_DEFAULT_DROP = 1 << 2, DEST_DEFAULT_ALL = 0x07 }
enum | WidgetHelpType { WIDGET_HELP_TOOLTIP, WIDGET_HELP_WHATS_THIS }
enum | DragResult { DRAG_RESULT_SUCCESS, DRAG_RESULT_NO_TARGET, DRAG_RESULT_USER_CANCELLED, DRAG_RESULT_TIMEOUT_EXPIRED, DRAG_RESULT_GRAB_BROKEN, DRAG_RESULT_ERROR }
enum | PrintCapabilities { PRINT_CAPABILITY_PAGE_SET = 1 << 0, PRINT_CAPABILITY_COPIES = 1 << 1, PRINT_CAPABILITY_COLLATE = 1 << 2, PRINT_CAPABILITY_REVERSE = 1 << 3, PRINT_CAPABILITY_SCALE = 1 << 4, PRINT_CAPABILITY_GENERATE_PDF = 1 << 5, PRINT_CAPABILITY_GENERATE_PS = 1 << 6, PRINT_CAPABILITY_PREVIEW = 1 << 7, PRINT_CAPABILITY_NUMBER_UP = 1 << 8, PRINT_CAPABILITY_NUMBER_UP_LAYOUT = 1 << 9 }

## Functions

CalendarDisplayOptions | operator| (CalendarDisplayOptions lhs, CalendarDisplayOptions rhs)
CalendarDisplayOptions | operator& (CalendarDisplayOptions lhs, CalendarDisplayOptions rhs)
CalendarDisplayOptions | operator^ (CalendarDisplayOptions lhs, CalendarDisplayOptions rhs)
CalendarDisplayOptions | operator~ (CalendarDisplayOptions flags)
CalendarDisplayOptions& | operator|= (CalendarDisplayOptions& lhs, CalendarDisplayOptions rhs)
CalendarDisplayOptions& | operator&= (CalendarDisplayOptions& lhs, CalendarDisplayOptions rhs)
CalendarDisplayOptions& | operator^= (CalendarDisplayOptions& lhs, CalendarDisplayOptions rhs)
CellRendererState | operator| (CellRendererState lhs, CellRendererState rhs)
CellRendererState | operator& (CellRendererState lhs, CellRendererState rhs)
CellRendererState | operator^ (CellRendererState lhs, CellRendererState rhs)
CellRendererState | operator~ (CellRendererState flags)
CellRendererState& | operator|= (CellRendererState& lhs, CellRendererState rhs)
CellRendererState& | operator&= (CellRendererState& lhs, CellRendererState rhs)
CellRendererState& | operator^= (CellRendererState& lhs, CellRendererState rhs)
AccelFlags | operator| (AccelFlags lhs, AccelFlags rhs)
AccelFlags | operator& (AccelFlags lhs, AccelFlags rhs)
AccelFlags | operator^ (AccelFlags lhs, AccelFlags rhs)
AccelFlags | operator~ (AccelFlags flags)
AccelFlags& | operator|= (AccelFlags& lhs, AccelFlags rhs)
AccelFlags& | operator&= (AccelFlags& lhs, AccelFlags rhs)
AccelFlags& | operator^= (AccelFlags& lhs, AccelFlags rhs)
AttachOptions | operator| (AttachOptions lhs, AttachOptions rhs)
AttachOptions | operator& (AttachOptions lhs, AttachOptions rhs)
AttachOptions | operator^ (AttachOptions lhs, AttachOptions rhs)
AttachOptions | operator~ (AttachOptions flags)
AttachOptions& | operator|= (AttachOptions& lhs, AttachOptions rhs)
AttachOptions& | operator&= (AttachOptions& lhs, AttachOptions rhs)
AttachOptions& | operator^= (AttachOptions& lhs, AttachOptions rhs)
TargetFlags | operator| (TargetFlags lhs, TargetFlags rhs)
TargetFlags | operator& (TargetFlags lhs, TargetFlags rhs)
TargetFlags | operator^ (TargetFlags lhs, TargetFlags rhs)
TargetFlags | operator~ (TargetFlags flags)
TargetFlags& | operator|= (TargetFlags& lhs, TargetFlags rhs)
TargetFlags& | operator&= (TargetFlags& lhs, TargetFlags rhs)
TargetFlags& | operator^= (TargetFlags& lhs, TargetFlags rhs)
RegionFlags | operator| (RegionFlags lhs, RegionFlags rhs)
RegionFlags | operator& (RegionFlags lhs, RegionFlags rhs)
RegionFlags | operator^ (RegionFlags lhs, RegionFlags rhs)
RegionFlags | operator~ (RegionFlags flags)
RegionFlags& | operator|= (RegionFlags& lhs, RegionFlags rhs)
RegionFlags& | operator&= (RegionFlags& lhs, RegionFlags rhs)
RegionFlags& | operator^= (RegionFlags& lhs, RegionFlags rhs)
JunctionSides | operator| (JunctionSides lhs, JunctionSides rhs)
JunctionSides | operator& (JunctionSides lhs, JunctionSides rhs)
JunctionSides | operator^ (JunctionSides lhs, JunctionSides rhs)
JunctionSides | operator~ (JunctionSides flags)
JunctionSides& | operator|= (JunctionSides& lhs, JunctionSides rhs)
JunctionSides& | operator&= (JunctionSides& lhs, JunctionSides rhs)
JunctionSides& | operator^= (JunctionSides& lhs, JunctionSides rhs)
StateFlags | operator| (StateFlags lhs, StateFlags rhs)
StateFlags | operator& (StateFlags lhs, StateFlags rhs)
StateFlags | operator^ (StateFlags lhs, StateFlags rhs)
StateFlags | operator~ (StateFlags flags)
StateFlags& | operator|= (StateFlags& lhs, StateFlags rhs)
StateFlags& | operator&= (StateFlags& lhs, StateFlags rhs)
StateFlags& | operator^= (StateFlags& lhs, StateFlags rhs)
FileFilterFlags | operator| (FileFilterFlags lhs, FileFilterFlags rhs)
FileFilterFlags | operator& (FileFilterFlags lhs, FileFilterFlags rhs)
FileFilterFlags | operator^ (FileFilterFlags lhs, FileFilterFlags rhs)
FileFilterFlags | operator~ (FileFilterFlags flags)
FileFilterFlags& | operator|= (FileFilterFlags& lhs, FileFilterFlags rhs)
FileFilterFlags& | operator&= (FileFilterFlags& lhs, FileFilterFlags rhs)
FileFilterFlags& | operator^= (FileFilterFlags& lhs, FileFilterFlags rhs)
IconLookupFlags | operator| (IconLookupFlags lhs, IconLookupFlags rhs)
IconLookupFlags | operator& (IconLookupFlags lhs, IconLookupFlags rhs)
IconLookupFlags | operator^ (IconLookupFlags lhs, IconLookupFlags rhs)
IconLookupFlags | operator~ (IconLookupFlags flags)
IconLookupFlags& | operator|= (IconLookupFlags& lhs, IconLookupFlags rhs)
IconLookupFlags& | operator&= (IconLookupFlags& lhs, IconLookupFlags rhs)
IconLookupFlags& | operator^= (IconLookupFlags& lhs, IconLookupFlags rhs)
Glib::RefPtr< PageSetup > | run_page_setup_dialog (Window& parent, const Glib::RefPtr< const PageSetup >& page_setup, const Glib::RefPtr< const PrintSettings >& print_settings)
| Runs a page setup dialog, letting the user modify the values from page_setup.
Glib::RefPtr< PageSetup > | run_page_setup_dialog (Window& parent, const Glib::RefPtr< const PrintSettings >& print_settings)
| Runs a page setup dialog, letting the user modify the values from page_setup.
void | run_page_setup_dialog_async (Window& parent, const Glib::RefPtr< const PageSetup >& page_setup, const Glib::RefPtr< const PrintSettings >& print_settings, const SlotPrintSetupDone& slot)
| Runs a page setup dialog, letting the user modify the values from page_setup.
void | run_page_setup_dialog_async (Window& parent, const Glib::RefPtr< const PrintSettings >& print_settings, const SlotPrintSetupDone& slot)
| Runs a page setup dialog, letting the user modify the values from page_setup.
RecentFilterFlags | operator| (RecentFilterFlags lhs, RecentFilterFlags rhs)
RecentFilterFlags | operator& (RecentFilterFlags lhs, RecentFilterFlags rhs)
RecentFilterFlags | operator^ (RecentFilterFlags lhs, RecentFilterFlags rhs)
RecentFilterFlags | operator~ (RecentFilterFlags flags)
RecentFilterFlags& | operator|= (RecentFilterFlags& lhs, RecentFilterFlags rhs)
RecentFilterFlags& | operator&= (RecentFilterFlags& lhs, RecentFilterFlags rhs)
RecentFilterFlags& | operator^= (RecentFilterFlags& lhs, RecentFilterFlags rhs)
TextSearchFlags | operator| (TextSearchFlags lhs, TextSearchFlags rhs)
TextSearchFlags | operator& (TextSearchFlags lhs, TextSearchFlags rhs)
TextSearchFlags | operator^ (TextSearchFlags lhs, TextSearchFlags rhs)
TextSearchFlags | operator~ (TextSearchFlags flags)
TextSearchFlags& | operator|= (TextSearchFlags& lhs, TextSearchFlags rhs)
TextSearchFlags& | operator&= (TextSearchFlags& lhs, TextSearchFlags rhs)
TextSearchFlags& | operator^= (TextSearchFlags& lhs, TextSearchFlags rhs)
ToolPaletteDragTargets | operator| (ToolPaletteDragTargets lhs, ToolPaletteDragTargets rhs)
ToolPaletteDragTargets | operator& (ToolPaletteDragTargets lhs, ToolPaletteDragTargets rhs)
ToolPaletteDragTargets | operator^ (ToolPaletteDragTargets lhs, ToolPaletteDragTargets rhs)
ToolPaletteDragTargets | operator~ (ToolPaletteDragTargets flags)
ToolPaletteDragTargets& | operator|= (ToolPaletteDragTargets& lhs, ToolPaletteDragTargets rhs)
ToolPaletteDragTargets& | operator&= (ToolPaletteDragTargets& lhs, ToolPaletteDragTargets rhs)
ToolPaletteDragTargets& | operator^= (ToolPaletteDragTargets& lhs, ToolPaletteDragTargets rhs)
TreeModelFlags | operator| (TreeModelFlags lhs, TreeModelFlags rhs)
TreeModelFlags | operator& (TreeModelFlags lhs, TreeModelFlags rhs)
TreeModelFlags | operator^ (TreeModelFlags lhs, TreeModelFlags rhs)
TreeModelFlags | operator~ (TreeModelFlags flags)
TreeModelFlags& | operator|= (TreeModelFlags& lhs, TreeModelFlags rhs)
TreeModelFlags& | operator&= (TreeModelFlags& lhs, TreeModelFlags rhs)
TreeModelFlags& | operator^= (TreeModelFlags& lhs, TreeModelFlags rhs)
UIManagerItemType | operator| (UIManagerItemType lhs, UIManagerItemType rhs)
UIManagerItemType | operator& (UIManagerItemType lhs, UIManagerItemType rhs)
UIManagerItemType | operator^ (UIManagerItemType lhs, UIManagerItemType rhs)
UIManagerItemType | operator~ (UIManagerItemType flags)
UIManagerItemType& | operator|= (UIManagerItemType& lhs, UIManagerItemType rhs)
UIManagerItemType& | operator&= (UIManagerItemType& lhs, UIManagerItemType rhs)
UIManagerItemType& | operator^= (UIManagerItemType& lhs, UIManagerItemType rhs)
DestDefaults | operator| (DestDefaults lhs, DestDefaults rhs)
DestDefaults | operator& (DestDefaults lhs, DestDefaults rhs)
DestDefaults | operator^ (DestDefaults lhs, DestDefaults rhs)
DestDefaults | operator~ (DestDefaults flags)
DestDefaults& | operator|= (DestDefaults& lhs, DestDefaults rhs)
DestDefaults& | operator&= (DestDefaults& lhs, DestDefaults rhs)
DestDefaults& | operator^= (DestDefaults& lhs, DestDefaults rhs)
PrintCapabilities | operator| (PrintCapabilities lhs, PrintCapabilities rhs)
PrintCapabilities | operator& (PrintCapabilities lhs, PrintCapabilities rhs)
PrintCapabilities | operator^ (PrintCapabilities lhs, PrintCapabilities rhs)
PrintCapabilities | operator~ (PrintCapabilities flags)
PrintCapabilities& | operator|= (PrintCapabilities& lhs, PrintCapabilities rhs)
PrintCapabilities& | operator&= (PrintCapabilities& lhs, PrintCapabilities rhs)
PrintCapabilities& | operator^= (PrintCapabilities& lhs, PrintCapabilities rhs)
template<class T >
T* | manage (T* obj)
| Mark a Gtk::Object as owned by its parent container widget, so you don't need to delete it manually.

## Variables

const Glib::ustring | PAPER_NAME_A3 = "iso_a3"
| Common paper names, from PWG 5101.1-2002 PWG: Standard for Media Standardized Names.
const Glib::ustring | PAPER_NAME_A4 = "iso_a4"
const Glib::ustring | PAPER_NAME_A5 = "iso_a5"
const Glib::ustring | PAPER_NAME_B5 = "iso_b5"
const Glib::ustring | PAPER_NAME_LETTER = "na_letter"
const Glib::ustring | PAPER_NAME_EXECUTIVE = "na_executive"
const Glib::ustring | PAPER_NAME_LEGAL = "na_legal"

## Typedef Documentation

typedef Gdk::Rectangle Gtk::Allocation

typedef GtkRequisition Gtk::Requisition

typedef sigc::slot< void, const Glib::RefPtr<PageSetup>& > Gtk::SlotPrintSetupDone

For example, void on_setup_done(const Glib::RefPtr<PageSetup>& page_setup);.

## Enumeration Type Documentation

enum Gtk::ButtonBoxStyle

Enumerator:

  BUTTONBOX_SPREAD |
  BUTTONBOX_EDGE |
  BUTTONBOX_START |
  BUTTONBOX_END |
  BUTTONBOX_CENTER |

## Function Documentation

template <class T >

T* Gtk::manage | ( | T * | obj | ) |

Mark a Gtk::Object as owned by its parent container widget, so you don't need to delete it manually.

For instance,

     Gtk::Button* button = Gtk::manage( new Gtk::Button("Hello") );
     vbox.pack_start(*button); //vbox will delete button when vbox is deleted.

Parameters:

  obj | A Gtk::Object, such as a gtkmm widget.

Returns:
  The Gtk::Object passed as the obj parameter.

Glib::RefPtr<PageSetup> Gtk::run_page_setup_dialog | ( | Window & | parent,
|  | const Glib::RefPtr< const PrintSettings > & | print_settings
| ) |  |

Runs a page setup dialog, letting the user modify the values from page_setup.

If the user cancels the dialog, the returned PageSetup is identical to that passed in page_setup, otherwise it contains the modifications done in the dialog.

Note that this function may use a recursive mainloop to show the page setup dialog. See run_page_setup_dialog_async() if this is a problem.

Parameters:

  parent | Transient parent.
  settings | Print settings.

Returns:
  A new PageSetup object.

Since:
  2.22

Glib::RefPtr<PageSetup> Gtk::run_page_setup_dialog | ( | Window & | parent,
|  | const Glib::RefPtr< const PageSetup > & | page_setup,
|  | const Glib::RefPtr< const PrintSettings > & | print_settings
| ) |  |

Runs a page setup dialog, letting the user modify the values from page_setup.

If the user cancels the dialog, the returned PageSetup is identical to that passed in page_setup, otherwise it contains the modifications done in the dialog.

Note that this function may use a recursive mainloop to show the page setup dialog. See run_page_setup_dialog_async() if this is a problem.

Parameters:

  parent | Transient parent.
  page_setup | An existing GtkPageSetup.
  settings | Print settings.

Returns:
  A new PageSetup object.

Since:
  2.10

void Gtk::run_page_setup_dialog_async | ( | Window & | parent,
|  | const Glib::RefPtr< const PageSetup > & | page_setup,
|  | const Glib::RefPtr< const PrintSettings > & | print_settings,
|  | const SlotPrintSetupDone & | slot
| ) |  |

Runs a page setup dialog, letting the user modify the values from page_setup.

In contrast to run_page_setup_dialog(), this function returns after showing the page setup dialog on platforms that support this, and calls the slot from a signal handler for the ::response signal of the dialog.

Parameters:

  parent | Transient parent.
  page_setup | An existing GtkPageSetup.
  settings | Print settings.

Returns:
  A new PageSetup object.

Parameters:

  slot |

Since:
  2.10

void Gtk::run_page_setup_dialog_async | ( | Window & | parent,
|  | const Glib::RefPtr< const PrintSettings > & | print_settings,
|  | const SlotPrintSetupDone & | slot
| ) |  |

Runs a page setup dialog, letting the user modify the values from page_setup.

In contrast to run_page_setup_dialog(), this function returns after showing the page setup dialog on platforms that support this, and calls the slot from a signal handler for the ::response signal of the dialog.

Parameters:

  parent | Transient parent.
  page_setup | An existing GtkPageSetup.
  settings | Print settings.

Returns:
  A new PageSetup object.

Parameters:

  slot |

Since:
  2.22

## Variable Documentation

const Glib::ustring Gtk::PAPER_NAME_A3 = "iso_a3"

Common paper names, from PWG 5101.1-2002 PWG: Standard for Media Standardized Names.

const Glib::ustring Gtk::PAPER_NAME_A4 = "iso_a4"

const Glib::ustring Gtk::PAPER_NAME_A5 = "iso_a5"

const Glib::ustring Gtk::PAPER_NAME_B5 = "iso_b5"

const Glib::ustring Gtk::PAPER_NAME_EXECUTIVE = "na_executive"

const Glib::ustring Gtk::PAPER_NAME_LEGAL = "na_legal"

const Glib::ustring Gtk::PAPER_NAME_LETTER = "na_letter"