Main Page Widgets Namespaces Book

# Gtk Namespace Reference

## 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
| An action which can be triggered by a menu or toolbar item. More...
class | ActionGroup
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 | 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 | Box
| A base class for box containers. More...
class | Builder
| Build an interface from a 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
| Base class for Gtk::HButtonBox and Gtk::VButtonBox. More...
class | Calendar
| Display a calendar and/or allow the user to select a date. 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 | 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 | 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 | ColorSelection
| A widget used to select a color. More...
class | ColorSelectionDialog
| This dialog allows the user to select a color. More...
class | Combo
| A text entry field with a dropdown list. More...
class | ComboBox
| A widget used to choose from a list of items. More...
class | ComboBoxEntry
| A text entry field with a dropdown list. More...
class | ComboBoxEntryText
| This is a specialisation of the ComboBoxEntry which has one column of text (a simple list), and appropriate methods for setting and getting the text. More...
class | ComboBoxText
| This is a specialisation of the ComboBox which has one column of text (a simple list), and appropriate methods for setting and getting the text. More...
class | ComboDropDown
| The dropdown list of a Combo. More...
class | ComboDropDownItem
| An item in a ComboDropDownList. More...
class | Container
| Abstract container class. More...
class | Curve
| Allows direct editing of a curve. 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 | EntryCompletion
| Completion functionality for Gtk::Entry. More...
class | EventBox
| Event capturing box. 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 | FileChooserWidget
| File chooser widget that can be embedded in other widgets. More...
class | FileFilter
| A filter for selecting a file subset. More...
class | FileSelection
| Prompt the user for a file or directory name. More...
class | Fixed
| A container which allows you to position widgets at fixed coordinates. More...
class | FontButton
| A button to launch a font selection dialog. 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 | GammaCurve
| A subclass of Gtk::Curve for editing gamma curves. 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 | HPaned
| The Gtk::HPaned widget is a container widget with two children arranged horizontally. More...
class | HRuler
| Horizontal Ruler. 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
class | IconSize
| Represents registered icon sizes. More...
class | IconSource
class | IconTheme
class | IconThemeError
| Exception class for Gdk::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 | InputDialog
class | Invisible
| This widget is used internally in GTK+, and is probably not useful for application developers. More...
class | Item
| This class should be considered as a virtual base class. 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 | LinkButton
| Create buttons bound to a URL. 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 | Main
| Main application class Every application must have one of these objects. 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 | 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 | Notebook
| Container which shows one of its children at a time, in tabbed windows. 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 | OptionMenu
| A widget used to choose from a list of valid choices. 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
| This is the base class for widgets with two panes, arranged either horizontally (Gtk::HPaned) or vertically (Gtk::VPaned). More...
class | PaperSize
| PaperSize handles paper sizes. More...
class | Plug
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
| An action of which only one in a group can be active. More...
class | RadioButton
| A single radio button performs the same basic function as a Gtk::CheckButton, as its position in the object hierarchy reflects. More...
class | RadioButtonGroup
| RadioButtonGroup identifier for RadioButtons To set up this RadioButtonGroup, construct a RadioButtonGroup and then pass it to the constructor of all radio items. 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 | RC
class | RcStyle
class | RecentAction
| An 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 informations 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 | Ruler
| Base class for horizontal or vertical rulers. More...
class | Scale
| Abstract base clase for Gtk::HScale and Gtk::VScale. More...
class | ScaleButton
| A button which pops up a scale widget. More...
class | Scrollbar
| The Gtk::Scrollbar widget is an abstract base class for Gtk::HScrollbar and Gtk::VScrollbar. More...
class | ScrolledWindow
| Adds scrollbars to its child widget. More...
class | SelectionData
class | Separator
| Separator base class. 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 | 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 | 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 | Style
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
| An 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
class | ToolShell
| A base class for containers containing ToolItem widgets. More...
class | Tooltip
| Add tips to your widgets. More...
class | Tooltips
| Tooltips are the messages that appear next to a widget when the mouse pointer is held over it for a short amount of time. 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 horizontally. More...
class | VRuler
| Vertical Ruler. 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 | Window
| Toplevel Window This represents all widgets which are physical windows controlled by the window manager. More...
class | WindowGroup
| Limit the effect of grabs. More...

## Namespaces

namespace | AccelMap
namespace | Box_Helpers
namespace | ComboDropDown_Helpers
namespace | Menu_Helpers
namespace | Notebook_Helpers
namespace | Stock
namespace | Table_Helpers

## Typedefs

typedef Gdk::Rectangle | Allocation
typedef Glib::ArrayHandle < TargetEntry, TargetEntry_Traits > | ArrayHandle_TargetEntry
typedef GtkBorder | Border
typedef GtkRequisition | Requisition
typedef sigc::slot< void, const Glib::RefPtr<PageSetup >&> | SlotPrintSetupDone
| For example, void on_setup_done(const Glib::RefPtr<PageSetup>& page_setup);.

## Enumerations

enum | { BUTTONBOX_DEFAULT = -1 }
enum | { INPUT_ERROR = -1 }
enum | AccelFlags { ACCEL_VISIBLE = 1 << 0, ACCEL_LOCKED = 1 << 1, ACCEL_MASK = 0x07 }
enum | AlignmentEnum { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, ALIGN_TOP, ALIGN_BOTTOM }
| Methods are overriden so you can use these simple enums, or floats for more precision. More...
enum | AnchorType { ANCHOR_CENTER, ANCHOR_NORTH, ANCHOR_NORTH_WEST, ANCHOR_NORTH_EAST, ANCHOR_SOUTH, ANCHOR_SOUTH_WEST, ANCHOR_SOUTH_EAST, ANCHOR_WEST, ANCHOR_EAST, ANCHOR_N = ANCHOR_NORTH, ANCHOR_NW = ANCHOR_NORTH_WEST, ANCHOR_NE = ANCHOR_NORTH_EAST, ANCHOR_S = ANCHOR_SOUTH, ANCHOR_SW = ANCHOR_SOUTH_WEST, ANCHOR_SE = ANCHOR_SOUTH_EAST, ANCHOR_W = ANCHOR_WEST, ANCHOR_E = ANCHOR_EAST }
enum | ArrowType { ARROW_UP, ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_NONE }
| Used to indicate the direction in which a Gtk::Arrow should point. More...
enum | AssistantPageType { ASSISTANT_PAGE_CONTENT, ASSISTANT_PAGE_INTRO, ASSISTANT_PAGE_CONFIRM, ASSISTANT_PAGE_SUMMARY, ASSISTANT_PAGE_PROGRESS }
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 | 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 | ButtonBoxStyle { BUTTONBOX_DEFAULT_STYLE, BUTTONBOX_SPREAD, BUTTONBOX_EDGE, BUTTONBOX_START, BUTTONBOX_END, BUTTONBOX_CENTER }
enum | ButtonsType { BUTTONS_NONE, BUTTONS_OK, BUTTONS_CLOSE, BUTTONS_CANCEL, BUTTONS_YES_NO, BUTTONS_OK_CANCEL }
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_WEEK_START_MONDAY = 1 << 4, CALENDAR_SHOW_DETAILS = 1 << 5 }
enum | CellRendererMode { CELL_RENDERER_MODE_INERT, CELL_RENDERER_MODE_ACTIVATABLE, CELL_RENDERER_MODE_EDITABLE }
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 }
enum | CornerType { CORNER_TOP_LEFT, CORNER_BOTTOM_LEFT, CORNER_TOP_RIGHT, CORNER_BOTTOM_RIGHT }
enum | CurveType { CURVE_TYPE_LINEAR, CURVE_TYPE_SPLINE, CURVE_TYPE_FREE }
enum | DeleteType { DELETE_CHARS, DELETE_WORDS, DELETE_DISPLAY_LINES, DELETE_DISPLAY_LINE_ENDS, DELETE_PARAGRAPH_ENDS, DELETE_PARAGRAPHS, DELETE_WHITESPACE }
enum | DestDefaults { DEST_DEFAULT_MOTION = 1 << 0, DEST_DEFAULT_HIGHLIGHT = 1 << 1, DEST_DEFAULT_DROP = 1 << 2, DEST_DEFAULT_ALL = 0x07 }
enum | DirectionType { DIR_TAB_FORWARD, DIR_TAB_BACKWARD, DIR_UP, DIR_DOWN, DIR_LEFT, DIR_RIGHT }
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 | ExpanderStyle { EXPANDER_COLLAPSED, EXPANDER_SEMI_COLLAPSED, EXPANDER_SEMI_EXPANDED, EXPANDER_EXPANDED }
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 | 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 }
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_PIXMAP, IMAGE_IMAGE, IMAGE_PIXBUF, IMAGE_STOCK, IMAGE_ICON_SET, IMAGE_ANIMATION, IMAGE_ICON_NAME }
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 | MetricType { PIXELS, INCHES, CENTIMETERS }
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 | NotebookTab { NOTEBOOK_TAB_FIRST, NOTEBOOK_TAB_LAST }
enum | Orientation { ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL }
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 | PackType { PACK_START, PACK_END }
enum | PageOrientation { PAGE_ORIENTATION_PORTRAIT, PAGE_ORIENTATION_LANDSCAPE, PAGE_ORIENTATION_REVERSE_PORTRAIT, PAGE_ORIENTATION_REVERSE_LANDSCAPE }
enum | PageSet { PAGE_SET_ALL, PAGE_SET_EVEN, PAGE_SET_ODD }
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 | PolicyType { POLICY_ALWAYS, POLICY_AUTOMATIC, POLICY_NEVER }
enum | PositionType { POS_LEFT, POS_RIGHT, POS_TOP, POS_BOTTOM }
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 }
enum | PrintDuplex { PRINT_DUPLEX_SIMPLEX, PRINT_DUPLEX_HORIZONTAL, PRINT_DUPLEX_VERTICAL }
enum | PrintOperationAction { PRINT_OPERATION_ACTION_PRINT_DIALOG, PRINT_OPERATION_ACTION_PRINT, PRINT_OPERATION_ACTION_PREVIEW, PRINT_OPERATION_ACTION_EXPORT }
enum | PrintOperationResult { PRINT_OPERATION_RESULT_ERROR, PRINT_OPERATION_RESULT_APPLY, PRINT_OPERATION_RESULT_CANCEL, PRINT_OPERATION_RESULT_IN_PROGRESS }
enum | PrintPages { PRINT_PAGES_ALL, PRINT_PAGES_CURRENT, PRINT_PAGES_RANGES }
enum | PrintQuality { PRINT_QUALITY_LOW, PRINT_QUALITY_NORMAL, PRINT_QUALITY_HIGH, PRINT_QUALITY_DRAFT }
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 | ProgressBarOrientation { PROGRESS_LEFT_TO_RIGHT, PROGRESS_RIGHT_TO_LEFT, PROGRESS_BOTTOM_TO_TOP, PROGRESS_TOP_TO_BOTTOM }
enum | ProgressBarStyle { PROGRESS_CONTINUOUS, PROGRESS_DISCRETE }
enum | RcFlags { RC_FG = 1 << 0, RC_BG = 1 << 1, RC_TEXT = 1 << 2, RC_BASE = 1 << 3 }
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 | RecentSortType { RECENT_SORT_NONE, RECENT_SORT_MRU, RECENT_SORT_LRU, RECENT_SORT_CUSTOM }
enum | ReliefStyle { RELIEF_NORMAL, RELIEF_HALF, RELIEF_NONE }
enum | ResizeMode { RESIZE_PARENT, RESIZE_QUEUE, RESIZE_IMMEDIATE }
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 | 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, SELECTION_EXTENDED = SELECTION_MULTIPLE }
enum | SensitivityType { SENSITIVITY_AUTO, SENSITIVITY_ON, SENSITIVITY_OFF }
enum | ShadowType { SHADOW_NONE, SHADOW_IN, SHADOW_OUT, SHADOW_ETCHED_IN, SHADOW_ETCHED_OUT }
enum | SizeGroupMode { SIZE_GROUP_NONE, SIZE_GROUP_HORIZONTAL, SIZE_GROUP_VERTICAL, SIZE_GROUP_BOTH }
enum | SortType { SORT_ASCENDING, SORT_DESCENDING }
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 | StateType { STATE_NORMAL, STATE_ACTIVE, STATE_PRELIGHT, STATE_SELECTED, STATE_INSENSITIVE }
enum | TargetFlags { TARGET_SAME_APP = 1 << 0, TARGET_SAME_WIDGET = 1 << 1, TARGET_OTHER_APP = 1 << 2, TARGET_OTHER_WIDGET = 1 << 3 }
enum | TextDirection { TEXT_DIR_NONE, TEXT_DIR_LTR, TEXT_DIR_RTL }
enum | TextSearchFlags { TEXT_SEARCH_VISIBLE_ONLY = 1 << 0, TEXT_SEARCH_TEXT_ONLY = 1 << 1 }
enum | TextWindowType { TEXT_WINDOW_PRIVATE, TEXT_WINDOW_WIDGET, TEXT_WINDOW_TEXT, TEXT_WINDOW_LEFT, TEXT_WINDOW_RIGHT, TEXT_WINDOW_TOP, TEXT_WINDOW_BOTTOM }
enum | ToolbarStyle { TOOLBAR_ICONS, TOOLBAR_TEXT, TOOLBAR_BOTH, TOOLBAR_BOTH_HORIZ }
enum | TreeModelFlags { TREE_MODEL_ITERS_PERSIST = 1 << 0, TREE_MODEL_LIST_ONLY = 1 << 1 }
enum | TreeViewColumnSizing { TREE_VIEW_COLUMN_GROW_ONLY, TREE_VIEW_COLUMN_AUTOSIZE, TREE_VIEW_COLUMN_FIXED }
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 | UIManagerItemType { UI_MANAGER_AUTO = 0, 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 }
enum | Unit { UNIT_PIXEL, UNIT_POINTS, UNIT_INCH, UNIT_MM }
enum | UpdateType { UPDATE_CONTINUOUS, UPDATE_DISCONTINUOUS, UPDATE_DELAYED }
enum | Visibility { VISIBILITY_NONE, VISIBILITY_PARTIAL, VISIBILITY_FULL }

enum

WidgetFlags {
TOPLEVEL = 1 << 4,
NO_WINDOW = 1 << 5,
REALIZED = 1 << 6,
MAPPED = 1 << 7,
VISIBLE = 1 << 8,
SENSITIVE = 1 << 9,
PARENT_SENSITIVE = 1 << 10,
CAN_FOCUS = 1 << 11,
HAS_FOCUS = 1 << 12,
CAN_DEFAULT = 1 << 13,
HAS_DEFAULT = 1 << 14,
HAS_GRAB = 1 << 15,
RC_STYLE = 1 << 16,
COMPOSITE_CHILD = 1 << 17,
NO_REPARENT = 1 << 18,
APP_PAINTABLE = 1 << 19,
RECEIVES_DEFAULT = 1 << 20,
DOUBLE_BUFFERED = 1 << 21,
NO_SHOW_ALL = 1 << 22
}

enum | WidgetHelpType { WIDGET_HELP_TOOLTIP, WIDGET_HELP_WHATS_THIS }
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 }

## 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.
WidgetFlags | operator& (WidgetFlags lhs, WidgetFlags rhs)
DestDefaults | operator& (DestDefaults lhs, DestDefaults rhs)
UIManagerItemType | operator& (UIManagerItemType lhs, UIManagerItemType rhs)
TreeModelFlags | operator& (TreeModelFlags lhs, TreeModelFlags rhs)
TextSearchFlags | operator& (TextSearchFlags lhs, TextSearchFlags rhs)
RecentFilterFlags | operator& (RecentFilterFlags lhs, RecentFilterFlags rhs)
RcFlags | operator& (RcFlags lhs, RcFlags rhs)
PrintCapabilities | operator& (PrintCapabilities lhs, PrintCapabilities rhs)
IconLookupFlags | operator& (IconLookupFlags lhs, IconLookupFlags rhs)
FileFilterFlags | operator& (FileFilterFlags lhs, FileFilterFlags rhs)
TargetFlags | operator& (TargetFlags lhs, TargetFlags rhs)
AttachOptions | operator& (AttachOptions lhs, AttachOptions rhs)
AccelFlags | operator& (AccelFlags lhs, AccelFlags rhs)
CellRendererState | operator& (CellRendererState lhs, CellRendererState rhs)
CalendarDisplayOptions | operator& (CalendarDisplayOptions lhs, CalendarDisplayOptions rhs)
WidgetFlags& | operator&= (WidgetFlags& lhs, WidgetFlags rhs)
DestDefaults& | operator&= (DestDefaults& lhs, DestDefaults rhs)
UIManagerItemType& | operator&= (UIManagerItemType& lhs, UIManagerItemType rhs)
TreeModelFlags& | operator&= (TreeModelFlags& lhs, TreeModelFlags rhs)
TextSearchFlags& | operator&= (TextSearchFlags& lhs, TextSearchFlags rhs)
RecentFilterFlags& | operator&= (RecentFilterFlags& lhs, RecentFilterFlags rhs)
RcFlags& | operator&= (RcFlags& lhs, RcFlags rhs)
PrintCapabilities& | operator&= (PrintCapabilities& lhs, PrintCapabilities rhs)
IconLookupFlags& | operator&= (IconLookupFlags& lhs, IconLookupFlags rhs)
FileFilterFlags& | operator&= (FileFilterFlags& lhs, FileFilterFlags rhs)
TargetFlags& | operator&= (TargetFlags& lhs, TargetFlags rhs)
AttachOptions& | operator&= (AttachOptions& lhs, AttachOptions rhs)
AccelFlags& | operator&= (AccelFlags& lhs, AccelFlags rhs)
CellRendererState& | operator&= (CellRendererState& lhs, CellRendererState rhs)
CalendarDisplayOptions& | operator&= (CalendarDisplayOptions& lhs, CalendarDisplayOptions rhs)
WidgetFlags | operator^ (WidgetFlags lhs, WidgetFlags rhs)
DestDefaults | operator^ (DestDefaults lhs, DestDefaults rhs)
UIManagerItemType | operator^ (UIManagerItemType lhs, UIManagerItemType rhs)
TreeModelFlags | operator^ (TreeModelFlags lhs, TreeModelFlags rhs)
TextSearchFlags | operator^ (TextSearchFlags lhs, TextSearchFlags rhs)
RecentFilterFlags | operator^ (RecentFilterFlags lhs, RecentFilterFlags rhs)
RcFlags | operator^ (RcFlags lhs, RcFlags rhs)
PrintCapabilities | operator^ (PrintCapabilities lhs, PrintCapabilities rhs)
IconLookupFlags | operator^ (IconLookupFlags lhs, IconLookupFlags rhs)
FileFilterFlags | operator^ (FileFilterFlags lhs, FileFilterFlags rhs)
TargetFlags | operator^ (TargetFlags lhs, TargetFlags rhs)
AttachOptions | operator^ (AttachOptions lhs, AttachOptions rhs)
AccelFlags | operator^ (AccelFlags lhs, AccelFlags rhs)
CellRendererState | operator^ (CellRendererState lhs, CellRendererState rhs)
CalendarDisplayOptions | operator^ (CalendarDisplayOptions lhs, CalendarDisplayOptions rhs)
WidgetFlags& | operator^= (WidgetFlags& lhs, WidgetFlags rhs)
DestDefaults& | operator^= (DestDefaults& lhs, DestDefaults rhs)
UIManagerItemType& | operator^= (UIManagerItemType& lhs, UIManagerItemType rhs)
TreeModelFlags& | operator^= (TreeModelFlags& lhs, TreeModelFlags rhs)
TextSearchFlags& | operator^= (TextSearchFlags& lhs, TextSearchFlags rhs)
RecentFilterFlags& | operator^= (RecentFilterFlags& lhs, RecentFilterFlags rhs)
RcFlags& | operator^= (RcFlags& lhs, RcFlags rhs)
PrintCapabilities& | operator^= (PrintCapabilities& lhs, PrintCapabilities rhs)
IconLookupFlags& | operator^= (IconLookupFlags& lhs, IconLookupFlags rhs)
FileFilterFlags& | operator^= (FileFilterFlags& lhs, FileFilterFlags rhs)
TargetFlags& | operator^= (TargetFlags& lhs, TargetFlags rhs)
AttachOptions& | operator^= (AttachOptions& lhs, AttachOptions rhs)
AccelFlags& | operator^= (AccelFlags& lhs, AccelFlags rhs)
CellRendererState& | operator^= (CellRendererState& lhs, CellRendererState rhs)
CalendarDisplayOptions& | operator^= (CalendarDisplayOptions& lhs, CalendarDisplayOptions rhs)
WidgetFlags | operator| (WidgetFlags lhs, WidgetFlags rhs)
DestDefaults | operator| (DestDefaults lhs, DestDefaults rhs)
UIManagerItemType | operator| (UIManagerItemType lhs, UIManagerItemType rhs)
TreeModelFlags | operator| (TreeModelFlags lhs, TreeModelFlags rhs)
TextSearchFlags | operator| (TextSearchFlags lhs, TextSearchFlags rhs)
RecentFilterFlags | operator| (RecentFilterFlags lhs, RecentFilterFlags rhs)
RcFlags | operator| (RcFlags lhs, RcFlags rhs)
PrintCapabilities | operator| (PrintCapabilities lhs, PrintCapabilities rhs)
IconLookupFlags | operator| (IconLookupFlags lhs, IconLookupFlags rhs)
FileFilterFlags | operator| (FileFilterFlags lhs, FileFilterFlags rhs)
TargetFlags | operator| (TargetFlags lhs, TargetFlags rhs)
AttachOptions | operator| (AttachOptions lhs, AttachOptions rhs)
AccelFlags | operator| (AccelFlags lhs, AccelFlags rhs)
CellRendererState | operator| (CellRendererState lhs, CellRendererState rhs)
CalendarDisplayOptions | operator| (CalendarDisplayOptions lhs, CalendarDisplayOptions rhs)
WidgetFlags& | operator|= (WidgetFlags& lhs, WidgetFlags rhs)
DestDefaults& | operator|= (DestDefaults& lhs, DestDefaults rhs)
UIManagerItemType& | operator|= (UIManagerItemType& lhs, UIManagerItemType rhs)
TreeModelFlags& | operator|= (TreeModelFlags& lhs, TreeModelFlags rhs)
TextSearchFlags& | operator|= (TextSearchFlags& lhs, TextSearchFlags rhs)
RecentFilterFlags& | operator|= (RecentFilterFlags& lhs, RecentFilterFlags rhs)
RcFlags& | operator|= (RcFlags& lhs, RcFlags rhs)
PrintCapabilities& | operator|= (PrintCapabilities& lhs, PrintCapabilities rhs)
IconLookupFlags& | operator|= (IconLookupFlags& lhs, IconLookupFlags rhs)
FileFilterFlags& | operator|= (FileFilterFlags& lhs, FileFilterFlags rhs)
TargetFlags& | operator|= (TargetFlags& lhs, TargetFlags rhs)
AttachOptions& | operator|= (AttachOptions& lhs, AttachOptions rhs)
AccelFlags& | operator|= (AccelFlags& lhs, AccelFlags rhs)
CellRendererState& | operator|= (CellRendererState& lhs, CellRendererState rhs)
CalendarDisplayOptions& | operator|= (CalendarDisplayOptions& lhs, CalendarDisplayOptions rhs)
WidgetFlags | operator~ (WidgetFlags flags)
DestDefaults | operator~ (DestDefaults flags)
UIManagerItemType | operator~ (UIManagerItemType flags)
TreeModelFlags | operator~ (TreeModelFlags flags)
TextSearchFlags | operator~ (TextSearchFlags flags)
RecentFilterFlags | operator~ (RecentFilterFlags flags)
RcFlags | operator~ (RcFlags flags)
PrintCapabilities | operator~ (PrintCapabilities flags)
IconLookupFlags | operator~ (IconLookupFlags flags)
FileFilterFlags | operator~ (FileFilterFlags flags)
TargetFlags | operator~ (TargetFlags flags)
AttachOptions | operator~ (AttachOptions flags)
AccelFlags | operator~ (AccelFlags flags)
CellRendererState | operator~ (CellRendererState flags)
CalendarDisplayOptions | operator~ (CalendarDisplayOptions flags)
Glib::RefPtr<PageSetup> | 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.
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.

## Variables

const Glib::ustring | PAPER_NAME_A3 = "iso_a3"
| Common paper names, from PWG 5101.1-2002 PWG: Standard for Media Standardized Names.
const Glib::ustring | PAPER_NAME_A4 = "iso_a4"
const Glib::ustring | PAPER_NAME_A5 = "iso_a5"
const Glib::ustring | PAPER_NAME_B5 = "iso_b5"
const Glib::ustring | PAPER_NAME_EXECUTIVE = "na_executive"
const Glib::ustring | PAPER_NAME_LEGAL = "na_legal"
const Glib::ustring | PAPER_NAME_LETTER = "na_letter"

## Typedef Documentation

typedef Gdk::Rectangle Gtk::Allocation

typedef Glib::ArrayHandle<TargetEntry, TargetEntry_Traits> Gtk::ArrayHandle_TargetEntry

typedef GtkBorder Gtk::Border

typedef GtkRequisition Gtk::Requisition

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

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

## Function Documentation

template <class T>

T* Gtk::manage | ( | T * | obj | ) | `[inline]`

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:

  | obj | A Gtk::Object, such as a gtkmm widget.

Returns:
  The Gtk::Object passed as the obj parameter.

Referenced by Gtk::TreeView::append_column(), Gtk::TreeView::append_column_editable(), Gtk::TreeView::append_column_numeric(), Gtk::TreeView::insert_column(), Gtk::TreeView::insert_column_editable(), and Gtk::CellLayout::pack_start().

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:

  | parent | Transient parent.
  | page_setup | An existing GtkPageSetup.
  | settings | Print settings.

Returns:
  A new PageSetup object.

Since:
  2.10

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:

  | parent | Transient parent.
  | page_setup | An existing GtkPageSetup.
  | settings | Print settings.

Returns:
  A new PageSetup object.

Parameters:

  | slot |

Since:
  2.10

## Variable Documentation

const Glib::ustring Gtk::PAPER_NAME_A3 = "iso_a3"

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

const Glib::ustring Gtk::PAPER_NAME_A4 = "iso_a4"

const Glib::ustring Gtk::PAPER_NAME_A5 = "iso_a5"

const Glib::ustring Gtk::PAPER_NAME_B5 = "iso_b5"

const Glib::ustring Gtk::PAPER_NAME_EXECUTIVE = "na_executive"

const Glib::ustring Gtk::PAPER_NAME_LEGAL = "na_legal"

const Glib::ustring Gtk::PAPER_NAME_LETTER = "na_letter"