gtkmm  3.97.1
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
Gtk Namespace Reference

Namespaces

 AccelMap
 

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  AccelKey
 Defines accelerator key combinations. More...
 
class  AccelLabel
 A label which displays an accelerator key on the right of the text. More...
 
class  Actionable
 An interface for widgets that can be associated with actions. More...
 
class  ActionBar
 A full width bar for presenting contextual actions. More...
 
class  Adjustment
 A class representing an adjustable bounded value. More...
 
class  AppChooser
 Interface implemented by widgets for choosing an application. 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  Application
 The Gtk::Application class handles many important aspects of a GTK+ application in a convenient fashion, without enforcing a one-size-fits-all application model. More...
 
class  ApplicationWindow
 A Gtk::Window subclass with Gtk::Application support. 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  AssistantPage
 Holds properties of a Gtk::Assistant page. More...
 
class  Bin
 A container with just one child. More...
 
class  BinLayout
 A layout manager for bin-like widgets. More...
 
class  Border
 This specifies a border around a rectangular area that can be of a different width on each side. More...
 
class  Box
 A container for packing widgets in a single row or column. More...
 
class  BoxLayout
 Layout manager for placing all children in a single row or column. More...
 
class  Buildable
 A base class for objects that can be built by Gtk::Builder. More...
 
class  Builder
 Build an interface from an XML UI definition description. More...
 
class  BuilderError
 Exception class for Gdk::Builder errors. More...
 
class  Button
 A widget that creates a signal when clicked on. 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  CenterBox
 A centering container. More...
 
class  CenterLayout
 A centering layout. More...
 
class  CheckButton
 Create widgets with a discrete toggle button. More...
 
class  ColorButton
 A button to launch a color selection dialog. More...
 
class  ColorChooser
 This interface can be implemented by widgets which allow the user to choose a color. More...
 
class  ColorChooserDialog
 This dialog is for choosing 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  Constraint
 The description of a constraint. More...
 
class  ConstraintGuide
 An invisible constraint target. More...
 
class  ConstraintLayout
 A layout manager using constraints. More...
 
class  ConstraintTarget
 Helper interface for Gtk::Constraint. More...
 
class  ConstraintVflParserError
 
class  Container
 Abstract container class. More...
 
class  CssLocation
 Presents a location in a file - or other source of data parsed by the CSS engine. More...
 
class  CssParserError
 
class  CssParserWarning
 
class  CssProvider
 CSS-like styling for widgets, implementing the StyleProvider base class. More...
 
class  CssSection
 Defines a part of a CSS document. More...
 
class  Dialog
 Create popup windows. More...
 
class  DragSource
 Event controller to initiate DND operations. More...
 
class  DrawingArea
 A widget for custom user interface elements. More...
 
class  DropTarget
 Event controller to receive DND drops. More...
 
class  Editable
 Base class for text-editing widgets. More...
 
class  EmojiChooser
 A popover to choose an Emoji character. More...
 
class  Entry
 A single line text entry field. More...
 
class  EntryBuffer
 A Text buffer for the Entry widget. More...
 
class  EntryCompletion
 Completion functionality for Gtk::Entry. More...
 
class  EventController
 Self-contained handler of series of events. More...
 
class  EventControllerKey
 Event controller for key press and key release events. More...
 
class  EventControllerMotion
 Event controller for motion events. More...
 
class  EventControllerScroll
 Event controller for scroll events. More...
 
class  Expander
 A container which can hide its child. 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  FileChooserError
 Exception class for Gdk::FileChooser errors. More...
 
class  FileChooserNative
 A native file chooser dialog, suitable for “File/Open” or “File/Save” commands. 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  FlowBox
 A container that allows reflowing its children. More...
 
class  FlowBoxChild
 See the description of FlowBox. More...
 
class  FontButton
 A button to launch a font selection dialog. More...
 
class  FontChooser
 An interface implemented by widgets displaying fonts. More...
 
class  FontChooserDialog
 A dialog box for selecting fonts. More...
 
class  FontChooserWidget
 A dialog box for selecting fonts. More...
 
class  Frame
 A Gtk::Bin with a decorative frame and optional label. More...
 
class  Gesture
 Abstract base class for gestures. More...
 
class  GestureClick
 Multipress gesture. More...
 
class  GestureDrag
 Drag gesture. More...
 
class  GestureLongPress
 "Press and Hold" gesture. More...
 
class  GesturePan
 Pan gesture. More...
 
class  GestureRotate
 Rotate gesture. More...
 
class  GestureSingle
 Abstract base class for mouse/single-touch gestures. More...
 
class  GestureStylus
 Gesture for stylus input. More...
 
class  GestureSwipe
 Swipe gesture. More...
 
class  GestureZoom
 Zoom gesture. More...
 
class  GLArea
 A widget used for drawing with OpenGL. More...
 
class  Grid
 A container which arranges its child widgets in rows and columns. More...
 
class  GridLayout
 Layout manager for grid-like widgets. More...
 
class  GridLayoutChild
 Layout properties for children of Gtk::GridLayout. More...
 
class  HeaderBar
 A box with a centered child. More...
 
class  IconPaintable
 An icon, used with Gtk::IconTheme. More...
 
class  IconTheme
 Looking up icons by name. More...
 
class  IconThemeError
 Exception class for Gtk::IconTheme errors. More...
 
class  IconView
 The IconView provides an alternative view of a list model. More...
 
class  Image
 A widget displaying an image. More...
 
class  InfoBar
 This widget that can be used to show messages to the user without showing a dialog. More...
 
class  Label
 A widget that displays a small to medium amount of text. More...
 
class  LayoutChild
 An object containing layout properties. More...
 
class  LayoutManager
 Base class for layout manager. More...
 
class  LevelBar
 A bar that can be used as a level indicator. More...
 
class  LinkButton
 Create buttons bound to a URL. More...
 
class  ListBox
 A ListBox is a vertical container that contains ListBoxRow children. More...
 
class  ListBoxRow
 See the description of ListBox. More...
 
class  ListStore
 Thist is a list model for use with a Gtk::TreeView widget. More...
 
class  ListViewText
 A simple listbox which presents some lines of information in columns and lets the user select some of them. More...
 
class  LockButton
 A widget to unlock or lock privileged operations. More...
 
class  Main
 Main application class. More...
 
class  MediaControls
 A widget showing controls for a media stream. More...
 
class  MediaFile
 Open media files for use in GTK. More...
 
class  MediaStream
 Display media in GTK. More...
 
class  MenuButton
 A widget that shows a menu when clicked on. More...
 
class  MessageDialog
 Convenient message window. More...
 
class  Native
 Interface for widgets having surfaces. More...
 
class  NativeDialog
 Integrate with native dialogs. More...
 
class  NoSelection
 A selection model that does not allow selecting anything. More...
 
class  Notebook
 Container which shows one of its children at a time, in tabbed windows. More...
 
class  NotebookPage
 Holds properties of a Gtk::Notebook page. More...
 
class  Object
 Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::CellRenderer. More...
 
class  Orientable
 This interface is implemented by all widgets that can be oriented horizontally or vertically. More...
 
class  Overlay
 A container which overlays widgets on top of each other. More...
 
class  PadActionEntry
 Class defining a pad action entry. More...
 
class  PadController
 Event controller for drawing tablet pads. More...
 
class  PageRange
 A page range. More...
 
class  PageSetup
 A PageSetup object stores the page size, orientation and margins. More...
 
class  PageSetupUnixDialog
 PageSetupUnixDialog implements a page setup dialog for platforms which don't provide a native page setup dialog, like Unix. More...
 
class  Paned
 A widget with two adjustable panes. More...
 
class  PaperSize
 PaperSize handles paper sizes. More...
 
class  PasswordEntry
 An entry for secrets. More...
 
class  Picture
 A widget displaying a Gdk::Paintable. More...
 
class  Popover
 Context dependent bubbles. More...
 
class  PopoverMenu
 A Popover to use as a menu. More...
 
class  PopoverMenuBar
 A menu bar with popovers. 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  Printer
 A Printer object represents a printer. More...
 
class  PrintError
 
class  PrintJob
 A PrintJob object represents a job that is sent to a printer. More...
 
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  PrintUnixDialog
 PrintUnixDialog implements a print dialog for platforms which don't provide a native print dialog, like Unix. More...
 
class  ProgressBar
 A widget which indicates progress visually. More...
 
class  RadioButton
 A choice from multiple check buttons. More...
 
class  RadioButtonGroup
 RadioButtonGroup, identifier for RadioButtons. More...
 
class  Range
 Base class for widgets which visualize an adjustment. More...
 
class  RecentInfo
 Contains information found when looking up an entry of the recently used files list. More...
 
class  RecentManager
 RecentManager provides a facility for adding, removing and looking up recently used files. More...
 
class  RecentManagerError
 Exception class for Gtk::RecentManager errors. More...
 
class  ResponseType_Wrapper
 Wrapper for enum ResponseType. More...
 
class  Revealer
 Hide and show with animation. More...
 
class  Root
 Interface for root widgets. 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  SearchBar
 A toolbar to integrate a search entry with. More...
 
class  SearchEntry
 This is a subclass of Gtk::Entry that has been tailored for use as a search entry. More...
 
class  SelectionData
 Functions for handling inter-process communication via selections. More...
 
class  SelectionModel
 An extension of the list model interface that handles selections. More...
 
class  Separator
 A separator widget. More...
 
class  Settings
 Sharing settings between applications. More...
 
class  ShortcutLabel
 Displays a keyboard shortcut. More...
 
class  ShortcutsGroup
 Represents a group of shortcuts in a ShortcutsWindow. More...
 
class  ShortcutsSection
 Represents an application mode in a ShortcutsWindow. More...
 
class  ShortcutsShortcut
 Represents a keyboard shortcut in a ShortcutsWindow. More...
 
class  ShortcutsWindow
 Toplevel which shows help for shortcuts. More...
 
class  SingleSelection
 A selection model that allows selecting a single item. 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  Snapshot
 Auxiliary object for snapshots. More...
 
class  SpinButton
 Numeric Entry with up/down buttons. More...
 
class  Spinner
 A widget that displays a spinner animation. More...
 
class  Stack
 A container that shows only one child at a time. More...
 
class  StackPage
 Holds properties of a Gtk::Stack page. More...
 
class  StackSidebar
 Sidebar widget that shows the pages of a Stack. More...
 
class  StackSwitcher
 A controller for a Gtk::Stack. More...
 
class  Statusbar
 Text status indicator This widget is used to display status information. More...
 
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  Text
 A simple single-line text entry field. More...
 
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  TextConstIter
 Typedefed as Gtk::TextBuffer::const_iterator. More...
 
class  TextIter
 Typedefed as Gtk::TextBuffer::iterator. More...
 
class  TextIterBase
 Common base class of TextIter and TextConstIter. 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  ToggleButton
 A Gtk::ToggleButton will remain 'pressed-in' when clicked. More...
 
class  Tooltip
 Add tips to your widgets. More...
 
class  TreeConstRow
 Typedefed as TreeModel::ConstRow. More...
 
class  TreeDragDest
 
class  TreeDragSource
 
class  TreeIter
 Typedefed as TreeModel::iterator and TreeModel::const_iterator. More...
 
class  TreeIterBase
 Base of TreeIter, TreeRow and TreeNodeChildren. More...
 
class  TreeIterBase2
 Base of TreeIter, TreeRow and TreeNodeChildren. More...
 
class  TreeIterBase3
 Base of TreeIter. More...
 
class  TreeModel
 This class defines a generic tree interface for use by the Gtk::TreeView widget. 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...
 
class  TreeModelColumnBase
 Base class of TreeModelColumn templates. More...
 
class  TreeModelColumnRecord
 Typedefed as TreeModel::ColumnRecord. More...
 
class  TreeModelFilter
 
class  TreeModelSort
 A wrapper which makes an underlying Gtk::TreeModel sortable. More...
 
class  TreeNodeChildren
 Typedefed as TreeModel::Children. More...
 
class  TreeNodeConstChildren
 Typedefed as TreeModel::ConstChildren. More...
 
class  TreePath
 A path is essentially a potential node. More...
 
class  TreeRow
 Typedefed as TreeModel::Row. More...
 
class  TreeRowReference
 Typedefed as Gtk::TreeModel::RowReference. More...
 
class  TreeSelection
 Typedefed as Gtk::TreeView::Selection. More...
 
class  TreeSortable
 
class  TreeStore
 
class  TreeValueProxy
 
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  Video
 A widget for displaying video. 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  WidgetPaintable
 Drawing a widget elsewhere. More...
 
class  Window
 Toplevel Window. More...
 
class  WindowGroup
 Limit the effect of grabs. More...
 

Typedefs

using ResponseType = ResponseType_Wrapper::ResponseType
 ResponseType enumerators are scoped by the wrapper class and can be implicitly converted to int. More...
 
typedef sigc::slot< void(const Glib::RefPtr< PageSetup >&)> SlotPrintSetupDone
 For example, void on_setup_done(const Glib::RefPtr<PageSetup>& page_setup);. More...
 
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,
  License::GPL_2_0_ONLY,
  License::GPL_3_0_ONLY,
  License::LGPL_2_1_ONLY,
  License::LGPL_3_0_ONLY,
  License::AGPL_3_0,
  License::AGPL_3_0_ONLY
}
 
enum  CellRendererState {
  CellRendererState::SELECTED = 1 << 0,
  CellRendererState::PRELIT = 1 << 1,
  CellRendererState::INSENSITIVE = 1 << 2,
  CellRendererState::SORTED = 1 << 3,
  CellRendererState::FOCUSED = 1 << 4,
  CellRendererState::EXPANDABLE = 1 << 5,
  CellRendererState::EXPANDED = 1 << 6
}
 
enum  CellRendererMode {
  CellRendererMode::INERT,
  CellRendererMode::ACTIVATABLE,
  CellRendererMode::EDITABLE
}
 
enum  AccelFlags {
  AccelFlags::VISIBLE = 1 << 0,
  AccelFlags::LOCKED = 1 << 1,
  AccelFlags::MASK = 0x07
}
 
enum  Align {
  Align::FILL,
  Align::START,
  Align::END,
  Align::CENTER,
  Align::BASELINE
}
 
enum  ArrowType {
  ArrowType::UP,
  ArrowType::DOWN,
  ArrowType::LEFT,
  ArrowType::RIGHT,
  ArrowType::NONE
}
 
enum  DeleteType {
  DeleteType::CHARS,
  DeleteType::WORD_ENDS,
  DeleteType::WORDS,
  DeleteType::DISPLAY_LINES,
  DeleteType::DISPLAY_LINE_ENDS,
  DeleteType::PARAGRAPH_ENDS,
  DeleteType::PARAGRAPHS,
  DeleteType::WHITESPACE
}
 
enum  DirectionType {
  DirectionType::TAB_FORWARD,
  DirectionType::TAB_BACKWARD,
  DirectionType::UP,
  DirectionType::DOWN,
  DirectionType::LEFT,
  DirectionType::RIGHT
}
 
enum  IconSize {
  IconSize::INHERIT,
  IconSize::NORMAL,
  IconSize::LARGE
}
 
enum  TextDirection {
  TextDirection::NONE,
  TextDirection::LTR,
  TextDirection::RTL
}
 
enum  Justification {
  Justification::LEFT,
  Justification::RIGHT,
  Justification::CENTER,
  Justification::FILL
}
 
enum  MenuDirectionType {
  MenuDirectionType::PARENT,
  MenuDirectionType::CHILD,
  MenuDirectionType::NEXT,
  MenuDirectionType::PREV
}
 
enum  MessageType {
  MessageType::INFO,
  MessageType::WARNING,
  MessageType::QUESTION,
  MessageType::ERROR,
  MessageType::OTHER
}
 
enum  MovementStep {
  MovementStep::LOGICAL_POSITIONS,
  MovementStep::VISUAL_POSITIONS,
  MovementStep::WORDS,
  MovementStep::DISPLAY_LINES,
  MovementStep::DISPLAY_LINE_ENDS,
  MovementStep::PARAGRAPHS,
  MovementStep::PARAGRAPH_ENDS,
  MovementStep::PAGES,
  MovementStep::BUFFER_ENDS,
  MovementStep::HORIZONTAL_PAGES
}
 
enum  Orientation {
  Orientation::HORIZONTAL,
  Orientation::VERTICAL
}
 
enum  Overflow {
  Overflow::VISIBLE,
  Overflow::HIDDEN
}
 
enum  CornerType {
  CornerType::TOP_LEFT,
  CornerType::BOTTOM_LEFT,
  CornerType::TOP_RIGHT,
  CornerType::BOTTOM_RIGHT
}
 
enum  PackType {
  PackType::START,
  PackType::END
}
 
enum  PickFlags {
  PickFlags::DEFAULT = 0x0,
  PickFlags::INSENSITIVE = 1 << 0,
  PickFlags::NON_TARGETABLE = 1 << 1
}
 
enum  PlacesOpenFlags {
  PlacesOpenFlags::NORMAL = 1 << 0,
  PlacesOpenFlags::NEW_TAB = 1 << 1,
  PlacesOpenFlags::NEW_WINDOW = 1 << 2
}
 
enum  PolicyType {
  PolicyType::ALWAYS,
  PolicyType::AUTOMATIC,
  PolicyType::NEVER,
  PolicyType::EXTERNAL
}
 
enum  PositionType {
  PositionType::LEFT,
  PositionType::RIGHT,
  PositionType::TOP,
  PositionType::BOTTOM
}
 
enum  ReliefStyle {
  ReliefStyle::NORMAL,
  ReliefStyle::NONE
}
 
enum  RevealerTransitionType {
  RevealerTransitionType::NONE,
  RevealerTransitionType::CROSSFADE,
  RevealerTransitionType::SLIDE_RIGHT,
  RevealerTransitionType::SLIDE_LEFT,
  RevealerTransitionType::SLIDE_UP,
  RevealerTransitionType::SLIDE_DOWN,
  RevealerTransitionType::SWING_RIGHT,
  RevealerTransitionType::SWING_LEFT,
  RevealerTransitionType::SWING_UP,
  RevealerTransitionType::SWING_DOWN
}
 
enum  ScrollType {
  ScrollType::NONE,
  ScrollType::JUMP,
  ScrollType::STEP_BACKWARD,
  ScrollType::STEP_FORWARD,
  ScrollType::PAGE_BACKWARD,
  ScrollType::PAGE_FORWARD,
  ScrollType::STEP_UP,
  ScrollType::STEP_DOWN,
  ScrollType::PAGE_UP,
  ScrollType::PAGE_DOWN,
  ScrollType::STEP_LEFT,
  ScrollType::STEP_RIGHT,
  ScrollType::PAGE_LEFT,
  ScrollType::PAGE_RIGHT,
  ScrollType::START,
  ScrollType::END
}
 
enum  SelectionMode {
  SelectionMode::NONE,
  SelectionMode::SINGLE,
  SelectionMode::BROWSE,
  SelectionMode::MULTIPLE
}
 
enum  ShadowType {
  ShadowType::NONE,
  ShadowType::IN,
  ShadowType::OUT,
  ShadowType::ETCHED_IN,
  ShadowType::ETCHED_OUT
}
 
enum  StackTransitionType {
  StackTransitionType::NONE,
  StackTransitionType::CROSSFADE,
  StackTransitionType::SLIDE_RIGHT,
  StackTransitionType::SLIDE_LEFT,
  StackTransitionType::SLIDE_UP,
  StackTransitionType::SLIDE_DOWN,
  StackTransitionType::SLIDE_LEFT_RIGHT,
  StackTransitionType::SLIDE_UP_DOWN,
  StackTransitionType::OVER_UP,
  StackTransitionType::OVER_DOWN,
  StackTransitionType::OVER_LEFT,
  StackTransitionType::OVER_RIGHT,
  StackTransitionType::UNDER_UP,
  StackTransitionType::UNDER_DOWN,
  StackTransitionType::UNDER_LEFT,
  StackTransitionType::UNDER_RIGHT,
  StackTransitionType::OVER_UP_DOWN,
  StackTransitionType::OVER_DOWN_UP,
  StackTransitionType::OVER_LEFT_RIGHT,
  StackTransitionType::OVER_RIGHT_LEFT,
  StackTransitionType::ROTATE_LEFT,
  StackTransitionType::ROTATE_RIGHT,
  StackTransitionType::ROTATE_LEFT_RIGHT
}
 
enum  WindowType {
  WindowType::TOPLEVEL,
  WindowType::POPUP
}
 
enum  WrapMode {
  WrapMode::NONE,
  WrapMode::CHAR,
  WrapMode::WORD,
  WrapMode::WORD_CHAR
}
 
enum  SortType {
  SortType::ASCENDING,
  SortType::DESCENDING
}
 
enum  PageOrientation {
  PageOrientation::PORTRAIT,
  PageOrientation::LANDSCAPE,
  PageOrientation::REVERSE_PORTRAIT,
  PageOrientation::REVERSE_LANDSCAPE
}
 
enum  SensitivityType {
  SensitivityType::AUTO,
  SensitivityType::ON,
  SensitivityType::OFF
}
 
enum  SizeRequestMode {
  SizeRequestMode::HEIGHT_FOR_WIDTH,
  SizeRequestMode::WIDTH_FOR_HEIGHT,
  SizeRequestMode::CONSTANT_SIZE
}
 
enum  StateFlags {
  StateFlags::NORMAL = 0x0,
  StateFlags::ACTIVE = 1 << 0,
  StateFlags::PRELIGHT = 1 << 1,
  StateFlags::SELECTED = 1 << 2,
  StateFlags::INSENSITIVE = 1 << 3,
  StateFlags::INCONSISTENT = 1 << 4,
  StateFlags::FOCUSED = 1 << 5,
  StateFlags::BACKDROP = 1 << 6,
  StateFlags::DIR_LTR = 1 << 7,
  StateFlags::DIR_RTL = 1 << 8,
  StateFlags::LINK = 1 << 9,
  StateFlags::VISITED = 1 << 10,
  StateFlags::CHECKED = 1 << 11,
  StateFlags::DROP_ACTIVE = 1 << 12,
  StateFlags::FOCUS_VISIBLE = 1 << 13
}
 
enum  InputPurpose {
  InputPurpose::FREE_FORM,
  InputPurpose::ALPHA,
  InputPurpose::DIGITS,
  InputPurpose::NUMBER,
  InputPurpose::PHONE,
  InputPurpose::URL,
  InputPurpose::EMAIL,
  InputPurpose::NAME,
  InputPurpose::PASSWORD,
  InputPurpose::PIN,
  InputPurpose::TERMINAL
}
 
enum  InputHints {
  InputHints::NONE = 0x0,
  InputHints::SPELLCHECK = 1 << 0,
  InputHints::NO_SPELLCHECK = 1 << 1,
  InputHints::WORD_COMPLETION = 1 << 2,
  InputHints::LOWERCASE = 1 << 3,
  InputHints::UPPERCASE_CHARS = 1 << 4,
  InputHints::UPPERCASE_WORDS = 1 << 5,
  InputHints::UPPERCASE_SENTENCES = 1 << 6,
  InputHints::INHIBIT_OSK = 1 << 7,
  InputHints::VERTICAL_WRITING = 1 << 8,
  InputHints::EMOJI = 1 << 9,
  InputHints::NO_EMOJI = 1 << 10
}
 
enum  BaselinePosition {
  BaselinePosition::TOP,
  BaselinePosition::CENTER,
  BaselinePosition::BOTTOM
}
 
enum  PropagationPhase {
  PropagationPhase::NONE,
  PropagationPhase::CAPTURE,
  PropagationPhase::BUBBLE,
  PropagationPhase::TARGET
}
 
enum  PropagationLimit {
  PropagationLimit::NONE,
  PropagationLimit::SAME_NATIVE
}
 
enum  EventSequenceState {
  EventSequenceState::NONE,
  EventSequenceState::CLAIMED,
  EventSequenceState::DENIED
}
 
enum  PanDirection {
  PanDirection::LEFT,
  PanDirection::RIGHT,
  PanDirection::UP,
  PanDirection::DOWN
}
 
enum  IconLookupFlags {
  IconLookupFlags::FORCE_REGULAR = 1 << 0,
  IconLookupFlags::FORCE_SYMBOLIC = 1 << 1,
  IconLookupFlags::PRELOAD = 1 << 2
}
 
enum  ButtonsType {
  ButtonsType::NONE,
  ButtonsType::OK,
  ButtonsType::CLOSE,
  ButtonsType::CANCEL,
  ButtonsType::YES_NO,
  ButtonsType::OK_CANCEL
}
 
enum  PadActionType {
  PadActionType::BUTTON,
  PadActionType::RING,
  PadActionType::STRIP
}
 
enum  Unit {
  Unit::NONE,
  Unit::POINTS,
  Unit::INCH,
  Unit::MM
}
 
enum  PrintStatus {
  PrintStatus::INITIAL,
  PrintStatus::PREPARING,
  PrintStatus::GENERATING_DATA,
  PrintStatus::SENDING_DATA,
  PrintStatus::PENDING,
  PrintStatus::PENDING_ISSUE,
  PrintStatus::PRINTING,
  PrintStatus::FINISHED,
  PrintStatus::FINISHED_ABORTED
}
 
enum  PrintDuplex {
  PrintDuplex::SIMPLEX,
  PrintDuplex::HORIZONTAL,
  PrintDuplex::VERTICAL
}
 
enum  PrintQuality {
  PrintQuality::LOW,
  PrintQuality::NORMAL,
  PrintQuality::HIGH,
  PrintQuality::DRAFT
}
 
enum  PrintPages {
  PrintPages::ALL,
  PrintPages::CURRENT,
  PrintPages::RANGES,
  PrintPages::SELECTION
}
 
enum  PageSet {
  PageSet::ALL,
  PageSet::EVEN,
  PageSet::ODD
}
 
enum  NumberUpLayout {
  NumberUpLayout::LEFT_TO_RIGHT_TOP_TO_BOTTOM,
  NumberUpLayout::LEFT_TO_RIGHT_BOTTOM_TO_TOP,
  NumberUpLayout::RIGHT_TO_LEFT_TOP_TO_BOTTOM,
  NumberUpLayout::RIGHT_TO_LEFT_BOTTOM_TO_TOP,
  NumberUpLayout::TOP_TO_BOTTOM_LEFT_TO_RIGHT,
  NumberUpLayout::TOP_TO_BOTTOM_RIGHT_TO_LEFT,
  NumberUpLayout::BOTTOM_TO_TOP_LEFT_TO_RIGHT,
  NumberUpLayout::BOTTOM_TO_TOP_RIGHT_TO_LEFT
}
 
enum  ShortcutType {
  ShortcutType::ACCELERATOR,
  ShortcutType::GESTURE_PINCH,
  ShortcutType::GESTURE_STRETCH,
  ShortcutType::GESTURE_ROTATE_CLOCKWISE,
  ShortcutType::GESTURE_ROTATE_COUNTERCLOCKWISE,
  ShortcutType::GESTURE_TWO_FINGER_SWIPE_LEFT,
  ShortcutType::GESTURE_TWO_FINGER_SWIPE_RIGHT,
  ShortcutType::GESTURE,
  ShortcutType::GESTURE_SWIPE_LEFT,
  ShortcutType::GESTURE_SWIPE_RIGHT
}
 
enum  SpinType {
  SpinType::STEP_FORWARD,
  SpinType::STEP_BACKWARD,
  SpinType::PAGE_FORWARD,
  SpinType::PAGE_BACKWARD,
  SpinType::HOME,
  SpinType::END,
  SpinType::USER_DEFINED
}
 
enum  TextSearchFlags {
  TextSearchFlags::VISIBLE_ONLY = 1 << 0,
  TextSearchFlags::TEXT_ONLY = 1 << 1,
  TextSearchFlags::CASE_INSENSITIVE = 1 << 2
}
 
enum  TextWindowType {
  TextWindowType::WIDGET = 1,
  TextWindowType::TEXT,
  TextWindowType::LEFT,
  TextWindowType::RIGHT,
  TextWindowType::TOP,
  TextWindowType::BOTTOM
}
 
enum  PrintCapabilities {
  PrintCapabilities::PAGE_SET = 1 << 0,
  PrintCapabilities::COPIES = 1 << 1,
  PrintCapabilities::COLLATE = 1 << 2,
  PrintCapabilities::REVERSE = 1 << 3,
  PrintCapabilities::SCALE = 1 << 4,
  PrintCapabilities::GENERATE_PDF = 1 << 5,
  PrintCapabilities::GENERATE_PS = 1 << 6,
  PrintCapabilities::PREVIEW = 1 << 7,
  PrintCapabilities::NUMBER_UP = 1 << 8,
  PrintCapabilities::NUMBER_UP_LAYOUT = 1 << 9
}
 

Functions

Application::InhibitFlags operator| (Application::InhibitFlags lhs, Application::InhibitFlags rhs)
 
Application::InhibitFlags operator& (Application::InhibitFlags lhs, Application::InhibitFlags rhs)
 
Application::InhibitFlags operator^ (Application::InhibitFlags lhs, Application::InhibitFlags rhs)
 
Application::InhibitFlags operator~ (Application::InhibitFlags flags)
 
Application::InhibitFlagsoperator|= (Application::InhibitFlags& lhs, Application::InhibitFlags rhs)
 
Application::InhibitFlagsoperator&= (Application::InhibitFlags& lhs, Application::InhibitFlags rhs)
 
Application::InhibitFlagsoperator^= (Application::InhibitFlags& lhs, Application::InhibitFlags rhs)
 
CellRendererState operator| (CellRendererState lhs, CellRendererState rhs)
 
CellRendererState operator& (CellRendererState lhs, CellRendererState rhs)
 
CellRendererState operator^ (CellRendererState lhs, CellRendererState rhs)
 
CellRendererState operator~ (CellRendererState flags)
 
CellRendererStateoperator|= (CellRendererState& lhs, CellRendererState rhs)
 
CellRendererStateoperator&= (CellRendererState& lhs, CellRendererState rhs)
 
CellRendererStateoperator^= (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)
 
AccelFlagsoperator|= (AccelFlags& lhs, AccelFlags rhs)
 
AccelFlagsoperator&= (AccelFlags& lhs, AccelFlags rhs)
 
AccelFlagsoperator^= (AccelFlags& lhs, AccelFlags rhs)
 
PickFlags operator| (PickFlags lhs, PickFlags rhs)
 
PickFlags operator& (PickFlags lhs, PickFlags rhs)
 
PickFlags operator^ (PickFlags lhs, PickFlags rhs)
 
PickFlags operator~ (PickFlags flags)
 
PickFlagsoperator|= (PickFlags& lhs, PickFlags rhs)
 
PickFlagsoperator&= (PickFlags& lhs, PickFlags rhs)
 
PickFlagsoperator^= (PickFlags& lhs, PickFlags rhs)
 
PlacesOpenFlags operator| (PlacesOpenFlags lhs, PlacesOpenFlags rhs)
 
PlacesOpenFlags operator& (PlacesOpenFlags lhs, PlacesOpenFlags rhs)
 
PlacesOpenFlags operator^ (PlacesOpenFlags lhs, PlacesOpenFlags rhs)
 
PlacesOpenFlags operator~ (PlacesOpenFlags flags)
 
PlacesOpenFlagsoperator|= (PlacesOpenFlags& lhs, PlacesOpenFlags rhs)
 
PlacesOpenFlagsoperator&= (PlacesOpenFlags& lhs, PlacesOpenFlags rhs)
 
PlacesOpenFlagsoperator^= (PlacesOpenFlags& lhs, PlacesOpenFlags rhs)
 
StateFlags operator| (StateFlags lhs, StateFlags rhs)
 
StateFlags operator& (StateFlags lhs, StateFlags rhs)
 
StateFlags operator^ (StateFlags lhs, StateFlags rhs)
 
StateFlags operator~ (StateFlags flags)
 
StateFlagsoperator|= (StateFlags& lhs, StateFlags rhs)
 
StateFlagsoperator&= (StateFlags& lhs, StateFlags rhs)
 
StateFlagsoperator^= (StateFlags& lhs, StateFlags rhs)
 
InputHints operator| (InputHints lhs, InputHints rhs)
 
InputHints operator& (InputHints lhs, InputHints rhs)
 
InputHints operator^ (InputHints lhs, InputHints rhs)
 
InputHints operator~ (InputHints flags)
 
InputHintsoperator|= (InputHints& lhs, InputHints rhs)
 
InputHintsoperator&= (InputHints& lhs, InputHints rhs)
 
InputHintsoperator^= (InputHints& lhs, InputHints rhs)
 
EventControllerScroll::Flags operator| (EventControllerScroll::Flags lhs, EventControllerScroll::Flags rhs)
 
EventControllerScroll::Flags operator& (EventControllerScroll::Flags lhs, EventControllerScroll::Flags rhs)
 
EventControllerScroll::Flags operator^ (EventControllerScroll::Flags lhs, EventControllerScroll::Flags rhs)
 
EventControllerScroll::Flags operator~ (EventControllerScroll::Flags flags)
 
EventControllerScroll::Flagsoperator|= (EventControllerScroll::Flags& lhs, EventControllerScroll::Flags rhs)
 
EventControllerScroll::Flagsoperator&= (EventControllerScroll::Flags& lhs, EventControllerScroll::Flags rhs)
 
EventControllerScroll::Flagsoperator^= (EventControllerScroll::Flags& lhs, EventControllerScroll::Flags rhs)
 
FileFilter::Flags operator| (FileFilter::Flags lhs, FileFilter::Flags rhs)
 
FileFilter::Flags operator& (FileFilter::Flags lhs, FileFilter::Flags rhs)
 
FileFilter::Flags operator^ (FileFilter::Flags lhs, FileFilter::Flags rhs)
 
FileFilter::Flags operator~ (FileFilter::Flags flags)
 
FileFilter::Flagsoperator|= (FileFilter::Flags& lhs, FileFilter::Flags rhs)
 
FileFilter::Flagsoperator&= (FileFilter::Flags& lhs, FileFilter::Flags rhs)
 
FileFilter::Flagsoperator^= (FileFilter::Flags& lhs, FileFilter::Flags rhs)
 
FontChooser::Level operator| (FontChooser::Level lhs, FontChooser::Level rhs)
 
FontChooser::Level operator& (FontChooser::Level lhs, FontChooser::Level rhs)
 
FontChooser::Level operator^ (FontChooser::Level lhs, FontChooser::Level rhs)
 
FontChooser::Level operator~ (FontChooser::Level flags)
 
FontChooser::Leveloperator|= (FontChooser::Level& lhs, FontChooser::Level rhs)
 
FontChooser::Leveloperator&= (FontChooser::Level& lhs, FontChooser::Level rhs)
 
FontChooser::Leveloperator^= (FontChooser::Level& lhs, FontChooser::Level rhs)
 
IconLookupFlags operator| (IconLookupFlags lhs, IconLookupFlags rhs)
 
IconLookupFlags operator& (IconLookupFlags lhs, IconLookupFlags rhs)
 
IconLookupFlags operator^ (IconLookupFlags lhs, IconLookupFlags rhs)
 
IconLookupFlags operator~ (IconLookupFlags flags)
 
IconLookupFlagsoperator|= (IconLookupFlags& lhs, IconLookupFlags rhs)
 
IconLookupFlagsoperator&= (IconLookupFlags& lhs, IconLookupFlags rhs)
 
IconLookupFlagsoperator^= (IconLookupFlags& lhs, IconLookupFlags rhs)
 
PopoverMenu::Flags operator| (PopoverMenu::Flags lhs, PopoverMenu::Flags rhs)
 
PopoverMenu::Flags operator& (PopoverMenu::Flags lhs, PopoverMenu::Flags rhs)
 
PopoverMenu::Flags operator^ (PopoverMenu::Flags lhs, PopoverMenu::Flags rhs)
 
PopoverMenu::Flags operator~ (PopoverMenu::Flags flags)
 
PopoverMenu::Flagsoperator|= (PopoverMenu::Flags& lhs, PopoverMenu::Flags rhs)
 
PopoverMenu::Flagsoperator&= (PopoverMenu::Flags& lhs, PopoverMenu::Flags rhs)
 
PopoverMenu::Flagsoperator^= (PopoverMenu::Flags& lhs, PopoverMenu::Flags rhs)
 
Glib::RefPtr< PageSetuprun_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. More...
 
Glib::RefPtr< PageSetuprun_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. More...
 
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. More...
 
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. More...
 
StyleContext::PrintFlags operator| (StyleContext::PrintFlags lhs, StyleContext::PrintFlags rhs)
 
StyleContext::PrintFlags operator& (StyleContext::PrintFlags lhs, StyleContext::PrintFlags rhs)
 
StyleContext::PrintFlags operator^ (StyleContext::PrintFlags lhs, StyleContext::PrintFlags rhs)
 
StyleContext::PrintFlags operator~ (StyleContext::PrintFlags flags)
 
StyleContext::PrintFlagsoperator|= (StyleContext::PrintFlags& lhs, StyleContext::PrintFlags rhs)
 
StyleContext::PrintFlagsoperator&= (StyleContext::PrintFlags& lhs, StyleContext::PrintFlags rhs)
 
StyleContext::PrintFlagsoperator^= (StyleContext::PrintFlags& lhs, StyleContext::PrintFlags rhs)
 
TextSearchFlags operator| (TextSearchFlags lhs, TextSearchFlags rhs)
 
TextSearchFlags operator& (TextSearchFlags lhs, TextSearchFlags rhs)
 
TextSearchFlags operator^ (TextSearchFlags lhs, TextSearchFlags rhs)
 
TextSearchFlags operator~ (TextSearchFlags flags)
 
TextSearchFlagsoperator|= (TextSearchFlags& lhs, TextSearchFlags rhs)
 
TextSearchFlagsoperator&= (TextSearchFlags& lhs, TextSearchFlags rhs)
 
TextSearchFlagsoperator^= (TextSearchFlags& lhs, TextSearchFlags rhs)
 
TreeModel::Flags operator| (TreeModel::Flags lhs, TreeModel::Flags rhs)
 
TreeModel::Flags operator& (TreeModel::Flags lhs, TreeModel::Flags rhs)
 
TreeModel::Flags operator^ (TreeModel::Flags lhs, TreeModel::Flags rhs)
 
TreeModel::Flags operator~ (TreeModel::Flags flags)
 
TreeModel::Flagsoperator|= (TreeModel::Flags& lhs, TreeModel::Flags rhs)
 
TreeModel::Flagsoperator&= (TreeModel::Flags& lhs, TreeModel::Flags rhs)
 
TreeModel::Flagsoperator^= (TreeModel::Flags& lhs, TreeModel::Flags rhs)
 
PrintCapabilities operator| (PrintCapabilities lhs, PrintCapabilities rhs)
 
PrintCapabilities operator& (PrintCapabilities lhs, PrintCapabilities rhs)
 
PrintCapabilities operator^ (PrintCapabilities lhs, PrintCapabilities rhs)
 
PrintCapabilities operator~ (PrintCapabilities flags)
 
PrintCapabilitiesoperator|= (PrintCapabilities& lhs, PrintCapabilities rhs)
 
PrintCapabilitiesoperator&= (PrintCapabilities& lhs, PrintCapabilities rhs)
 
PrintCapabilitiesoperator^= (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. More...
 
template<class T , class... T_Args>
auto make_managed (T_Args&&... args)
 Create a Gtk::Object such as a widget and Gtk::manage() it in a single step. More...
 

Variables

const Glib::ustring PAPER_NAME_A3
 Common paper names, from PWG 5101.1-2002 PWG: Standard for Media Standardized Names. More...
 
const Glib::ustring PAPER_NAME_A4
 
const Glib::ustring PAPER_NAME_A5
 
const Glib::ustring PAPER_NAME_B5
 
const Glib::ustring PAPER_NAME_LETTER
 
const Glib::ustring PAPER_NAME_EXECUTIVE
 
const Glib::ustring PAPER_NAME_LEGAL
 

Typedef Documentation

◆ Allocation

◆ Requisition

typedef GtkRequisition Gtk::Requisition

◆ SlotPrintSetupDone

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

◆ MessageType

enum Gtk::MessageType
strong
Enumerator
INFO 

Informational message.

WARNING 

Non-fatal warning message.

QUESTION 

Question requiring a choice.

ERROR 

Fatal error message.

OTHER 

None of the above.

◆ WrapMode

enum Gtk::WrapMode
strong
Enumerator
NONE 
CHAR 

Wrap text, breaking lines anywhere the cursor can appear (between characters, usually - if you want to be technical, between graphemes, see pango_get_log_attrs()).

WORD 

Wrap text, breaking lines in between words.

WORD_CHAR 

Wrap text, breaking lines in between words, or if that is not enough, also between graphemes.

Function Documentation

◆ make_managed()

template <class T , class... T_Args>
auto Gtk::make_managed ( T_Args &&...  args)

Create a Gtk::Object such as a widget and Gtk::manage() it in a single step.

This matches standard functions like std::make_unique<T>(args) and avoids you manually invoking the new operator, which is discouraged in modern C++ style.

For instance,

auto button = Gtk::make_managed<Gtk::Button>("Hello");
vbox.pack_start(*button); //vbox will delete button when vbox is deleted.
Parameters
argsArguments to pass to the constructor of the given template type.
Returns
A new, managed object of that type, constructed with those arguments.

◆ manage()

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
objA Gtk::Object, such as a gtkmm widget.
Returns
The Gtk::Object passed as the obj parameter.

◆ run_page_setup_dialog() [1/2]

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
parentTransient parent.
page_setupAn existing GtkPageSetup.
print_settingsPrint settings.
Returns
A new PageSetup object.
Since
2.10

◆ run_page_setup_dialog() [2/2]

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
parentTransient parent.
print_settingsPrint settings.
Returns
A new PageSetup object.
Since
2.22

◆ run_page_setup_dialog_async() [1/2]

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
parentTransient parent.
page_setupAn existing GtkPageSetup.
print_settingsPrint settings.
Returns
A new PageSetup object.
Parameters
slot
Since
2.10

◆ run_page_setup_dialog_async() [2/2]

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
parentTransient parent.
print_settingsPrint settings.
Returns
A new PageSetup object.
Parameters
slot
Since
2.22

Variable Documentation

◆ PAPER_NAME_A3

const Glib::ustring Gtk::PAPER_NAME_A3

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

◆ PAPER_NAME_A4

const Glib::ustring Gtk::PAPER_NAME_A4

◆ PAPER_NAME_A5

const Glib::ustring Gtk::PAPER_NAME_A5

◆ PAPER_NAME_B5

const Glib::ustring Gtk::PAPER_NAME_B5

◆ PAPER_NAME_EXECUTIVE

const Glib::ustring Gtk::PAPER_NAME_EXECUTIVE

◆ PAPER_NAME_LEGAL

const Glib::ustring Gtk::PAPER_NAME_LEGAL

◆ PAPER_NAME_LETTER

const Glib::ustring Gtk::PAPER_NAME_LETTER
Gtk::manage
T * manage(T *obj)
Mark a Gtk::Object as owned by its parent container widget, so you don't need to delete it manually.
Definition: object.h:42
Gtk::Button
A widget that creates a signal when clicked on.
Definition: button.h:56