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

Namespaces

 Accelerator
 Utilities for keyboard accelerators.
 

Classes

class  AccelKey
 Defines accelerator key combinations. More...
 
class  BitsetConstIter
 Alias: Gtk::Bitset::const_iterator. 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::CellRenderer. More...
 
class  SelectionListModelImpl
 Gtk::SelectionListModelImpl is an object that implements the Gio::ListModel and Gtk::SelectionModel interfaces. More...
 
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...
 
class  AboutDialog
 The AboutDialog offers a simple way to display information about a program like its logo, name, copyright, website and license. More...
 
class  Accessible
 Accessible interface. 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
 Application class. 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  BinLayout
 A layout manager for bin-like widgets. More...
 
class  Bitset
 Sets of integers. More...
 
class  BoolFilter
 Filtering by boolean expressions. 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  BuilderError
 Exception class for Gdk::Builder errors. More...
 
class  Builder
 Build an interface from an XML UI definition description. 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  ColumnView
 A widget for displaying lists in multiple columns. More...
 
class  ColumnViewColumn
 The column added to Gtk::ColumnView. 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  ConstraintVflParserError
 
class  ConstraintLayout
 A layout manager using constraints. More...
 
class  ConstraintTarget
 Helper interface for Gtk::Constraint. 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  ResponseType_Wrapper
 Wrapper for enum ResponseType. More...
 
class  Dialog
 Create popup windows. More...
 
class  DirectoryList
 A list model for directory listings. More...
 
class  DragIcon
 A toplevel to use as drag icon. More...
 
class  DragSource
 Event controller to initiate DND operations. More...
 
class  DrawingArea
 A widget for custom user interface elements. More...
 
class  DropControllerMotion
 Event controller for motion events during a drop. More...
 
class  DropDown
 Choose an item from a list. More...
 
class  DropTarget
 Event controller to receive DND drops. More...
 
class  DropTargetAsync
 Event controller to receive DND drops. More...
 
class  Editable
 Base class for text-editing widgets. More...
 
class  EditableLabel
 A label that can be edited. More...
 
class  EmojiChooser
 A popover to choose an Emoji character. 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  EventController
 Self-contained handler of series of events. More...
 
class  EventControllerFocus
 Event controller for focus. More...
 
class  EventControllerKey
 Event controller for key events. More...
 
class  EventControllerLegacy
 Event controller that provides raw access to the event stream. 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  ExpressionBase
 Base class for Gtk::Expression. More...
 
class  Expression
 Expressions to values. More...
 
class  PropertyExpression
 
class  ConstantExpression
 
class  ObjectExpression
 
class  ClosureExpression
 
class  ExpressionWatchBase
 
class  ExpressionWatch
 
class  FileChooserError
 Exception class for Gdk::FileChooser errors. More...
 
class  FileChooser
 File chooser interface used by Gtk::FileChooserWidget and Gtk::FileChooserDialog. More...
 
class  FileChooserDialog
 Convenient file chooser window. 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  Filter
 Filtering items. More...
 
class  FilterListModel
 A list model that filters its items. More...
 
class  Fixed
 A container which allows you to position widgets at fixed coordinates. More...
 
class  FlattenListModel
 A list model that flattens a list of lists. 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::Widget 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  GridView
 A widget for displaying grids. More...
 
class  HeaderBar
 A box with a centered child. More...
 
class  IconPaintable
 An icon, used with Gtk::IconTheme. More...
 
class  IconThemeError
 Exception class for Gtk::IconTheme errors. More...
 
class  IconTheme
 Looking up icons by name. 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  Inscription
 Gtk::Inscription is a widget to show text in a predefined area. 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  ListBase
 
class  ListBox
 A ListBox is a vertical container that contains ListBoxRow children. More...
 
class  ListBoxRow
 See the description of ListBox. More...
 
class  ListItem
 Object used to represent items of a list model. More...
 
class  ListItemFactory
 Mapping list items to widgets. More...
 
class  ListStore
 Thist is a list model for use with a Gtk::TreeView widget. More...
 
class  ListView
 A widget for displaying lists. More...
 
class  LockButton
 A widget to unlock or lock privileged operations. 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  MultiFilter
 Combining multiple filters. More...
 
class  AnyFilter
 Matches when at least one filter matches. More...
 
class  EveryFilter
 Matches when each of its filter matches. More...
 
class  MultiSelection
 A selection model that allows selecting multiple items. More...
 
class  MultiSorter
 Combining multiple sorters. 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  NumericSorterBase
 Base class for Gtk::NumericSorter. More...
 
class  NumericSorter
 Sort by comparing numbers. 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  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  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  PrintError
 
class  PrintOperation
 PrintOperation is the high-level, portable printing API. More...
 
class  PrintOperationPreview
 
class  PageRange
 A page range. More...
 
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  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  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  Requisition
 A Gtk::Requisition represents the desired size of a widget. 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  SelectionFilterModel
 A list model that turns a selection in a model. 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  SignalListItemFactory
 A listitem factory providing signals. More...
 
class  Shortcut
 An object describing a keyboard shortcut. More...
 
class  ShortcutAction
 Tracking if shortcuts should be activated. More...
 
class  NothingAction
 A Gtk::ShortcutAction that does nothing. More...
 
class  CallbackAction
 A Gtk::ShortcutAction that invokes a callback. More...
 
class  MnemonicAction
 A Gtk::ShortcutAction that calls Gtk::Widget::mnemonic_activate(). More...
 
class  ActivateAction
 A Gtk::ShortcutAction that calls Gtk::Widget::activate(). More...
 
class  SignalAction
 A Gtk::ShortcutAction that emits a signal. More...
 
class  NamedAction
 A Gtk::ShortcutAction that activates an action by name. More...
 
class  ShortcutController
 Event controller for shortcuts. More...
 
class  ShortcutLabel
 Displays a keyboard shortcut. More...
 
class  ShortcutManager
 Interface for managing shortcuts. 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  ShortcutTrigger
 Triggers to track if shortcuts should be activated. More...
 
class  NeverTrigger
 A Gtk::ShortcutTrigger that never triggers. More...
 
class  KeyvalTrigger
 A Gtk::ShortcutTrigger that triggers when a specific keyval and (optionally) modifiers are pressed. More...
 
class  MnemonicTrigger
 A Gtk::ShortcutTrigger that triggers when a specific mnemonic is pressed. More...
 
class  AlternativeTrigger
 A Gtk::ShortcutTrigger that triggers when either of two ShortcutTriggers trigger. 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  SliceListModel
 A list model that presents a slice out of a larger list. More...
 
class  Snapshot
 Auxiliary object for snapshots. More...
 
class  Sorter
 Sorting items. More...
 
class  SortListModel
 A list model that sorts its items. 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  StringFilter
 Filtering by strings. More...
 
class  StringList
 A list model for strings. More...
 
class  StringObject
 
class  StringSorter
 Sort by comparing strings. More...
 
class  StyleContext
 This object stores styling information affecting a widget defined by WidgetPath. More...
 
class  StyleProvider
 Interface to provide style information to Gtk::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  TextIterBase
 Common base class of TextIter and TextConstIter. More...
 
class  TextIter
 Typedefed as Gtk::TextBuffer::iterator. More...
 
class  TextConstIter
 Typedefed as Gtk::TextBuffer::const_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  ToggleButton
 Create buttons which retain their state. More...
 
class  Tooltip
 Add tips to your widgets. More...
 
class  TreeDragDest
 
class  TreeDragSource
 
class  TreeExpander
 An indenting expander button for use in a tree list. More...
 
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  TreeValueProxy
 
class  TreeConstRow
 Typedefed as TreeModel::ConstRow. More...
 
class  TreeRow
 Typedefed as TreeModel::Row. More...
 
class  TreeNodeConstChildren
 Typedefed as TreeModel::ConstChildren. More...
 
class  TreeNodeChildren
 Typedefed as TreeModel::Children. More...
 
class  TreeListModel
 A list model that can create child models on demand. More...
 
class  TreeListRow
 A row in a Gtk::TreeListModel. 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  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  WindowControls
 A widget displaying window buttons. More...
 
class  WindowGroup
 Limit the effect of grabs. More...
 
class  WindowHandle
 A titlebar area widget. More...
 
class  PageSetupUnixDialog
 PageSetupUnixDialog implements a page setup dialog for platforms which don't provide a native page setup dialog, like Unix. More...
 
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...
 

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 Gdk::Rectangle Allocation
 

Enumerations

enum class  License {
  UNKNOWN ,
  CUSTOM ,
  GPL_2_0 ,
  GPL_3_0 ,
  LGPL_2_1 ,
  LGPL_3_0 ,
  BSD ,
  MIT_X11 ,
  ARTISTIC ,
  GPL_2_0_ONLY ,
  GPL_3_0_ONLY ,
  LGPL_2_1_ONLY ,
  LGPL_3_0_ONLY ,
  AGPL_3_0 ,
  AGPL_3_0_ONLY ,
  BSD_3 ,
  APACHE_2_0 ,
  MPL_2_0
}
 The type of license for an application. More...
 
enum class  CellRendererState {
  SELECTED = 1 << 0 ,
  PRELIT = 1 << 1 ,
  INSENSITIVE = 1 << 2 ,
  SORTED = 1 << 3 ,
  FOCUSED = 1 << 4 ,
  EXPANDABLE = 1 << 5 ,
  EXPANDED = 1 << 6
}
 Tells how a cell is to be rendered. More...
 
enum class  CellRendererMode {
  INERT ,
  ACTIVATABLE ,
  EDITABLE
}
 Identifies how the user can interact with a particular cell. More...
 
enum class  Align {
  FILL ,
  START ,
  END ,
  CENTER ,
  BASELINE
}
 Controls how a widget deals with extra space in a single dimension. More...
 
enum class  ArrowType {
  UP ,
  DOWN ,
  LEFT ,
  RIGHT ,
  NONE
}
 Used to indicate the direction in which an arrow should point. More...
 
enum class  DeleteType {
  CHARS ,
  WORD_ENDS ,
  WORDS ,
  DISPLAY_LINES ,
  DISPLAY_LINE_ENDS ,
  PARAGRAPH_ENDS ,
  PARAGRAPHS ,
  WHITESPACE
}
 Passed to various keybinding signals for deleting text. More...
 
enum class  DirectionType {
  TAB_FORWARD ,
  TAB_BACKWARD ,
  UP ,
  DOWN ,
  LEFT ,
  RIGHT
}
 Focus movement types. More...
 
enum class  IconSize {
  INHERIT ,
  NORMAL ,
  LARGE
}
 Built-in icon sizes. More...
 
enum class  TextDirection {
  NONE ,
  LTR ,
  RTL
}
 Reading directions for text. More...
 
enum class  Justification {
  LEFT ,
  RIGHT ,
  CENTER ,
  FILL
}
 Used for justifying the text inside a Gtk::Label widget. More...
 
enum class  MessageType {
  INFO ,
  WARNING ,
  QUESTION ,
  ERROR ,
  OTHER
}
 The type of message being displayed in a Gtk::MessageDialog. More...
 
enum class  MovementStep {
  LOGICAL_POSITIONS ,
  VISUAL_POSITIONS ,
  WORDS ,
  DISPLAY_LINES ,
  DISPLAY_LINE_ENDS ,
  PARAGRAPHS ,
  PARAGRAPH_ENDS ,
  PAGES ,
  BUFFER_ENDS ,
  HORIZONTAL_PAGES
}
 Passed as argument to various keybinding signals for moving the cursor position. More...
 
enum class  Orientation {
  HORIZONTAL ,
  VERTICAL
}
 Represents the orientation of widgets and other objects. More...
 
enum class  Overflow {
  VISIBLE ,
  HIDDEN
}
 Defines how content overflowing a given area should be handled. More...
 
enum class  CornerType {
  TOP_LEFT ,
  BOTTOM_LEFT ,
  TOP_RIGHT ,
  BOTTOM_RIGHT
}
 Specifies which corner a child widget should be placed in when packed into a GtkScrolledWindow. More...
 
enum class  PackType {
  START ,
  END
}
 Represents the packing location of a children in its parent. More...
 
enum class  PickFlags {
  DEFAULT = 0x0 ,
  INSENSITIVE = 1 << 0 ,
  NON_TARGETABLE = 1 << 1
}
 Flags that influence the behavior of Gtk::Widget::pick(). More...
 
enum class  PolicyType {
  ALWAYS ,
  AUTOMATIC ,
  NEVER ,
  EXTERNAL
}
 Determines how the size should be computed to achieve the one of the visibility mode for the scrollbars. More...
 
enum class  PositionType {
  LEFT ,
  RIGHT ,
  TOP ,
  BOTTOM
}
 Describes which edge of a widget a certain feature is positioned at. More...
 
enum class  RevealerTransitionType {
  NONE ,
  CROSSFADE ,
  SLIDE_RIGHT ,
  SLIDE_LEFT ,
  SLIDE_UP ,
  SLIDE_DOWN ,
  SWING_RIGHT ,
  SWING_LEFT ,
  SWING_UP ,
  SWING_DOWN
}
 These enumeration values describe the possible transitions when the child of a Gtk::Revealer widget is shown or hidden. More...
 
enum class  ScrollType {
  NONE ,
  JUMP ,
  STEP_BACKWARD ,
  STEP_FORWARD ,
  PAGE_BACKWARD ,
  PAGE_FORWARD ,
  STEP_UP ,
  STEP_DOWN ,
  PAGE_UP ,
  PAGE_DOWN ,
  STEP_LEFT ,
  STEP_RIGHT ,
  PAGE_LEFT ,
  PAGE_RIGHT ,
  START ,
  END
}
 Scrolling types. More...
 
enum class  SelectionMode {
  NONE ,
  SINGLE ,
  BROWSE ,
  MULTIPLE
}
 Used to control what selections users are allowed to make. More...
 
enum class  StackTransitionType {
  NONE ,
  CROSSFADE ,
  SLIDE_RIGHT ,
  SLIDE_LEFT ,
  SLIDE_UP ,
  SLIDE_DOWN ,
  SLIDE_LEFT_RIGHT ,
  SLIDE_UP_DOWN ,
  OVER_UP ,
  OVER_DOWN ,
  OVER_LEFT ,
  OVER_RIGHT ,
  UNDER_UP ,
  UNDER_DOWN ,
  UNDER_LEFT ,
  UNDER_RIGHT ,
  OVER_UP_DOWN ,
  OVER_DOWN_UP ,
  OVER_LEFT_RIGHT ,
  OVER_RIGHT_LEFT ,
  ROTATE_LEFT ,
  ROTATE_RIGHT ,
  ROTATE_LEFT_RIGHT
}
 Possible transitions between pages in a Gtk::Stack widget. More...
 
enum class  WrapMode {
  NONE ,
  CHAR ,
  WORD ,
  WORD_CHAR
}
 Describes a type of line wrapping. More...
 
enum class  NaturalWrapMode {
  INHERIT ,
  NONE ,
  WORD
}
 Options for selecting a different wrap mode for natural size requests. More...
 
enum class  SortType {
  ASCENDING ,
  DESCENDING
}
 Determines the direction of a sort. More...
 
enum class  Ordering {
  SMALLER = -1 ,
  EQUAL ,
  LARGER
}
 Describes the way two values can be compared. More...
 
enum class  PageOrientation {
  PORTRAIT ,
  LANDSCAPE ,
  REVERSE_PORTRAIT ,
  REVERSE_LANDSCAPE
}
 See also Gtk::PrintSettings::set_orientation(). More...
 
enum class  SensitivityType {
  AUTO ,
  ON ,
  OFF
}
 Determines how GTK handles the sensitivity of various controls, such as combo box buttons. More...
 
enum class  SizeRequestMode {
  HEIGHT_FOR_WIDTH ,
  WIDTH_FOR_HEIGHT ,
  CONSTANT_SIZE
}
 Specifies a preference for height-for-width or width-for-height geometry management. More...
 
enum class  StateFlags {
  NORMAL = 0x0 ,
  ACTIVE = 1 << 0 ,
  PRELIGHT = 1 << 1 ,
  SELECTED = 1 << 2 ,
  INSENSITIVE = 1 << 3 ,
  INCONSISTENT = 1 << 4 ,
  FOCUSED = 1 << 5 ,
  BACKDROP = 1 << 6 ,
  DIR_LTR = 1 << 7 ,
  DIR_RTL = 1 << 8 ,
  LINK = 1 << 9 ,
  VISITED = 1 << 10 ,
  CHECKED = 1 << 11 ,
  DROP_ACTIVE = 1 << 12 ,
  FOCUS_VISIBLE = 1 << 13 ,
  FOCUS_WITHIN = 1 << 14
}
 Describes a widget state. More...
 
enum class  InputPurpose {
  FREE_FORM ,
  ALPHA ,
  DIGITS ,
  NUMBER ,
  PHONE ,
  URL ,
  EMAIL ,
  NAME ,
  PASSWORD ,
  PIN ,
  TERMINAL
}
 Describes primary purpose of the input widget. More...
 
enum class  InputHints {
  NONE = 0x0 ,
  SPELLCHECK = 1 << 0 ,
  NO_SPELLCHECK = 1 << 1 ,
  WORD_COMPLETION = 1 << 2 ,
  LOWERCASE = 1 << 3 ,
  UPPERCASE_CHARS = 1 << 4 ,
  UPPERCASE_WORDS = 1 << 5 ,
  UPPERCASE_SENTENCES = 1 << 6 ,
  INHIBIT_OSK = 1 << 7 ,
  VERTICAL_WRITING = 1 << 8 ,
  EMOJI = 1 << 9 ,
  NO_EMOJI = 1 << 10 ,
  PRIVATE = 1 << 11
}
 Describes hints that might be taken into account by input methods or applications. More...
 
enum class  BaselinePosition {
  TOP ,
  CENTER ,
  BOTTOM
}
 Baseline position in a row of widgets. More...
 
enum class  ShortcutScope {
  LOCAL ,
  MANAGED ,
  GLOBAL
}
 Describes where Gtk::Shortcuts added to a Gtk::ShortcutController get handled. More...
 
enum class  ContentFit {
  FILL ,
  CONTAIN ,
  COVER ,
  SCALE_DOWN
}
 Controls how a content should be made to fit inside an allocation. More...
 
enum class  PropagationPhase {
  NONE ,
  CAPTURE ,
  BUBBLE ,
  TARGET
}
 Describes the stage at which events are fed into a Gtk::EventController. More...
 
enum class  PropagationLimit {
  NONE ,
  SAME_NATIVE
}
 Describes limits of a Gtk::EventController for handling events targeting other widgets. More...
 
enum class  EventSequenceState {
  NONE ,
  CLAIMED ,
  DENIED
}
 Describes the state of a Gdk::EventSequence in a Gtk::Gesture. More...
 
enum class  PanDirection {
  LEFT ,
  RIGHT ,
  UP ,
  DOWN
}
 Describes the panning direction of a Gtk::GesturePan. More...
 
enum class  IconLookupFlags {
  FORCE_REGULAR = 1 << 0 ,
  FORCE_SYMBOLIC = 1 << 1 ,
  PRELOAD = 1 << 2
}
 Used to specify options for Gtk::IconTheme::lookup_icon(). More...
 
enum class  ButtonsType {
  NONE ,
  OK ,
  CLOSE ,
  CANCEL ,
  YES_NO ,
  OK_CANCEL
}
 Prebuilt sets of buttons for Gtk::Dialog. More...
 
enum class  PadActionType {
  BUTTON ,
  RING ,
  STRIP
}
 The type of a pad action. More...
 
enum class  Unit {
  NONE ,
  POINTS ,
  INCH ,
  MM
}
 See also Gtk::PrintSettings::set_paper_width(). More...
 
enum class  PrintStatus {
  INITIAL ,
  PREPARING ,
  GENERATING_DATA ,
  SENDING_DATA ,
  PENDING ,
  PENDING_ISSUE ,
  PRINTING ,
  FINISHED ,
  FINISHED_ABORTED
}
 The status gives a rough indication of the completion of a running print operation. More...
 
enum class  PrintDuplex {
  SIMPLEX ,
  HORIZONTAL ,
  VERTICAL
}
 See also Gtk::PrintSettings::set_duplex(). More...
 
enum class  PrintQuality {
  LOW ,
  NORMAL ,
  HIGH ,
  DRAFT
}
 See also Gtk::PrintSettings::set_quality(). More...
 
enum class  PrintPages {
  ALL ,
  CURRENT ,
  RANGES ,
  SELECTION
}
 See also Gtk::PrintJob::set_pages() More...
 
enum class  PageSet {
  ALL ,
  EVEN ,
  ODD
}
 See also Gtk::PrintJob::set_page_set(). More...
 
enum class  NumberUpLayout {
  LEFT_TO_RIGHT_TOP_TO_BOTTOM ,
  LEFT_TO_RIGHT_BOTTOM_TO_TOP ,
  RIGHT_TO_LEFT_TOP_TO_BOTTOM ,
  RIGHT_TO_LEFT_BOTTOM_TO_TOP ,
  TOP_TO_BOTTOM_LEFT_TO_RIGHT ,
  TOP_TO_BOTTOM_RIGHT_TO_LEFT ,
  BOTTOM_TO_TOP_LEFT_TO_RIGHT ,
  BOTTOM_TO_TOP_RIGHT_TO_LEFT
}
 Used to determine the layout of pages on a sheet when printing multiple pages per sheet. More...
 
enum class  ShortcutType {
  ACCELERATOR ,
  GESTURE_PINCH ,
  GESTURE_STRETCH ,
  GESTURE_ROTATE_CLOCKWISE ,
  GESTURE_ROTATE_COUNTERCLOCKWISE ,
  GESTURE_TWO_FINGER_SWIPE_LEFT ,
  GESTURE_TWO_FINGER_SWIPE_RIGHT ,
  GESTURE ,
  GESTURE_SWIPE_LEFT ,
  GESTURE_SWIPE_RIGHT
}
 GtkShortcutType specifies the kind of shortcut that is being described. More...
 
enum class  SpinType {
  STEP_FORWARD ,
  STEP_BACKWARD ,
  PAGE_FORWARD ,
  PAGE_BACKWARD ,
  HOME ,
  END ,
  USER_DEFINED
}
 The values of the GtkSpinType enumeration are used to specify the change to make in Gtk::SpinButton::spin(). More...
 
enum class  TextSearchFlags {
  VISIBLE_ONLY = 1 << 0 ,
  TEXT_ONLY = 1 << 1 ,
  CASE_INSENSITIVE = 1 << 2
}
 Flags affecting how a search is done. More...
 
enum class  TextWindowType {
  WIDGET = 1 ,
  TEXT ,
  LEFT ,
  RIGHT ,
  TOP ,
  BOTTOM
}
 Used to reference the parts of Gtk::TextView. More...
 
enum class  PrintCapabilities {
  PAGE_SET = 1 << 0 ,
  COPIES = 1 << 1 ,
  COLLATE = 1 << 2 ,
  REVERSE = 1 << 3 ,
  SCALE = 1 << 4 ,
  GENERATE_PDF = 1 << 5 ,
  GENERATE_PS = 1 << 6 ,
  PREVIEW = 1 << 7 ,
  NUMBER_UP = 1 << 8 ,
  NUMBER_UP_LAYOUT = 1 << 9
}
 Specifies which features the print dialog should offer. More...
 

Functions

void init_gtkmm_internals ()
 Initialize the table of wrap_new functions. More...
 
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...
 
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)
 
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)
 
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)
 
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...
 
ShortcutAction::Flags operator| (ShortcutAction::Flags lhs, ShortcutAction::Flags rhs)
 
ShortcutAction::Flags operator& (ShortcutAction::Flags lhs, ShortcutAction::Flags rhs)
 
ShortcutAction::Flags operator^ (ShortcutAction::Flags lhs, ShortcutAction::Flags rhs)
 
ShortcutAction::Flags operator~ (ShortcutAction::Flags flags)
 
ShortcutAction::Flagsoperator|= (ShortcutAction::Flags & lhs, ShortcutAction::Flags rhs)
 
ShortcutAction::Flagsoperator&= (ShortcutAction::Flags & lhs, ShortcutAction::Flags rhs)
 
ShortcutAction::Flagsoperator^= (ShortcutAction::Flags & lhs, ShortcutAction::Flags rhs)
 
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)
 

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

◆ SlotPrintSetupDone

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

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

Function Documentation

◆ init_gtkmm_internals()

void Gtk::init_gtkmm_internals ( )

Initialize the table of wrap_new functions.

This would usually only be used by the init() methods of libraries that depend on gtkmm. Gtkmm applications initialize gtkmm by a call to Gtk::Application::create().

Since gtkmm 3.98:

◆ 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.append(*button); //vbox will delete button when vbox is deleted.
Template Parameters
TThe type of object to create.
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.append(*button); //vbox will delete button when vbox is deleted.
A widget that creates a signal when clicked on.
Definition: button.h:59
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:47

Beginning with gtkmm 4.8, a Gtk::Window can be managed, although it has no parent. A managed Gtk::Window is deleted when its underlying C instance is destroyed. The C instance will be destroyed when the window manager's close button is clicked, unless Gtk::Window::set_hide_on_close() has been called.

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
extern

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

◆ PAPER_NAME_A4

const Glib::ustring Gtk::PAPER_NAME_A4
extern

◆ PAPER_NAME_A5

const Glib::ustring Gtk::PAPER_NAME_A5
extern

◆ PAPER_NAME_B5

const Glib::ustring Gtk::PAPER_NAME_B5
extern

◆ PAPER_NAME_EXECUTIVE

const Glib::ustring Gtk::PAPER_NAME_EXECUTIVE
extern

◆ PAPER_NAME_LEGAL

const Glib::ustring Gtk::PAPER_NAME_LEGAL
extern

◆ PAPER_NAME_LETTER

const Glib::ustring Gtk::PAPER_NAME_LETTER
extern