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

Namespaces

namespace  Accelerator
 Utilities for keyboard accelerators.
 

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  AccelKey
 Defines accelerator key combinations. More...
 
class  Accessible
 Accessible interface. More...
 
class  AccessibleText
 An interface for accessible objects containing formatted 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  ActivateAction
 A Gtk::ShortcutAction that calls Gtk::Widget::activate(). More...
 
class  Adjustment
 A class representing an adjustable bounded value. More...
 
class  AlertDialog
 A Gtk::AlertDialog object collects the arguments that are needed to present a message to the user. More...
 
class  AlternativeTrigger
 A Gtk::ShortcutTrigger that triggers when either of two ShortcutTriggers trigger. More...
 
class  AnyFilter
 Matches when at least one filter matches. 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  ATContext
 Gtk::ATContext is an abstract class provided by GTK to communicate to platform-specific assistive technologies API. More...
 
class  BinLayout
 A layout manager for bin-like widgets. More...
 
class  Bitset
 Sets of integers. More...
 
class  BitsetConstIter
 Alias: Gtk::Bitset::const_iterator. 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  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  CallbackAction
 A Gtk::ShortcutAction that invokes a callback. 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  ClosureExpression
 
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  ColorDialog
 A Gtk::ColorDialog object collects the arguments that are needed to present a color chooser dialog to the user, such as a title for the dialog and whether it should be modal. More...
 
class  ColorDialogButton
 A wrapper around a Gtk::ColorDialog. More...
 
class  ColumnView
 A widget for displaying lists in multiple columns. More...
 
class  ColumnViewCell
 Gtk::ColumnViewCell is used by Gtk::ColumnViewColumn to represent items in a cell in Gtk::ColumnView. More...
 
class  ColumnViewColumn
 The column added to Gtk::ColumnView. More...
 
class  ColumnViewRow
 Gtk::ColumnViewRow is used by Gtk::ColumnView to allow configuring how rows are displayed. More...
 
class  ColumnViewSorter
 A sorter implementation that is geared towards the needs of 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  ConstantExpression
 
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  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  DialogError
 
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  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  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  EveryFilter
 Matches when each of its filter matches. More...
 
class  Expander
 A container which can hide its child. More...
 
class  Expression
 Expressions to values. More...
 
class  ExpressionBase
 Base class for Gtk::Expression. More...
 
class  ExpressionWatch
 
class  ExpressionWatchBase
 
class  FileChooser
 File chooser interface used by Gtk::FileChooserWidget and Gtk::FileChooserDialog. 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  FileDialog
 A Gtk::FileDialog object collects the arguments that are needed to present a file chooser dialog to the user, such as a title for the dialog and whether it should be modal. More...
 
class  FileFilter
 A filter for selecting a file subset. More...
 
class  FileLauncher
 A Gtk::FileLauncher object collects the arguments that are needed to open a uri with an application. 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  FontDialog
 A Gtk::FontDialog object collects the arguments that are needed to present a font chooser dialog to the user, such as a title for the dialog and whether it should be modal. More...
 
class  FontDialogButton
 A wrapper around a Gtk::FontDialog. 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  GraphicsOffload
 A widget that allows to bypass gsk rendering for its child by passing the content directly to the compositor. 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  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 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  KeyvalTrigger
 A Gtk::ShortcutTrigger that triggers when a specific keyval and (optionally) modifiers are pressed. 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  ListHeader
 Gtk::ListHeader is used by list widgets to represent the headers they display. More...
 
class  ListItem
 Object used to represent items of a list model. More...
 
class  ListItemFactory
 Mapping list items to widgets. More...
 
class  ListStore
 This is a list model for use with a Gtk::TreeView widget. More...
 
class  ListView
 A widget for displaying lists. 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  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  MnemonicAction
 A Gtk::ShortcutAction that calls Gtk::Widget::mnemonic_activate(). More...
 
class  MnemonicTrigger
 A Gtk::ShortcutTrigger that triggers when a specific mnemonic is pressed. More...
 
class  MultiFilter
 Combining multiple filters. More...
 
class  MultiSelection
 A selection model that allows selecting multiple items. More...
 
class  MultiSorter
 Combining multiple sorters. More...
 
class  NamedAction
 A Gtk::ShortcutAction that activates an action by name. More...
 
class  Native
 Interface for widgets having surfaces. More...
 
class  NativeDialog
 Integrate with native dialogs. More...
 
class  NeverTrigger
 A Gtk::ShortcutTrigger that never triggers. 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  NothingAction
 A Gtk::ShortcutAction that does nothing. More...
 
class  NumericSorter
 Sort by comparing numbers. More...
 
class  NumericSorterBase
 Base class for Gtk::NumericSorter. 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  ObjectExpression
 
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  PrintDialog
 A Gtk::PrintDialog object collects the arguments that are needed to present a print dialog to the user, such as a title for the dialog and whether it should be modal. 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  PrintSetup
 An auxiliary object for printing that allows decoupling the setup from the printing. 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  PropertyExpression
 
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  Requisition
 A Gtk::Requisition represents the desired size of a widget. 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
 A container that makes its child scrollable. More...
 
class  ScrollInfo
 Provides more accurate data on how a scroll operation should be performed. 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  SearchEntry2
 Gtk::SearchEntry2 is an entry widget that has been tailored for use as a search entry. More...
 
class  SectionModel
 Interface that adds support for section to list models. More...
 
class  SelectionFilterModel
 A list model that turns a selection in a model. More...
 
class  SelectionListModelImpl
 Gtk::SelectionListModelImpl is an object that implements the Gio::ListModel and Gtk::SelectionModel interfaces. More...
 
class  SelectionModel
 An extension of the list model interface that handles selections. More...
 
class  Separator
 A separator widget. More...
 
class  Settings
 Provides a mechanism to share global settings between applications. More...
 
class  Shortcut
 An object describing a keyboard shortcut. More...
 
class  ShortcutAction
 Tracking if shortcuts should be activated. 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  SignalAction
 A Gtk::ShortcutAction that emits a signal. More...
 
class  SignalListItemFactory
 A listitem factory providing signals. 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. More...
 
class  StringFilter
 Filtering by strings. More...
 
class  StringList
 A list model for strings. More...
 
class  StringObject
 Gtk::StringObject is the type of items in a Gtk::StringList. More...
 
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  SymbolicPaintable
 An interface that supports symbolic colors in paintables. 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
 Create buttons which retain their state. More...
 
class  Tooltip
 Add tips to your widgets. More...
 
class  TreeConstRow
 Typedefed as TreeModel::ConstRow. More...
 
class  TreeDragDest
 Interface for Drag-and-Drop destinations in Gtk::TreeView. More...
 
class  TreeDragSource
 Interface for Drag-and-Drop sources in Gtk::TreeView. More...
 
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  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  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
 A Gtk::TreeModel which hides parts of an underlying tree model. More...
 
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
 The interface for sortable models used by Gtk::TreeView. More...
 
class  TreeStore
 A tree-like data structure that can be used with the Gtk::TreeView. More...
 
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  UriLauncher
 A Gtk::UriLauncher object collects the arguments that are needed to open a uri with an application. 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...
 

Typedefs

using ResponseType = ResponseType_Wrapper::ResponseType
 ResponseType enumerators are scoped by the wrapper class and can be implicitly converted to int.
 
typedef sigc::slot< void(const Glib::RefPtr< PageSetup > &)> SlotPrintSetupDone
 For example, void on_setup_done(const Glib::RefPtr<PageSetup>& page_setup);.
 
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 ,
  BSD_0
}
 
enum class  Align {
  FILL ,
  START ,
  END ,
  CENTER ,
  BASELINE_FILL ,
  BASELINE = BASELINE_FILL ,
  BASELINE_CENTER
}
 
enum class  ArrowType {
  UP ,
  DOWN ,
  LEFT ,
  RIGHT ,
  NONE
}
 
enum class  DeleteType {
  CHARS ,
  WORD_ENDS ,
  WORDS ,
  DISPLAY_LINES ,
  DISPLAY_LINE_ENDS ,
  PARAGRAPH_ENDS ,
  PARAGRAPHS ,
  WHITESPACE
}
 
enum class  DirectionType {
  TAB_FORWARD ,
  TAB_BACKWARD ,
  UP ,
  DOWN ,
  LEFT ,
  RIGHT
}
 
enum class  IconSize {
  INHERIT ,
  NORMAL ,
  LARGE
}
 
enum class  TextDirection {
  NONE ,
  LTR ,
  RTL
}
 
enum class  Justification {
  LEFT ,
  RIGHT ,
  CENTER ,
  FILL
}
 
enum class  MessageType {
  INFO ,
  WARNING ,
  QUESTION ,
  ERROR ,
  OTHER
}
 
enum class  MovementStep {
  LOGICAL_POSITIONS ,
  VISUAL_POSITIONS ,
  WORDS ,
  DISPLAY_LINES ,
  DISPLAY_LINE_ENDS ,
  PARAGRAPHS ,
  PARAGRAPH_ENDS ,
  PAGES ,
  BUFFER_ENDS ,
  HORIZONTAL_PAGES
}
 
enum class  Orientation {
  HORIZONTAL ,
  VERTICAL
}
 
enum class  Overflow {
  VISIBLE ,
  HIDDEN
}
 
enum class  CornerType {
  TOP_LEFT ,
  BOTTOM_LEFT ,
  TOP_RIGHT ,
  BOTTOM_RIGHT
}
 
enum class  PackType {
  START ,
  END
}
 
enum class  PickFlags {
  DEFAULT = 0x0 ,
  INSENSITIVE = 1 << 0 ,
  NON_TARGETABLE = 1 << 1
}
 
enum class  PolicyType {
  ALWAYS ,
  AUTOMATIC ,
  NEVER ,
  EXTERNAL
}
 
enum class  PositionType {
  LEFT ,
  RIGHT ,
  TOP ,
  BOTTOM
}
 
enum class  RevealerTransitionType {
  NONE ,
  CROSSFADE ,
  SLIDE_RIGHT ,
  SLIDE_LEFT ,
  SLIDE_UP ,
  SLIDE_DOWN ,
  SWING_RIGHT ,
  SWING_LEFT ,
  SWING_UP ,
  SWING_DOWN
}
 
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
}
 
enum class  SelectionMode {
  NONE ,
  SINGLE ,
  BROWSE ,
  MULTIPLE
}
 
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
}
 
enum class  WrapMode {
  NONE ,
  CHAR ,
  WORD ,
  WORD_CHAR
}
 
enum class  NaturalWrapMode {
  INHERIT ,
  NONE ,
  WORD
}
 
enum class  SortType {
  ASCENDING ,
  DESCENDING
}
 
enum class  Ordering {
  SMALLER = -1 ,
  EQUAL ,
  LARGER
}
 
enum class  PageOrientation {
  PORTRAIT ,
  LANDSCAPE ,
  REVERSE_PORTRAIT ,
  REVERSE_LANDSCAPE
}
 
enum class  SensitivityType {
  AUTO ,
  ON ,
  OFF
}
 
enum class  SizeRequestMode {
  HEIGHT_FOR_WIDTH ,
  WIDTH_FOR_HEIGHT ,
  CONSTANT_SIZE
}
 
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
}
 
enum class  InputPurpose {
  FREE_FORM ,
  ALPHA ,
  DIGITS ,
  NUMBER ,
  PHONE ,
  URL ,
  EMAIL ,
  NAME ,
  PASSWORD ,
  PIN ,
  TERMINAL
}
 
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
}
 
enum class  BaselinePosition {
  TOP ,
  CENTER ,
  BOTTOM
}
 
enum class  ShortcutScope {
  LOCAL ,
  MANAGED ,
  GLOBAL
}
 
enum class  ContentFit {
  FILL ,
  CONTAIN ,
  COVER ,
  SCALE_DOWN
}
 
enum class  ListTabBehavior {
  ALL ,
  ITEM ,
  CELL
}
 
enum class  ListScrollFlags {
  NONE = 0x0 ,
  FOCUS = 1 << 0 ,
  SELECT = 1 << 1
}
 
enum class  GraphicsOffloadEnabled {
  ENABLED ,
  DISABLED
}
 
enum class  FontRendering {
  AUTOMATIC ,
  MANUAL
}
 
enum class  PropagationPhase {
  NONE ,
  CAPTURE ,
  BUBBLE ,
  TARGET
}
 
enum class  PropagationLimit {
  NONE ,
  SAME_NATIVE
}
 
enum class  FontLevel {
  FAMILY ,
  FACE ,
  FONT ,
  FEATURES
}
 
enum class  EventSequenceState {
  NONE ,
  CLAIMED ,
  DENIED
}
 
enum class  PanDirection {
  LEFT ,
  RIGHT ,
  UP ,
  DOWN
}
 
enum class  IconLookupFlags {
  FORCE_REGULAR = 1 << 0 ,
  FORCE_SYMBOLIC = 1 << 1 ,
  PRELOAD = 1 << 2
}
 
enum class  PadActionType {
  BUTTON ,
  RING ,
  STRIP
}
 
enum class  Unit {
  NONE ,
  POINTS ,
  INCH ,
  MM
}
 
enum class  PrintStatus {
  INITIAL ,
  PREPARING ,
  GENERATING_DATA ,
  SENDING_DATA ,
  PENDING ,
  PENDING_ISSUE ,
  PRINTING ,
  FINISHED ,
  FINISHED_ABORTED
}
 
enum class  PrintDuplex {
  SIMPLEX ,
  HORIZONTAL ,
  VERTICAL
}
 
enum class  PrintQuality {
  LOW ,
  NORMAL ,
  HIGH ,
  DRAFT
}
 
enum class  PrintPages {
  ALL ,
  CURRENT ,
  RANGES ,
  SELECTION
}
 
enum class  PageSet {
  ALL ,
  EVEN ,
  ODD
}
 
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
}
 
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
}
 
enum class  SpinType {
  STEP_FORWARD ,
  STEP_BACKWARD ,
  PAGE_FORWARD ,
  PAGE_BACKWARD ,
  HOME ,
  END ,
  USER_DEFINED
}
 
enum class  Collation {
  NONE ,
  UNICODE ,
  FILENAME
}
 
enum class  TextSearchFlags {
  VISIBLE_ONLY = 1 << 0 ,
  TEXT_ONLY = 1 << 1 ,
  CASE_INSENSITIVE = 1 << 2
}
 
enum class  TextWindowType {
  WIDGET = 1 ,
  TEXT ,
  LEFT ,
  RIGHT ,
  TOP ,
  BOTTOM
}
 
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
}
 
enum class  CellRendererState {
  SELECTED = 1 << 0 ,
  PRELIT = 1 << 1 ,
  INSENSITIVE = 1 << 2 ,
  SORTED = 1 << 3 ,
  FOCUSED = 1 << 4 ,
  EXPANDABLE = 1 << 5 ,
  EXPANDED = 1 << 6
}
 
enum class  CellRendererMode {
  INERT ,
  ACTIVATABLE ,
  EDITABLE
}
 
enum class  ButtonsType {
  NONE ,
  OK ,
  CLOSE ,
  CANCEL ,
  YES_NO ,
  OK_CANCEL
}
 

Functions

void init_gtkmm_internals ()
 Initialize the table of wrap_new functions.
 
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.
 
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.
 
constexpr Application::InhibitFlags operator| (Application::InhibitFlags lhs, Application::InhibitFlags rhs)
 
constexpr Application::InhibitFlags operator& (Application::InhibitFlags lhs, Application::InhibitFlags rhs)
 
constexpr Application::InhibitFlags operator^ (Application::InhibitFlags lhs, Application::InhibitFlags rhs)
 
constexpr 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)
 
constexpr PickFlags operator| (PickFlags lhs, PickFlags rhs)
 
constexpr PickFlags operator& (PickFlags lhs, PickFlags rhs)
 
constexpr PickFlags operator^ (PickFlags lhs, PickFlags rhs)
 
constexpr PickFlags operator~ (PickFlags flags)
 
PickFlagsoperator|= (PickFlags &lhs, PickFlags rhs)
 
PickFlagsoperator&= (PickFlags &lhs, PickFlags rhs)
 
PickFlagsoperator^= (PickFlags &lhs, PickFlags rhs)
 
constexpr StateFlags operator| (StateFlags lhs, StateFlags rhs)
 
constexpr StateFlags operator& (StateFlags lhs, StateFlags rhs)
 
constexpr StateFlags operator^ (StateFlags lhs, StateFlags rhs)
 
constexpr StateFlags operator~ (StateFlags flags)
 
StateFlagsoperator|= (StateFlags &lhs, StateFlags rhs)
 
StateFlagsoperator&= (StateFlags &lhs, StateFlags rhs)
 
StateFlagsoperator^= (StateFlags &lhs, StateFlags rhs)
 
constexpr InputHints operator| (InputHints lhs, InputHints rhs)
 
constexpr InputHints operator& (InputHints lhs, InputHints rhs)
 
constexpr InputHints operator^ (InputHints lhs, InputHints rhs)
 
constexpr InputHints operator~ (InputHints flags)
 
InputHintsoperator|= (InputHints &lhs, InputHints rhs)
 
InputHintsoperator&= (InputHints &lhs, InputHints rhs)
 
InputHintsoperator^= (InputHints &lhs, InputHints rhs)
 
constexpr ListScrollFlags operator| (ListScrollFlags lhs, ListScrollFlags rhs)
 
constexpr ListScrollFlags operator& (ListScrollFlags lhs, ListScrollFlags rhs)
 
constexpr ListScrollFlags operator^ (ListScrollFlags lhs, ListScrollFlags rhs)
 
constexpr ListScrollFlags operator~ (ListScrollFlags flags)
 
ListScrollFlagsoperator|= (ListScrollFlags &lhs, ListScrollFlags rhs)
 
ListScrollFlagsoperator&= (ListScrollFlags &lhs, ListScrollFlags rhs)
 
ListScrollFlagsoperator^= (ListScrollFlags &lhs, ListScrollFlags rhs)
 
constexpr EventControllerScroll::Flags operator| (EventControllerScroll::Flags lhs, EventControllerScroll::Flags rhs)
 
constexpr EventControllerScroll::Flags operator& (EventControllerScroll::Flags lhs, EventControllerScroll::Flags rhs)
 
constexpr EventControllerScroll::Flags operator^ (EventControllerScroll::Flags lhs, EventControllerScroll::Flags rhs)
 
constexpr 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)
 
constexpr IconLookupFlags operator| (IconLookupFlags lhs, IconLookupFlags rhs)
 
constexpr IconLookupFlags operator& (IconLookupFlags lhs, IconLookupFlags rhs)
 
constexpr IconLookupFlags operator^ (IconLookupFlags lhs, IconLookupFlags rhs)
 
constexpr IconLookupFlags operator~ (IconLookupFlags flags)
 
IconLookupFlagsoperator|= (IconLookupFlags &lhs, IconLookupFlags rhs)
 
IconLookupFlagsoperator&= (IconLookupFlags &lhs, IconLookupFlags rhs)
 
IconLookupFlagsoperator^= (IconLookupFlags &lhs, IconLookupFlags rhs)
 
constexpr PopoverMenu::Flags operator| (PopoverMenu::Flags lhs, PopoverMenu::Flags rhs)
 
constexpr PopoverMenu::Flags operator& (PopoverMenu::Flags lhs, PopoverMenu::Flags rhs)
 
constexpr PopoverMenu::Flags operator^ (PopoverMenu::Flags lhs, PopoverMenu::Flags rhs)
 
constexpr 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.
 
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.
 
void run_page_setup_dialog_async (Window & parent, const Glib::RefPtr< const PageSetup > &page_setup, const Glib::RefPtr< const PrintSettings > &print_settings, const SlotPrintSetupDone &slot)
 Runs a page setup dialog, letting the user modify the values from page_setup.
 
void run_page_setup_dialog_async (Window & parent, const Glib::RefPtr< const PrintSettings > &print_settings, const SlotPrintSetupDone &slot)
 Runs a page setup dialog, letting the user modify the values from page_setup.
 
constexpr ShortcutAction::Flags operator| (ShortcutAction::Flags lhs, ShortcutAction::Flags rhs)
 
constexpr ShortcutAction::Flags operator& (ShortcutAction::Flags lhs, ShortcutAction::Flags rhs)
 
constexpr ShortcutAction::Flags operator^ (ShortcutAction::Flags lhs, ShortcutAction::Flags rhs)
 
constexpr 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)
 
constexpr TextBuffer::NotifyFlags operator| (TextBuffer::NotifyFlags lhs, TextBuffer::NotifyFlags rhs)
 
constexpr TextBuffer::NotifyFlags operator& (TextBuffer::NotifyFlags lhs, TextBuffer::NotifyFlags rhs)
 
constexpr TextBuffer::NotifyFlags operator^ (TextBuffer::NotifyFlags lhs, TextBuffer::NotifyFlags rhs)
 
constexpr TextBuffer::NotifyFlags operator~ (TextBuffer::NotifyFlags flags)
 
TextBuffer::NotifyFlagsoperator|= (TextBuffer::NotifyFlags &lhs, TextBuffer::NotifyFlags rhs)
 
TextBuffer::NotifyFlagsoperator&= (TextBuffer::NotifyFlags &lhs, TextBuffer::NotifyFlags rhs)
 
TextBuffer::NotifyFlagsoperator^= (TextBuffer::NotifyFlags &lhs, TextBuffer::NotifyFlags rhs)
 
constexpr TextSearchFlags operator| (TextSearchFlags lhs, TextSearchFlags rhs)
 
constexpr TextSearchFlags operator& (TextSearchFlags lhs, TextSearchFlags rhs)
 
constexpr TextSearchFlags operator^ (TextSearchFlags lhs, TextSearchFlags rhs)
 
constexpr TextSearchFlags operator~ (TextSearchFlags flags)
 
TextSearchFlagsoperator|= (TextSearchFlags &lhs, TextSearchFlags rhs)
 
TextSearchFlagsoperator&= (TextSearchFlags &lhs, TextSearchFlags rhs)
 
TextSearchFlagsoperator^= (TextSearchFlags &lhs, TextSearchFlags rhs)
 
constexpr PrintCapabilities operator| (PrintCapabilities lhs, PrintCapabilities rhs)
 
constexpr PrintCapabilities operator& (PrintCapabilities lhs, PrintCapabilities rhs)
 
constexpr PrintCapabilities operator^ (PrintCapabilities lhs, PrintCapabilities rhs)
 
constexpr PrintCapabilities operator~ (PrintCapabilities flags)
 
PrintCapabilitiesoperator|= (PrintCapabilities &lhs, PrintCapabilities rhs)
 
PrintCapabilitiesoperator&= (PrintCapabilities &lhs, PrintCapabilities rhs)
 
PrintCapabilitiesoperator^= (PrintCapabilities &lhs, PrintCapabilities rhs)
 
constexpr CellRendererState operator| (CellRendererState lhs, CellRendererState rhs)
 
constexpr CellRendererState operator& (CellRendererState lhs, CellRendererState rhs)
 
constexpr CellRendererState operator^ (CellRendererState lhs, CellRendererState rhs)
 
constexpr CellRendererState operator~ (CellRendererState flags)
 
CellRendererStateoperator|= (CellRendererState &lhs, CellRendererState rhs)
 
CellRendererStateoperator&= (CellRendererState &lhs, CellRendererState rhs)
 
CellRendererStateoperator^= (CellRendererState &lhs, CellRendererState rhs)
 
constexpr FontChooser::Level operator| (FontChooser::Level lhs, FontChooser::Level rhs)
 
constexpr FontChooser::Level operator& (FontChooser::Level lhs, FontChooser::Level rhs)
 
constexpr FontChooser::Level operator^ (FontChooser::Level lhs, FontChooser::Level rhs)
 
constexpr 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)
 
constexpr StyleContext::PrintFlags operator| (StyleContext::PrintFlags lhs, StyleContext::PrintFlags rhs)
 
constexpr StyleContext::PrintFlags operator& (StyleContext::PrintFlags lhs, StyleContext::PrintFlags rhs)
 
constexpr StyleContext::PrintFlags operator^ (StyleContext::PrintFlags lhs, StyleContext::PrintFlags rhs)
 
constexpr 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)
 
constexpr TreeModel::Flags operator| (TreeModel::Flags lhs, TreeModel::Flags rhs)
 
constexpr TreeModel::Flags operator& (TreeModel::Flags lhs, TreeModel::Flags rhs)
 
constexpr TreeModel::Flags operator^ (TreeModel::Flags lhs, TreeModel::Flags rhs)
 
constexpr 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)
 

Variables

const Glib::ustring PAPER_NAME_A3
 Common paper names, from PWG 5101.1-2002 PWG: Standard for Media Standardized Names.
 
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);.

Enumeration Type Documentation

◆ Align

Enumerator
FILL 

Stretch to fill all space if possible, center if no meaningful way to stretch.

Make the content fill the entire allocation, without taking its aspect ratio in consideration.

The text is placed is distributed across the label.

The resulting content will appear as stretched if its aspect ratio is different from the allocation aspect ratio.

START 

Snap to left or top side, leaving space on right or bottom.

Scroll to start.

The child is packed into the start of the widget.

END 

Snap to right or bottom side, leaving space on left or top.

Go to the adjustments upper bound.

Scroll to end.

The child is packed into the end of the widget.

CENTER 

Center natural width of widget inside the allocation.

Center the baseline.

The text is placed in the center of the label.

BASELINE_FILL 
BASELINE 
BASELINE_CENTER 

◆ ArrowType

Enumerator
UP 

Represents an upward pointing arrow.

Panned upwards.

Move up.

DOWN 

Represents a downward pointing arrow.

Panned downwards.

Move down.

LEFT 

Represents a left pointing arrow.

Left side border window.

Panned towards the left.

The feature is at the left edge.

The text is placed at the left edge of the label.

Move left.

RIGHT 

Represents a right pointing arrow.

Right side border window.

Panned towards the right.

The feature is at the right edge.

The text is placed at the right edge of the label.

Move right.

NONE 

No arrow.

No buttons at all.

Don't do any collation.

No units.

The sequence is handled, but not grabbed.

Events are handled regardless of what their target is.

Events are not delivered.

Don't do anything extra.

No special behaviour suggested.

Try not to wrap the text.

Do not wrap lines; just make the text area wider.

No selection is possible.

No scrolling.

No transition.

No direction.

This mode is the closest to GTK3's behavior but can lead to a wide label leaving lots of empty space below the text.

◆ BaselinePosition

Enumerator
TOP 
CENTER 
BOTTOM 

◆ ButtonsType

Enumerator
NONE 
OK 

An OK button.

CLOSE 

A Close button.

CANCEL 

A Cancel button.

YES_NO 

Yes and No buttons.

OK_CANCEL 

OK and Cancel buttons.

◆ CellRendererMode

Enumerator
INERT 

The cell is just for display and cannot be interacted with.

Note that this doesn’t mean that eg. the row being drawn can’t be selected – just that a particular element of it cannot be individually modified.

ACTIVATABLE 

The cell can be clicked.

EDITABLE 

The cell can be edited or otherwise modified.

◆ CellRendererState

Enumerator
SELECTED 
PRELIT 

The mouse is hovering over the cell.

INSENSITIVE 
SORTED 

The cell is in a sorted row.

FOCUSED 
EXPANDABLE 

The cell is in a row that can be expanded.

EXPANDED 

The cell is in a row that is expanded.

◆ Collation

Enumerator
NONE 
UNICODE 

Use glib_utf8_collate_key().

FILENAME 

Use glib_utf8_collate_key_for_filename().

◆ ContentFit

Enumerator
FILL 
CONTAIN 

Scale the content to fit the allocation, while taking its aspect ratio in consideration.

The resulting content will appear as letterboxed if its aspect ratio is different from the allocation aspect ratio.

COVER 

Cover the entire allocation, while taking the content aspect ratio in consideration.

The resulting content will appear as clipped if its aspect ratio is different from the allocation aspect ratio.

SCALE_DOWN 

The content is scaled down to fit the allocation, if needed, otherwise its original size is used.

◆ CornerType

Enumerator
TOP_LEFT 

Place the scrollbars on the right and bottom of the widget (default behaviour).

BOTTOM_LEFT 

Place the scrollbars on the top and right of the widget.

TOP_RIGHT 

Place the scrollbars on the left and bottom of the widget.

BOTTOM_RIGHT 

Place the scrollbars on the top and left of the widget.

◆ DeleteType

Enumerator
CHARS 

Delete characters.

WORD_ENDS 

Delete only the portion of the word to the left/right of cursor if we’re in the middle of a word.

WORDS 

Delete words.

Move forward or back by words.

DISPLAY_LINES 

Delete display-lines.

Move up or down lines (wrapped lines).

Display-lines refers to the visible lines, with respect to the current line breaks. As opposed to paragraphs, which are defined by line breaks in the input.

DISPLAY_LINE_ENDS 

Delete only the portion of the display-line to the left/right of cursor.

Move to either end of a line.

PARAGRAPH_ENDS 

Delete to the end of the paragraph.

Move to either end of a paragraph.

Like C-k in Emacs (or its reverse).

PARAGRAPHS 

Delete entire line.

Move up or down paragraphs (newline-ended lines).

Like C-k in pico.

WHITESPACE 

Delete only whitespace.

Like M-\ in Emacs.

◆ DirectionType

Enumerator
TAB_FORWARD 

Move forward.

TAB_BACKWARD 

Move backward.

UP 
DOWN 
LEFT 
RIGHT 

◆ EventSequenceState

Enumerator
NONE 
CLAIMED 

The sequence is handled and grabbed.

DENIED 

The sequence is denied.

◆ FontLevel

Enumerator
FAMILY 

Select a font family.

FACE 

Select a font face (i.e.

a family and a style).

FONT 

Select a font (i.e.

a face with a size, and possibly font variations).

FEATURES 

Select a font and font features.

◆ FontRendering

Enumerator
AUTOMATIC 
MANUAL 

Follow low-level font-related settings when configuring font rendering.

◆ GraphicsOffloadEnabled

Enumerator
ENABLED 

Graphics offloading is enabled.

DISABLED 

Graphics offloading is disabled.

◆ IconLookupFlags

Enumerator
FORCE_REGULAR 

Try to always load regular icons, even when symbolic icon names are given.

FORCE_SYMBOLIC 

Try to always load symbolic icons, even when regular icon names are given.

PRELOAD 

Starts loading the texture in the background so it is ready when later needed.

◆ IconSize

Enumerator
INHERIT 

Keep the size of the parent element.

Inherit the minimum size request.

In particular, this should be used with Pango::WrapMode::CHAR.

NORMAL 

Size similar to text size.

Normal quality.

State during normal operation.

LARGE 

Large size, for example in an icon view.

◆ InputHints

Enumerator
NONE 
SPELLCHECK 

Suggest checking for typos.

NO_SPELLCHECK 

Suggest not checking for typos.

WORD_COMPLETION 

Suggest word completion.

LOWERCASE 

Suggest to convert all text to lowercase.

UPPERCASE_CHARS 

Suggest to capitalize all text.

UPPERCASE_WORDS 

Suggest to capitalize the first character of each word.

UPPERCASE_SENTENCES 

Suggest to capitalize the first word of each sentence.

INHIBIT_OSK 

Suggest to not show an onscreen keyboard (e.g for a calculator that already has all the keys).

VERTICAL_WRITING 

The text is vertical.

EMOJI 

Suggest offering Emoji support.

NO_EMOJI 

Suggest not offering Emoji support.

PRIVATE 

Request that the input method should not update personalized data (like typing history).

◆ InputPurpose

Enumerator
FREE_FORM 

Allow any character.

ALPHA 

Allow only alphabetic characters.

DIGITS 

Allow only digits.

NUMBER 

Edited field expects numbers.

PHONE 

Edited field expects phone number.

URL 

Edited field expects URL.

EMAIL 

Edited field expects email address.

NAME 

Edited field expects the name of a person.

PASSWORD 

Like Gtk::InputPurpose::FREE_FORM, but characters are hidden.

PIN 

Like Gtk::InputPurpose::DIGITS, but characters are hidden.

TERMINAL 

Allow any character, in addition to control codes.

◆ Justification

Enumerator
LEFT 
RIGHT 
CENTER 
FILL 

◆ License

Enumerator
UNKNOWN 

No license specified.

CUSTOM 

A license text is going to be specified by the developer.

GPL_2_0 

The GNU General Public License, version 2.0 or later.

GPL_3_0 

The GNU General Public License, version 3.0 or later.

LGPL_2_1 

The GNU Lesser General Public License, version 2.1 or later.

LGPL_3_0 

The GNU Lesser General Public License, version 3.0 or later.

BSD 

The BSD standard license.

MIT_X11 

The MIT/X11 standard license.

ARTISTIC 

The Artistic License, version 2.0.

GPL_2_0_ONLY 

The GNU General Public License, version 2.0 only.

GPL_3_0_ONLY 

The GNU General Public License, version 3.0 only.

LGPL_2_1_ONLY 

The GNU Lesser General Public License, version 2.1 only.

LGPL_3_0_ONLY 

The GNU Lesser General Public License, version 3.0 only.

AGPL_3_0 

The GNU Affero General Public License, version 3.0 or later.

AGPL_3_0_ONLY 

The GNU Affero General Public License, version 3.0 only.

BSD_3 

The 3-clause BSD licence.

APACHE_2_0 

The Apache License, version 2.0.

MPL_2_0 

The Mozilla Public License, version 2.0.

BSD_0 

Zero-Clause BSD license.

◆ ListScrollFlags

Enumerator
NONE 
FOCUS 

Focus the target item.

SELECT 

Select the target item and unselect all other items.

◆ ListTabBehavior

Enumerator
ALL 

Cycle through all focusable items of the list.

All pages.

ITEM 

Cycle through a single list element, then move focus out of the list.

Moving focus between items needs to be done with the arrow keys.

CELL 

Cycle only through a single cell, then move focus out of the list.

Moving focus between cells needs to be done with the arrow keys. This is only relevant for cell-based widgets like Gtk::ColumnView, otherwise it behaves like Gtk::ListTabBehavior::ITEM.

◆ MessageType

Enumerator
INFO 

Informational message.

WARNING 

Non-fatal warning message.

QUESTION 

Question requiring a choice.

ERROR 

Fatal error message.

OTHER 

None of the above.

◆ MovementStep

Enumerator
LOGICAL_POSITIONS 

Move forward or back by graphemes.

VISUAL_POSITIONS 

Move left or right by graphemes.

WORDS 
DISPLAY_LINES 
DISPLAY_LINE_ENDS 
PARAGRAPHS 
PARAGRAPH_ENDS 
PAGES 

Move by pages.

BUFFER_ENDS 

Move to ends of the buffer.

HORIZONTAL_PAGES 

Move horizontally by pages.

◆ NaturalWrapMode

Enumerator
INHERIT 
NONE 
WORD 

◆ NumberUpLayout

Enumerator
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 

.

◆ Ordering

Enumerator
SMALLER 

The first value is smaller than the second.

EQUAL 

The two values are equal.

LARGER 

The first value is larger than the second.

◆ Orientation

Enumerator
HORIZONTAL 

The element is in horizontal orientation.

Horizontal duplex.

VERTICAL 

The element is in vertical orientation.

Vertical duplex.

◆ Overflow

Enumerator
VISIBLE 

No change is applied.

Content is drawn at the specified position.

HIDDEN 

Content is clipped to the bounds of the area.

Content outside the area is not drawn and cannot be interacted with.

◆ PackType

Enumerator
START 
END 

◆ PadActionType

Enumerator
BUTTON 

Action is triggered by a pad button.

RING 

Action is triggered by a pad ring.

STRIP 

Action is triggered by a pad strip.

◆ PageOrientation

Enumerator
PORTRAIT 

Portrait mode.

LANDSCAPE 

Landscape mode.

REVERSE_PORTRAIT 

Reverse portrait mode.

REVERSE_LANDSCAPE 

Reverse landscape mode.

◆ PageSet

Enumerator
ALL 
EVEN 

Even pages.

ODD 

Odd pages.

◆ PanDirection

Enumerator
LEFT 
RIGHT 
UP 
DOWN 

◆ PickFlags

Enumerator
DEFAULT 

The default behavior, include widgets that are receiving events.

INSENSITIVE 

Include widgets that are insensitive.

The cell is drawn in an insensitive manner.

Widget is insensitive.

NON_TARGETABLE 

Include widgets that are marked as non-targetable.

See Gtk::Widget::property_can_target().

◆ PolicyType

Enumerator
ALWAYS 

The scrollbar is always visible.

The view size is independent of the content.

AUTOMATIC 

The scrollbar will appear and disappear as necessary.

Set up font rendering automatically, taking factors like screen resolution and scale into account.

For example, when all of a Gtk::TreeView can not be seen.

NEVER 

The scrollbar should never appear.

In this mode the content determines the size.

EXTERNAL 

Don't show a scrollbar, but don't force the size to follow the content.

This can be used e.g. to make multiple scrolled windows share a scrollbar.

◆ PositionType

Enumerator
LEFT 
RIGHT 
TOP 

The feature is at the top edge.

Top border window.

Align the baseline at the top.

BOTTOM 

The feature is at the bottom edge.

Bottom border window.

Align the baseline at the bottom.

◆ PrintCapabilities

Enumerator
PAGE_SET 

Print dialog will offer printing even/odd pages.

COPIES 

Print dialog will allow to print multiple copies.

COLLATE 

Print dialog will allow to collate multiple copies.

REVERSE 

Print dialog will allow to print pages in reverse order.

SCALE 

Print dialog will allow to scale the output.

GENERATE_PDF 

The program will send the document to the printer in PDF format.

GENERATE_PS 

The program will send the document to the printer in Postscript format.

PREVIEW 

Print dialog will offer a preview.

NUMBER_UP 

Print dialog will offer printing multiple pages per sheet.

NUMBER_UP_LAYOUT 

Print dialog will allow to rearrange pages when printing multiple pages per sheet.

◆ PrintDuplex

Enumerator
SIMPLEX 

No duplex.

HORIZONTAL 
VERTICAL 

◆ PrintPages

Enumerator
ALL 
CURRENT 

Current page.

RANGES 

Range of pages.

SELECTION 

Selected pages.

◆ PrintQuality

Enumerator
LOW 

Low quality.

NORMAL 
HIGH 

High quality.

DRAFT 

Draft quality.

◆ PrintStatus

Enumerator
INITIAL 

The printing has not started yet; this status is set initially, and while the print dialog is shown.

PREPARING 

This status is set while the begin-print signal is emitted and during pagination.

GENERATING_DATA 

This status is set while the pages are being rendered.

SENDING_DATA 

The print job is being sent off to the printer.

PENDING 

The print job has been sent to the printer, but is not printed for some reason, e.g.

the printer may be stopped.

PENDING_ISSUE 

Some problem has occurred during printing, e.g.

a paper jam.

PRINTING 

The printer is processing the print job.

FINISHED 

The printing has been completed successfully.

FINISHED_ABORTED 

The printing has been aborted.

◆ PropagationLimit

Enumerator
NONE 
SAME_NATIVE 

Events are only handled if their target is in the same Gtk::Native as the event controllers widget.

Note that some event types have two targets (origin and destination).

◆ PropagationPhase

Enumerator
NONE 
CAPTURE 

Events are delivered in the capture phase.

The capture phase happens before the bubble phase, runs from the toplevel down to the event widget. This option should only be used on containers that might possibly handle events before their children do.

BUBBLE 

Events are delivered in the bubble phase.

The bubble phase happens after the capture phase, and before the default handlers are run. This phase runs from the event widget, up to the toplevel.

TARGET 

Events are delivered in the default widget event handlers, note that widget implementations must chain up on button, motion, touch and grab broken handlers for controllers in this phase to be run.

◆ RevealerTransitionType

Enumerator
NONE 
CROSSFADE 

Fade in.

A cross-fade.

SLIDE_RIGHT 

Slide in from the left.

Slide from left to right.

SLIDE_LEFT 

Slide in from the right.

Slide from right to left.

SLIDE_UP 

Slide in from the bottom.

Slide from bottom up.

SLIDE_DOWN 

Slide in from the top.

Slide from top down.

SWING_RIGHT 

Floop in from the left.

SWING_LEFT 

Floop in from the right.

SWING_UP 

Floop in from the bottom.

SWING_DOWN 

Floop in from the top.

◆ ScrollType

Enumerator
NONE 
JUMP 

Jump to new location.

STEP_BACKWARD 

Step backward.

Decrement by the adjustments step increment.

STEP_FORWARD 

Step forward.

Increment by the adjustments step increment.

PAGE_BACKWARD 

Page backward.

Decrement by the adjustments page increment.

PAGE_FORWARD 

Page forward.

Increment by the adjustments page increment.

STEP_UP 

Step up.

STEP_DOWN 

Step down.

PAGE_UP 

Page up.

PAGE_DOWN 

Page down.

STEP_LEFT 

Step to the left.

STEP_RIGHT 

Step to the right.

PAGE_LEFT 

Page to the left.

PAGE_RIGHT 

Page to the right.

START 
END 

◆ SelectionMode

Enumerator
NONE 
SINGLE 

Zero or one element may be selected.

BROWSE 

Exactly one element is selected.

In some circumstances, such as initially or during a search operation, it’s possible for no element to be selected with Gtk::SelectionMode::BROWSE. What is really enforced is that the user can’t deselect a currently selected element except by selecting another element.

MULTIPLE 

Any number of elements may be selected.

The Ctrl key may be used to enlarge the selection, and Shift key to select between the focus and the child pointed to. Some widgets may also allow Click-drag to select a range of elements.

◆ SensitivityType

Enumerator
AUTO 

The control is made insensitive if no action can be triggered.

ON 

The control is always sensitive.

OFF 

The control is always insensitive.

◆ ShortcutScope

Enumerator
LOCAL 

Shortcuts are handled inside the widget the controller belongs to.

MANAGED 

Shortcuts are handled by the first ancestor that is a Gtk::ShortcutManager.

GLOBAL 

Shortcuts are handled by the root widget.

◆ ShortcutType

Enumerator
ACCELERATOR 

The shortcut is a keyboard accelerator.

The GtkShortcutsShortcut:accelerator property will be used.

GESTURE_PINCH 

The shortcut is a pinch gesture.

GTK provides an icon and subtitle.

GESTURE_STRETCH 

The shortcut is a stretch gesture.

GTK provides an icon and subtitle.

GESTURE_ROTATE_CLOCKWISE 

The shortcut is a clockwise rotation gesture.

GTK provides an icon and subtitle.

GESTURE_ROTATE_COUNTERCLOCKWISE 

The shortcut is a counterclockwise rotation gesture.

GTK provides an icon and subtitle.

GESTURE_TWO_FINGER_SWIPE_LEFT 

The shortcut is a two-finger swipe gesture.

GTK provides an icon and subtitle.

GESTURE_TWO_FINGER_SWIPE_RIGHT 

The shortcut is a two-finger swipe gesture.

GTK provides an icon and subtitle.

GESTURE 

The shortcut is a gesture.

The GtkShortcutsShortcut:icon property will be used.

GESTURE_SWIPE_LEFT 

The shortcut is a swipe gesture.

GTK provides an icon and subtitle.

GESTURE_SWIPE_RIGHT 

The shortcut is a swipe gesture.

GTK provides an icon and subtitle.

◆ SizeRequestMode

Enumerator
HEIGHT_FOR_WIDTH 

Prefer height-for-width geometry management.

WIDTH_FOR_HEIGHT 

Prefer width-for-height geometry management.

CONSTANT_SIZE 

Don’t trade height-for-width or width-for-height.

◆ SortType

Enumerator
ASCENDING 

Sorting is in ascending order.

DESCENDING 

Sorting is in descending order.

◆ SpinType

Enumerator
STEP_FORWARD 
STEP_BACKWARD 
PAGE_FORWARD 
PAGE_BACKWARD 
HOME 

Go to the adjustments lower bound.

END 
USER_DEFINED 

Change by a specified amount.

◆ StackTransitionType

Enumerator
NONE 
CROSSFADE 
SLIDE_RIGHT 
SLIDE_LEFT 
SLIDE_UP 
SLIDE_DOWN 
SLIDE_LEFT_RIGHT 

Slide from left or right according to the children order.

SLIDE_UP_DOWN 

Slide from top down or bottom up according to the order.

OVER_UP 

Cover the old page by sliding up.

OVER_DOWN 

Cover the old page by sliding down.

OVER_LEFT 

Cover the old page by sliding to the left.

OVER_RIGHT 

Cover the old page by sliding to the right.

UNDER_UP 

Uncover the new page by sliding up.

UNDER_DOWN 

Uncover the new page by sliding down.

UNDER_LEFT 

Uncover the new page by sliding to the left.

UNDER_RIGHT 

Uncover the new page by sliding to the right.

OVER_UP_DOWN 

Cover the old page sliding up or uncover the new page sliding down, according to order.

OVER_DOWN_UP 

Cover the old page sliding down or uncover the new page sliding up, according to order.

OVER_LEFT_RIGHT 

Cover the old page sliding left or uncover the new page sliding right, according to order.

OVER_RIGHT_LEFT 

Cover the old page sliding right or uncover the new page sliding left, according to order.

ROTATE_LEFT 

Pretend the pages are sides of a cube and rotate that cube to the left.

ROTATE_RIGHT 

Pretend the pages are sides of a cube and rotate that cube to the right.

ROTATE_LEFT_RIGHT 

Pretend the pages are sides of a cube and rotate that cube to the left or right according to the children order.

◆ StateFlags

Enumerator
NORMAL 
ACTIVE 

Widget is active.

PRELIGHT 

Widget has a mouse pointer over it.

SELECTED 

Widget is selected.

The cell is currently selected, and probably has a selection colored background to render to.

INSENSITIVE 
INCONSISTENT 

Widget is inconsistent.

FOCUSED 

Widget has the keyboard focus.

The cell is in the focus row.

BACKDROP 

Widget is in a background toplevel window.

DIR_LTR 

Widget is in left-to-right text direction.

DIR_RTL 

Widget is in right-to-left text direction.

LINK 

Widget is a link.

VISITED 

The location the widget points to has already been visited.

CHECKED 

Widget is checked.

DROP_ACTIVE 

Widget is highlighted as a drop target for DND.

FOCUS_VISIBLE 

Widget has the visible focus.

FOCUS_WITHIN 

Widget contains the keyboard focus.

◆ TextDirection

Enumerator
NONE 
LTR 

Left to right text direction.

RTL 

Right to left text direction.

◆ TextSearchFlags

Enumerator
VISIBLE_ONLY 

Search only visible data.

A search match may have invisible text interspersed.

TEXT_ONLY 

Search only text.

A match may have paintables or child widgets mixed inside the matched range.

CASE_INSENSITIVE 

The text will be matched regardless of what case it is in.

◆ TextWindowType

Enumerator
WIDGET 

Window that floats over scrolling areas.

TEXT 

Scrollable text window.

LEFT 
RIGHT 
TOP 
BOTTOM 

◆ Unit

Enumerator
NONE 
POINTS 

Dimensions in points.

INCH 

Dimensions in inches.

MM 

Dimensions in millimeters.

◆ WrapMode

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.

Attempt to wrap at word boundaries.

This is useful in particular when using Pango::WrapMode::WORD_CHAR as the wrap mode.

WORD_CHAR 

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

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.
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.
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