Reference Manual

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# Inti::Gtk Namespace Reference

C++ framework for the GTK GUI library. More...

## Compounds

- class AccelGroup
    A GtkAccelGroup C++ wrapper class. More...
- class AccelKey
    An accelerator key value, modifier and flag class. More...
- class AccelLabel
    A GtkAccelLabel C++ wrapper class. More...
- class AccelMap
    A GtkAccelMap C++ wrapper class. More...
- class Accessible
    A GtkAccessible C++ wrapper class. More...
- class Adjustment
    A GtkAdjustment C++ wrapper class. More...
- class Alignment
    A GtkAlignment C++ wrapper class. More...
- class Allocation
    A GtkAllocation C++ wrapper class. More...
- class Arrow
    A GtkArrow C++ wrapper class. More...
- class AspectFrame
    A GtkAspectFrame C++ wrapper class. More...
- class Bin
    A GtkBin C++ wrapper class. More...
- class Box
    A GtkBox C++ wrapper class. More...
- class BoxChild
    A GtkBoxChild C++ wrapper class. More...
- class Button
    A GtkButton C++ wrapper class. More...
- class ButtonBox
    A GtkButtonBox C++ wrapper class. More...
- class Calendar
    A GtkCalendar C++ wrapper class. More...
- class CellEditable
    A GtkCellEditable C++ wrapper class. More...
- class CellRenderer
    A GtkCellRenderer C++ wrapper class. More...
- class CellRendererPixbuf
    A GtkCellRendererPixbuf C++ wrapper class. More...
- class CellRendererText
    A GtkCellRendererText C++ wrapper class. More...
- class CellRendererToggle
    A GtkCellRendererToggle C++ wrapper class. More...
- class CheckButton
    A GtkCheckButton C++ wrapper class. More...
- class CheckMenuItem
    A GtkCheckMenuItem C++ wrapper class. More...
- class Clipboard
    A GtkClipboard C++ wrapper class. More...
- class ColorSelection
    A GtkColorSelection C++ wrapper class. More...
- class ColorSelectionDialog
    A GtkColorSelectionDialog C++ wrapper class. More...
- class Combo
    A GtkCombo C++ wrapper class. More...
- class Container
    A GtkContainer C++ wrapper class. More...
- class Curve
    A GtkCurve C++ wrapper class. More...
- class Dialog
    A GtkDialog C++ wrapper class. More...
- class DragContext
    A GTK+ Drag and Drop C++ wrapper class. More...
- class DrawingArea
    A GtkDrawingArea C++ wrapper class. More...
- class Editable
    A GtkDrawingArea C++ wrapper class. More...
- class Entry
    A GtkEntry C++ wrapper class. More...
- class EventBox
    A GtkEventBox C++ wrapper class. More...
- class FileSelection
    A GtkFileSelection C++ wrapper class. More...
- class Fixed
    A GtkFixed C++ wrapper class. More...
- class FontSelection
    A GtkFontSelection C++ wrapper class. More...
- class FontSelectionDialog
    A GtkFontSelectionDialog C++ wrapper class. More...
- class Frame
    A GtkFrame C++ wrapper class. More...
- class GammaCurve
    A GtkGammaCurve C++ wrapper class. More...
- class GC
    A convenient gtk_gc_get() and gtk_gc_release() C++ wrapper class. More...
- class HandleBox
    A GtkHandleBox C++ wrapper class. More...
- class HBox
    A GtkHBox C++ wrapper class. More...
- class HButtonBox
    A GtkHButtonBox C++ wrapper class. More...
- class HPaned
    A GtkHPaned C++ wrapper class. More...
- class HRuler
    A GtkHRuler C++ wrapper class. More...
- class HScale
    A GtkHScale C++ wrapper class. More...
- class HScrollbar
    A GtkHScrollbar C++ wrapper class. More...
- class HSeparator
    A GtkHSeparator C++ wrapper class. More...
- class IconFactory
    A GtkIconFactory C++ wrapper class. More...
- class IconSet
    A GtkIconSet C++ wrapper class. More...
- class IconSource
    A GtkIconSource C++ wrapper class. More...
- class Image
    A GtkImage C++ wrapper class. More...
- class ImageMenuItem
    A GtkImageMenuItem C++ wrapper class. More...
- class Invisible
    A GtkInvisible C++ wrapper class. More...
- class Item
    A GtkItem C++ wrapper class. More...
- class ItemFactory
    A GtkItemFactory C++ wrapper class. More...
- struct ItemFactoryEntry
    A C++ class that represents a GtkItemFactoryEntry. More...
- class Label
    A GtkLabel C++ wrapper class. More...
- class Layout
    A GtkLayout C++ wrapper class. More...
- class ListStore
    A GtkListStore C++ wrapper class. More...
- class Menu
    A GtkMenu C++ wrapper class. More...
- class MenuBar
    A GtkMenuBar C++ wrapper class. More...
- class MenuItem
    A GtkMenuItem C++ wrapper class. More...
- class MenuShell
    A GtkMenuShell C++ wrapper class. More...
- class MessageDialog
    A GtkMessageDialog C++ wrapper class. More...
- class Misc
    A GtkMisc C++ wrapper class. More...
- class Notebook
    A GtkNotebook C++ wrapper class. More...
- class Object
    A GtkObject C++ wrapper class. More...
- class OptionMenu
    A GtkOptionMenu C++ wrapper class. More...
- class Paned
    A GtkPaned C++ wrapper class. More...
- class Plug
    A GtkPlug C++ wrapper class. More...
- class ProgressBar
    A GtkProgressBar C++ wrapper class. More...
- class RadioButton
    A GtkRadioButton C++ wrapper class. More...
- class RadioMenuItem
    A GtkRadioMenuItem C++ wrapper class. More...
- class Range
    A GtkRange C++ wrapper class. More...
- class RC
    A C++ wrapper class for the various resource file functions. More...
- class RcStyle
    A GtkRcStyle C++ wrapper class. More...
- class Requisition
    A GtkRequisition C++ wrapper class. More...
- class Ruler
    A GtkRuler C++ wrapper class. More...
- class Scale
    A GtkScale C++ wrapper class. More...
- class Scrollbar
    A GtkScrollbar C++ wrapper class. More...
- class ScrolledWindow
    A GtkScrolledWindow C++ wrapper class. More...
- class SelectionData
    A GtkSelectionData C++ wrapper class. More...
- class Separator
    A GtkSeparator C++ wrapper class. More...
- class SeparatorMenuItem
    A GtkSeparatorMenuItem C++ wrapper class. More...
- class Settings
    A GtkSettings C++ wrapper class. More...
- class SizeGroup
    A GtkSizeGroup C++ wrapper class. More...
- class Socket
    A GtkSocket C++ wrapper class. More...
- class SpinButton
    A GtkSpinButton C++ wrapper class. More...
- class Statusbar
    A GtkStatusbar C++ wrapper class. More...
- class Stock
    A C++ wrapper class for various stock methods. More...
- class StockButton
    A stock GtkButton C++ wrapper class. More...
- class StockItem
    A GtkStockItem C++ wrapper class. More...
- class StockMenuItem
    A GtkImageMenuItem C++ wrapper class for stock items. More...
- class Style
    A GtkStyle C++ wrapper class. More...
- class Table
    A GtkTable C++ wrapper class. More...
- class TargetEntry
    A GtkTargetEntry C++ wrapper class. More...
- class TargetList
    A GtkTargetList C++ wrapper class. More...
- class TearoffMenuItem
    A GtkTearoffMenuItem C++ wrapper class. More...
- class TextAppearance
    A GtkTextAppearance C++ wrapper class. More...
- class TextAttributes
    A GtkTextAttributes C++ wrapper class. More...
- class TextBuffer
    A GtkTextBuffer C++ wrapper class. More...
- class TextChildAnchor
    A GtkTextChildAnchor C++ wrapper class. More...
- class TextIter
    A GtkTextIter C++ wrapper class. More...
- class TextMark
    A GtkTextMark C++ wrapper class. More...
- class TextTag
    A GtkTextTag C++ wrapper class. More...
- class TextTagTable
    A GtkTextTagTable C++ wrapper class. More...
- class TextView
    A GtkTextView C++ wrapper class. More...
- class ToggleButton
    A GtkToggleButton C++ wrapper class. More...
- class Toolbar
    A GtkToolbar C++ wrapper class. More...
- class ToolbarChild
    A GtkToolbarChild C++ wrapper class. More...
- class Tooltips
    A GtkTooltips C++ wrapper class. More...
- class TooltipsData
    A GtkTooltipsData C++ wrapper class. More...
- class TreeIter
    A GtkTreeIter C++ wrapper class. More...
- class TreeModel
    A GtkTreeModel C++ wrapper class. More...
- class TreeModelSort
    A GtkTreeModelSort C++ wrapper class. More...
- class TreePath
    A GtkTreePath C++ wrapper class. More...
- class TreeRowReference
    A GtkTreeRowReference C++ wrapper class. More...
- class TreeSelection
    A GtkTreeSelection C++ wrapper class. More...
- class TreeSortable
    A GtkTreeSortable C++ wrapper class. More...
- class TreeStore
    A GtkTreeStore C++ wrapper class. More...
- class TreeView
    A GtkTreeView C++ wrapper class. More...
- class TreeViewColumn
    A GtkTreeViewColumn C++ wrapper class. More...
- class VBox
    A GtkVBox C++ wrapper class. More...
- class VButtonBox
    A GtkVButtonBox C++ wrapper class. More...
- class Viewport
    A GtkViewport C++ wrapper class. More...
- class VPaned
    A GtkVPaned C++ wrapper class. More...
- class VRuler
    A GtkVRuler C++ wrapper class. More...
- class VScale
    A GtkVScale C++ wrapper class. More...
- class VScrollbar
    A GtkVScrollbar C++ wrapper class. More...
- class VSeparator
    A GtkVSeparator C++ wrapper class. More...
- class Widget
    A GtkWidget C++ wrapper class. More...
- class Window
    A GtkWindow C++ wrapper class. More...
- class WindowGroup
    A GtkWindowGroup C++ wrapper class. More...

## Accelerator Methods

- bool accel_groups_activate (G::Object &object, const AccelKey &accel_key)
    Finds the first accelerator in any AccelGroup attached to object that matches the key value and modifiers, and activates that accelerator.
- Gdk::ModifierTypeField accelerator_get_default_mod_mask ()
    Gets the value set by set_default_mod_mask().
- void accelerator_set_default_mod_mask (Gdk::ModifierTypeField default_mod_mask)
    Sets the modifiers that will be considered significant for keyboard accelerators.
- bool accelerator_valid (const AccelKey &accel_key)
    Determines whether a given AccelKey is a valid keyboard accelerator.
- AccelKey accelerator_parse (const char *accelerator, AccelFlagsField accel_flags=Gtk::ACCEL_VISIBLE)
    Construct an AccelKey from a string representing an accelerator.
- String accelerator_name (const AccelKey &accel_key)
    Converts an AccelKey's key value and modifier mask into a string parseable by parse().

## Icon Size Methods

- bool icon_size_lookup (IconSize size, int *width, int *height, Settings *settings=0)
    Obtains the pixel size of a semantic icon size, possibly modified by user preferences for a particular Settings.
- IconSize icon_size_register (const char *name, int width, int height)
    Registers a new icon size, along the same lines as ICON_SIZE_MENU, etc.
- void icon_size_register_alias (const char *alias, IconSize target)
    Registers alias as another name for target.
- IconSize icon_size_from_name (const char *name)
    Looks up the icon size associated with name.
- String icon_size_get_name (IconSize size)
    Gets the canonical name of the given icon size.

## Typedefs

- typedef unsigned int CalendarDisplayOptionsField
    CalendarDisplayOptionsField holds one or more values from the CalendarDisplayOptions enumeration OR'd together.
- typedef unsigned int CellRendererStateField
    CellRendererStateField holds one or more values from the CellRendererState enum OR'd together.
- typedef unsigned int DialogFlagsField
    DialogFlagsField holds one or more flags from the DialogFlags enumeration OR'd together.
- typedef unsigned int DestDefaultsField
    DestDefaultsField holds one or more flags from the DestDefaults enumeration OR'd together.
- typedef unsigned int TargetFlagsField
    TargetFlagsField holds one or more flags from the TargetFlags enumeration OR'd together.
- typedef unsigned int AccelFlagsField
    AccelFlagsField holds one or more values from the AccelFlags enumeration OR'd together.
- typedef unsigned int AttachOptionsField
    AttachOptionsField holds one or more values from the AttachOptions enumeration OR'd together.
- typedef unsigned int TextSearchFlagsField
    TextSearchFlagsField holds one or more values from the TextSearchFlags enumeration.
- typedef unsigned int TreeModelFlagsField
    TreeModelFlagsField holds one or more values from the TreeModelFlags enumeration OR'd together.
- typedef unsigned int WidgetFlagsField
    WidgetFlagsField holds one or more values from the WidgetFlags enumeration OR'd together.

## Enumerations

- enum ButtonBoxStyle {
  BUTTONBOX_DEFAULT_STYLE = GTK_BUTTONBOX_DEFAULT_STYLE,
  BUTTONBOX_SPREAD = GTK_BUTTONBOX_SPREAD,
  BUTTONBOX_EDGE = GTK_BUTTONBOX_EDGE,
  BUTTONBOX_START = GTK_BUTTONBOX_START,
  BUTTONBOX_END = GTK_BUTTONBOX_END
  }
    ButtonBoxStyle is used to dictate the style that a ButtonBox uses to layout the buttons it contains. More...
- enum CalendarDisplayOptions {
  CALENDAR_SHOW_HEADING = GTK_CALENDAR_SHOW_HEADING,
  CALENDAR_SHOW_DAY_NAMES = GTK_CALENDAR_SHOW_DAY_NAMES,
  CALENDAR_NO_MONTH_CHANGE = GTK_CALENDAR_NO_MONTH_CHANGE,
  CALENDAR_SHOW_WEEK_NUMBERS = GTK_CALENDAR_SHOW_WEEK_NUMBERS,
  CALENDAR_WEEK_START_MONDAY = GTK_CALENDAR_WEEK_START_MONDAY
  }
    The display options that specify how the calendar itself is displayed. More...
- enum CellRendererState {
  CELL_RENDERER_SELECTED = GTK_CELL_RENDERER_SELECTED,
  CELL_RENDERER_PRELIT = GTK_CELL_RENDERER_PRELIT,
  CELL_RENDERER_INSENSITIVE = GTK_CELL_RENDERER_INSENSITIVE,
  CELL_RENDERER_SORTED = GTK_CELL_RENDERER_SORTED,
  CELL_RENDERER_FOCUSED = GTK_CELL_RENDERER_FOCUSED
  }
    Specifies how the CellRenderer should render a cell. More...
- enum CellRendererMode {
  INERT = GTK_CELL_RENDERER_MODE_INERT,
  ACTIVATABLE = GTK_CELL_RENDERER_MODE_ACTIVATABLE,
  EDITABLE = GTK_CELL_RENDERER_MODE_EDITABLE
  }
    Specifies the editable mode of the CellRenderer. More...
- enum CurveType {
  CURVE_TYPE_LINEAR = GTK_CURVE_TYPE_LINEAR,
  CURVE_TYPE_SPLINE = GTK_CURVE_TYPE_SPLINE,
  CURVE_TYPE_FREE = GTK_CURVE_TYPE_FREE
  }
    The type of curve. More...
- enum DialogFlags {
  DIALOG_MODAL = GTK_DIALOG_MODAL,
  DIALOG_DESTROY_WITH_PARENT = GTK_DIALOG_DESTROY_WITH_PARENT,
  DIALOG_NO_SEPARATOR = GTK_DIALOG_NO_SEPARATOR
  }
    Construction/destruction flags. More...
- enum ResponseType {
  RESPONSE_NONE = GTK_RESPONSE_NONE,
  RESPONSE_REJECT = GTK_RESPONSE_REJECT,
  RESPONSE_ACCEPT = GTK_RESPONSE_ACCEPT,
  RESPONSE_DELETE_EVENT = GTK_RESPONSE_DELETE_EVENT,
  RESPONSE_OK = GTK_RESPONSE_OK,
  RESPONSE_CANCEL = GTK_RESPONSE_CANCEL,
  RESPONSE_CLOSE = GTK_RESPONSE_CLOSE,
  RESPONSE_YES = GTK_RESPONSE_YES,
  RESPONSE_NO = GTK_RESPONSE_NO,
  RESPONSE_APPLY = GTK_RESPONSE_APPLY,
  RESPONSE_HELP = GTK_RESPONSE_HELP
  }
    Used to indicate the response_id of the action widget. More...
- enum DestDefaults {
  DEST_DEFAULT_MOTION = GTK_DEST_DEFAULT_MOTION,
  DEST_DEFAULT_HIGHLIGHT = GTK_DEST_DEFAULT_HIGHLIGHT,
  DEST_DEFAULT_DROP = GTK_DEST_DEFAULT_DROP,
  DEST_DEFAULT_ALL = GTK_DEST_DEFAULT_ALL
  }
    Specifies the various types of action that will be taken on behalf of the user for a drag destination site. More...
- enum TargetFlags {
  TARGET_SAME_APP = GTK_TARGET_SAME_APP,
  TARGET_SAME_WIDGET = GTK_TARGET_SAME_WIDGET
  }
    Specifies the constraints on an entry in a TargetTable. More...
- enum AccelFlags {
  ACCEL_VISIBLE = GTK_ACCEL_VISIBLE,
  ACCEL_LOCKED = GTK_ACCEL_LOCKED,
  ACCEL_MASK = GTK_ACCEL_MASK
  }
    Accelerator flags. More...
- enum ArrowType {
  ARROW_UP = GTK_ARROW_UP,
  ARROW_DOWN = GTK_ARROW_DOWN,
  ARROW_LEFT = GTK_ARROW_LEFT,
  ARROW_RIGHT = GTK_ARROW_RIGHT
  }
    Used to indicate the direction in which an Arrow should point. More...
- enum AttachOptions {
  EXPAND = GTK_EXPAND,
  SHRINK = GTK_SHRINK,
  FILL = GTK_FILL
  }
    Denotes the expansion properties that a widget will have when it (or it's parent) is resized. More...
- enum CornerType { ,
  CORNER_BOTTOM_LEFT = GTK_CORNER_BOTTOM_LEFT,
  CORNER_TOP_RIGHT = GTK_CORNER_TOP_RIGHT,
  CORNER_BOTTOM_RIGHT = GTK_CORNER_BOTTOM_RIGHT
  }
    Specifies which corner a child widget should be placed in when packed into a ScrolledWindow. More...
- enum DeleteType {
  DELETE_CHARS = GTK_DELETE_CHARS,
  DELETE_WORD_ENDS = GTK_DELETE_WORD_ENDS,
  DELETE_WORDS = GTK_DELETE_WORDS,
  DELETE_DISPLAY_LINES = GTK_DELETE_DISPLAY_LINES,
  DELETE_DISPLAY_LINE_ENDS = GTK_DELETE_DISPLAY_LINE_ENDS,
  DELETE_PARAGRAPH_ENDS = GTK_DELETE_PARAGRAPH_ENDS,
  DELETE_PARAGRPHS = GTK_DELETE_PARAGRAPHS,
  DELETE_WHITESPACE = GTK_DELETE_WHITESPACE
  }
    Indicates the text deletion type; used by the Entry and Textview widgets. More...
- enum DirectionType {
  DIR_TAB_FORWARD = GTK_DIR_TAB_FORWARD,
  DIR_TAB_BACKWARD = GTK_DIR_TAB_BACKWARD,
  DIR_UP = GTK_DIR_UP,
  DIR_DOWN = GTK_DIR_DOWN,
  DIR_LEFT = GTK_DIR_LEFT,
  DIR_RIGHT = GTK_DIR_RIGHT
  }
    Indicates direction; used by widgets such as Menu, Notebook, ScrollWindow and TextView. More...
- enum ExpanderStyle {
  EXPANDER_COLLAPSED = GTK_EXPANDER_COLLAPSED,
  EXPANDER_SEMI_COLLAPSED = GTK_EXPANDER_SEMI_COLLAPSED,
  EXPANDER_SEMI_EXPANDED = GTK_EXPANDER_SEMI_EXPANDED,
  EXPANDER_EXPANDED = GTK_EXPANDER_EXPANDED
  }
    ExpanderStyle is used by Style::draw_expander() to indicate the type of expander to draw. More...
- enum IconSize {
  ICON_SIZE_INVALID = GTK_ICON_SIZE_INVALID,
  ICON_SIZE_MENU = GTK_ICON_SIZE_MENU,
  ICON_SIZE_SMALL_TOOLBAR = GTK_ICON_SIZE_SMALL_TOOLBAR,
  ICON_SIZE_LARGE_TOOLBAR = GTK_ICON_SIZE_LARGE_TOOLBAR,
  ICON_SIZE_BUTTON = GTK_ICON_SIZE_BUTTON,
  ICON_SIZE_DND = GTK_ICON_SIZE_DND,
  ICON_SIZE_DIALOG = GTK_ICON_SIZE_DIALOG
  }
    The Icon size to render. More...
- enum Justification {
  JUSTIFY_LEFT = GTK_JUSTIFY_LEFT,
  JUSTIFY_RIGHT = GTK_JUSTIFY_RIGHT,
  JUSTIFY_CENTER = GTK_JUSTIFY_CENTER,
  JUSTIFY_FILL = GTK_JUSTIFY_FILL
  }
    Used for justifying the text inside a Label widget (see also Alignment). More...
- enum MetricType {
  PIXELS = GTK_PIXELS,
  INCHES = GTK_INCHES
  }
    Used to define the unit type for Ruler. More...
- enum MovementStep {
  MOVEMENT_LOGICAL_POSITIONS = GTK_MOVEMENT_LOGICAL_POSITIONS,
  MOVEMENT_VISUAL_POSITIONS = GTK_MOVEMENT_VISUAL_POSITIONS,
  MOVEMENT_WORDS = GTK_MOVEMENT_WORDS,
  MOVEMENT_DISPLAY_LINES = GTK_MOVEMENT_DISPLAY_LINES,
  MOVEMENT_DISPLAY_LINE_ENDS = GTK_MOVEMENT_DISPLAY_LINE_ENDS,
  MOVEMENT_PARAGRAPHS = GTK_MOVEMENT_PARAGRAPHS,
  MOVEMENT_PARAGRAPHS_ENDS = GTK_MOVEMENT_PARAGRAPH_ENDS,
  MOVEMENT_PAGES = GTK_MOVEMENT_PAGES,
  MOVEMENT_BUFFER_ENDS = GTK_MOVEMENT_BUFFER_ENDS
  }
    Describes the movement of the insertion point (cursor). More...
- enum Orientation {
  ORIENTATION_HORIZONTAL = GTK_ORIENTATION_HORIZONTAL,
  ORIENTATION_VERTICAL = GTK_ORIENTATION_VERTICAL
  }
    Used by Range and Toolbar to indicate the orientation of the widget. More...
- enum PackType {
  PACK_START = GTK_PACK_START,
  PACK_END = GTK_PACK_END
  }
    Represents the packing location of Box children (see VBox, HBox and ButtonBox). More...
- enum PolicyType {
  POLICY_ALWAYS = GTK_POLICY_ALWAYS,
  POLICY_AUTOMATIC = GTK_POLICY_AUTOMATIC,
  POLICY_NEVER = GTK_POLICY_NEVER
  }
    Determines when a scroll bar will be visible. More...
- enum PositionType {
  POS_LEFT = GTK_POS_LEFT,
  POS_RIGHT = GTK_POS_RIGHT,
  POS_TOP = GTK_POS_TOP,
  POS_BOTTOM = GTK_POS_BOTTOM
  }
    Indicates edge position. More...
- enum ReliefStyle {
  RELIEF_NORMAL = GTK_RELIEF_NORMAL,
  RELIEF_HALF = GTK_RELIEF_HALF,
  RELIEF_NONE = GTK_RELIEF_NONE
  }
    Specifies the relief style of the edges a Button. More...
- enum ResizeMode {
  RESIZE_PARENT = GTK_RESIZE_PARENT,
  RESIZE_QUEUE = GTK_RESIZE_QUEUE,
  RESIZE_IMMEDIATE = GTK_RESIZE_IMMEDIATE
  }
    Determines whether a resize request will be passed to a container's parent, queued for later execution or executed immediately. More...
- enum ScrollType {
  SCROLL_NONE = GTK_SCROLL_NONE,
  SCROLL_JUMP = GTK_SCROLL_JUMP,
  SCROLL_STEP_BACKWARD = GTK_SCROLL_STEP_BACKWARD,
  SCROLL_STEP_FORWARD = GTK_SCROLL_STEP_FORWARD,
  SCROLL_PAGE_BACKWARD = GTK_SCROLL_PAGE_BACKWARD,
  SCROLL_PAGE_FORWARD = GTK_SCROLL_PAGE_FORWARD,
  SCROLL_STEP_UP = GTK_SCROLL_STEP_UP,
  SCROLL_STEP_DOWN = GTK_SCROLL_STEP_DOWN,
  SCROLL_PAGE_UP = GTK_SCROLL_PAGE_UP,
  SCROLL_PAGE_DOWN = GTK_SCROLL_PAGE_DOWN,
  SCROLL_STEP_LEFT = GTK_SCROLL_STEP_LEFT,
  SCROLL_STEP_RIGHT = GTK_SCROLL_STEP_RIGHT,
  SCROLL_PAGE_LEFT = GTK_SCROLL_PAGE_LEFT,
  SCROLL_PAGE_RIGHT = GTK_SCROLL_PAGE_RIGHT,
  SCROLL_START = GTK_SCROLL_START,
  SCROLL_END = GTK_SCROLL_END
  }
    Passed as a signal argument by Range, Scrollbar, SpinButton and ScrolledWindow widgets to indicate the way the user has moved the slider or thumb. More...
- enum SelectionMode {
  SELECTION_NONE = GTK_SELECTION_NONE,
  SELECTION_SINGLE = GTK_SELECTION_SINGLE,
  SELECTION_BROWSE = GTK_SELECTION_BROWSE,
  SELECTION_MULTIPLE = GTK_SELECTION_MULTIPLE,
  SELECTION_EXTENDED = GTK_SELECTION_EXTENDED
  }
    Specifies the selection mode for a TreeView widget. More...
- enum ShadowType {
  SHADOW_NONE = GTK_SHADOW_NONE,
  SHADOW_IN = GTK_SHADOW_IN,
  SHADOW_OUT = GTK_SHADOW_OUT,
  SHADOW_ETCHED_IN = GTK_SHADOW_ETCHED_IN,
  SHADOW_ETCHED_OUT = GTK_SHADOW_ETCHED_OUT
  }
    Used to change the appearance of an outline typically provided by a Frame. More...
- enum SizeGroupMode {
  SIZE_GROUP_NONE = GTK_SIZE_GROUP_NONE,
  SIZE_GROUP_HORIZONTAL = GTK_SIZE_GROUP_HORIZONTAL,
  SIZE_GROUP_VERTICAL = GTK_SIZE_GROUP_VERTICAL,
  SIZE_GROUP_BOTH = GTK_SIZE_GROUP_BOTH
  }
    The mode of the size group determines the directions in which the size group effects the requested sizes of its component widgets. More...
- enum SortType {
  SORT_ASCENDING = GTK_SORT_ASCENDING,
  SORT_DESCENDING = GTK_SORT_DESCENDING
  }
    Determines the direction of a sort. More...
- enum StateType {
  STATE_NORMAL = GTK_STATE_NORMAL,
  STATE_ACTIVE = GTK_STATE_ACTIVE,
  STATE_PRELIGHT = GTK_STATE_PRELIGHT,
  STATE_SELECTED = GTK_STATE_SELECTED,
  STATE_INSENSITIVE = GTK_STATE_INSENSITIVE
  }
    This type indicates the current state of a widget; the state determines how the widget is drawn. More...
- enum TextDirection {
  TEXT_DIR_NONE = GTK_TEXT_DIR_NONE,
  TEXT_DIR_LTR = GTK_TEXT_DIR_LTR,
  TEXT_DIR_RTL = GTK_TEXT_DIR_RTL
  }
    Text direction (right-to-left or left-to-right). More...
- enum UpdateType {
  UPDATE_CONTINUOUS = GTK_UPDATE_CONTINUOUS,
  UPDATE_DISCONTINUOUS = GTK_UPDATE_DISCONTINUOUS,
  UPDATE_DELAYED = GTK_UPDATE_DELAYED
  }
    Used by Range widgets to set the update policy for the range. More...
- enum WindowPosition {
  WIN_POS_NONE = GTK_WIN_POS_NONE,
  WIN_POS_CENTER = GTK_WIN_POS_CENTER,
  WIN_POS_MOUSE = GTK_WIN_POS_MOUSE,
  WIN_POS_CENTER_ALWAYS = GTK_WIN_POS_CENTER_ALWAYS,
  WIN_POS_CENTER_ON_PARENT = GTK_WIN_POS_CENTER_ON_PARENT
  }
    Window placement can be influenced using this enumeration. More...
- enum WrapMode {
  WRAP_NONE = GTK_WRAP_NONE,
  WRAP_CHAR = GTK_WRAP_CHAR,
  WRAP_WORD = GTK_WRAP_WORD
  }
    Describes how to wrap the lines of a Layout to the desired width. More...
- enum WindowType {
  WINDOW_TOPLEVEL = GTK_WINDOW_TOPLEVEL,
  WINDOW_POPUP = GTK_WINDOW_POPUP
  }
    Specifies the window type to create. More...
- enum ImageType {
  IMAGE_EMPTY = GTK_IMAGE_EMPTY,
  IMAGE_PIXMAP = GTK_IMAGE_PIXMAP,
  IMAGE_IMAGE = GTK_IMAGE_IMAGE,
  IMAGE_PIXBUF = GTK_IMAGE_PIXBUF,
  IMAGE_STOCK = GTK_IMAGE_STOCK,
  IMAGE_ICON_SET = GTK_IMAGE_ICON_SET,
  IMAGE_ANIMATION = GTK_IMAGE_ANIMATION
  }
    Describes the image data representation used by a GtkImage. More...
- enum MenuDirectionType {
  MENU_DIR_PARENT = GTK_MENU_DIR_PARENT,
  MENU_DIR_CHILD = GTK_MENU_DIR_CHILD,
  MENU_DIR_NEXT = GTK_MENU_DIR_NEXT,
  MENU_DIR_PREV = GTK_MENU_DIR_PREV
  }
    MenuDirectionType represents the directional movements within a menu. More...
- enum MessageType {
  MESSAGE_INFO = GTK_MESSAGE_INFO,
  MESSAGE_WARNING = GTK_MESSAGE_WARNING,
  MESSAGE_QUESTION = GTK_MESSAGE_QUESTION,
  MESSAGE_ERROR = GTK_MESSAGE_ERROR
  }
    The type of message being displayed in the dialog. More...
- enum ButtonType {
  BUTTONS_NONE = GTK_BUTTONS_NONE,
  BUTTONS_OK = GTK_BUTTONS_OK,
  BUTTONS_CLOSE = GTK_BUTTONS_CLOSE,
  BUTTONS_CANCEL = GTK_BUTTONS_CANCEL,
  BUTTONS_YES_NO = GTK_BUTTONS_YES_NO,
  BUTTONS_OK_CANCEL = GTK_BUTTONS_OK_CANCEL
  }
    Prebuilt sets of buttons for the dialog. More...
- enum NotebookTab {
  NOTEBOOK_TAB_FIRST = GTK_NOTEBOOK_TAB_FIRST,
  NOTEBOOK_TAB_LAST = GTK_NOTEBOOK_TAB_LAST
  }
    NotebookTab defines the notebook tab which received the focus when a home or end key is pressed on the keyboard. More...
- enum ProgressBarOrientation {
  PROGRESS_LEFT_TO_RIGHT = GTK_PROGRESS_LEFT_TO_RIGHT,
  PROGRESS_RIGHT_TO_LEFT = GTK_PROGRESS_RIGHT_TO_LEFT,
  PROGRESS_BOTTOM_TO_TOP = GTK_PROGRESS_BOTTOM_TO_TOP,
  PROGRESS_TOP_TO_BOTTOM = GTK_PROGRESS_TOP_TO_BOTTOM
  }
    Represents the possible orientations and growth directions for the visible progress bar. More...
- enum SpinType {
  SPIN_STEP_FORWARD = GTK_SPIN_STEP_FORWARD,
  SPIN_STEP_BACKWARD = GTK_SPIN_STEP_BACKWARD,
  SPIN_PAGE_FORWARD = GTK_SPIN_PAGE_FORWARD,
  SPIN_PAGE_BACKWARD = GTK_SPIN_PAGE_BACKWARD,
  SPIN_HOME = GTK_SPIN_HOME,
  SPIN_END = GTK_SPIN_END,
  SPIN_USER_DEFINED = GTK_SPIN_USER_DEFINED
  }
    SpinType defines the types of spin movement that can occur. More...
- enum SpinButtonUpdatePolicy {
  UPDATE_ALWAYS = GTK_UPDATE_ALWAYS,
  UPDATE_IF_VALID = GTK_UPDATE_IF_VALID
  }
    SpinButtonUpdatePolicy determines how the spin button should be updated. More...
- enum TextSearchFlags {
  TEXT_SEARCH_VISIBLE_ONLY = 1 << 0,
  TEXT_SEARCH_TEXT_ONLY = 1 << 1
  }
    TextSearchFlags is used to specify how a text iterator should search through a text buffer for a text string. More...
- enum TextWindowType {
  TEXT_WINDOW_PRIVATE = GTK_TEXT_WINDOW_PRIVATE,
  TEXT_WINDOW_WIDGET = GTK_TEXT_WINDOW_WIDGET,
  TEXT_WINDOW_TEXT = GTK_TEXT_WINDOW_TEXT,
  TEXT_WINDOW_LEFT = GTK_TEXT_WINDOW_LEFT,
  TEXT_WINDOW_RIGHT = GTK_TEXT_WINDOW_RIGHT,
  TEXT_WINDOW_TOP = GTK_TEXT_WINDOW_TOP,
  TEXT_WINDOW_BOTTOM = GTK_TEXT_WINDOW_BOTTOM
  }
    TextWindowType indentifies the possible windows that correspond to an area of the text view. More...
- enum ToolbarChildType {
  TOOLBAR_CHILD_SPACE = GTK_TOOLBAR_CHILD_SPACE,
  TOOLBAR_CHILD_BUTTON = GTK_TOOLBAR_CHILD_BUTTON,
  TOOLBAR_CHILD_TOGGLEBUTTON = GTK_TOOLBAR_CHILD_TOGGLEBUTTON,
  TOOLBAR_CHILD_RADIOBUTTON = GTK_TOOLBAR_CHILD_RADIOBUTTON,
  TOOLBAR_CHILD_WIDGET = GTK_TOOLBAR_CHILD_WIDGET
  }
    ToolbarChildType is used to set the type of new elements that are added to a Toolbar. More...
- enum ToolbarSpaceStyle {
  TOOLBAR_SPACE_EMPTY = GTK_TOOLBAR_SPACE_EMPTY,
  TOOLBAR_SPACE_LINE = GTK_TOOLBAR_SPACE_LINE
  }
    The toolbar space style, either a line or an empty space. More...
- enum ToolbarStyle {
  TOOLBAR_ICONS = GTK_TOOLBAR_ICONS,
  TOOLBAR_TEXT = GTK_TOOLBAR_TEXT,
  TOOLBAR_BOTH = GTK_TOOLBAR_BOTH,
  TOOLBAR_BOTH_HORIZ = GTK_TOOLBAR_BOTH_HORIZ
  }
    ToolbarStyle is used to customize the appearance of a Toolbar. More...
- enum TreeModelFlags {
  TREE_MODEL_ITERS_PERSIST = GTK_TREE_MODEL_ITERS_PERSIST,
  TREE_MODEL_LIST_ONLY = GTK_TREE_MODEL_LIST_ONLY
  }
    These flags indicate various properties of a TreeModel. More...
- enum TreeViewDropPosition {
  TREE_VIEW_DROP_BEFORE = GTK_TREE_VIEW_DROP_BEFORE,
  TREE_VIEW_DROP_AFTER = GTK_TREE_VIEW_DROP_AFTER,
  TREE_VIEW_DROP_INTO_OR_BEFORE = GTK_TREE_VIEW_DROP_INTO_OR_BEFORE,
  TREE_VIEW_DROP_INTO_OR_AFTER = GTK_TREE_VIEW_DROP_INTO_OR_AFTER
  }
    TreeViewDropPosition is used to determine where a dropped row goes. More...
- enum TreeViewColumnSizing {
  TREE_VIEW_COLUMN_GROW_ONLY = GTK_TREE_VIEW_COLUMN_GROW_ONLY,
  TREE_VIEW_COLUMN_AUTOSIZE = GTK_TREE_VIEW_COLUMN_AUTOSIZE,
  TREE_VIEW_COLUMN_FIXED = GTK_TREE_VIEW_COLUMN_FIXED
  }
    TreeViewColumnSizing defines the sizing method a column uses to determine it's width. More...
- enum WidgetFlags {
  TOP_LEVEL = GTK_TOPLEVEL,
  NO_WINDOW = GTK_NO_WINDOW,
  REALIZED = GTK_REALIZED,
  MAPPED = GTK_MAPPED,
  VISIBLE = GTK_VISIBLE,
  SENSITIVE = GTK_SENSITIVE,
  PARENT_SENSITIVE = GTK_PARENT_SENSITIVE,
  CAN_FOCUS = GTK_CAN_FOCUS,
  HAS_FOCUS = GTK_HAS_FOCUS,
  CAN_DEFAULT = GTK_CAN_DEFAULT,
  HAS_DEFAULT = GTK_HAS_DEFAULT,
  HAS_GRAB = GTK_HAS_GRAB,
  RC_STYLE = GTK_RC_STYLE,
  COMPOSITE_CHILD = GTK_COMPOSITE_CHILD,
  NO_REPARENT = GTK_NO_REPARENT,
  APP_PAINTABLE = GTK_APP_PAINTABLE,
  RECEIVES_DEFAULT = GTK_RECEIVES_DEFAULT,
  DOUBLE_BUFFERED = GTK_DOUBLE_BUFFERED
  }
    WidgetFlags tells about certain properties of the widget. More...
- enum WidgetHelpType {
  WIDGET_HELP_TOOLTIP = GTK_WIDGET_HELP_TOOLTIP,
  WIDGET_HELP_WHATS_THIS = GTK_WIDGET_HELP_WHATS_THIS
  }
    WidgetHelpType defines the type of help, either tooltip or "What's this". More...

## Detailed Description

C++ framework for the GTK GUI library.

Provides a set of graphical objects called widgets which serve as the GUI component, such as Gtk::Button and Gtk::Textview.

## Enumeration Type Documentation

enum Inti::Gtk::AccelFlags

Accelerator flags.

Enumeration values:

  ACCEL_VISIBLE | Display the accelerator in an AccelLabel.
  ACCEL_LOCKED | Is the accelerator removable?
  ACCEL_MASK | Has a value of 0x07.

enum Inti::Gtk::ArrowType

Used to indicate the direction in which an Arrow should point.

Enumeration values:

  ARROW_UP | Represents an upward pointing arrow.
  ARROW_DOWN | Represents a downward pointing arrow.
  ARROW_LEFT | Represents a left pointing arrow.
  ARROW_RIGHT | Represents a right pointing arrow.

enum Inti::Gtk::AttachOptions

Denotes the expansion properties that a widget will have when it (or it's parent) is resized.

Enumeration values:

  EXPAND | The widget should expand to take up any extra space in its container that has been allocated.
  SHRINK | The widget should shrink as and when possible.
  FILL | The widget should fill the space allocated to it.

enum Inti::Gtk::ButtonBoxStyle

ButtonBoxStyle is used to dictate the style that a ButtonBox uses to layout the buttons it contains.

(See also: VButtonBox and HButtonBox).

Enumeration values:

  BUTTONBOX_DEFAULT_STYLE | Default packing.
  BUTTONBOX_SPREAD | Buttons are evenly spread across the ButtonBox.
  BUTTONBOX_EDGE | Buttons are placed at the edges of the ButtonBox.
  BUTTONBOX_START | Buttons are grouped towards the start of ButtonBox.
  BUTTONBOX_END | Buttons are grouped towards the end of ButtonBox.

enum Inti::Gtk::ButtonType

Prebuilt sets of buttons for the dialog.

If none of these choices are appropriate, simply use BUTTONS_NONE then call Gtk::Dialog::add_buttons().

Enumeration values:

  BUTTONS_NONE | No buttons at all.
  BUTTONS_OK | An OK button.
  BUTTONS_CLOSE | A Close button.
  BUTTONS_CANCEL | A Cancel button.
  BUTTONS_YES_NO | Yes and No buttons.
  BUTTONS_OK_CANCEL | OK and Cancel buttons.

enum Inti::Gtk::CalendarDisplayOptions

The display options that specify how the calendar itself is displayed.

Enumeration values:

  CALENDAR_SHOW_HEADING | Specifies that the month and year should be displayed.
  CALENDAR_SHOW_DAY_NAMES | Specifies that three letter day descriptions should be present.
  CALENDAR_NO_MONTH_CHANGE | Prevents the user from switching months with the calendar.
  CALENDAR_SHOW_WEEK_NUMBERS | Displays each week numbers of the current year, down the left side of the calendar.
  CALENDAR_WEEK_START_MONDAY | Starts the calendar week on Monday, instead of the default Sunday.

enum Inti::Gtk::CellRendererMode

Specifies the editable mode of the CellRenderer.

Enumeration values:

  INERT | The cell is neither activatable nor editable.
  ACTIVATABLE | The cell can be activated.
  EDITABLE | The cell can be edited.

enum Inti::Gtk::CellRendererState

Specifies how the CellRenderer should render a cell.

Enumeration values:

  CELL_RENDERER_SELECTED | The cell can be selected.
  CELL_RENDERER_PRELIT | The cell can be prelit.
  CELL_RENDERER_INSENSITIVE | The cell is insensitive.
  CELL_RENDERER_SORTED | The cell is in the sort column/row.
  CELL_RENDERER_FOCUSED | The cell can be focused.

enum Inti::Gtk::CornerType

Specifies which corner a child widget should be placed in when packed into a ScrolledWindow.

This is effectively the opposite of where the scroll bars are placed.

Enumeration values:

  CORNER_BOTTOM_LEFT | Place the scrollbars on the top and right of the widget.
  CORNER_TOP_RIGHT | Place the scrollbars on the left and bottom of the widget.
  CORNER_BOTTOM_RIGHT | Place the scrollbars on the top and left of the widget.

enum Inti::Gtk::CurveType

The type of curve.

Once set the curve will remain unchanged except when changing from a free curve to a linear or spline curve.

Enumeration values:

  CURVE_TYPE_LINEAR | Linear interpolation.
  CURVE_TYPE_SPLINE | Spline interpolation.
  CURVE_TYPE_FREE | Free form curve.

enum Inti::Gtk::DeleteType

Indicates the text deletion type; used by the Entry and Textview widgets.

Enumeration values:

  DELETE_CHARS | Delete characters.
  DELETE_WORD_ENDS | Delete only the portion of the word to the left/right of cursor if we're in the middle of a word.
  DELETE_WORDS | Delete words.
  DELETE_DISPLAY_LINES | Deletes the entire line of text from an Entry.
  DELETE_DISPLAY_LINE_ENDS | Deletes text in an Entry, from the current cursor position to the end of the line.
  DELETE_PARAGRAPH_ENDS | Like C-k in Emacs (or its reverse).
  DELETE_PARAGRPHS | Like C-k in pico, kill whole line.
  DELETE_WHITESPACE | Like M-\ in Emacs.

enum Inti::Gtk::DestDefaults

Specifies the various types of action that will be taken on behalf of the user for a drag destination site.

Enumeration values:

  DEST_DEFAULT_MOTION | If set for a widget, GTK+, during a drag over this widget will check if the drag matches this widget's list of possible targets and actions (GTK+ will then call gtk_drag_status() as appropriate).
  DEST_DEFAULT_HIGHLIGHT | If set for a widget, GTK+ will draw a highlight on this widget as long as a drag is over this widget and the widget drag format and action are acceptable.
  DEST_DEFAULT_DROP | If set for a widget, when a drop occurs, GTK+ will will check if the drag matches this widget's list of possible targets and actions and if so, GTK+ will call gtk_drag_data_get() on behalf of the widget.
  DEST_DEFAULT_ALL | If set, specifies that all default actions should be taken.

enum Inti::Gtk::DialogFlags

Construction/destruction flags.

Enumeration values:

  DIALOG_MODAL | Calls Gtk::Window::set_modal(true).
  DIALOG_DESTROY_WITH_PARENT | Calls Gtk::Window::set_destroy_with_parent().
  DIALOG_NO_SEPARATOR | No separator bar above the action buttons.

enum Inti::Gtk::DirectionType

Indicates direction; used by widgets such as Menu, Notebook, ScrollWindow and TextView.

Enumeration values:

  DIR_TAB_FORWARD | Tab in a forword direction.
  DIR_TAB_BACKWARD | Tab in a backward direction.
  DIR_UP | Up.
  DIR_DOWN | Down.
  DIR_LEFT | Left.
  DIR_RIGHT | Right.

enum Inti::Gtk::ExpanderStyle

ExpanderStyle is used by Style::draw_expander() to indicate the type of expander to draw.

Enumeration values:

  EXPANDER_COLLAPSED | Expander collapsed.
  EXPANDER_SEMI_COLLAPSED | Expander semi-collapsed.
  EXPANDER_SEMI_EXPANDED | Expander semi-expanded.
  EXPANDER_EXPANDED | Expander expanded.

enum Inti::Gtk::IconSize

The Icon size to render.

Enumeration values:

  ICON_SIZE_INVALID | Invalid.
  ICON_SIZE_MENU | An icon size suitable for menus.
  ICON_SIZE_SMALL_TOOLBAR | An icon size suitable for small toolbars.
  ICON_SIZE_LARGE_TOOLBAR | An icon size suitable for large toolbars.
  ICON_SIZE_BUTTON | An icon size suitable for buttons.
  ICON_SIZE_DND | An icon size suitable for drag-and-drop.
  ICON_SIZE_DIALOG | An icon size suitable for dialogs.

enum Inti::Gtk::ImageType

Describes the image data representation used by a GtkImage.

If you want to get the image from the widget, you can only get the currently-stored representation. e.g. if the get_storage_type() returns IMAGE_PIXBUF, then you can call get_pixbuf() but not get_stock(). For empty images, you can request any storage type (call any of the "get" functions), but they will all return null values.

Enumeration values:

  IMAGE_EMPTY | There is no image displayed by the widget.
  IMAGE_PIXMAP | The widget contains a Gdk::Pixmap.
  IMAGE_IMAGE | The widget contains a Gdk::Image.
  IMAGE_PIXBUF | The widget contains a Gdk::Pixbuf.
  IMAGE_STOCK | The widget contains a stock icon name.
  IMAGE_ICON_SET | The widget contains a Gtk::IconSet.
  IMAGE_ANIMATION | The widget contains a Gdk::PixbufAnimation.

enum Inti::Gtk::Justification

Used for justifying the text inside a Label widget (see also Alignment).

Enumeration values:

  JUSTIFY_LEFT | The text is placed at the left edge of the label.
  JUSTIFY_RIGHT | The text is placed at the right edge of the label.
  JUSTIFY_CENTER | The text is placed in the center of the label.
  JUSTIFY_FILL | The text is placed is distributed across the label.

enum Inti::Gtk::MenuDirectionType

MenuDirectionType represents the directional movements within a menu.

Enumeration values:

  MENU_DIR_PARENT | To the parent menu shell.
  MENU_DIR_CHILD | To the submenu, if any, associated with the item.
  MENU_DIR_NEXT | To the next menu item.
  MENU_DIR_PREV | To the previous menu item.

enum Inti::Gtk::MessageType

The type of message being displayed in the dialog.

Enumeration values:

  MESSAGE_INFO | Informational message.
  MESSAGE_WARNING | Nonfatal warning message.
  MESSAGE_QUESTION | Question requiring a choice.
  MESSAGE_ERROR | Fatal error message.

enum Inti::Gtk::MetricType

Used to define the unit type for Ruler.

Enumeration values:

  PIXELS | Ruler with pixel units.
  INCHES | Ruler with inch units.

enum Inti::Gtk::MovementStep

Describes the movement of the insertion point (cursor).

Enumeration values:

  MOVEMENT_LOGICAL_POSITIONS | Move by forward/back graphemes.
  MOVEMENT_VISUAL_POSITIONS | Move by left/right graphemes.
  MOVEMENT_WORDS | Move by forward/back words.
  MOVEMENT_DISPLAY_LINES | Move up/down lines (wrapped lines).
  MOVEMENT_DISPLAY_LINE_ENDS | Move up/down lines (wrapped lines).
  MOVEMENT_PARAGRAPHS | Move up/down paragraphs (newline-ended lines).
  MOVEMENT_PARAGRAPHS_ENDS | Move to either end of a paragraph.
  MOVEMENT_PAGES | Move by pages.
  MOVEMENT_BUFFER_ENDS | Move to ends of the buffer.

enum Inti::Gtk::NotebookTab

NotebookTab defines the notebook tab which received the focus when a home or end key is pressed on the keyboard.

Enumeration values:

  NOTEBOOK_TAB_FIRST | The first tab in the notebook page list (GDK_Home or GDK_KP_Home).
  NOTEBOOK_TAB_LAST | The last tab in the notebook page list (GKD_End or GDK_KP_End).

enum Inti::Gtk::Orientation

Used by Range and Toolbar to indicate the orientation of the widget.

Also used in Style to indicate the orientation of the widget to draw (e.g. draw_slider(), draw_handle()).

Enumeration values:

  ORIENTATION_HORIZONTAL | Horizontal orientation.
  ORIENTATION_VERTICAL | Vertical orientation.

enum Inti::Gtk::PackType

Represents the packing location of Box children (see VBox, HBox and ButtonBox).

Enumeration values:

  PACK_START | The child is packed into the start of the box.
  PACK_END | The child is packed into the end of the box.

enum Inti::Gtk::PolicyType

Determines when a scroll bar will be visible.

Enumeration values:

  POLICY_ALWAYS | The scrollbar is always visible.
  POLICY_AUTOMATIC | The scrollbar will appear and disappear as necessary.
  POLICY_NEVER | The scrollbar will never appear.

enum Inti::Gtk::PositionType

Indicates edge position.

Used by HandleBox, Notebook and Scale widgets, and the Style "draw" methods.

Enumeration values:

  POS_LEFT | Position left.
  POS_RIGHT | Position right.
  POS_TOP | Position top.
  POS_BOTTOM | Position bottom.

enum Inti::Gtk::ProgressBarOrientation

Represents the possible orientations and growth directions for the visible progress bar.

Enumeration values:

  PROGRESS_LEFT_TO_RIGHT | A horizontal progress bar growing from left to right.
  PROGRESS_RIGHT_TO_LEFT | A horizontal progress bar growing from right to left.
  PROGRESS_BOTTOM_TO_TOP | A vertical progress bar growing from bottom to top.
  PROGRESS_TOP_TO_BOTTOM | A vertical progress bar growing from top to bottom.

enum Inti::Gtk::ReliefStyle

Specifies the relief style of the edges a Button.

Enumeration values:

  RELIEF_NORMAL | Normal edge thickness.
  RELIEF_HALF | Half the normal edge thickness.
  RELIEF_NONE | No edge.

enum Inti::Gtk::ResizeMode

Determines whether a resize request will be passed to a container's parent, queued for later execution or executed immediately.

Enumeration values:

  RESIZE_PARENT | Pass resize request to the parent.
  RESIZE_QUEUE | Queue resizes on this widget.
  RESIZE_IMMEDIATE | Perform the resizes now.

enum Inti::Gtk::ResponseType

Used to indicate the response_id of the action widget.

Enumeration values:

  RESPONSE_NONE | The action widget has no response_id.
  RESPONSE_REJECT | Returned only if passed as the response for the action widget.
  RESPONSE_ACCEPT | Returned only if passed as the response for the action widget.
  RESPONSE_DELETE_EVENT | The dialog received a 'delete' event.
  RESPONSE_OK | The OK response, when the action widget is clicked.
  RESPONSE_CANCEL | The cancel response, when the action widget is clicked.
  RESPONSE_CLOSE | The close response, when the action widget is clicked.
  RESPONSE_YES | The yes response, when the action widget is clicked.
  RESPONSE_NO | The no response, when the action widget is clicked.
  RESPONSE_APPLY | The apply response, when the action widget is clicked.
  RESPONSE_HELP | The help response, when the action widget is clicked.

enum Inti::Gtk::ScrollType

Passed as a signal argument by Range, Scrollbar, SpinButton and ScrolledWindow widgets to indicate the way the user has moved the slider or thumb.

Enumeration values:

  SCROLL_NONE | No thumb movement.
  SCROLL_JUMP | Used by CList, which is deprecated.
  SCROLL_STEP_BACKWARD | The thumb moved backwards by a small amount in response to a mouse click on the arrow at the top of a scrollbar.
  SCROLL_STEP_FORWARD | The thumb moved forwards by a small amount in response to a mouse click on the arrow at the bottom of a scrollbar.
  SCROLL_PAGE_BACKWARD | The thumb moved backwards by a large amount in response to a mouse click in the trough between the thumb and the top arrow.
  SCROLL_PAGE_FORWARD | The thumb moved forwards by a large amount in response to a mouse click in the trough between the thumb and the bottom arrow.
  SCROLL_STEP_UP | Same as SCROLL_STEP_BACKWARD.
  SCROLL_STEP_DOWN | Same as SCROLL_STEP_FORWARD.
  SCROLL_PAGE_UP | Same as SCROLL_PAGE_BACKWARD.
  SCROLL_PAGE_DOWN | Same as SCROLL_PAGE_FORWARD.
  SCROLL_STEP_LEFT | Same as SCROLL_STEP_BACKWARD.
  SCROLL_STEP_RIGHT | Same as SCROLL_STEP_FORWARD.
  SCROLL_PAGE_LEFT | Same as SCROLL_PAGE_BACKWARD.
  SCROLL_PAGE_RIGHT | Same as SCROLL_PAGE_FORWARD.
  SCROLL_START | The user has started to scroll the thumb.
  SCROLL_END | The user has finished scrolling the thumb.

enum Inti::Gtk::SelectionMode

Specifies the selection mode for a TreeView widget.

This allows you to set whether only one or more than one item can be selected at a time. Note that setting the widget's selection mode to one of SELECTION_BROWSE or SELECTION_SINGLE will cause all the items in the TreeView to become deselected.

Enumeration values:

  SELECTION_NONE | No selection.
  SELECTION_SINGLE | The user can select only one item at a time; When you click and drag the mouse, only the focus changes; The selection changes only when the mouse button is released on the same item it was pressed on.
  SELECTION_BROWSE | The user can select only one item at a time; The selection changes when the mouse button is pressed, not when it's released; When you click and drag the mouse, both the focus and the selection change.
  SELECTION_MULTIPLE | The user can select multiple items at the same time.
  SELECTION_EXTENDED | Not used any longer.

enum Inti::Gtk::ShadowType

Used to change the appearance of an outline typically provided by a Frame.

Enumeration values:

  SHADOW_NONE | No outline.
  SHADOW_IN | The outline is bevelled inwards.
  SHADOW_OUT | The outline is bevelled outwards like a button.
  SHADOW_ETCHED_IN | The outline itself is an inward bevel.
  SHADOW_ETCHED_OUT | The outline itself is an outward bevel.

enum Inti::Gtk::SizeGroupMode

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

Enumeration values:

  SIZE_GROUP_NONE | Group has no effect.
  SIZE_GROUP_HORIZONTAL | Group effects horizontal requisition.
  SIZE_GROUP_VERTICAL | Group effects vertical requisition.
  SIZE_GROUP_BOTH | Group effects both horizontal and vertical requisition.

enum Inti::Gtk::SortType

Determines the direction of a sort.

Enumeration values:

  SORT_ASCENDING | Sorting is in ascending order.
  SORT_DESCENDING | Sorting is in descending order.

enum Inti::Gtk::SpinButtonUpdatePolicy

SpinButtonUpdatePolicy determines how the spin button should be updated.

Enumeration values:

  UPDATE_ALWAYS | When refreshing your SpinButton, the value is always displayed.
  UPDATE_IF_VALID | When refreshing your SpinButton, the value is only displayed if it is valid within the bounds of the spin button's Adjustment.

enum Inti::Gtk::SpinType

SpinType defines the types of spin movement that can occur.

The ammount of spin is defined by the spin buttons adjustment.

Enumeration values:

  SPIN_STEP_FORWARD | Spin forward by one step value.
  SPIN_STEP_BACKWARD | Spin backward by one step value.
  SPIN_PAGE_FORWARD | Spin forward by one page value.
  SPIN_PAGE_BACKWARD | Spin backward by one page value.
  SPIN_HOME | Spin to the minimum value.
  SPIN_END | Spin to maximum value.
  SPIN_USER_DEFINED | Spin by an ammount specified by the user.

enum Inti::Gtk::StateType

This type indicates the current state of a widget; the state determines how the widget is drawn.

The StateType enumeration is also used to identify different colors in a Style for drawing, so states can be used for subparts of a widget as well as entire widgets.

Enumeration values:

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

enum Inti::Gtk::TargetFlags

Specifies the constraints on an entry in a TargetTable.

Enumeration values:

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

enum Inti::Gtk::TextDirection

Text direction (right-to-left or left-to-right).

Enumeration values:

  TEXT_DIR_NONE | In TextLayout, means means draw cursors for both left-to-right and right-to-left insertion.
  TEXT_DIR_LTR | Text direction left-to-right.
  TEXT_DIR_RTL | Text direction right-to-left.

enum Inti::Gtk::TextSearchFlags

TextSearchFlags is used to specify how a text iterator should search through a text buffer for a text string.

Enumeration values:

  TEXT_SEARCH_VISIBLE_ONLY | The matching text may have invisible text interspersed in it, that is, the text may possibly be a noncontiguous subsequence of the matched range.
  TEXT_SEARCH_TEXT_ONLY | The matching text may have pixbufs or child widgets mixed inside the matched range.

enum Inti::Gtk::TextWindowType

TextWindowType indentifies the possible windows that correspond to an area of the text view.

These are the overall widget window, the border windows on the left, right, top, bottom, and the window that displays the text buffer.

Enumeration values:

  TEXT_WINDOW_PRIVATE | Private.
  TEXT_WINDOW_WIDGET | The overall widget window.
  TEXT_WINDOW_TEXT | The window displaying the text buffer.
  TEXT_WINDOW_LEFT | The border window on the left.
  TEXT_WINDOW_RIGHT | The border window on the right.
  TEXT_WINDOW_TOP | The border window on the top.
  TEXT_WINDOW_BOTTOM | The border window on the bottom.

enum Inti::Gtk::ToolbarChildType

ToolbarChildType is used to set the type of new elements that are added to a Toolbar.

Enumeration values:

  TOOLBAR_CHILD_SPACE | A space; one of the styles in ToolbarSpaceStyle.
  TOOLBAR_CHILD_BUTTON | A Button.
  TOOLBAR_CHILD_TOGGLEBUTTON | A ToggleButton.
  TOOLBAR_CHILD_RADIOBUTTON | A RadioButton.
  TOOLBAR_CHILD_WIDGET | A standard Widget.

enum Inti::Gtk::ToolbarSpaceStyle

The toolbar space style, either a line or an empty space.

Enumeration values:

  TOOLBAR_SPACE_EMPTY | A empty space.
  TOOLBAR_SPACE_LINE | A line space.

enum Inti::Gtk::ToolbarStyle

ToolbarStyle is used to customize the appearance of a Toolbar.

Note that setting the toolbar style overrides the user's preferences for the default toolbar style.

Enumeration values:

  TOOLBAR_ICONS | Buttons display only icons in the toolbar.
  TOOLBAR_TEXT | Buttons display only text labels in the toolbar.
  TOOLBAR_BOTH | Buttons display text and icons in the toolbar.
  TOOLBAR_BOTH_HORIZ | Buttons display icons and text alongside each other, rather than vertically stacked.

enum Inti::Gtk::TreeModelFlags

These flags indicate various properties of a TreeModel.

They are returned by Gtk::TreeModel::get_flags(), and must be static for the lifetime of the object. A more complete description of TREE_MODEL_ITERS_PERSIST can be found in the TreeModel desription.

Enumeration values:

  TREE_MODEL_ITERS_PERSIST | Iterators survive all signals emitted by the tree.
  TREE_MODEL_LIST_ONLY | The model is a list only, and never has children.

enum Inti::Gtk::TreeViewColumnSizing

TreeViewColumnSizing defines the sizing method a column uses to determine it's width.

Please note that TREE_VIEW_COLUMN_AUTOSIZE is inefficient for large views, and can make columns appear choppy.

Enumeration values:

  TREE_VIEW_COLUMN_GROW_ONLY | Columns only get bigger in reaction to changes in the model.
  TREE_VIEW_COLUMN_AUTOSIZE | Columns resize to be the optimal size everytime the model changes.
  TREE_VIEW_COLUMN_FIXED | Columns are a fixed numbers of pixels wide.

enum Inti::Gtk::TreeViewDropPosition

TreeViewDropPosition is used to determine where a dropped row goes.

Enumeration values:

  TREE_VIEW_DROP_BEFORE | Drop before this row.
  TREE_VIEW_DROP_AFTER | Drop after this row.
  TREE_VIEW_DROP_INTO_OR_BEFORE | Drop as a child of this row (with fallback to before if into is not possible).
  TREE_VIEW_DROP_INTO_OR_AFTER | Drop as a child of this row (with fallback to after if into is not possible).

enum Inti::Gtk::UpdateType

Used by Range widgets to set the update policy for the range.

Enumeration values:

  UPDATE_CONTINUOUS | Anytime the range slider is moved, the range value will change and the "value_changed" signal will be emitted.
  UPDATE_DISCONTINUOUS | The range value will only be updated when the user releases the button and ends the slider drag operation.
  UPDATE_DELAYED | The range value will be updated after a brief timeout where no slider motion occurs, so updates are spaced by a short time rather than continuous.

enum Inti::Gtk::WidgetFlags

WidgetFlags tells about certain properties of the widget.

Enumeration values:

  TOP_LEVEL | Widgets without a real parent, such as Windows and Menus have this flag set throughout their lifetime; Toplevel widgets always contain their own Gdk::Window.
  NO_WINDOW | Indicative for a widget that does not provide its own Gdk::Window; For such widgets, visible actions (such as drawing) are performed on the parent's Gdk::Window.
  REALIZED | Set by realize(), unset by unrealize(); A realized widget has an associated Gdk::Window.
  MAPPED | Set by map(), unset by unmap(); Only realized widgets can be mapped; It means that show() has been called on the widgets window(s).
  VISIBLE | Set by show(), unset by hide(); Implies that a widget will be mapped as soon as its parent is mapped.
  SENSITIVE | Set and unset by set_sensitive(); The sensitivity of a widget determines whether it will receive certain events (such as button or key presses); One premise for the widget's sensitivity is to have this flag set.
  PARENT_SENSITIVE | Set and unset by set_sensitive() operations on the parents of the widget; This is the second premise for the widget's sensitivity; Once it has SENSITIVE and PARENT_SENSITIVE set, its state is effectively sensitive and Gtk::Widget::is_sensitive() will return true.
  CAN_FOCUS | Determines whether a widget is able to handle focus grabs.
  HAS_FOCUS | Set by grab_focus() for widgets that also have CAN_FOCUS set; This flag will be unset once another widget grabs the focus.
  CAN_DEFAULT | The widget is allowed to receive the default action via grab_default().
  HAS_DEFAULT | The widget currently is receiving the default action.
  HAS_GRAB | Set by gtk_grab_add(), unset by gtk_grab_remove(); It means that the widget is in the grab_widgets stack, and will be the preferred one for receiving events other than ones of cosmetic value.
  RC_STYLE | Indicates that the widgets style has been looked up through the rc mechanism; It does not imply that the widget actually had a style defined through the rc mechanism.
  COMPOSITE_CHILD | Indicates that the widget is a composite child of its parent; see push_composite_child(), pop_composite_child().
  NO_REPARENT | Unused since before GTK+ 1.2, will be removed in a future version.
  APP_PAINTABLE | Set and unset by set_app_paintable(); Must be set on widgets whose window the application directly draws on, in order to keep GTK+ from overwriting the drawn stuff.
  RECEIVES_DEFAULT | The widget when focused will receive the default action and have HAS_DEFAULT set even if there is a different widget set as default.
  DOUBLE_BUFFERED | Set and unset by set_double_buffered(); Indicates that exposes done on the widget should be double-buffered.

enum Inti::Gtk::WidgetHelpType

WidgetHelpType defines the type of help, either tooltip or "What's this".

Enumeration values:

  WIDGET_HELP_TOOLTIP | Tooltip help.
  WIDGET_HELP_WHATS_THIS | "What's this" help.

enum Inti::Gtk::WindowPosition

Window placement can be influenced using this enumeration.

Enumeration values:

  WIN_POS_NONE | No influence is made on placement.
  WIN_POS_CENTER | Windows should be placed in the center of the screen.
  WIN_POS_MOUSE | Windows should be placed at the current mouse position.
  WIN_POS_CENTER_ALWAYS | Keep window centered as it changes size, etc.
  WIN_POS_CENTER_ON_PARENT | Center the window on its transient parent.

enum Inti::Gtk::WindowType

Specifies the window type to create.

Enumeration values:

  WINDOW_TOPLEVEL | Windows with type WINDOW_TOPLEVEL (main windows, dialogs) are managed by the window manager and have a frame by default (nearly all windows should be WINDOW_TOPLEVEL).
  WINDOW_POPUP | Windows with type WINDOW_POPUP (menus, tooltips) are ignored by the window manager, window manager keybindings won't work on them, the window manager won't decorate the window with a frame, and many GTK+ features that rely on the window manager will not work (such as resize grips, maximization and minimization).

enum Inti::Gtk::WrapMode

Describes how to wrap the lines of a Layout to the desired width.

Enumeration values:

  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::LogAttr::get_log_attrs()).
  WRAP_WORD | Wrap text, breaking lines in between words.

## Function Documentation

bool accel_groups_activate | ( | G::Object & | object,
|  | const AccelKey & | accel_key
| ) |

Finds the first accelerator in any AccelGroup attached to object that matches the key value and modifiers, and activates that accelerator.

Parameters:

  object | The G::Object, usually a Gtk::Window, on which to activate the accelerator.
  accel_key | An AccelKey specifying the accelerator key value and modifiers.

Returns:
  true if an accelerator was activated and handled this keypress.

Gdk::ModifierTypeField accelerator_get_default_mod_mask | ( |  | ) |

Gets the value set by set_default_mod_mask().

Returns:
  The default accelerator modifier mask.

String accelerator_name | ( | const AccelKey & | accel_key | ) |

Converts an AccelKey's key value and modifier mask into a string parseable by parse().

Parameters:

  accel_key | An AccelKey specifying the accelerator key value and modifiers.

Returns:
  The accelerator name.

For example, if you pass in GDK_q and Gdk::CONTROL_MASK, this function returns "\<Control\>q".

AccelKey accelerator_parse | ( | const char * | accelerator,
|  | AccelFlagsField | accel_flags = Gtk::ACCEL_VISIBLE
| ) |

Construct an AccelKey from a string representing an accelerator.

Parameters:

  accelerator | A string representing an accelerator.
  accel_flags | A flag mask to configure this accelerator.

Returns:
  accel_key An AccelKey specifying the accelerator key value and modifiers.

Parses a string representing an accelerator. The format looks like "\<Control\>a" or "\<Shift\>\<Alt\>F1" or "\<Release\>z" (the last one is for key release). The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "\<Ctl\>" and "\<Ctrl\>". If the parse fails, accelerator and its modifiers will be set to 0 (zero).

void accelerator_set_default_mod_mask | ( | Gdk::ModifierTypeField | default_mod_mask | ) |

Sets the modifiers that will be considered significant for keyboard accelerators.

Parameters:

  default_mod_mask | Accelerator modifier mask.

The default mod mask is GDK_CONTROL_MASK | GDK_SHIFT_MASK | GDK_MOD1_MASK, that is, Control, Shift, and Alt. Other modifiers will by default be ignored by AccelGroup. You must include at least the three default modifiers in any value you pass to this method.

The default mod mask should be changed on application startup, before using any accelerator groups.

bool accelerator_valid | ( | const AccelKey & | accel_key | ) |

Determines whether a given AccelKey is a valid keyboard accelerator.

Parameters:

  accel_key | An AccelKey specifying the accelerator key value and modifiers.

Returns:
  true if the accelerator is valid.

For example, the GDK_a keyval plus Gdk::CONTROL_MASK is valid this is a "Ctrl+a" accelerator. But, you can't, for instance, use the GDK_Control_L key value as an accelerator.

IconSize icon_size_from_name | ( | const char * | name | ) |

Looks up the icon size associated with name.

Parameters:

  name | The name to look up.

Returns:
  The icon size with the given name.

String icon_size_get_name | ( | IconSize | size | ) |

Gets the canonical name of the given icon size.

Parameters:

  size | An IconSize.

Returns:
  The name of the given icon size.

bool icon_size_lookup | ( | IconSize | size,
|  | int * | width,
|  | int * | height,
|  | Settings * | settings = 0
| ) |

Obtains the pixel size of a semantic icon size, possibly modified by user preferences for a particular Settings.

Parameters:

  size | An icon size.
  width | The location to store icon width.
  height | The location to store icon height.
  settings | A Settings object, used to determine which set of user preferences to use, or null to use the settings for the default screen.

Returns:
  true if size was a valid size.

Normally size would be ICON_SIZE_MENU, ICON_SIZE_BUTTON, etc. This method isn't normally needed, Gtk::Widget::render_icon() is the usual way to get an icon for rendering, then just look at the size of the rendered pixbuf. The rendered pixbuf may not even correspond to the width/height returned by size_lookup(), because themes are free to render the pixbuf however they like, including changing the usual size.

Note: The default GDK screen is the only screen in the absence of MultiHead support.

IconSize icon_size_register | ( | const char * | name,
|  | int | width,
|  | int | height
| ) |

Registers a new icon size, along the same lines as ICON_SIZE_MENU, etc.

Parameters:

  name | The name of the icon size.
  width | The icon width.
  height | The icon height.

Returns:
  The integer value for the size, as an IconSize.

void icon_size_register_alias | ( | const char * | alias,
|  | IconSize | target
| ) |

Registers alias as another name for target.

Parameters:

  alias | An alias for target.
  target | An existing icon size.

Calling size_from_name() with alias as the argument will return target.

Main Page - Footer