gtkmm: Gtk Namespace Reference

Namespaces

 AccelMap
 
 Menu_Helpers
 
 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);. More...

 
typedef GtkRequisition Requisition
 
typedef Gdk::Rectangle Allocation
 

Enumerations

enum  License {

  LICENSE_UNKNOWN,

  LICENSE_CUSTOM,

  LICENSE_GPL_2_0,

  LICENSE_GPL_3_0,

  LICENSE_LGPL_2_1,

  LICENSE_LGPL_3_0,

  LICENSE_BSD,

  LICENSE_MIT_X11,

  LICENSE_ARTISTIC,

  LICENSE_GPL_2_0_ONLY,

  LICENSE_GPL_3_0_ONLY,

  LICENSE_LGPL_2_1_ONLY,

  LICENSE_LGPL_3_0_ONLY,

  LICENSE_AGPL_3_0,

  LICENSE_AGPL_3_0_ONLY

}
 The type of license for an application. More...

 
enum  ApplicationInhibitFlags {

  APPLICATION_INHIBIT_LOGOUT = (1 << 0),

  APPLICATION_INHIBIT_SWITCH = (1 << 1),

  APPLICATION_INHIBIT_SUSPEND = (1 << 2),

  APPLICATION_INHIBIT_IDLE = (1 << 3)

}
 Types of user actions that may be blocked by Gtk::Application::inhibit(). More...

 
enum  AssistantPageType {

  ASSISTANT_PAGE_CONTENT,

  ASSISTANT_PAGE_INTRO,

  ASSISTANT_PAGE_CONFIRM,

  ASSISTANT_PAGE_SUMMARY,

  ASSISTANT_PAGE_PROGRESS,

  ASSISTANT_PAGE_CUSTOM

}
 An enum for determining the page role inside the Gtk::Assistant. More...

 
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

}
 These options can be used to influence the display and behaviour of a Gtk::Calendar. More...

 
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

}
 Tells how a cell is to be rendered. More...

 
enum  CellRendererMode {

  CELL_RENDERER_MODE_INERT,

  CELL_RENDERER_MODE_ACTIVATABLE,

  CELL_RENDERER_MODE_EDITABLE

}
 Identifies how the user can interact with a particular cell. More...

 
enum  CellRendererAccelMode {

  CELL_RENDERER_ACCEL_MODE_GTK,

  CELL_RENDERER_ACCEL_MODE_OTHER

}
 Determines if the edited accelerators are GTK+ accelerators. More...

 
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

}
 The different types of sections indicate parts of a CSS document as parsed by GTK’s CSS parser. More...

 
enum  DialogFlags {

  DIALOG_MODAL = 1 << 0,

  DIALOG_DESTROY_WITH_PARENT = 1 << 1,

  DIALOG_USE_HEADER_BAR = 1 << 2

}
 Flags used to influence dialog construction. More...

 
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

}
 Predefined values for use as response ids in Gtk::Dialog::add_button(). More...

 
enum  EntryIconPosition {

  ENTRY_ICON_PRIMARY,

  ENTRY_ICON_SECONDARY

}
 Specifies the side of the entry at which an icon is placed. More...

 
enum  AccelFlags {

  ACCEL_VISIBLE = 1 << 0,

  ACCEL_LOCKED = 1 << 1,

  ACCEL_MASK = 0x07

}
 Accelerator flags used with Gtk::AccelGroup::connect(). More...

 
enum  Align {

  ALIGN_FILL,

  ALIGN_START,

  ALIGN_END,

  ALIGN_CENTER,

  ALIGN_BASELINE

}
 Controls how a widget deals with extra space in a single (x or y) dimension. More...

 
enum  ArrowType {

  ARROW_UP,

  ARROW_DOWN,

  ARROW_LEFT,

  ARROW_RIGHT,

  ARROW_NONE

}
 Used to indicate the direction in which an arrow should point. More...

 
enum  AttachOptions {

  EXPAND = 1 << 0,

  SHRINK = 1 << 1,

  FILL = 1 << 2

}
 Denotes the expansion properties that a widget will have when it (or its parent) is resized. More...

 
enum  ButtonBoxStyle {

  BUTTONBOX_SPREAD = 1,

  BUTTONBOX_EDGE,

  BUTTONBOX_START,

  BUTTONBOX_END,

  BUTTONBOX_CENTER,

  BUTTONBOX_EXPAND

}
 Used to dictate the style that a Gtk::ButtonBox uses to layout the buttons it contains. More...

 
enum  DeleteType {

  DELETE_CHARS,

  DELETE_WORD_ENDS,

  DELETE_WORDS,

  DELETE_DISPLAY_LINES,

  DELETE_DISPLAY_LINE_ENDS,

  DELETE_PARAGRAPH_ENDS,

  DELETE_PARAGRAPHS,

  DELETE_WHITESPACE

}
 See also: Gtk::Entry::signal_delete_from_cursor(). More...

 
enum  DirectionType {

  DIR_TAB_FORWARD,

  DIR_TAB_BACKWARD,

  DIR_UP,

  DIR_DOWN,

  DIR_LEFT,

  DIR_RIGHT

}
 Focus movement types. More...

 
enum  ExpanderStyle {

  EXPANDER_COLLAPSED,

  EXPANDER_SEMI_COLLAPSED,

  EXPANDER_SEMI_EXPANDED,

  EXPANDER_EXPANDED

}
 Used to specify the style of the expanders drawn by a Gtk::TreeView. More...

 
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

}
 Built-in stock icon sizes. More...

 
enum  TextDirection {

  TEXT_DIR_NONE,

  TEXT_DIR_LTR,

  TEXT_DIR_RTL

}
 Reading directions for text. More...

 
enum  Justification {

  JUSTIFY_LEFT,

  JUSTIFY_RIGHT,

  JUSTIFY_CENTER,

  JUSTIFY_FILL

}
 Used for justifying the text inside a Gtk::Label widget. More...

 
enum  MenuDirectionType {

  MENU_DIR_PARENT,

  MENU_DIR_CHILD,

  MENU_DIR_NEXT,

  MENU_DIR_PREV

}
 An enumeration representing directional movements within a menu. More...

 
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

}
 Represents the orientation of widgets and other objects which can be switched between horizontal and vertical orientation on the fly, like Gtk::Toolbar or Gtk::GesturePan. More...

 
enum  CornerType {

  CORNER_TOP_LEFT,

  CORNER_BOTTOM_LEFT,

  CORNER_TOP_RIGHT,

  CORNER_BOTTOM_RIGHT

}
 Specifies which corner a child widget should be placed in when packed into a Gtk::ScrolledWindow. More...

 
enum  PackType {

  PACK_START,

  PACK_END

}
 Represents the packing location Gtk::Box children. More...

 
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

}
 Priorities for path lookups. More...

 
enum  PathType {

  PATH_WIDGET,

  PATH_WIDGET_CLASS,

  PATH_CLASS

}
 Widget path types. More...

 
enum  PlacesOpenFlags {

  PLACES_OPEN_NORMAL = 1 << 0,

  PLACES_OPEN_NEW_TAB = 1 << 1,

  PLACES_OPEN_NEW_WINDOW = 1 << 2

}
 These flags serve two purposes. More...

 
enum  PolicyType {

  POLICY_ALWAYS,

  POLICY_AUTOMATIC,

  POLICY_NEVER,

  POLICY_EXTERNAL

}
 Determines how the size should be computed to achieve the one of the visibility mode for the scrollbars. More...

 
enum  PositionType {

  POS_LEFT,

  POS_RIGHT,

  POS_TOP,

  POS_BOTTOM

}
 Describes which edge of a widget a certain feature is positioned at, e.g. More...

 
enum  ReliefStyle {

  RELIEF_NORMAL,

  RELIEF_HALF,

  RELIEF_NONE

}
 Indicated the relief to be drawn around a Gtk::Button. More...

 
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

}
 These enumeration values describe the possible transitions when the child of a Gtk::Revealer widget is shown or hidden. More...

 
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

}
 Scrolling types. More...

 
enum  SelectionMode {

  SELECTION_NONE,

  SELECTION_SINGLE,

  SELECTION_BROWSE,

  SELECTION_MULTIPLE

}
 Used to control what selections users are allowed to make. More...

 
enum  ShadowType {

  SHADOW_NONE,

  SHADOW_IN,

  SHADOW_OUT,

  SHADOW_ETCHED_IN,

  SHADOW_ETCHED_OUT

}
 Used to change the appearance of an outline typically provided by a Gtk::Frame. More...

 
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

}
 These enumeration values describe the possible transitions between pages in a Gtk::Stack widget. More...

 
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

}
 The Gtk::TargetFlags enumeration is used to specify constraints on a Gtk::TargetEntry. More...

 
enum  ToolbarStyle {

  TOOLBAR_ICONS,

  TOOLBAR_TEXT,

  TOOLBAR_BOTH,

  TOOLBAR_BOTH_HORIZ

}
 Used to customize the appearance of a Gtk::Toolbar. More...

 
enum  WindowPosition {

  WIN_POS_NONE,

  WIN_POS_CENTER,

  WIN_POS_MOUSE,

  WIN_POS_CENTER_ALWAYS,

  WIN_POS_CENTER_ON_PARENT

}
 Window placement can be influenced using this enumeration. More...

 
enum  WindowType {

  WINDOW_TOPLEVEL,

  WINDOW_POPUP

}
 
enum  WrapMode {

  WRAP_NONE,

  WRAP_CHAR,

  WRAP_WORD,

  WRAP_WORD_CHAR

}
 
enum  SortType {

  SORT_ASCENDING,

  SORT_DESCENDING

}
 Determines the direction of a sort. More...

 
enum  PageOrientation {

  PAGE_ORIENTATION_PORTRAIT,

  PAGE_ORIENTATION_LANDSCAPE,

  PAGE_ORIENTATION_REVERSE_PORTRAIT,

  PAGE_ORIENTATION_REVERSE_LANDSCAPE

}
 See also Gtk::PrintSettings::set_orientation(). More...

 
enum  SensitivityType {

  SENSITIVITY_AUTO,

  SENSITIVITY_ON,

  SENSITIVITY_OFF

}
 Determines how GTK+ handles the sensitivity of stepper arrows at the end of range widgets. More...

 
enum  SizeRequestMode {

  SIZE_REQUEST_HEIGHT_FOR_WIDTH,

  SIZE_REQUEST_WIDTH_FOR_HEIGHT,

  SIZE_REQUEST_CONSTANT_SIZE

}
 Specifies a preference for height-for-width or width-for-height geometry management. More...

 
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

}
 Describes a region within a widget. More...

 
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

}
 Describes how a rendered element connects to adjacent elements. More...

 
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

}
 Describes a widget state. More...

 
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

}
 Describes primary purpose of the input widget. More...

 
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

}
 Describes hints that might be taken into account by input methods or applications. More...

 
enum  BaselinePosition {

  BASELINE_POSITION_TOP,

  BASELINE_POSITION_CENTER,

  BASELINE_POSITION_BOTTOM

}
 Whenever a container has some form of natural row it may align children in that row along a common typographical baseline. More...

 
enum  PropagationPhase {

  PHASE_NONE,

  PHASE_CAPTURE,

  PHASE_BUBBLE,

  PHASE_TARGET

}
 Describes the stage at which events are fed into a Gtk::EventController. More...

 
enum  FileChooserAction {

  FILE_CHOOSER_ACTION_OPEN,

  FILE_CHOOSER_ACTION_SAVE,

  FILE_CHOOSER_ACTION_SELECT_FOLDER,

  FILE_CHOOSER_ACTION_CREATE_FOLDER

}
 Describes whether a Gtk::FileChooser is being used to open existing files or to save to a possibly new file. More...

 
enum  FileChooserConfirmation {

  FILE_CHOOSER_CONFIRMATION_CONFIRM,

  FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME,

  FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN

}
 Used as a return value of handlers for the Gtk::FileChooser::signal_confirm_overwrite() signal of a Gtk::FileChooser. More...

 
enum  FileFilterFlags {

  FILE_FILTER_FILENAME = 1 << 0,

  FILE_FILTER_URI = 1 << 1,

  FILE_FILTER_DISPLAY_NAME = 1 << 2,

  FILE_FILTER_MIME_TYPE = 1 << 3

}
 These flags indicate what parts of a Gtk::FileFilterInfo struct are filled or need to be filled. More...

 
enum  EventSequenceState {

  EVENT_SEQUENCE_NONE,

  EVENT_SEQUENCE_CLAIMED,

  EVENT_SEQUENCE_DENIED

}
 Describes the state of a Gdk::EventSequence in a Gtk::Gesture. More...

 
enum  PanDirection {

  PAN_DIRECTION_LEFT,

  PAN_DIRECTION_RIGHT,

  PAN_DIRECTION_UP,

  PAN_DIRECTION_DOWN

}
 Describes the panning direction of a Gtk::GesturePan. More...

 
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

}
 Used to specify options for Gtk::IconTheme::lookup_icon() More...

 
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

}
 An enum for determining where a dropped item goes. More...

 
enum  ImageType {

  IMAGE_EMPTY,

  IMAGE_PIXBUF,

  IMAGE_STOCK,

  IMAGE_ICON_SET,

  IMAGE_ANIMATION,

  IMAGE_ICON_NAME,

  IMAGE_GICON,

  IMAGE_SURFACE

}
 Describes the image data representation used by a Gtk::Image. More...

 
enum  LevelBarMode {

  LEVEL_BAR_MODE_CONTINUOUS,

  LEVEL_BAR_MODE_DISCRETE

}
 Describes how Gtk::LevelBar contents should be rendered. More...

 
enum  PackDirection {

  PACK_DIRECTION_LTR,

  PACK_DIRECTION_RTL,

  PACK_DIRECTION_TTB,

  PACK_DIRECTION_BTT

}
 Determines how widgets should be packed inside menubars and menuitems contained in menubars. More...

 
enum  ButtonsType {

  BUTTONS_NONE,

  BUTTONS_OK,

  BUTTONS_CLOSE,

  BUTTONS_CANCEL,

  BUTTONS_YES_NO,

  BUTTONS_OK_CANCEL

}
 Prebuilt sets of buttons for the dialog. More...

 
enum  ButtonRole {

  BUTTON_ROLE_NORMAL,

  BUTTON_ROLE_CHECK,

  BUTTON_ROLE_RADIO

}
 The role specifies the desired appearance of a Gtk::ModelButton. More...

 
enum  NotebookTab {

  NOTEBOOK_TAB_FIRST,

  NOTEBOOK_TAB_LAST

}
 
enum  Unit {

  UNIT_NONE,

  UNIT_POINTS,

  UNIT_INCH,

  UNIT_MM

}
 See also Gtk::PrintSettings::set_paper_width(). More...

 
enum  PopoverConstraint {

  POPOVER_CONSTRAINT_NONE,

  POPOVER_CONSTRAINT_WINDOW

}
 Describes constraints to positioning of popovers. More...

 
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

}
 The status gives a rough indication of the completion of a running print operation. More...

 
enum  PrintOperationResult {

  PRINT_OPERATION_RESULT_ERROR,

  PRINT_OPERATION_RESULT_APPLY,

  PRINT_OPERATION_RESULT_CANCEL,

  PRINT_OPERATION_RESULT_IN_PROGRESS

}
 A value of this type is returned by Gtk::PrintOperation::run(). More...

 
enum  PrintOperationAction {

  PRINT_OPERATION_ACTION_PRINT_DIALOG,

  PRINT_OPERATION_ACTION_PRINT,

  PRINT_OPERATION_ACTION_PREVIEW,

  PRINT_OPERATION_ACTION_EXPORT

}
 The action parameter to Gtk::PrintOperation::run() determines what action the print operation should perform. More...

 
enum  PrintDuplex {

  PRINT_DUPLEX_SIMPLEX,

  PRINT_DUPLEX_HORIZONTAL,

  PRINT_DUPLEX_VERTICAL

}
 See also Gtk::PrintSettings::set_duplex(). More...

 
enum  PrintQuality {

  PRINT_QUALITY_LOW,

  PRINT_QUALITY_NORMAL,

  PRINT_QUALITY_HIGH,

  PRINT_QUALITY_DRAFT

}
 See also Gtk::PrintSettings::set_quality(). More...

 
enum  PrintPages {

  PRINT_PAGES_ALL,

  PRINT_PAGES_CURRENT,

  PRINT_PAGES_RANGES,

  PRINT_PAGES_SELECTION

}
 See also Gtk::PrintJob::set_pages() More...

 
enum  PageSet {

  PAGE_SET_ALL,

  PAGE_SET_EVEN,

  PAGE_SET_ODD

}
 See also Gtk::PrintJob::set_page_set(). More...

 
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

}
 Used to determine the layout of pages on a sheet when printing multiple pages per sheet. More...

 
enum  RecentSortType {

  RECENT_SORT_NONE,

  RECENT_SORT_MRU,

  RECENT_SORT_LRU,

  RECENT_SORT_CUSTOM

}
 Used to specify the sorting method to be applyed to the recently used resource list. More...

 
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

}
 These flags indicate what parts of a Gtk::RecentFilterInfo struct are filled or need to be filled. More...

 
enum  ScrollablePolicy {

  SCROLL_MINIMUM,

  SCROLL_NATURAL

}
 Defines the policy to be used in a scrollable widget when updating the scrolled window adjustments in a given orientation. More...

 
enum  IMPreeditStyle {

  IM_PREEDIT_NOTHING,

  IM_PREEDIT_CALLBACK,

  IM_PREEDIT_NONE

}
 Style for input method preedit. More...

 
enum  IMStatusStyle {

  IM_STATUS_NOTHING,

  IM_STATUS_CALLBACK,

  IM_STATUS_NONE

}
 Style for input method status. More...

 
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

}
 GtkShortcutType specifies the kind of shortcut that is being described. More...

 
enum  SizeGroupMode {

  SIZE_GROUP_NONE,

  SIZE_GROUP_HORIZONTAL,

  SIZE_GROUP_VERTICAL,

  SIZE_GROUP_BOTH

}
 The mode of the size group determines the directions in which the size group affects the requested sizes of its component widgets. More...

 
enum  SpinButtonUpdatePolicy {

  UPDATE_ALWAYS,

  UPDATE_IF_VALID

}
 The spin button update policy determines whether the spin button displays values even if they are outside the bounds of its adjustment. More...

 
enum  SpinType {

  SPIN_STEP_FORWARD,

  SPIN_STEP_BACKWARD,

  SPIN_PAGE_FORWARD,

  SPIN_PAGE_BACKWARD,

  SPIN_HOME,

  SPIN_END,

  SPIN_USER_DEFINED

}
 The values of the GtkSpinType enumeration are used to specify the change to make in Gtk::SpinButton::spin(). More...

 
enum  { INPUT_ERROR = -1 }
 
enum  TextSearchFlags {

  TEXT_SEARCH_VISIBLE_ONLY = 1 << 0,

  TEXT_SEARCH_TEXT_ONLY = 1 << 1,

  TEXT_SEARCH_CASE_INSENSITIVE = 1 << 2

}
 Flags affecting how a search is done. More...

 
enum  TextWindowType {

  TEXT_WINDOW_PRIVATE,

  TEXT_WINDOW_WIDGET,

  TEXT_WINDOW_TEXT,

  TEXT_WINDOW_LEFT,

  TEXT_WINDOW_RIGHT,

  TEXT_WINDOW_TOP,

  TEXT_WINDOW_BOTTOM

}
 Used to reference the parts of Gtk::TextView. More...

 
enum  ToolPaletteDragTargets {

  TOOL_PALETTE_DRAG_ITEMS = (1 << 0),

  TOOL_PALETTE_DRAG_GROUPS = (1 << 1)

}
 Flags used to specify the supported drag targets. More...

 
enum  TreeModelFlags {

  TREE_MODEL_ITERS_PERSIST = 1 << 0,

  TREE_MODEL_LIST_ONLY = 1 << 1

}
 These flags indicate various properties of a Gtk::TreeModel. More...

 
enum  TreeViewDropPosition {

  TREE_VIEW_DROP_BEFORE,

  TREE_VIEW_DROP_AFTER,

  TREE_VIEW_DROP_INTO_OR_BEFORE,

  TREE_VIEW_DROP_INTO_OR_AFTER

}
 An enum for determining where a dropped row goes. More...

 
enum  TreeViewGridLines {

  TREE_VIEW_GRID_LINES_NONE,

  TREE_VIEW_GRID_LINES_HORIZONTAL,

  TREE_VIEW_GRID_LINES_VERTICAL,

  TREE_VIEW_GRID_LINES_BOTH

}
 Used to indicate which grid lines to draw in a tree view. More...

 
enum  TreeViewColumnSizing {

  TREE_VIEW_COLUMN_GROW_ONLY,

  TREE_VIEW_COLUMN_AUTOSIZE,

  TREE_VIEW_COLUMN_FIXED

}
 The sizing method the column uses to determine its width. More...

 
enum  DestDefaults {

  DEST_DEFAULT_MOTION = 1 << 0,

  DEST_DEFAULT_HIGHLIGHT = 1 << 1,

  DEST_DEFAULT_DROP = 1 << 2,

  DEST_DEFAULT_ALL = 0x07

}
 The Gtk::DestDefaults enumeration specifies the various types of action that will be taken on behalf of the user for a drag destination site. More...

 
enum  WidgetHelpType {

  WIDGET_HELP_TOOLTIP,

  WIDGET_HELP_WHATS_THIS

}
 Kinds of widget-specific help. More...

 
enum  DragResult {

  DRAG_RESULT_SUCCESS,

  DRAG_RESULT_NO_TARGET,

  DRAG_RESULT_USER_CANCELLED,

  DRAG_RESULT_TIMEOUT_EXPIRED,

  DRAG_RESULT_GRAB_BROKEN,

  DRAG_RESULT_ERROR

}
 Gives an indication why a drag operation failed. More...

 
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

}
 An enum for specifying which features the print dialog should offer. More...

 
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

}
 These enumeration values are used by gtk_ui_manager_add_ui() to determine what UI element to create. More...

 

Functions

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

 
Glib::RefPtr< PageSetuprun_page_setup_dialog (Window& parent, const Glib::RefPtr< const PrintSettings >& print_settings)
 Runs a page setup dialog, letting the user modify the values from page_setup. More...

 
void run_page_setup_dialog_async (Window& parent, const Glib::RefPtr< const PageSetup >& page_setup, const Glib::RefPtr< const PrintSettings >& print_settings, const SlotPrintSetupDone& slot)
 Runs a page setup dialog, letting the user modify the values from page_setup. More...

 
void run_page_setup_dialog_async (Window& parent, const Glib::RefPtr< const PrintSettings >& print_settings, const SlotPrintSetupDone& slot)
 Runs a page setup dialog, letting the user modify the values from page_setup. More...

 
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)
 
template<class T >
T* manage (T* obj)
 Mark a Gtk::Object as owned by its parent container widget, so you don't need to delete it manually. More...

 
template<class T , class... T_Args>
T* make_managed (T_Args&&...args)
 Create a Gtk::Object such as a widget and Gtk::manage() it in a single step. More...

 

Variables

const Glib::ustring PAPER_NAME_A3
 Common paper names, from PWG 5101.1-2002 PWG: Standard for Media Standardized Names. More...

 
const Glib::ustring PAPER_NAME_A4
 
const Glib::ustring PAPER_NAME_A5
 
const Glib::ustring PAPER_NAME_B5
 
const Glib::ustring PAPER_NAME_LETTER
 
const Glib::ustring PAPER_NAME_EXECUTIVE
 
const Glib::ustring PAPER_NAME_LEGAL
 

Typedef Documentation

typedef GtkRequisition Gtk::Requisition

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

Enumeration Type Documentation

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.

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.

Enumerator
WINDOW_TOPLEVEL 

A regular window, such as a dialog.

WINDOW_POPUP 

A special window such as a tooltip.

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

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.
Parameters
argsArguments to pass to the constructor of the given template type.
Returns
A new, managed object of that type, constructed with those arguments.
template <class T >
T* Gtk::manage ( T *  obj)

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

For instance,

Gtk::Button* button = Gtk::manage( new Gtk::Button("Hello") );
vbox.pack_start(*button); //vbox will delete button when vbox is deleted.
Parameters
objA Gtk::Object, such as a gtkmm widget.
Returns
The Gtk::Object passed as the obj parameter.
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
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
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
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

const Glib::ustring Gtk::PAPER_NAME_A3

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

const Glib::ustring Gtk::PAPER_NAME_A4
const Glib::ustring Gtk::PAPER_NAME_A5
const Glib::ustring Gtk::PAPER_NAME_B5
const Glib::ustring Gtk::PAPER_NAME_EXECUTIVE
const Glib::ustring Gtk::PAPER_NAME_LEGAL
const Glib::ustring Gtk::PAPER_NAME_LETTER