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

Namespaces

namespace  AccelMap
 
namespace  Menu_Helpers
 
namespace  Stock
 

Classes

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

Typedefs

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

Enumerations

enum  License {
  LICENSE_UNKNOWN ,
  LICENSE_CUSTOM ,
  LICENSE_GPL_2_0 ,
  LICENSE_GPL_3_0 ,
  LICENSE_LGPL_2_1 ,
  LICENSE_LGPL_3_0 ,
  LICENSE_BSD ,
  LICENSE_MIT_X11 ,
  LICENSE_ARTISTIC ,
  LICENSE_GPL_2_0_ONLY ,
  LICENSE_GPL_3_0_ONLY ,
  LICENSE_LGPL_2_1_ONLY ,
  LICENSE_LGPL_3_0_ONLY ,
  LICENSE_AGPL_3_0 ,
  LICENSE_AGPL_3_0_ONLY
}
 
enum  ApplicationInhibitFlags {
  APPLICATION_INHIBIT_LOGOUT = (1 << 0) ,
  APPLICATION_INHIBIT_SWITCH = (1 << 1) ,
  APPLICATION_INHIBIT_SUSPEND = (1 << 2) ,
  APPLICATION_INHIBIT_IDLE = (1 << 3)
}
 
enum  AssistantPageType {
  ASSISTANT_PAGE_CONTENT ,
  ASSISTANT_PAGE_INTRO ,
  ASSISTANT_PAGE_CONFIRM ,
  ASSISTANT_PAGE_SUMMARY ,
  ASSISTANT_PAGE_PROGRESS ,
  ASSISTANT_PAGE_CUSTOM
}
 
enum  PackOptions {
  PACK_SHRINK ,
  PACK_EXPAND_PADDING ,
  PACK_EXPAND_WIDGET
}
 Packing options for adding child widgets to a Box with pack_start() and pack_end(). More...
 
enum  { BUTTONBOX_DEFAULT_SPACING = -1 }
 
enum  CalendarDisplayOptions {
  CALENDAR_SHOW_HEADING = 1 << 0 ,
  CALENDAR_SHOW_DAY_NAMES = 1 << 1 ,
  CALENDAR_NO_MONTH_CHANGE = 1 << 2 ,
  CALENDAR_SHOW_WEEK_NUMBERS = 1 << 3 ,
  CALENDAR_SHOW_DETAILS = 1 << 5
}
 
enum  CellRendererState {
  CELL_RENDERER_SELECTED = 1 << 0 ,
  CELL_RENDERER_PRELIT = 1 << 1 ,
  CELL_RENDERER_INSENSITIVE = 1 << 2 ,
  CELL_RENDERER_SORTED = 1 << 3 ,
  CELL_RENDERER_FOCUSED = 1 << 4 ,
  CELL_RENDERER_EXPANDABLE = 1 << 5 ,
  CELL_RENDERER_EXPANDED = 1 << 6
}
 
enum  CellRendererMode {
  CELL_RENDERER_MODE_INERT ,
  CELL_RENDERER_MODE_ACTIVATABLE ,
  CELL_RENDERER_MODE_EDITABLE
}
 
enum  CellRendererAccelMode {
  CELL_RENDERER_ACCEL_MODE_GTK ,
  CELL_RENDERER_ACCEL_MODE_OTHER
}
 
enum  CssSectionType {
  CSS_SECTION_DOCUMENT ,
  CSS_SECTION_IMPORT ,
  CSS_SECTION_COLOR_DEFINITION ,
  CSS_SECTION_BINDING_SET ,
  CSS_SECTION_RULESET ,
  CSS_SECTION_SELECTOR ,
  CSS_SECTION_DECLARATION ,
  CSS_SECTION_VALUE ,
  CSS_SECTION_KEYFRAMES
}
 
enum  DialogFlags {
  DIALOG_MODAL = 1 << 0 ,
  DIALOG_DESTROY_WITH_PARENT = 1 << 1 ,
  DIALOG_USE_HEADER_BAR = 1 << 2
}
 
enum  ResponseType {
  RESPONSE_NONE = -1 ,
  RESPONSE_REJECT = -2 ,
  RESPONSE_ACCEPT = -3 ,
  RESPONSE_DELETE_EVENT = -4 ,
  RESPONSE_OK = -5 ,
  RESPONSE_CANCEL = -6 ,
  RESPONSE_CLOSE = -7 ,
  RESPONSE_YES = -8 ,
  RESPONSE_NO = -9 ,
  RESPONSE_APPLY = -10 ,
  RESPONSE_HELP = -11
}
 
enum  EntryIconPosition {
  ENTRY_ICON_PRIMARY ,
  ENTRY_ICON_SECONDARY
}
 
enum  AccelFlags {
  ACCEL_VISIBLE = 1 << 0 ,
  ACCEL_LOCKED = 1 << 1 ,
  ACCEL_MASK = 0x07
}
 
enum  Align {
  ALIGN_FILL ,
  ALIGN_START ,
  ALIGN_END ,
  ALIGN_CENTER ,
  ALIGN_BASELINE
}
 
enum  ArrowType {
  ARROW_UP ,
  ARROW_DOWN ,
  ARROW_LEFT ,
  ARROW_RIGHT ,
  ARROW_NONE
}
 
enum  AttachOptions {
  EXPAND = 1 << 0 ,
  SHRINK = 1 << 1 ,
  FILL = 1 << 2
}
 
enum  ButtonBoxStyle {
  BUTTONBOX_SPREAD = 1 ,
  BUTTONBOX_EDGE ,
  BUTTONBOX_START ,
  BUTTONBOX_END ,
  BUTTONBOX_CENTER ,
  BUTTONBOX_EXPAND
}
 
enum  DeleteType {
  DELETE_CHARS ,
  DELETE_WORD_ENDS ,
  DELETE_WORDS ,
  DELETE_DISPLAY_LINES ,
  DELETE_DISPLAY_LINE_ENDS ,
  DELETE_PARAGRAPH_ENDS ,
  DELETE_PARAGRAPHS ,
  DELETE_WHITESPACE
}
 
enum  DirectionType {
  DIR_TAB_FORWARD ,
  DIR_TAB_BACKWARD ,
  DIR_UP ,
  DIR_DOWN ,
  DIR_LEFT ,
  DIR_RIGHT
}
 
enum  ExpanderStyle {
  EXPANDER_COLLAPSED ,
  EXPANDER_SEMI_COLLAPSED ,
  EXPANDER_SEMI_EXPANDED ,
  EXPANDER_EXPANDED
}
 
enum  BuiltinIconSize {
  ICON_SIZE_INVALID ,
  ICON_SIZE_MENU ,
  ICON_SIZE_SMALL_TOOLBAR ,
  ICON_SIZE_LARGE_TOOLBAR ,
  ICON_SIZE_BUTTON ,
  ICON_SIZE_DND ,
  ICON_SIZE_DIALOG
}
 
enum  TextDirection {
  TEXT_DIR_NONE ,
  TEXT_DIR_LTR ,
  TEXT_DIR_RTL
}
 
enum  Justification {
  JUSTIFY_LEFT ,
  JUSTIFY_RIGHT ,
  JUSTIFY_CENTER ,
  JUSTIFY_FILL
}
 
enum  MenuDirectionType {
  MENU_DIR_PARENT ,
  MENU_DIR_CHILD ,
  MENU_DIR_NEXT ,
  MENU_DIR_PREV
}
 
enum  MessageType {
  MESSAGE_INFO ,
  MESSAGE_WARNING ,
  MESSAGE_QUESTION ,
  MESSAGE_ERROR ,
  MESSAGE_OTHER
}
 
enum  MovementStep {
  MOVEMENT_LOGICAL_POSITIONS ,
  MOVEMENT_VISUAL_POSITIONS ,
  MOVEMENT_WORDS ,
  MOVEMENT_DISPLAY_LINES ,
  MOVEMENT_DISPLAY_LINE_ENDS ,
  MOVEMENT_PARAGRAPHS ,
  MOVEMENT_PARAGRAPH_ENDS ,
  MOVEMENT_PAGES ,
  MOVEMENT_BUFFER_ENDS ,
  MOVEMENT_HORIZONTAL_PAGES
}
 
enum  Orientation {
  ORIENTATION_HORIZONTAL ,
  ORIENTATION_VERTICAL
}
 
enum  CornerType {
  CORNER_TOP_LEFT ,
  CORNER_BOTTOM_LEFT ,
  CORNER_TOP_RIGHT ,
  CORNER_BOTTOM_RIGHT
}
 
enum  PackType {
  PACK_START ,
  PACK_END
}
 
enum  PathPriorityType {
  PATH_PRIO_LOWEST = 0 ,
  PATH_PRIO_GTK = 4 ,
  PATH_PRIO_APPLICATION = 8 ,
  PATH_PRIO_THEME = 10 ,
  PATH_PRIO_RC = 12 ,
  PATH_PRIO_HIGHEST = 15
}
 
enum  PathType {
  PATH_WIDGET ,
  PATH_WIDGET_CLASS ,
  PATH_CLASS
}
 
enum  PlacesOpenFlags {
  PLACES_OPEN_NORMAL = 1 << 0 ,
  PLACES_OPEN_NEW_TAB = 1 << 1 ,
  PLACES_OPEN_NEW_WINDOW = 1 << 2
}
 
enum  PolicyType {
  POLICY_ALWAYS ,
  POLICY_AUTOMATIC ,
  POLICY_NEVER ,
  POLICY_EXTERNAL
}
 
enum  PositionType {
  POS_LEFT ,
  POS_RIGHT ,
  POS_TOP ,
  POS_BOTTOM
}
 
enum  ReliefStyle {
  RELIEF_NORMAL ,
  RELIEF_HALF ,
  RELIEF_NONE
}
 
enum  ResizeMode {
  RESIZE_PARENT ,
  RESIZE_QUEUE ,
  RESIZE_IMMEDIATE
}
 
enum  RevealerTransitionType {
  REVEALER_TRANSITION_TYPE_NONE ,
  REVEALER_TRANSITION_TYPE_CROSSFADE ,
  REVEALER_TRANSITION_TYPE_SLIDE_RIGHT ,
  REVEALER_TRANSITION_TYPE_SLIDE_LEFT ,
  REVEALER_TRANSITION_TYPE_SLIDE_UP ,
  REVEALER_TRANSITION_TYPE_SLIDE_DOWN
}
 
enum  ScrollType {
  SCROLL_NONE ,
  SCROLL_JUMP ,
  SCROLL_STEP_BACKWARD ,
  SCROLL_STEP_FORWARD ,
  SCROLL_PAGE_BACKWARD ,
  SCROLL_PAGE_FORWARD ,
  SCROLL_STEP_UP ,
  SCROLL_STEP_DOWN ,
  SCROLL_PAGE_UP ,
  SCROLL_PAGE_DOWN ,
  SCROLL_STEP_LEFT ,
  SCROLL_STEP_RIGHT ,
  SCROLL_PAGE_LEFT ,
  SCROLL_PAGE_RIGHT ,
  SCROLL_START ,
  SCROLL_END
}
 
enum  SelectionMode {
  SELECTION_NONE ,
  SELECTION_SINGLE ,
  SELECTION_BROWSE ,
  SELECTION_MULTIPLE
}
 
enum  ShadowType {
  SHADOW_NONE ,
  SHADOW_IN ,
  SHADOW_OUT ,
  SHADOW_ETCHED_IN ,
  SHADOW_ETCHED_OUT
}
 
enum  StackTransitionType {
  STACK_TRANSITION_TYPE_NONE ,
  STACK_TRANSITION_TYPE_CROSSFADE ,
  STACK_TRANSITION_TYPE_SLIDE_RIGHT ,
  STACK_TRANSITION_TYPE_SLIDE_LEFT ,
  STACK_TRANSITION_TYPE_SLIDE_UP ,
  STACK_TRANSITION_TYPE_SLIDE_DOWN ,
  STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT ,
  STACK_TRANSITION_TYPE_SLIDE_UP_DOWN ,
  STACK_TRANSITION_TYPE_OVER_UP ,
  STACK_TRANSITION_TYPE_OVER_DOWN ,
  STACK_TRANSITION_TYPE_OVER_LEFT ,
  STACK_TRANSITION_TYPE_OVER_RIGHT ,
  STACK_TRANSITION_TYPE_UNDER_UP ,
  STACK_TRANSITION_TYPE_UNDER_DOWN ,
  STACK_TRANSITION_TYPE_UNDER_LEFT ,
  STACK_TRANSITION_TYPE_UNDER_RIGHT ,
  STACK_TRANSITION_TYPE_OVER_UP_DOWN ,
  STACK_TRANSITION_TYPE_OVER_DOWN_UP ,
  STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT ,
  STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT
}
 
enum  StateType {
  STATE_NORMAL ,
  STATE_ACTIVE ,
  STATE_PRELIGHT ,
  STATE_SELECTED ,
  STATE_INSENSITIVE ,
  STATE_INCONSISTENT ,
  STATE_FOCUSED
}
 
enum  TargetFlags {
  TARGET_SAME_APP = 1 << 0 ,
  TARGET_SAME_WIDGET = 1 << 1 ,
  TARGET_OTHER_APP = 1 << 2 ,
  TARGET_OTHER_WIDGET = 1 << 3
}
 
enum  ToolbarStyle {
  TOOLBAR_ICONS ,
  TOOLBAR_TEXT ,
  TOOLBAR_BOTH ,
  TOOLBAR_BOTH_HORIZ
}
 
enum  WindowPosition {
  WIN_POS_NONE ,
  WIN_POS_CENTER ,
  WIN_POS_MOUSE ,
  WIN_POS_CENTER_ALWAYS ,
  WIN_POS_CENTER_ON_PARENT
}
 
enum  WindowType {
  WINDOW_TOPLEVEL ,
  WINDOW_POPUP
}
 
enum  WrapMode {
  WRAP_NONE ,
  WRAP_CHAR ,
  WRAP_WORD ,
  WRAP_WORD_CHAR
}
 
enum  SortType {
  SORT_ASCENDING ,
  SORT_DESCENDING
}
 
enum  PageOrientation {
  PAGE_ORIENTATION_PORTRAIT ,
  PAGE_ORIENTATION_LANDSCAPE ,
  PAGE_ORIENTATION_REVERSE_PORTRAIT ,
  PAGE_ORIENTATION_REVERSE_LANDSCAPE
}
 
enum  SensitivityType {
  SENSITIVITY_AUTO ,
  SENSITIVITY_ON ,
  SENSITIVITY_OFF
}
 
enum  SizeRequestMode {
  SIZE_REQUEST_HEIGHT_FOR_WIDTH ,
  SIZE_REQUEST_WIDTH_FOR_HEIGHT ,
  SIZE_REQUEST_CONSTANT_SIZE
}
 
enum  RegionFlags {
  REGION_EVEN = 1 << 0 ,
  REGION_ODD = 1 << 1 ,
  REGION_FIRST = 1 << 2 ,
  REGION_LAST = 1 << 3 ,
  REGION_ONLY = 1 << 4 ,
  REGION_SORTED = 1 << 5
}
 
enum  JunctionSides {
  JUNCTION_NONE = 0x0 ,
  JUNCTION_CORNER_TOPLEFT = 1 << 0 ,
  JUNCTION_CORNER_TOPRIGHT = 1 << 1 ,
  JUNCTION_CORNER_BOTTOMLEFT = 1 << 2 ,
  JUNCTION_CORNER_BOTTOMRIGHT = 1 << 3 ,
  JUNCTION_TOP = 0x3 ,
  JUNCTION_BOTTOM = 0xC ,
  JUNCTION_LEFT = 0x5 ,
  JUNCTION_RIGHT = 0xA
}
 
enum  StateFlags {
  STATE_FLAG_NORMAL = 0x0 ,
  STATE_FLAG_ACTIVE = 1 << 0 ,
  STATE_FLAG_PRELIGHT = 1 << 1 ,
  STATE_FLAG_SELECTED = 1 << 2 ,
  STATE_FLAG_INSENSITIVE = 1 << 3 ,
  STATE_FLAG_INCONSISTENT = 1 << 4 ,
  STATE_FLAG_FOCUSED = 1 << 5 ,
  STATE_FLAG_BACKDROP = 1 << 6 ,
  STATE_FLAG_DIR_LTR = 1 << 7 ,
  STATE_FLAG_DIR_RTL = 1 << 8 ,
  STATE_FLAG_LINK = 1 << 9 ,
  STATE_FLAG_VISITED = 1 << 10 ,
  STATE_FLAG_CHECKED = 1 << 11 ,
  STATE_FLAG_DROP_ACTIVE = 1 << 12
}
 
enum  InputPurpose {
  INPUT_PURPOSE_FREE_FORM ,
  INPUT_PURPOSE_ALPHA ,
  INPUT_PURPOSE_DIGITS ,
  INPUT_PURPOSE_NUMBER ,
  INPUT_PURPOSE_PHONE ,
  INPUT_PURPOSE_URL ,
  INPUT_PURPOSE_EMAIL ,
  INPUT_PURPOSE_NAME ,
  INPUT_PURPOSE_PASSWORD ,
  INPUT_PURPOSE_PIN
}
 
enum  InputHints {
  INPUT_HINT_NONE = 0x0 ,
  INPUT_HINT_SPELLCHECK = 1 << 0 ,
  INPUT_HINT_NO_SPELLCHECK = 1 << 1 ,
  INPUT_HINT_WORD_COMPLETION = 1 << 2 ,
  INPUT_HINT_LOWERCASE = 1 << 3 ,
  INPUT_HINT_UPPERCASE_CHARS = 1 << 4 ,
  INPUT_HINT_UPPERCASE_WORDS = 1 << 5 ,
  INPUT_HINT_UPPERCASE_SENTENCES = 1 << 6 ,
  INPUT_HINT_INHIBIT_OSK = 1 << 7 ,
  INPUT_HINT_VERTICAL_WRITING = 1 << 8 ,
  INPUT_HINT_EMOJI = 1 << 9 ,
  INPUT_HINT_NO_EMOJI = 1 << 10
}
 
enum  BaselinePosition {
  BASELINE_POSITION_TOP ,
  BASELINE_POSITION_CENTER ,
  BASELINE_POSITION_BOTTOM
}
 
enum  PropagationPhase {
  PHASE_NONE ,
  PHASE_CAPTURE ,
  PHASE_BUBBLE ,
  PHASE_TARGET
}
 
enum  FileChooserAction {
  FILE_CHOOSER_ACTION_OPEN ,
  FILE_CHOOSER_ACTION_SAVE ,
  FILE_CHOOSER_ACTION_SELECT_FOLDER ,
  FILE_CHOOSER_ACTION_CREATE_FOLDER
}
 
enum  FileChooserConfirmation {
  FILE_CHOOSER_CONFIRMATION_CONFIRM ,
  FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME ,
  FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN
}
 
enum  FileFilterFlags {
  FILE_FILTER_FILENAME = 1 << 0 ,
  FILE_FILTER_URI = 1 << 1 ,
  FILE_FILTER_DISPLAY_NAME = 1 << 2 ,
  FILE_FILTER_MIME_TYPE = 1 << 3
}
 
enum  EventSequenceState {
  EVENT_SEQUENCE_NONE ,
  EVENT_SEQUENCE_CLAIMED ,
  EVENT_SEQUENCE_DENIED
}
 
enum  PanDirection {
  PAN_DIRECTION_LEFT ,
  PAN_DIRECTION_RIGHT ,
  PAN_DIRECTION_UP ,
  PAN_DIRECTION_DOWN
}
 
enum  IconLookupFlags {
  ICON_LOOKUP_NO_SVG = 1 << 0 ,
  ICON_LOOKUP_FORCE_SVG = 1 << 1 ,
  ICON_LOOKUP_USE_BUILTIN = 1 << 2 ,
  ICON_LOOKUP_GENERIC_FALLBACK = 1 << 3 ,
  ICON_LOOKUP_FORCE_SIZE = 1 << 4 ,
  ICON_LOOKUP_FORCE_REGULAR = 1 << 5 ,
  ICON_LOOKUP_FORCE_SYMBOLIC = 1 << 6 ,
  ICON_LOOKUP_DIR_LTR = 1 << 7 ,
  ICON_LOOKUP_DIR_RTL = 1 << 8
}
 
enum  IconViewDropPosition {
  ICON_VIEW_NO_DROP ,
  ICON_VIEW_DROP_INTO ,
  ICON_VIEW_DROP_LEFT ,
  ICON_VIEW_DROP_RIGHT ,
  ICON_VIEW_DROP_ABOVE ,
  ICON_VIEW_DROP_BELOW
}
 
enum  ImageType {
  IMAGE_EMPTY ,
  IMAGE_PIXBUF ,
  IMAGE_STOCK ,
  IMAGE_ICON_SET ,
  IMAGE_ANIMATION ,
  IMAGE_ICON_NAME ,
  IMAGE_GICON ,
  IMAGE_SURFACE
}
 
enum  LevelBarMode {
  LEVEL_BAR_MODE_CONTINUOUS ,
  LEVEL_BAR_MODE_DISCRETE
}
 
enum  PackDirection {
  PACK_DIRECTION_LTR ,
  PACK_DIRECTION_RTL ,
  PACK_DIRECTION_TTB ,
  PACK_DIRECTION_BTT
}
 
enum  ButtonsType {
  BUTTONS_NONE ,
  BUTTONS_OK ,
  BUTTONS_CLOSE ,
  BUTTONS_CANCEL ,
  BUTTONS_YES_NO ,
  BUTTONS_OK_CANCEL
}
 
enum  ButtonRole {
  BUTTON_ROLE_NORMAL ,
  BUTTON_ROLE_CHECK ,
  BUTTON_ROLE_RADIO
}
 
enum  NotebookTab {
  NOTEBOOK_TAB_FIRST ,
  NOTEBOOK_TAB_LAST
}
 
enum  Unit {
  UNIT_NONE ,
  UNIT_POINTS ,
  UNIT_INCH ,
  UNIT_MM
}
 
enum  PopoverConstraint {
  POPOVER_CONSTRAINT_NONE ,
  POPOVER_CONSTRAINT_WINDOW
}
 
enum  PrintStatus {
  PRINT_STATUS_INITIAL ,
  PRINT_STATUS_PREPARING ,
  PRINT_STATUS_GENERATING_DATA ,
  PRINT_STATUS_SENDING_DATA ,
  PRINT_STATUS_PENDING ,
  PRINT_STATUS_PENDING_ISSUE ,
  PRINT_STATUS_PRINTING ,
  PRINT_STATUS_FINISHED ,
  PRINT_STATUS_FINISHED_ABORTED
}
 
enum  PrintOperationResult {
  PRINT_OPERATION_RESULT_ERROR ,
  PRINT_OPERATION_RESULT_APPLY ,
  PRINT_OPERATION_RESULT_CANCEL ,
  PRINT_OPERATION_RESULT_IN_PROGRESS
}
 
enum  PrintOperationAction {
  PRINT_OPERATION_ACTION_PRINT_DIALOG ,
  PRINT_OPERATION_ACTION_PRINT ,
  PRINT_OPERATION_ACTION_PREVIEW ,
  PRINT_OPERATION_ACTION_EXPORT
}
 
enum  PrintDuplex {
  PRINT_DUPLEX_SIMPLEX ,
  PRINT_DUPLEX_HORIZONTAL ,
  PRINT_DUPLEX_VERTICAL
}
 
enum  PrintQuality {
  PRINT_QUALITY_LOW ,
  PRINT_QUALITY_NORMAL ,
  PRINT_QUALITY_HIGH ,
  PRINT_QUALITY_DRAFT
}
 
enum  PrintPages {
  PRINT_PAGES_ALL ,
  PRINT_PAGES_CURRENT ,
  PRINT_PAGES_RANGES ,
  PRINT_PAGES_SELECTION
}
 
enum  PageSet {
  PAGE_SET_ALL ,
  PAGE_SET_EVEN ,
  PAGE_SET_ODD
}
 
enum  NumberUpLayout {
  NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM ,
  NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP ,
  NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM ,
  NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP ,
  NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT ,
  NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT ,
  NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT ,
  NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT
}
 
enum  RecentSortType {
  RECENT_SORT_NONE ,
  RECENT_SORT_MRU ,
  RECENT_SORT_LRU ,
  RECENT_SORT_CUSTOM
}
 
enum  RecentFilterFlags {
  RECENT_FILTER_URI = 1 << 0 ,
  RECENT_FILTER_DISPLAY_NAME = 1 << 1 ,
  RECENT_FILTER_MIME_TYPE = 1 << 2 ,
  RECENT_FILTER_APPLICATION = 1 << 3 ,
  RECENT_FILTER_GROUP = 1 << 4 ,
  RECENT_FILTER_AGE = 1 << 5
}
 
enum  ScrollablePolicy {
  SCROLL_MINIMUM ,
  SCROLL_NATURAL
}
 
enum  IMPreeditStyle {
  IM_PREEDIT_NOTHING ,
  IM_PREEDIT_CALLBACK ,
  IM_PREEDIT_NONE
}
 
enum  IMStatusStyle {
  IM_STATUS_NOTHING ,
  IM_STATUS_CALLBACK ,
  IM_STATUS_NONE
}
 
enum  ShortcutType {
  SHORTCUT_ACCELERATOR ,
  SHORTCUT_GESTURE_PINCH ,
  SHORTCUT_GESTURE_STRETCH ,
  SHORTCUT_GESTURE_ROTATE_CLOCKWISE ,
  SHORTCUT_GESTURE_ROTATE_COUNTERCLOCKWISE ,
  SHORTCUT_GESTURE_TWO_FINGER_SWIPE_LEFT ,
  SHORTCUT_GESTURE_TWO_FINGER_SWIPE_RIGHT ,
  SHORTCUT_GESTURE
}
 
enum  SizeGroupMode {
  SIZE_GROUP_NONE ,
  SIZE_GROUP_HORIZONTAL ,
  SIZE_GROUP_VERTICAL ,
  SIZE_GROUP_BOTH
}
 
enum  SpinButtonUpdatePolicy {
  UPDATE_ALWAYS ,
  UPDATE_IF_VALID
}
 
enum  SpinType {
  SPIN_STEP_FORWARD ,
  SPIN_STEP_BACKWARD ,
  SPIN_PAGE_FORWARD ,
  SPIN_PAGE_BACKWARD ,
  SPIN_HOME ,
  SPIN_END ,
  SPIN_USER_DEFINED
}
 
enum  { INPUT_ERROR = -1 }
 
enum  TextSearchFlags {
  TEXT_SEARCH_VISIBLE_ONLY = 1 << 0 ,
  TEXT_SEARCH_TEXT_ONLY = 1 << 1 ,
  TEXT_SEARCH_CASE_INSENSITIVE = 1 << 2
}
 
enum  TextWindowType {
  TEXT_WINDOW_PRIVATE ,
  TEXT_WINDOW_WIDGET ,
  TEXT_WINDOW_TEXT ,
  TEXT_WINDOW_LEFT ,
  TEXT_WINDOW_RIGHT ,
  TEXT_WINDOW_TOP ,
  TEXT_WINDOW_BOTTOM
}
 
enum  ToolPaletteDragTargets {
  TOOL_PALETTE_DRAG_ITEMS = (1 << 0) ,
  TOOL_PALETTE_DRAG_GROUPS = (1 << 1)
}
 
enum  TreeModelFlags {
  TREE_MODEL_ITERS_PERSIST = 1 << 0 ,
  TREE_MODEL_LIST_ONLY = 1 << 1
}
 
enum  TreeViewDropPosition {
  TREE_VIEW_DROP_BEFORE ,
  TREE_VIEW_DROP_AFTER ,
  TREE_VIEW_DROP_INTO_OR_BEFORE ,
  TREE_VIEW_DROP_INTO_OR_AFTER
}
 
enum  TreeViewGridLines {
  TREE_VIEW_GRID_LINES_NONE ,
  TREE_VIEW_GRID_LINES_HORIZONTAL ,
  TREE_VIEW_GRID_LINES_VERTICAL ,
  TREE_VIEW_GRID_LINES_BOTH
}
 
enum  TreeViewColumnSizing {
  TREE_VIEW_COLUMN_GROW_ONLY ,
  TREE_VIEW_COLUMN_AUTOSIZE ,
  TREE_VIEW_COLUMN_FIXED
}
 
enum  DestDefaults {
  DEST_DEFAULT_MOTION = 1 << 0 ,
  DEST_DEFAULT_HIGHLIGHT = 1 << 1 ,
  DEST_DEFAULT_DROP = 1 << 2 ,
  DEST_DEFAULT_ALL = 0x07
}
 
enum  WidgetHelpType {
  WIDGET_HELP_TOOLTIP ,
  WIDGET_HELP_WHATS_THIS
}
 
enum  DragResult {
  DRAG_RESULT_SUCCESS ,
  DRAG_RESULT_NO_TARGET ,
  DRAG_RESULT_USER_CANCELLED ,
  DRAG_RESULT_TIMEOUT_EXPIRED ,
  DRAG_RESULT_GRAB_BROKEN ,
  DRAG_RESULT_ERROR
}
 
enum  PrintCapabilities {
  PRINT_CAPABILITY_PAGE_SET = 1 << 0 ,
  PRINT_CAPABILITY_COPIES = 1 << 1 ,
  PRINT_CAPABILITY_COLLATE = 1 << 2 ,
  PRINT_CAPABILITY_REVERSE = 1 << 3 ,
  PRINT_CAPABILITY_SCALE = 1 << 4 ,
  PRINT_CAPABILITY_GENERATE_PDF = 1 << 5 ,
  PRINT_CAPABILITY_GENERATE_PS = 1 << 6 ,
  PRINT_CAPABILITY_PREVIEW = 1 << 7 ,
  PRINT_CAPABILITY_NUMBER_UP = 1 << 8 ,
  PRINT_CAPABILITY_NUMBER_UP_LAYOUT = 1 << 9
}
 
enum  UIManagerItemType {
  UI_MANAGER_AUTO = 0x0 ,
  UI_MANAGER_MENUBAR = 1 << 0 ,
  UI_MANAGER_MENU = 1 << 1 ,
  UI_MANAGER_TOOLBAR = 1 << 2 ,
  UI_MANAGER_PLACEHOLDER = 1 << 3 ,
  UI_MANAGER_POPUP = 1 << 4 ,
  UI_MANAGER_MENUITEM = 1 << 5 ,
  UI_MANAGER_TOOLITEM = 1 << 6 ,
  UI_MANAGER_SEPARATOR = 1 << 7 ,
  UI_MANAGER_ACCELERATOR = 1 << 8 ,
  UI_MANAGER_POPUP_WITH_ACCELS = 1 << 9
}
 

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>
T * make_managed (T_Args &&... args)
 Create a Gtk::Object such as a widget and Gtk::manage() it in a single step.
 
ApplicationInhibitFlags operator| (ApplicationInhibitFlags lhs, ApplicationInhibitFlags rhs)
 
ApplicationInhibitFlags operator& (ApplicationInhibitFlags lhs, ApplicationInhibitFlags rhs)
 
ApplicationInhibitFlags operator^ (ApplicationInhibitFlags lhs, ApplicationInhibitFlags rhs)
 
ApplicationInhibitFlags operator~ (ApplicationInhibitFlags flags)
 
ApplicationInhibitFlagsoperator|= (ApplicationInhibitFlags & lhs, ApplicationInhibitFlags rhs)
 
ApplicationInhibitFlagsoperator&= (ApplicationInhibitFlags & lhs, ApplicationInhibitFlags rhs)
 
ApplicationInhibitFlagsoperator^= (ApplicationInhibitFlags & lhs, ApplicationInhibitFlags rhs)
 
CalendarDisplayOptions operator| (CalendarDisplayOptions lhs, CalendarDisplayOptions rhs)
 
CalendarDisplayOptions operator& (CalendarDisplayOptions lhs, CalendarDisplayOptions rhs)
 
CalendarDisplayOptions operator^ (CalendarDisplayOptions lhs, CalendarDisplayOptions rhs)
 
CalendarDisplayOptions operator~ (CalendarDisplayOptions flags)
 
CalendarDisplayOptionsoperator|= (CalendarDisplayOptions & lhs, CalendarDisplayOptions rhs)
 
CalendarDisplayOptionsoperator&= (CalendarDisplayOptions & lhs, CalendarDisplayOptions rhs)
 
CalendarDisplayOptionsoperator^= (CalendarDisplayOptions & lhs, CalendarDisplayOptions rhs)
 
CellRendererState operator| (CellRendererState lhs, CellRendererState rhs)
 
CellRendererState operator& (CellRendererState lhs, CellRendererState rhs)
 
CellRendererState operator^ (CellRendererState lhs, CellRendererState rhs)
 
CellRendererState operator~ (CellRendererState flags)
 
CellRendererStateoperator|= (CellRendererState & lhs, CellRendererState rhs)
 
CellRendererStateoperator&= (CellRendererState & lhs, CellRendererState rhs)
 
CellRendererStateoperator^= (CellRendererState & lhs, CellRendererState rhs)
 
DialogFlags operator| (DialogFlags lhs, DialogFlags rhs)
 
DialogFlags operator& (DialogFlags lhs, DialogFlags rhs)
 
DialogFlags operator^ (DialogFlags lhs, DialogFlags rhs)
 
DialogFlags operator~ (DialogFlags flags)
 
DialogFlagsoperator|= (DialogFlags & lhs, DialogFlags rhs)
 
DialogFlagsoperator&= (DialogFlags & lhs, DialogFlags rhs)
 
DialogFlagsoperator^= (DialogFlags & lhs, DialogFlags rhs)
 
AccelFlags operator| (AccelFlags lhs, AccelFlags rhs)
 
AccelFlags operator& (AccelFlags lhs, AccelFlags rhs)
 
AccelFlags operator^ (AccelFlags lhs, AccelFlags rhs)
 
AccelFlags operator~ (AccelFlags flags)
 
AccelFlagsoperator|= (AccelFlags & lhs, AccelFlags rhs)
 
AccelFlagsoperator&= (AccelFlags & lhs, AccelFlags rhs)
 
AccelFlagsoperator^= (AccelFlags & lhs, AccelFlags rhs)
 
AttachOptions operator| (AttachOptions lhs, AttachOptions rhs)
 
AttachOptions operator& (AttachOptions lhs, AttachOptions rhs)
 
AttachOptions operator^ (AttachOptions lhs, AttachOptions rhs)
 
AttachOptions operator~ (AttachOptions flags)
 
AttachOptionsoperator|= (AttachOptions & lhs, AttachOptions rhs)
 
AttachOptionsoperator&= (AttachOptions & lhs, AttachOptions rhs)
 
AttachOptionsoperator^= (AttachOptions & lhs, AttachOptions rhs)
 
PlacesOpenFlags operator| (PlacesOpenFlags lhs, PlacesOpenFlags rhs)
 
PlacesOpenFlags operator& (PlacesOpenFlags lhs, PlacesOpenFlags rhs)
 
PlacesOpenFlags operator^ (PlacesOpenFlags lhs, PlacesOpenFlags rhs)
 
PlacesOpenFlags operator~ (PlacesOpenFlags flags)
 
PlacesOpenFlagsoperator|= (PlacesOpenFlags & lhs, PlacesOpenFlags rhs)
 
PlacesOpenFlagsoperator&= (PlacesOpenFlags & lhs, PlacesOpenFlags rhs)
 
PlacesOpenFlagsoperator^= (PlacesOpenFlags & lhs, PlacesOpenFlags rhs)
 
TargetFlags operator| (TargetFlags lhs, TargetFlags rhs)
 
TargetFlags operator& (TargetFlags lhs, TargetFlags rhs)
 
TargetFlags operator^ (TargetFlags lhs, TargetFlags rhs)
 
TargetFlags operator~ (TargetFlags flags)
 
TargetFlagsoperator|= (TargetFlags & lhs, TargetFlags rhs)
 
TargetFlagsoperator&= (TargetFlags & lhs, TargetFlags rhs)
 
TargetFlagsoperator^= (TargetFlags & lhs, TargetFlags rhs)
 
RegionFlags operator| (RegionFlags lhs, RegionFlags rhs)
 
RegionFlags operator& (RegionFlags lhs, RegionFlags rhs)
 
RegionFlags operator^ (RegionFlags lhs, RegionFlags rhs)
 
RegionFlags operator~ (RegionFlags flags)
 
RegionFlagsoperator|= (RegionFlags & lhs, RegionFlags rhs)
 
RegionFlagsoperator&= (RegionFlags & lhs, RegionFlags rhs)
 
RegionFlagsoperator^= (RegionFlags & lhs, RegionFlags rhs)
 
JunctionSides operator| (JunctionSides lhs, JunctionSides rhs)
 
JunctionSides operator& (JunctionSides lhs, JunctionSides rhs)
 
JunctionSides operator^ (JunctionSides lhs, JunctionSides rhs)
 
JunctionSides operator~ (JunctionSides flags)
 
JunctionSidesoperator|= (JunctionSides & lhs, JunctionSides rhs)
 
JunctionSidesoperator&= (JunctionSides & lhs, JunctionSides rhs)
 
JunctionSidesoperator^= (JunctionSides & lhs, JunctionSides rhs)
 
StateFlags operator| (StateFlags lhs, StateFlags rhs)
 
StateFlags operator& (StateFlags lhs, StateFlags rhs)
 
StateFlags operator^ (StateFlags lhs, StateFlags rhs)
 
StateFlags operator~ (StateFlags flags)
 
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)
 
FileFilterFlags operator| (FileFilterFlags lhs, FileFilterFlags rhs)
 
FileFilterFlags operator& (FileFilterFlags lhs, FileFilterFlags rhs)
 
FileFilterFlags operator^ (FileFilterFlags lhs, FileFilterFlags rhs)
 
FileFilterFlags operator~ (FileFilterFlags flags)
 
FileFilterFlagsoperator|= (FileFilterFlags & lhs, FileFilterFlags rhs)
 
FileFilterFlagsoperator&= (FileFilterFlags & lhs, FileFilterFlags rhs)
 
FileFilterFlagsoperator^= (FileFilterFlags & lhs, FileFilterFlags rhs)
 
IconLookupFlags operator| (IconLookupFlags lhs, IconLookupFlags rhs)
 
IconLookupFlags operator& (IconLookupFlags lhs, IconLookupFlags rhs)
 
IconLookupFlags operator^ (IconLookupFlags lhs, IconLookupFlags rhs)
 
IconLookupFlags operator~ (IconLookupFlags flags)
 
IconLookupFlagsoperator|= (IconLookupFlags & lhs, IconLookupFlags rhs)
 
IconLookupFlagsoperator&= (IconLookupFlags & lhs, IconLookupFlags rhs)
 
IconLookupFlagsoperator^= (IconLookupFlags & lhs, IconLookupFlags 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.
 
RecentFilterFlags operator| (RecentFilterFlags lhs, RecentFilterFlags rhs)
 
RecentFilterFlags operator& (RecentFilterFlags lhs, RecentFilterFlags rhs)
 
RecentFilterFlags operator^ (RecentFilterFlags lhs, RecentFilterFlags rhs)
 
RecentFilterFlags operator~ (RecentFilterFlags flags)
 
RecentFilterFlagsoperator|= (RecentFilterFlags & lhs, RecentFilterFlags rhs)
 
RecentFilterFlagsoperator&= (RecentFilterFlags & lhs, RecentFilterFlags rhs)
 
RecentFilterFlagsoperator^= (RecentFilterFlags & lhs, RecentFilterFlags rhs)
 
TextSearchFlags operator| (TextSearchFlags lhs, TextSearchFlags rhs)
 
TextSearchFlags operator& (TextSearchFlags lhs, TextSearchFlags rhs)
 
TextSearchFlags operator^ (TextSearchFlags lhs, TextSearchFlags rhs)
 
TextSearchFlags operator~ (TextSearchFlags flags)
 
TextSearchFlagsoperator|= (TextSearchFlags & lhs, TextSearchFlags rhs)
 
TextSearchFlagsoperator&= (TextSearchFlags & lhs, TextSearchFlags rhs)
 
TextSearchFlagsoperator^= (TextSearchFlags & lhs, TextSearchFlags rhs)
 
ToolPaletteDragTargets operator| (ToolPaletteDragTargets lhs, ToolPaletteDragTargets rhs)
 
ToolPaletteDragTargets operator& (ToolPaletteDragTargets lhs, ToolPaletteDragTargets rhs)
 
ToolPaletteDragTargets operator^ (ToolPaletteDragTargets lhs, ToolPaletteDragTargets rhs)
 
ToolPaletteDragTargets operator~ (ToolPaletteDragTargets flags)
 
ToolPaletteDragTargetsoperator|= (ToolPaletteDragTargets & lhs, ToolPaletteDragTargets rhs)
 
ToolPaletteDragTargetsoperator&= (ToolPaletteDragTargets & lhs, ToolPaletteDragTargets rhs)
 
ToolPaletteDragTargetsoperator^= (ToolPaletteDragTargets & lhs, ToolPaletteDragTargets rhs)
 
TreeModelFlags operator| (TreeModelFlags lhs, TreeModelFlags rhs)
 
TreeModelFlags operator& (TreeModelFlags lhs, TreeModelFlags rhs)
 
TreeModelFlags operator^ (TreeModelFlags lhs, TreeModelFlags rhs)
 
TreeModelFlags operator~ (TreeModelFlags flags)
 
TreeModelFlagsoperator|= (TreeModelFlags & lhs, TreeModelFlags rhs)
 
TreeModelFlagsoperator&= (TreeModelFlags & lhs, TreeModelFlags rhs)
 
TreeModelFlagsoperator^= (TreeModelFlags & lhs, TreeModelFlags rhs)
 
DestDefaults operator| (DestDefaults lhs, DestDefaults rhs)
 
DestDefaults operator& (DestDefaults lhs, DestDefaults rhs)
 
DestDefaults operator^ (DestDefaults lhs, DestDefaults rhs)
 
DestDefaults operator~ (DestDefaults flags)
 
DestDefaultsoperator|= (DestDefaults & lhs, DestDefaults rhs)
 
DestDefaultsoperator&= (DestDefaults & lhs, DestDefaults rhs)
 
DestDefaultsoperator^= (DestDefaults & lhs, DestDefaults rhs)
 
PrintCapabilities operator| (PrintCapabilities lhs, PrintCapabilities rhs)
 
PrintCapabilities operator& (PrintCapabilities lhs, PrintCapabilities rhs)
 
PrintCapabilities operator^ (PrintCapabilities lhs, PrintCapabilities rhs)
 
PrintCapabilities operator~ (PrintCapabilities flags)
 
PrintCapabilitiesoperator|= (PrintCapabilities & lhs, PrintCapabilities rhs)
 
PrintCapabilitiesoperator&= (PrintCapabilities & lhs, PrintCapabilities rhs)
 
PrintCapabilitiesoperator^= (PrintCapabilities & lhs, PrintCapabilities rhs)
 
UIManagerItemType operator| (UIManagerItemType lhs, UIManagerItemType rhs)
 
UIManagerItemType operator& (UIManagerItemType lhs, UIManagerItemType rhs)
 
UIManagerItemType operator^ (UIManagerItemType lhs, UIManagerItemType rhs)
 
UIManagerItemType operator~ (UIManagerItemType flags)
 
UIManagerItemTypeoperator|= (UIManagerItemType & lhs, UIManagerItemType rhs)
 
UIManagerItemTypeoperator&= (UIManagerItemType & lhs, UIManagerItemType rhs)
 
UIManagerItemTypeoperator^= (UIManagerItemType & lhs, UIManagerItemType 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

◆ Requisition

typedef GtkRequisition Gtk::Requisition

◆ SlotPrintSetupDone

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

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

Enumeration Type Documentation

◆ AccelFlags

Enumerator
ACCEL_VISIBLE 

Accelerator is visible.

ACCEL_LOCKED 

Accelerator not removable.

ACCEL_MASK 

Mask.

◆ Align

enum Gtk::Align
Enumerator
ALIGN_FILL 

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

ALIGN_START 

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

ALIGN_END 

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

ALIGN_CENTER 

Center natural width of widget inside the allocation.

ALIGN_BASELINE 

Align the widget according to the baseline.

Since gtkmm 3.10:

◆ ApplicationInhibitFlags

Enumerator
APPLICATION_INHIBIT_LOGOUT 

Inhibit ending the user session by logging out or by shutting down the computer.

APPLICATION_INHIBIT_SWITCH 

Inhibit user switching.

APPLICATION_INHIBIT_SUSPEND 

Inhibit suspending the session or computer.

APPLICATION_INHIBIT_IDLE 

Inhibit the session being marked as idle (and possibly locked).

◆ ArrowType

Enumerator
ARROW_UP 

Represents an upward pointing arrow.

ARROW_DOWN 

Represents a downward pointing arrow.

ARROW_LEFT 

Represents a left pointing arrow.

ARROW_RIGHT 

Represents a right pointing arrow.

ARROW_NONE 

No arrow.

Since gtkmm 2.10:

◆ AssistantPageType

Enumerator
ASSISTANT_PAGE_CONTENT 

The page has regular contents.

Both the Back and forward buttons will be shown.

ASSISTANT_PAGE_INTRO 

The page contains an introduction to the assistant task.

Only the Forward button will be shown if there is a next page.

ASSISTANT_PAGE_CONFIRM 

The page lets the user confirm or deny the changes.

The Back and Apply buttons will be shown.

ASSISTANT_PAGE_SUMMARY 

The page informs the user of the changes done.

Only the Close button will be shown.

ASSISTANT_PAGE_PROGRESS 

Used for tasks that take a long time to complete, blocks the assistant until the page is marked as complete.

Only the back button will be shown.

ASSISTANT_PAGE_CUSTOM 

Used for when other page types are not appropriate.

No buttons will be shown, and the application must add its own buttons through Gtk::Assistant::add_action_widget().

◆ AttachOptions

Enumerator
EXPAND 

The widget should expand to take up any extra space in its container that has been allocated.

SHRINK 

The widget should shrink as and when possible.

FILL 

The widget should fill the space allocated to it.

◆ BaselinePosition

Enumerator
BASELINE_POSITION_TOP 

Align the baseline at the top.

BASELINE_POSITION_CENTER 

Center the baseline.

BASELINE_POSITION_BOTTOM 

Align the baseline at the bottom.

◆ BuiltinIconSize

Enumerator
ICON_SIZE_INVALID 

Invalid size.

ICON_SIZE_MENU 

Size appropriate for menus (16px).

ICON_SIZE_SMALL_TOOLBAR 

Size appropriate for small toolbars (16px).

ICON_SIZE_LARGE_TOOLBAR 

Size appropriate for large toolbars (24px).

ICON_SIZE_BUTTON 

Size appropriate for buttons (16px).

ICON_SIZE_DND 

Size appropriate for drag and drop (32px).

ICON_SIZE_DIALOG 

Size appropriate for dialogs (48px).

◆ ButtonBoxStyle

Enumerator
BUTTONBOX_SPREAD 

Buttons are evenly spread across the box.

BUTTONBOX_EDGE 

Buttons are placed at the edges of the box.

BUTTONBOX_START 

Buttons are grouped towards the start of the box, (on the left for a HBox, or the top for a VBox).

BUTTONBOX_END 

Buttons are grouped towards the end of the box, (on the right for a HBox, or the bottom for a VBox).

BUTTONBOX_CENTER 

Buttons are centered in the box.

Since gtkmm 2.12:
BUTTONBOX_EXPAND 

Buttons expand to fill the box.

This entails giving buttons a "linked" appearance, making button sizes homogeneous, and setting spacing to 0 (same as calling Gtk::Box::set_homogeneous() and Gtk::Box::set_spacing() manually).

Since gtkmm 3.12:

◆ ButtonRole

Enumerator
BUTTON_ROLE_NORMAL 

A plain button.

BUTTON_ROLE_CHECK 

A check button.

BUTTON_ROLE_RADIO 

A radio button.

◆ ButtonsType

Enumerator
BUTTONS_NONE 

No buttons at all.

BUTTONS_OK 

An OK button.

BUTTONS_CLOSE 

A Close button.

BUTTONS_CANCEL 

A Cancel button.

BUTTONS_YES_NO 

Yes and No buttons.

BUTTONS_OK_CANCEL 

OK and Cancel buttons.

◆ CalendarDisplayOptions

Enumerator
CALENDAR_SHOW_HEADING 

Specifies that the month and year should be displayed.

CALENDAR_SHOW_DAY_NAMES 

Specifies that three letter day descriptions should be present.

CALENDAR_NO_MONTH_CHANGE 

Prevents the user from switching months with the calendar.

CALENDAR_SHOW_WEEK_NUMBERS 

Displays each week numbers of the current year, down the left side of the calendar.

CALENDAR_SHOW_DETAILS 

Just show an indicator, not the full details text when details are provided.

See Gtk::Calendar::set_detail_func().

◆ CellRendererAccelMode

Enumerator
CELL_RENDERER_ACCEL_MODE_GTK 

GTK+ accelerators mode.

CELL_RENDERER_ACCEL_MODE_OTHER 

Other accelerator mode.

◆ CellRendererMode

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

CELL_RENDERER_MODE_ACTIVATABLE 

The cell can be clicked.

CELL_RENDERER_MODE_EDITABLE 

The cell can be edited or otherwise modified.

◆ CellRendererState

Enumerator
CELL_RENDERER_SELECTED 

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

CELL_RENDERER_PRELIT 

The mouse is hovering over the cell.

CELL_RENDERER_INSENSITIVE 

The cell is drawn in an insensitive manner.

CELL_RENDERER_SORTED 

The cell is in a sorted row.

CELL_RENDERER_FOCUSED 

The cell is in the focus row.

CELL_RENDERER_EXPANDABLE 

The cell is in a row that can be expanded.

Since gtkmm 3.4:
CELL_RENDERER_EXPANDED 

The cell is in a row that is expanded.

Since gtkmm 3.4:

◆ CornerType

Enumerator
CORNER_TOP_LEFT 

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

CORNER_BOTTOM_LEFT 

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

CORNER_TOP_RIGHT 

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

CORNER_BOTTOM_RIGHT 

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

◆ CssSectionType

Enumerator
CSS_SECTION_DOCUMENT 

The section describes a complete document.

This section time is the only one where Gtk::CssSection::get_parent() might return nullptr.

CSS_SECTION_IMPORT 

The section defines an import rule.

CSS_SECTION_COLOR_DEFINITION 

The section defines a color.

This is a GTK extension to CSS.

CSS_SECTION_BINDING_SET 

The section defines a binding set.

This is a GTK extension to CSS.

CSS_SECTION_RULESET 

The section defines a CSS ruleset.

CSS_SECTION_SELECTOR 

The section defines a CSS selector.

CSS_SECTION_DECLARATION 

The section defines the declaration of a CSS variable.

CSS_SECTION_VALUE 

The section defines the value of a CSS declaration.

CSS_SECTION_KEYFRAMES 

The section defines keyframes.

See CSS Animations for details.

Since gtkmm 3.6:

◆ DeleteType

Enumerator
DELETE_CHARS 

Delete characters.

DELETE_WORD_ENDS 

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

DELETE_WORDS 

Delete words.

DELETE_DISPLAY_LINES 

Delete display-lines.

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

DELETE_DISPLAY_LINE_ENDS 

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

DELETE_PARAGRAPH_ENDS 

Delete to the end of the paragraph.

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

DELETE_PARAGRAPHS 

Delete entire line.

Like C-k in pico.

DELETE_WHITESPACE 

Delete only whitespace.

Like M-\ in Emacs.

◆ DestDefaults

Enumerator
DEST_DEFAULT_MOTION 

If set for a widget, GTK+, during a drag over this widget will check if the drag matches this widget’s list of possible targets and actions.

GTK+ will then call gdk_drag_status() as appropriate.

DEST_DEFAULT_HIGHLIGHT 

If set for a widget, GTK+ will draw a highlight on this widget as long as a drag is over this widget and the widget drag format and action are acceptable.

DEST_DEFAULT_DROP 

If set for a widget, when a drop occurs, GTK+ will will check if the drag matches this widget’s list of possible targets and actions.

If so, GTK+ will call gtk_drag_get_data() on behalf of the widget. Whether or not the drop is successful, GTK+ will call gtk_drag_finish(). If the action was a move, then if the drag was successful, then true will be passed for the delete parameter to gtk_drag_finish().

DEST_DEFAULT_ALL 

If set, specifies that all default actions should be taken.

◆ DialogFlags

Enumerator
DIALOG_MODAL 

Make the constructed dialog modal, see Gtk::Window::set_modal().

DIALOG_DESTROY_WITH_PARENT 

Destroy the dialog when its parent is destroyed, see Gtk::Window::set_destroy_with_parent().

DIALOG_USE_HEADER_BAR 

Create dialog with actions in header bar instead of action area.

Since gtkmm 3.12:

◆ DirectionType

Enumerator
DIR_TAB_FORWARD 

Move forward.

DIR_TAB_BACKWARD 

Move backward.

DIR_UP 

Move up.

DIR_DOWN 

Move down.

DIR_LEFT 

Move left.

DIR_RIGHT 

Move right.

◆ DragResult

Enumerator
DRAG_RESULT_SUCCESS 

The drag operation was successful.

DRAG_RESULT_NO_TARGET 

No suitable drag target.

DRAG_RESULT_USER_CANCELLED 

The user cancelled the drag operation.

DRAG_RESULT_TIMEOUT_EXPIRED 

The drag operation timed out.

DRAG_RESULT_GRAB_BROKEN 

The pointer or keyboard grab used for the drag operation was broken.

DRAG_RESULT_ERROR 

The drag operation failed due to some unspecified error.

◆ EntryIconPosition

Enumerator
ENTRY_ICON_PRIMARY 

At the beginning of the entry (depending on the text direction).

ENTRY_ICON_SECONDARY 

At the end of the entry (depending on the text direction).

◆ EventSequenceState

Enumerator
EVENT_SEQUENCE_NONE 

The sequence is handled, but not grabbed.

EVENT_SEQUENCE_CLAIMED 

The sequence is handled and grabbed.

EVENT_SEQUENCE_DENIED 

The sequence is denied.

◆ ExpanderStyle

Enumerator
EXPANDER_COLLAPSED 
Deprecated:

This is not used in the gtkmm API.

The style used for a collapsed subtree.

EXPANDER_SEMI_COLLAPSED 

Intermediate style used during animation.

EXPANDER_SEMI_EXPANDED 

Intermediate style used during animation.

EXPANDER_EXPANDED 

The style used for an expanded subtree.

◆ FileChooserAction

Enumerator
FILE_CHOOSER_ACTION_OPEN 

Indicates open mode.

The file chooser will only let the user pick an existing file.

FILE_CHOOSER_ACTION_SAVE 

Indicates save mode.

The file chooser will let the user pick an existing file, or type in a new filename.

FILE_CHOOSER_ACTION_SELECT_FOLDER 

Indicates an Open mode for selecting folders.

The file chooser will let the user pick an existing folder.

FILE_CHOOSER_ACTION_CREATE_FOLDER 

Indicates a mode for creating a new folder.

The file chooser will let the user name an existing or new folder.

◆ FileChooserConfirmation

Enumerator
FILE_CHOOSER_CONFIRMATION_CONFIRM 

The file chooser will present its stock dialog to confirm about overwriting an existing file.

FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME 

The file chooser will terminate and accept the user’s choice of a file name.

FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN 

The file chooser will continue running, so as to let the user select another file name.

◆ FileFilterFlags

Enumerator
FILE_FILTER_FILENAME 

The filename of the file being tested.

FILE_FILTER_URI 

The URI for the file being tested.

FILE_FILTER_DISPLAY_NAME 

The string that will be used to display the file in the file chooser.

FILE_FILTER_MIME_TYPE 

The mime type of the file.

◆ IconLookupFlags

Enumerator
ICON_LOOKUP_NO_SVG 

Never get SVG icons, even if gdk-pixbuf supports them.

Cannot be used together with Gtk::ICON_LOOKUP_FORCE_SVG.

ICON_LOOKUP_FORCE_SVG 

Get SVG icons, even if gdk-pixbuf doesn’t support them.

Cannot be used together with Gtk::ICON_LOOKUP_NO_SVG.

ICON_LOOKUP_USE_BUILTIN 

When passed to Gtk::IconTheme::lookup_icon() includes builtin icons as well as files.

For a builtin icon, Gtk::IconInfo::get_filename() is nullptr and you need to call Gtk::IconInfo::get_builtin_pixbuf().

ICON_LOOKUP_GENERIC_FALLBACK 

Try to shorten icon name at '-' characters before looking at inherited themes.

This flag is only supported in functions that take a single icon name. For more general fallback, see Gtk::IconTheme::choose_icon().

Since gtkmm 2.12:
ICON_LOOKUP_FORCE_SIZE 

Always get the icon scaled to the requested size.

Since gtkmm 2.14:
ICON_LOOKUP_FORCE_REGULAR 

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

Since gtkmm 3.14:
ICON_LOOKUP_FORCE_SYMBOLIC 

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

Since gtkmm 3.14:
ICON_LOOKUP_DIR_LTR 

Try to load a variant of the icon for left-to-right text direction.

Since gtkmm 3.14:
ICON_LOOKUP_DIR_RTL 

Try to load a variant of the icon for right-to-left text direction.

Since gtkmm 3.14:

◆ IconViewDropPosition

Enumerator
ICON_VIEW_NO_DROP 

No drop possible.

ICON_VIEW_DROP_INTO 

Dropped item replaces the item.

ICON_VIEW_DROP_LEFT 

Droppped item is inserted to the left.

ICON_VIEW_DROP_RIGHT 

Dropped item is inserted to the right.

ICON_VIEW_DROP_ABOVE 

Dropped item is inserted above.

ICON_VIEW_DROP_BELOW 

Dropped item is inserted below.

◆ ImageType

Enumerator
IMAGE_EMPTY 

There is no image displayed by the widget.

IMAGE_PIXBUF 

The widget contains a Gdk::Pixbuf.

IMAGE_STOCK 

The widget contains a [stock item name][gtkstock].

IMAGE_ICON_SET 

The widget contains a Gtk::IconSet.

IMAGE_ANIMATION 

The widget contains a Gdk::PixbufAnimation.

IMAGE_ICON_NAME 

The widget contains a named icon.

This image type was added in GTK+ 2.6.

IMAGE_GICON 

The widget contains a Gio::Icon.

This image type was added in GTK+ 2.14.

IMAGE_SURFACE 

The widget contains a #cairo_surface_t.

This image type was added in GTK+ 3.10.

◆ IMPreeditStyle

Enumerator
IM_PREEDIT_NOTHING 

Deprecated.

IM_PREEDIT_CALLBACK 

Deprecated.

IM_PREEDIT_NONE 

Deprecated.

◆ IMStatusStyle

Enumerator
IM_STATUS_NOTHING 

Deprecated.

IM_STATUS_CALLBACK 

Deprecated.

IM_STATUS_NONE 

Deprecated.

◆ InputHints

Enumerator
INPUT_HINT_NONE 

No special behaviour suggested.

INPUT_HINT_SPELLCHECK 

Suggest checking for typos.

INPUT_HINT_NO_SPELLCHECK 

Suggest not checking for typos.

INPUT_HINT_WORD_COMPLETION 

Suggest word completion.

INPUT_HINT_LOWERCASE 

Suggest to convert all text to lowercase.

INPUT_HINT_UPPERCASE_CHARS 

Suggest to capitalize all text.

INPUT_HINT_UPPERCASE_WORDS 

Suggest to capitalize the first character of each word.

INPUT_HINT_UPPERCASE_SENTENCES 

Suggest to capitalize the first word of each sentence.

INPUT_HINT_INHIBIT_OSK 

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

INPUT_HINT_VERTICAL_WRITING 

The text is vertical.

Since gtkmm 3.18:
INPUT_HINT_EMOJI 

Suggest offering Emoji support.

Since gtkmm 3.22.20:
INPUT_HINT_NO_EMOJI 

Suggest not offering Emoji support.

Since gtkmm 3.22.20:

◆ InputPurpose

Enumerator
INPUT_PURPOSE_FREE_FORM 

Allow any character.

INPUT_PURPOSE_ALPHA 

Allow only alphabetic characters.

INPUT_PURPOSE_DIGITS 

Allow only digits.

INPUT_PURPOSE_NUMBER 

Edited field expects numbers.

INPUT_PURPOSE_PHONE 

Edited field expects phone number.

INPUT_PURPOSE_URL 

Edited field expects URL.

INPUT_PURPOSE_EMAIL 

Edited field expects email address.

INPUT_PURPOSE_NAME 

Edited field expects the name of a person.

INPUT_PURPOSE_PASSWORD 

Like GTK_INPUT_PURPOSE_FREE_FORM, but characters are hidden.

INPUT_PURPOSE_PIN 

Like GTK_INPUT_PURPOSE_DIGITS, but characters are hidden.

◆ JunctionSides

Enumerator
JUNCTION_NONE 

No junctions.

JUNCTION_CORNER_TOPLEFT 

Element connects on the top-left corner.

JUNCTION_CORNER_TOPRIGHT 

Element connects on the top-right corner.

JUNCTION_CORNER_BOTTOMLEFT 

Element connects on the bottom-left corner.

JUNCTION_CORNER_BOTTOMRIGHT 

Element connects on the bottom-right corner.

JUNCTION_TOP 

Element connects on the top side.

JUNCTION_BOTTOM 

Element connects on the bottom side.

JUNCTION_LEFT 

Element connects on the left side.

JUNCTION_RIGHT 

Element connects on the right side.

◆ Justification

Enumerator
JUSTIFY_LEFT 

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

JUSTIFY_RIGHT 

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

JUSTIFY_CENTER 

The text is placed in the center of the label.

JUSTIFY_FILL 

The text is placed is distributed across the label.

◆ LevelBarMode

Enumerator
LEVEL_BAR_MODE_CONTINUOUS 

The bar has a continuous mode.

LEVEL_BAR_MODE_DISCRETE 

The bar has a discrete mode.

◆ License

Enumerator
LICENSE_UNKNOWN 

No license specified.

LICENSE_CUSTOM 

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

LICENSE_GPL_2_0 

The GNU General Public License, version 2.0 or later.

LICENSE_GPL_3_0 

The GNU General Public License, version 3.0 or later.

LICENSE_LGPL_2_1 

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

LICENSE_LGPL_3_0 

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

LICENSE_BSD 

The BSD standard license.

LICENSE_MIT_X11 

The MIT/X11 standard license.

LICENSE_ARTISTIC 

The Artistic License, version 2.0.

LICENSE_GPL_2_0_ONLY 

The GNU General Public License, version 2.0 only.

Since gtkmm 3.12:
LICENSE_GPL_3_0_ONLY 

The GNU General Public License, version 3.0 only.

Since gtkmm 3.12:
LICENSE_LGPL_2_1_ONLY 

The GNU Lesser General Public License, version 2.1 only.

Since gtkmm 3.12:
LICENSE_LGPL_3_0_ONLY 

The GNU Lesser General Public License, version 3.0 only.

Since gtkmm 3.12:
LICENSE_AGPL_3_0 

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

Since gtkmm 3.22:
LICENSE_AGPL_3_0_ONLY 

The GNU Affero General Public License, version 3.0 only.

Since gtkmm 3.22.27:

◆ MenuDirectionType

Enumerator
MENU_DIR_PARENT 

To the parent menu shell.

MENU_DIR_CHILD 

To the submenu, if any, associated with the item.

MENU_DIR_NEXT 

To the next menu item.

MENU_DIR_PREV 

To the previous menu item.

◆ MessageType

Enumerator
MESSAGE_INFO 

Informational message.

MESSAGE_WARNING 

Non-fatal warning message.

MESSAGE_QUESTION 

Question requiring a choice.

MESSAGE_ERROR 

Fatal error message.

MESSAGE_OTHER 

None of the above.

◆ MovementStep

Enumerator
MOVEMENT_LOGICAL_POSITIONS 

Move forward or back by graphemes.

MOVEMENT_VISUAL_POSITIONS 

Move left or right by graphemes.

MOVEMENT_WORDS 

Move forward or back by words.

MOVEMENT_DISPLAY_LINES 

Move up or down lines (wrapped lines).

MOVEMENT_DISPLAY_LINE_ENDS 

Move to either end of a line.

MOVEMENT_PARAGRAPHS 

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

MOVEMENT_PARAGRAPH_ENDS 

Move to either end of a paragraph.

MOVEMENT_PAGES 

Move by pages.

MOVEMENT_BUFFER_ENDS 

Move to ends of the buffer.

MOVEMENT_HORIZONTAL_PAGES 

Move horizontally by pages.

◆ NumberUpLayout

Enumerator
NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM 

.

NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP 

.

NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM 

.

NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP 

.

NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT 

.

NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT 

.

NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT 

.

NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT 

.

◆ Orientation

Enumerator
ORIENTATION_HORIZONTAL 

The element is in horizontal orientation.

ORIENTATION_VERTICAL 

The element is in vertical orientation.

◆ PackDirection

Enumerator
PACK_DIRECTION_LTR 

Widgets are packed left-to-right.

PACK_DIRECTION_RTL 

Widgets are packed right-to-left.

PACK_DIRECTION_TTB 

Widgets are packed top-to-bottom.

PACK_DIRECTION_BTT 

Widgets are packed bottom-to-top.

◆ PackType

Enumerator
PACK_START 

The child is packed into the start of the box.

PACK_END 

The child is packed into the end of the box.

◆ PageOrientation

Enumerator
PAGE_ORIENTATION_PORTRAIT 

Portrait mode.

PAGE_ORIENTATION_LANDSCAPE 

Landscape mode.

PAGE_ORIENTATION_REVERSE_PORTRAIT 

Reverse portrait mode.

PAGE_ORIENTATION_REVERSE_LANDSCAPE 

Reverse landscape mode.

◆ PageSet

Enumerator
PAGE_SET_ALL 

All pages.

PAGE_SET_EVEN 

Even pages.

PAGE_SET_ODD 

Odd pages.

◆ PanDirection

Enumerator
PAN_DIRECTION_LEFT 

Panned towards the left.

PAN_DIRECTION_RIGHT 

Panned towards the right.

PAN_DIRECTION_UP 

Panned upwards.

PAN_DIRECTION_DOWN 

Panned downwards.

◆ PathPriorityType

Enumerator
PATH_PRIO_LOWEST 

Deprecated.

PATH_PRIO_GTK 

Deprecated.

PATH_PRIO_APPLICATION 

Deprecated.

PATH_PRIO_THEME 

Deprecated.

PATH_PRIO_RC 

Deprecated.

PATH_PRIO_HIGHEST 

Deprecated.

◆ PathType

Enumerator
PATH_WIDGET 

Deprecated.

PATH_WIDGET_CLASS 

Deprecated.

PATH_CLASS 

Deprecated.

◆ PlacesOpenFlags

Enumerator
PLACES_OPEN_NORMAL 

This is the default mode that Gtk::PlacesSidebar uses if no other flags are specified.

It indicates that the calling application should open the selected location in the normal way, for example, in the folder view beside the sidebar.

PLACES_OPEN_NEW_TAB 

When passed to Gtk::PlacesSidebar::set_open_flags(), this indicates that the application can open folders selected from the sidebar in new tabs.

This value will be passed to the Gtk::PlacesSidebar::signal_open_location() signal when the user selects that a location be opened in a new tab instead of in the standard fashion.

PLACES_OPEN_NEW_WINDOW 

Similar to GTK_PLACES_OPEN_NEW_TAB, but indicates that the application can open folders in new windows.

◆ PolicyType

Enumerator
POLICY_ALWAYS 

The scrollbar is always visible.

The view size is independent of the content.

POLICY_AUTOMATIC 

The scrollbar will appear and disappear as necessary.

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

POLICY_NEVER 

The scrollbar should never appear.

In this mode the content determines the size.

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

Since gtkmm 3.16:

◆ PopoverConstraint

Enumerator
POPOVER_CONSTRAINT_NONE 

Don't constrain the popover position beyond what is imposed by the implementation.

POPOVER_CONSTRAINT_WINDOW 

Constrain the popover to the boundaries of the window that it is attached to.

◆ PositionType

Enumerator
POS_LEFT 

The feature is at the left edge.

POS_RIGHT 

The feature is at the right edge.

POS_TOP 

The feature is at the top edge.

POS_BOTTOM 

The feature is at the bottom edge.

◆ PrintCapabilities

Enumerator
PRINT_CAPABILITY_PAGE_SET 

Print dialog will offer printing even/odd pages.

PRINT_CAPABILITY_COPIES 

Print dialog will allow to print multiple copies.

PRINT_CAPABILITY_COLLATE 

Print dialog will allow to collate multiple copies.

PRINT_CAPABILITY_REVERSE 

Print dialog will allow to print pages in reverse order.

PRINT_CAPABILITY_SCALE 

Print dialog will allow to scale the output.

PRINT_CAPABILITY_GENERATE_PDF 

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

PRINT_CAPABILITY_GENERATE_PS 

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

PRINT_CAPABILITY_PREVIEW 

Print dialog will offer a preview.

PRINT_CAPABILITY_NUMBER_UP 

Print dialog will offer printing multiple pages per sheet.

Since gtkmm 2.12:
PRINT_CAPABILITY_NUMBER_UP_LAYOUT 

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

Since gtkmm 2.14:

◆ PrintDuplex

Enumerator
PRINT_DUPLEX_SIMPLEX 

No duplex.

PRINT_DUPLEX_HORIZONTAL 

Horizontal duplex.

PRINT_DUPLEX_VERTICAL 

Vertical duplex.

◆ PrintOperationAction

Enumerator
PRINT_OPERATION_ACTION_PRINT_DIALOG 

Show the print dialog.

PRINT_OPERATION_ACTION_PRINT 

Start to print without showing the print dialog, based on the current print settings.

PRINT_OPERATION_ACTION_PREVIEW 

Show the print preview.

PRINT_OPERATION_ACTION_EXPORT 

Export to a file.

This requires the export-filename property to be set.

◆ PrintOperationResult

Enumerator
PRINT_OPERATION_RESULT_ERROR 

An error has occurred.

PRINT_OPERATION_RESULT_APPLY 

The print settings should be stored.

PRINT_OPERATION_RESULT_CANCEL 

The print operation has been canceled, the print settings should not be stored.

PRINT_OPERATION_RESULT_IN_PROGRESS 

The print operation is not complete yet.

This value will only be returned when running asynchronously.

◆ PrintPages

Enumerator
PRINT_PAGES_ALL 

All pages.

PRINT_PAGES_CURRENT 

Current page.

PRINT_PAGES_RANGES 

Range of pages.

PRINT_PAGES_SELECTION 

Selected pages.

◆ PrintQuality

Enumerator
PRINT_QUALITY_LOW 

Low quality.

PRINT_QUALITY_NORMAL 

Normal quality.

PRINT_QUALITY_HIGH 

High quality.

PRINT_QUALITY_DRAFT 

Draft quality.

◆ PrintStatus

Enumerator
PRINT_STATUS_INITIAL 

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

PRINT_STATUS_PREPARING 

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

PRINT_STATUS_GENERATING_DATA 

This status is set while the pages are being rendered.

PRINT_STATUS_SENDING_DATA 

The print job is being sent off to the printer.

PRINT_STATUS_PENDING 

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

the printer may be stopped.

PRINT_STATUS_PENDING_ISSUE 

Some problem has occurred during printing, e.g.

a paper jam.

PRINT_STATUS_PRINTING 

The printer is processing the print job.

PRINT_STATUS_FINISHED 

The printing has been completed successfully.

PRINT_STATUS_FINISHED_ABORTED 

The printing has been aborted.

◆ PropagationPhase

Enumerator
PHASE_NONE 

Events are not delivered automatically.

Those can be manually fed through Gtk::EventController::handle_event(). This should only be used when full control about when, or whether the controller handles the event is needed.

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

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

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

◆ RecentFilterFlags

Enumerator
RECENT_FILTER_URI 

The URI of the file being tested.

RECENT_FILTER_DISPLAY_NAME 

The string that will be used to display the file in the recent chooser.

RECENT_FILTER_MIME_TYPE 

The mime type of the file.

RECENT_FILTER_APPLICATION 

The list of applications that have registered the file.

RECENT_FILTER_GROUP 

The groups to which the file belongs to.

RECENT_FILTER_AGE 

The number of days elapsed since the file has been registered.

◆ RecentSortType

Enumerator
RECENT_SORT_NONE 

Do not sort the returned list of recently used resources.

RECENT_SORT_MRU 

Sort the returned list with the most recently used items first.

RECENT_SORT_LRU 

Sort the returned list with the least recently used items first.

RECENT_SORT_CUSTOM 

Sort the returned list using a custom sorting function passed using Gtk::RecentChooser::set_sort_func().

◆ RegionFlags

Enumerator
REGION_EVEN 

Region has an even number within a set.

REGION_ODD 

Region has an odd number within a set.

REGION_FIRST 

Region is the first one within a set.

REGION_LAST 

Region is the last one within a set.

REGION_ONLY 

Region is the only one within a set.

REGION_SORTED 

Region is part of a sorted area.

◆ ReliefStyle

Enumerator
RELIEF_NORMAL 

Draw a normal relief.

RELIEF_HALF 

A half relief.

Deprecated in 3.14, does the same as GTK_RELIEF_NORMAL.

RELIEF_NONE 

No relief.

◆ ResizeMode

Enumerator
RESIZE_PARENT 

Pass resize request to the parent.

RESIZE_QUEUE 

Queue resizes on this widget.

RESIZE_IMMEDIATE 

Resize immediately.

Deprecated.

◆ ResponseType

Enumerator
RESPONSE_NONE 

Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed.

RESPONSE_REJECT 

Generic response id, not used by GTK+ dialogs.

RESPONSE_ACCEPT 

Generic response id, not used by GTK+ dialogs.

RESPONSE_DELETE_EVENT 

Returned if the dialog is deleted.

RESPONSE_OK 

Returned by OK buttons in GTK+ dialogs.

RESPONSE_CANCEL 

Returned by Cancel buttons in GTK+ dialogs.

RESPONSE_CLOSE 

Returned by Close buttons in GTK+ dialogs.

RESPONSE_YES 

Returned by Yes buttons in GTK+ dialogs.

RESPONSE_NO 

Returned by No buttons in GTK+ dialogs.

RESPONSE_APPLY 

Returned by Apply buttons in GTK+ dialogs.

RESPONSE_HELP 

Returned by Help buttons in GTK+ dialogs.

◆ RevealerTransitionType

Enumerator
REVEALER_TRANSITION_TYPE_NONE 

No transition.

REVEALER_TRANSITION_TYPE_CROSSFADE 

Fade in.

REVEALER_TRANSITION_TYPE_SLIDE_RIGHT 

Slide in from the left.

REVEALER_TRANSITION_TYPE_SLIDE_LEFT 

Slide in from the right.

REVEALER_TRANSITION_TYPE_SLIDE_UP 

Slide in from the bottom.

REVEALER_TRANSITION_TYPE_SLIDE_DOWN 

Slide in from the top.

◆ ScrollablePolicy

Enumerator
SCROLL_MINIMUM 

Scrollable adjustments are based on the minimum size.

SCROLL_NATURAL 

Scrollable adjustments are based on the natural size.

◆ ScrollType

Enumerator
SCROLL_NONE 

No scrolling.

SCROLL_JUMP 

Jump to new location.

SCROLL_STEP_BACKWARD 

Step backward.

SCROLL_STEP_FORWARD 

Step forward.

SCROLL_PAGE_BACKWARD 

Page backward.

SCROLL_PAGE_FORWARD 

Page forward.

SCROLL_STEP_UP 

Step up.

SCROLL_STEP_DOWN 

Step down.

SCROLL_PAGE_UP 

Page up.

SCROLL_PAGE_DOWN 

Page down.

SCROLL_STEP_LEFT 

Step to the left.

SCROLL_STEP_RIGHT 

Step to the right.

SCROLL_PAGE_LEFT 

Page to the left.

SCROLL_PAGE_RIGHT 

Page to the right.

SCROLL_START 

Scroll to start.

SCROLL_END 

Scroll to end.

◆ SelectionMode

Enumerator
SELECTION_NONE 

No selection is possible.

SELECTION_SINGLE 

Zero or one element may be selected.

SELECTION_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::SELECTION_BROWSE. What is really enforced is that the user can’t deselect a currently selected element except by selecting another element.

SELECTION_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
SENSITIVITY_AUTO 

The arrow is made insensitive if the thumb is at the end.

SENSITIVITY_ON 

The arrow is always sensitive.

SENSITIVITY_OFF 

The arrow is always insensitive.

◆ ShadowType

Enumerator
SHADOW_NONE 

No outline.

SHADOW_IN 

The outline is bevelled inwards.

SHADOW_OUT 

The outline is bevelled outwards like a button.

SHADOW_ETCHED_IN 

The outline has a sunken 3d appearance.

SHADOW_ETCHED_OUT 

The outline has a raised 3d appearance.

◆ ShortcutType

Enumerator
SHORTCUT_ACCELERATOR 

The shortcut is a keyboard accelerator.

The Gtk::ShortcutsShortcut::property_accelerator() property will be used.

SHORTCUT_GESTURE_PINCH 

The shortcut is a pinch gesture.

GTK+ provides an icon and subtitle.

SHORTCUT_GESTURE_STRETCH 

The shortcut is a stretch gesture.

GTK+ provides an icon and subtitle.

SHORTCUT_GESTURE_ROTATE_CLOCKWISE 

The shortcut is a clockwise rotation gesture.

GTK+ provides an icon and subtitle.

SHORTCUT_GESTURE_ROTATE_COUNTERCLOCKWISE 

The shortcut is a counterclockwise rotation gesture.

GTK+ provides an icon and subtitle.

SHORTCUT_GESTURE_TWO_FINGER_SWIPE_LEFT 

The shortcut is a two-finger swipe gesture.

GTK+ provides an icon and subtitle.

SHORTCUT_GESTURE_TWO_FINGER_SWIPE_RIGHT 

The shortcut is a two-finger swipe gesture.

GTK+ provides an icon and subtitle.

SHORTCUT_GESTURE 

The shortcut is a gesture.

The Gtk::ShortcutsShortcut::property_icon() property will be used.

◆ SizeGroupMode

Enumerator
SIZE_GROUP_NONE 

Group has no effect.

SIZE_GROUP_HORIZONTAL 

Group affects horizontal requisition.

SIZE_GROUP_VERTICAL 

Group affects vertical requisition.

SIZE_GROUP_BOTH 

Group affects both horizontal and vertical requisition.

◆ SizeRequestMode

Enumerator
SIZE_REQUEST_HEIGHT_FOR_WIDTH 

Prefer height-for-width geometry management.

SIZE_REQUEST_WIDTH_FOR_HEIGHT 

Prefer width-for-height geometry management.

SIZE_REQUEST_CONSTANT_SIZE 

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

◆ SortType

Enumerator
SORT_ASCENDING 

Sorting is in ascending order.

SORT_DESCENDING 

Sorting is in descending order.

◆ SpinButtonUpdatePolicy

Enumerator
UPDATE_ALWAYS 

When refreshing your Gtk::SpinButton, the value is always displayed.

UPDATE_IF_VALID 

When refreshing your Gtk::SpinButton, the value is only displayed if it is valid within the bounds of the spin button's adjustment.

◆ SpinType

Enumerator
SPIN_STEP_FORWARD 

Increment by the adjustments step increment.

SPIN_STEP_BACKWARD 

Decrement by the adjustments step increment.

SPIN_PAGE_FORWARD 

Increment by the adjustments page increment.

SPIN_PAGE_BACKWARD 

Decrement by the adjustments page increment.

SPIN_HOME 

Go to the adjustments lower bound.

SPIN_END 

Go to the adjustments upper bound.

SPIN_USER_DEFINED 

Change by a specified amount.

◆ StackTransitionType

Enumerator
STACK_TRANSITION_TYPE_NONE 

No transition.

STACK_TRANSITION_TYPE_CROSSFADE 

A cross-fade.

STACK_TRANSITION_TYPE_SLIDE_RIGHT 

Slide from left to right.

STACK_TRANSITION_TYPE_SLIDE_LEFT 

Slide from right to left.

STACK_TRANSITION_TYPE_SLIDE_UP 

Slide from bottom up.

STACK_TRANSITION_TYPE_SLIDE_DOWN 

Slide from top down.

STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT 

Slide from left or right according to the children order.

STACK_TRANSITION_TYPE_SLIDE_UP_DOWN 

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

STACK_TRANSITION_TYPE_OVER_UP 

Cover the old page by sliding up.

Since gtkmm 3.12:
STACK_TRANSITION_TYPE_OVER_DOWN 

Cover the old page by sliding down.

Since gtkmm 3.12:
STACK_TRANSITION_TYPE_OVER_LEFT 

Cover the old page by sliding to the left.

Since gtkmm 3.12:
STACK_TRANSITION_TYPE_OVER_RIGHT 

Cover the old page by sliding to the right.

Since gtkmm 3.12:
STACK_TRANSITION_TYPE_UNDER_UP 

Uncover the new page by sliding up.

Since gtkmm 3.12:
STACK_TRANSITION_TYPE_UNDER_DOWN 

Uncover the new page by sliding down.

Since gtkmm 3.12:
STACK_TRANSITION_TYPE_UNDER_LEFT 

Uncover the new page by sliding to the left.

Since gtkmm 3.12:
STACK_TRANSITION_TYPE_UNDER_RIGHT 

Uncover the new page by sliding to the right.

Since gtkmm 3.12:
STACK_TRANSITION_TYPE_OVER_UP_DOWN 

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

Since gtkmm 3.12:
STACK_TRANSITION_TYPE_OVER_DOWN_UP 

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

Since gtkmm 3.14:
STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT 

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

Since gtkmm 3.14:
STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT 

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

Since gtkmm 3.14:

◆ StateFlags

Enumerator
STATE_FLAG_NORMAL 

State during normal operation.

STATE_FLAG_ACTIVE 

Widget is active.

STATE_FLAG_PRELIGHT 

Widget has a mouse pointer over it.

STATE_FLAG_SELECTED 

Widget is selected.

STATE_FLAG_INSENSITIVE 

Widget is insensitive.

STATE_FLAG_INCONSISTENT 

Widget is inconsistent.

STATE_FLAG_FOCUSED 

Widget has the keyboard focus.

STATE_FLAG_BACKDROP 

Widget is in a background toplevel window.

STATE_FLAG_DIR_LTR 

Widget is in left-to-right text direction.

Since gtkmm 3.8:
STATE_FLAG_DIR_RTL 

Widget is in right-to-left text direction.

Since gtkmm 3.8:
STATE_FLAG_LINK 

Widget is a link.

Since gtkmm 3.12:
STATE_FLAG_VISITED 

The location the widget points to has already been visited.

Since gtkmm 3.12:
STATE_FLAG_CHECKED 

Widget is checked.

Since gtkmm 3.14:
STATE_FLAG_DROP_ACTIVE 

Widget is highlighted as a drop target for DND.

Since gtkmm 3.20:

◆ StateType

Enumerator
STATE_NORMAL 

State during normal operation.

STATE_ACTIVE 

State of a currently active widget, such as a depressed button.

STATE_PRELIGHT 

State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks.

STATE_SELECTED 

State of a selected item, such the selected row in a list.

STATE_INSENSITIVE 

State indicating that the widget is unresponsive to user actions.

STATE_INCONSISTENT 

The widget is inconsistent, such as checkbuttons or radiobuttons that aren’t either set to true nor false, or buttons requiring the user attention.

STATE_FOCUSED 

The widget has the keyboard focus.

◆ TargetFlags

Enumerator
TARGET_SAME_APP 

If this is set, the target will only be selected for drags within a single application.

TARGET_SAME_WIDGET 

If this is set, the target will only be selected for drags within a single widget.

TARGET_OTHER_APP 

If this is set, the target will not be selected for drags within a single application.

TARGET_OTHER_WIDGET 

If this is set, the target will not be selected for drags withing a single widget.

◆ TextDirection

Enumerator
TEXT_DIR_NONE 

No direction.

TEXT_DIR_LTR 

Left to right text direction.

TEXT_DIR_RTL 

Right to left text direction.

◆ TextSearchFlags

Enumerator
TEXT_SEARCH_VISIBLE_ONLY 

Search only visible data.

A search match may have invisible text interspersed.

TEXT_SEARCH_TEXT_ONLY 

Search only text.

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

TEXT_SEARCH_CASE_INSENSITIVE 

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

◆ TextWindowType

Enumerator
TEXT_WINDOW_PRIVATE 

Invalid value, used as a marker.

TEXT_WINDOW_WIDGET 

Window that floats over scrolling areas.

TEXT_WINDOW_TEXT 

Scrollable text window.

TEXT_WINDOW_LEFT 

Left side border window.

TEXT_WINDOW_RIGHT 

Right side border window.

TEXT_WINDOW_TOP 

Top border window.

TEXT_WINDOW_BOTTOM 

Bottom border window.

◆ ToolbarStyle

Enumerator
TOOLBAR_ICONS 

Buttons display only icons in the toolbar.

TOOLBAR_TEXT 

Buttons display only text labels in the toolbar.

TOOLBAR_BOTH 

Buttons display text and icons in the toolbar.

TOOLBAR_BOTH_HORIZ 

Buttons display icons and text alongside each other, rather than vertically stacked.

◆ ToolPaletteDragTargets

Enumerator
TOOL_PALETTE_DRAG_ITEMS 

Support drag of items.

TOOL_PALETTE_DRAG_GROUPS 

Support drag of groups.

◆ TreeModelFlags

Enumerator
TREE_MODEL_ITERS_PERSIST 

Iterators survive all signals emitted by the tree.

TREE_MODEL_LIST_ONLY 

The model is a list only, and never has children.

◆ TreeViewColumnSizing

Enumerator
TREE_VIEW_COLUMN_GROW_ONLY 

Columns only get bigger in reaction to changes in the model.

TREE_VIEW_COLUMN_AUTOSIZE 

Columns resize to be the optimal size everytime the model changes.

TREE_VIEW_COLUMN_FIXED 

Columns are a fixed numbers of pixels wide.

◆ TreeViewDropPosition

Enumerator
TREE_VIEW_DROP_BEFORE 

Dropped row is inserted before.

TREE_VIEW_DROP_AFTER 

Dropped row is inserted after.

TREE_VIEW_DROP_INTO_OR_BEFORE 

Dropped row becomes a child or is inserted before.

TREE_VIEW_DROP_INTO_OR_AFTER 

Dropped row becomes a child or is inserted after.

◆ TreeViewGridLines

Enumerator
TREE_VIEW_GRID_LINES_NONE 

No grid lines.

TREE_VIEW_GRID_LINES_HORIZONTAL 

Horizontal grid lines.

TREE_VIEW_GRID_LINES_VERTICAL 

Vertical grid lines.

TREE_VIEW_GRID_LINES_BOTH 

Horizontal and vertical grid lines.

◆ UIManagerItemType

Enumerator
UI_MANAGER_AUTO 

Pick the type of the UI element according to context.

UI_MANAGER_MENUBAR 

Create a menubar.

UI_MANAGER_MENU 

Create a menu.

UI_MANAGER_TOOLBAR 

Create a toolbar.

UI_MANAGER_PLACEHOLDER 

Insert a placeholder.

UI_MANAGER_POPUP 

Create a popup menu.

UI_MANAGER_MENUITEM 

Create a menuitem.

UI_MANAGER_TOOLITEM 

Create a toolitem.

UI_MANAGER_SEPARATOR 

Create a separator.

UI_MANAGER_ACCELERATOR 

Install an accelerator.

UI_MANAGER_POPUP_WITH_ACCELS 

Same as Gtk::UI_MANAGER_POPUP, but the actions’ accelerators are shown.

◆ Unit

enum Gtk::Unit
Enumerator
UNIT_NONE 

No units.

UNIT_POINTS 

Dimensions in points.

UNIT_INCH 

Dimensions in inches.

UNIT_MM 

Dimensions in millimeters.

◆ WidgetHelpType

Enumerator
WIDGET_HELP_TOOLTIP 

Tooltip.

WIDGET_HELP_WHATS_THIS 

What’s this.

◆ WindowPosition

Enumerator
WIN_POS_NONE 

No influence is made on placement.

WIN_POS_CENTER 

Windows should be placed in the center of the screen.

WIN_POS_MOUSE 

Windows should be placed at the current mouse position.

WIN_POS_CENTER_ALWAYS 

Keep window centered as it changes size, etc.

WIN_POS_CENTER_ON_PARENT 

Center the window on its transient parent (see Gtk::Window::set_transient_for()).

◆ WindowType

Enumerator
WINDOW_TOPLEVEL 

A regular window, such as a dialog.

WINDOW_POPUP 

A special window such as a tooltip.

◆ WrapMode

Enumerator
WRAP_NONE 

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

WRAP_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()).

WRAP_WORD 

Wrap text, breaking lines in between words.

WRAP_WORD_CHAR 

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

Function Documentation

◆ make_managed()

template <class T , class... T_Args>
T * 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,

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

◆ manage()

template <class T >
T * Gtk::manage ( T *  obj)

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

For instance,

Gtk::Button* button = Gtk::manage( new Gtk::Button("Hello") );
vbox.pack_start(*button); //vbox will delete button when vbox is deleted.
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:43
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