;; -*- scheme -*-
; object definitions ...
(define-object AccelGroup
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkAccelGroup")
  (gtype-id "GTK_TYPE_ACCEL_GROUP")
)

(define-object Accessible
  (in-module "Gtk")
  (parent "AtkObject")
  (c-name "GtkAccessible")
  (gtype-id "GTK_TYPE_ACCESSIBLE")
)

(define-object Action
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkAction")
  (gtype-id "GTK_TYPE_ACTION")
)

(define-object ActionGroup
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkActionGroup")
  (gtype-id "GTK_TYPE_ACTION_GROUP")
)

(define-object Activatable
  (in-module "Gtk")
  (c-name "GtkActivatable")
  (gtype-id "GTK_TYPE_ACTIVATABLE")
)

(define-object Adjustment
  (in-module "Gtk")
  (parent "GInitiallyUnowned")
  (c-name "GtkAdjustment")
  (gtype-id "GTK_TYPE_ADJUSTMENT")
)

(define-object Application
  (in-module "Gtk")
  (parent "GApplication")
  (c-name "GtkApplication")
  (gtype-id "GTK_TYPE_APPLICATION")
)

(define-object Buildable
  (in-module "Gtk")
  (c-name "GtkBuildable")
  (gtype-id "GTK_TYPE_BUILDABLE")
)

(define-object Builder
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkBuilder")
  (gtype-id "GTK_TYPE_BUILDER")
)

(define-object CellArea
  (in-module "Gtk")
  (parent "GInitiallyUnowned")
  (c-name "GtkCellArea")
  (gtype-id "GTK_TYPE_CELL_AREA")
)

(define-object CellAreaBox
  (in-module "Gtk")
  (parent "GtkCellArea")
  (c-name "GtkCellAreaBox")
  (gtype-id "GTK_TYPE_CELL_AREA_BOX")
)

(define-object CellAreaContext
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkCellAreaContext")
  (gtype-id "GTK_TYPE_CELL_AREA_CONTEXT")
)

(define-object CellEditable
  (in-module "Gtk")
  (c-name "GtkCellEditable")
  (gtype-id "GTK_TYPE_CELL_EDITABLE")
)

(define-object CellLayout
  (in-module "Gtk")
  (c-name "GtkCellLayout")
  (gtype-id "GTK_TYPE_CELL_LAYOUT")
)

(define-object CellRenderer
  (in-module "Gtk")
  (parent "GInitiallyUnowned")
  (c-name "GtkCellRenderer")
  (gtype-id "GTK_TYPE_CELL_RENDERER")
)

(define-object CellRendererPixbuf
  (in-module "Gtk")
  (parent "GtkCellRenderer")
  (c-name "GtkCellRendererPixbuf")
  (gtype-id "GTK_TYPE_CELL_RENDERER_PIXBUF")
)

(define-object CellRendererProgress
  (in-module "Gtk")
  (parent "GtkCellRenderer")
  (c-name "GtkCellRendererProgress")
  (gtype-id "GTK_TYPE_CELL_RENDERER_PROGRESS")
)

(define-object CellRendererSpinner
  (in-module "Gtk")
  (parent "GtkCellRenderer")
  (c-name "GtkCellRendererSpinner")
  (gtype-id "GTK_TYPE_CELL_RENDERER_SPINNER")
)

(define-object CellRendererText
  (in-module "Gtk")
  (parent "GtkCellRenderer")
  (c-name "GtkCellRendererText")
  (gtype-id "GTK_TYPE_CELL_RENDERER_TEXT")
)

(define-object CellRendererSpin
  (in-module "Gtk")
  (parent "GtkCellRendererText")
  (c-name "GtkCellRendererSpin")
  (gtype-id "GTK_TYPE_CELL_RENDERER_SPIN")
)

(define-object CellRendererCombo
  (in-module "Gtk")
  (parent "GtkCellRendererText")
  (c-name "GtkCellRendererCombo")
  (gtype-id "GTK_TYPE_CELL_RENDERER_COMBO")
)

(define-object CellRendererAccel
  (in-module "Gtk")
  (parent "GtkCellRendererText")
  (c-name "GtkCellRendererAccel")
  (gtype-id "GTK_TYPE_CELL_RENDERER_ACCEL")
)

(define-object CellRendererToggle
  (in-module "Gtk")
  (parent "GtkCellRenderer")
  (c-name "GtkCellRendererToggle")
  (gtype-id "GTK_TYPE_CELL_RENDERER_TOGGLE")
)

(define-object CssProvider
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkCssProvider")
  (gtype-id "GTK_TYPE_CSS_PROVIDER")
)

(define-object EntryBuffer
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkEntryBuffer")
  (gtype-id "GTK_TYPE_ENTRY_BUFFER")
)

(define-object EntryCompletion
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkEntryCompletion")
  (gtype-id "GTK_TYPE_ENTRY_COMPLETION")
)

(define-object FileChooserEmbed
  (in-module "Gtk")
  (c-name "GtkFileChooserEmbed")
  (gtype-id "GTK_TYPE_FILE_CHOOSER_EMBED")
)

(define-object FontChooser
  (in-module "Gtk")
  (c-name "GtkFontChooser")
  (gtype-id "GTK_TYPE_FONT_CHOOSER")
)

(define-object IMContext
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkIMContext")
  (gtype-id "GTK_TYPE_IM_CONTEXT")
)

(define-object IMContextSimple
  (in-module "Gtk")
  (parent "GtkIMContext")
  (c-name "GtkIMContextSimple")
  (gtype-id "GTK_TYPE_IM_CONTEXT_SIMPLE")
)

(define-object IMMulticontext
  (in-module "Gtk")
  (parent "GtkIMContext")
  (c-name "GtkIMMulticontext")
  (gtype-id "GTK_TYPE_IM_MULTICONTEXT")
)

(define-object IconFactory
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkIconFactory")
  (gtype-id "GTK_TYPE_ICON_FACTORY")
)

(define-object IconTheme
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkIconTheme")
  (gtype-id "GTK_TYPE_ICON_THEME")
)

(define-object ListStore
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkListStore")
  (gtype-id "GTK_TYPE_LIST_STORE")
)

(define-object ModifierStyle
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkModifierStyle")
  (gtype-id "GTK_TYPE_MODIFIER_STYLE")
)

(define-object MountOperation
  (in-module "Gtk")
  (parent "GMountOperation")
  (c-name "GtkMountOperation")
  (gtype-id "GTK_TYPE_MOUNT_OPERATION")
)

(define-object NumerableIcon
  (in-module "Gtk")
  (parent "GEmblemedIcon")
  (c-name "GtkNumerableIcon")
  (gtype-id "GTK_TYPE_NUMERABLE_ICON")
)

(define-object Orientable
  (in-module "Gtk")
  (c-name "GtkOrientable")
  (gtype-id "GTK_TYPE_ORIENTABLE")
)

(define-object PrintBackend
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkPrintBackend")
  (gtype-id "GTK_TYPE_PRINT_BACKEND")
)

(define-object PrintJob
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkPrintJob")
  (gtype-id "GTK_TYPE_PRINT_JOB")
)

(define-object PrintOperation
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkPrintOperation")
  (gtype-id "GTK_TYPE_PRINT_OPERATION")
)

(define-object PrintOperationPreview
  (in-module "Gtk")
  (c-name "GtkPrintOperationPreview")
  (gtype-id "GTK_TYPE_PRINT_OPERATION_PREVIEW")
)

(define-object Printer
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkPrinter")
  (gtype-id "GTK_TYPE_PRINTER")
)

(define-object PrinterOption
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkPrinterOption")
  (gtype-id "GTK_TYPE_PRINTER_OPTION")
)

(define-object PrinterOptionSet
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkPrinterOptionSet")
  (gtype-id "GTK_TYPE_PRINTER_OPTION_SET")
)

(define-object Query
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkQuery")
  (gtype-id "GTK_TYPE_QUERY")
)

(define-object RcStyle
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkRcStyle")
  (gtype-id "GTK_TYPE_RC_STYLE")
)

(define-object RecentAction
  (in-module "Gtk")
  (parent "GtkAction")
  (c-name "GtkRecentAction")
  (gtype-id "GTK_TYPE_RECENT_ACTION")
)

(define-object RecentChooser
  (in-module "Gtk")
  (c-name "GtkRecentChooser")
  (gtype-id "GTK_TYPE_RECENT_CHOOSER")
)

(define-object RecentManager
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkRecentManager")
  (gtype-id "GTK_TYPE_RECENT_MANAGER")
)

(define-object SearchEngine
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkSearchEngine")
  (gtype-id "GTK_TYPE_SEARCH_ENGINE")
)

(define-object SearchEngineQuartz
  (in-module "Gtk")
  (parent "GtkSearchEngine")
  (c-name "GtkSearchEngineQuartz")
  (gtype-id "GTK_TYPE_SEARCH_ENGINE_QUARTZ")
)

(define-object Settings
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkSettings")
  (gtype-id "GTK_TYPE_SETTINGS")
)

(define-object SizeGroup
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkSizeGroup")
  (gtype-id "GTK_TYPE_SIZE_GROUP")
)

(define-object StatusIcon
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkStatusIcon")
  (gtype-id "GTK_TYPE_STATUS_ICON")
)

(define-object Style
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkStyle")
  (gtype-id "GTK_TYPE_STYLE")
)

(define-object StyleContext
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkStyleContext")
  (gtype-id "GTK_TYPE_STYLE_CONTEXT")
)

(define-object StyleProperties
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkStyleProperties")
  (gtype-id "GTK_TYPE_STYLE_PROPERTIES")
)

(define-object StyleProvider
  (in-module "Gtk")
  (c-name "GtkStyleProvider")
  (gtype-id "GTK_TYPE_STYLE_PROVIDER")
)

(define-object TextBuffer
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkTextBuffer")
  (gtype-id "GTK_TYPE_TEXT_BUFFER")
)

(define-object TextChildAnchor
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkTextChildAnchor")
  (gtype-id "GTK_TYPE_TEXT_CHILD_ANCHOR")
)

(define-object TextLayout
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkTextLayout")
  (gtype-id "GTK_TYPE_TEXT_LAYOUT")
)

(define-object TextMark
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkTextMark")
  (gtype-id "GTK_TYPE_TEXT_MARK")
)

(define-object TextTag
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkTextTag")
  (gtype-id "GTK_TYPE_TEXT_TAG")
)

(define-object TextTagTable
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkTextTagTable")
  (gtype-id "GTK_TYPE_TEXT_TAG_TABLE")
)

(define-object ThemingEngine
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkThemingEngine")
  (gtype-id "GTK_TYPE_THEMING_ENGINE")
)

(define-object ToggleAction
  (in-module "Gtk")
  (parent "GtkAction")
  (c-name "GtkToggleAction")
  (gtype-id "GTK_TYPE_TOGGLE_ACTION")
)

(define-object RadioAction
  (in-module "Gtk")
  (parent "GtkToggleAction")
  (c-name "GtkRadioAction")
  (gtype-id "GTK_TYPE_RADIO_ACTION")
)

(define-object ToolShell
  (in-module "Gtk")
  (c-name "GtkToolShell")
  (gtype-id "GTK_TYPE_TOOL_SHELL")
)

(define-object TreeDragDest
  (in-module "Gtk")
  (c-name "GtkTreeDragDest")
  (gtype-id "GTK_TYPE_TREE_DRAG_DEST")
)

(define-object TreeDragSource
  (in-module "Gtk")
  (c-name "GtkTreeDragSource")
  (gtype-id "GTK_TYPE_TREE_DRAG_SOURCE")
)

(define-object TreeModel
  (in-module "Gtk")
  (c-name "GtkTreeModel")
  (gtype-id "GTK_TYPE_TREE_MODEL")
)

(define-object TreeModelFilter
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkTreeModelFilter")
  (gtype-id "GTK_TYPE_TREE_MODEL_FILTER")
)

(define-object TreeModelSort
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkTreeModelSort")
  (gtype-id "GTK_TYPE_TREE_MODEL_SORT")
)

(define-object TreeSelection
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkTreeSelection")
  (gtype-id "GTK_TYPE_TREE_SELECTION")
)

(define-object TreeSortable
  (in-module "Gtk")
  (c-name "GtkTreeSortable")
  (gtype-id "GTK_TYPE_TREE_SORTABLE")
)

(define-object TreeStore
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkTreeStore")
  (gtype-id "GTK_TYPE_TREE_STORE")
)

(define-object TreeViewColumn
  (in-module "Gtk")
  (parent "GInitiallyUnowned")
  (c-name "GtkTreeViewColumn")
  (gtype-id "GTK_TYPE_TREE_VIEW_COLUMN")
)

(define-object UIManager
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkUIManager")
  (gtype-id "GTK_TYPE_UI_MANAGER")
)

(define-object Widget
  (in-module "Gtk")
  (parent "GInitiallyUnowned")
  (c-name "GtkWidget")
  (gtype-id "GTK_TYPE_WIDGET")
)

(define-object Switch
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkSwitch")
  (gtype-id "GTK_TYPE_SWITCH")
)

(define-object Spinner
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkSpinner")
  (gtype-id "GTK_TYPE_SPINNER")
)

(define-object Separator
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkSeparator")
  (gtype-id "GTK_TYPE_SEPARATOR")
)

(define-object VSeparator
  (in-module "Gtk")
  (parent "GtkSeparator")
  (c-name "GtkVSeparator")
  (gtype-id "GTK_TYPE_VSEPARATOR")
)

(define-object HSeparator
  (in-module "Gtk")
  (parent "GtkSeparator")
  (c-name "GtkHSeparator")
  (gtype-id "GTK_TYPE_HSEPARATOR")
)

(define-object Range
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkRange")
  (gtype-id "GTK_TYPE_RANGE")
)

(define-object Scrollbar
  (in-module "Gtk")
  (parent "GtkRange")
  (c-name "GtkScrollbar")
  (gtype-id "GTK_TYPE_SCROLLBAR")
)

(define-object VScrollbar
  (in-module "Gtk")
  (parent "GtkScrollbar")
  (c-name "GtkVScrollbar")
  (gtype-id "GTK_TYPE_VSCROLLBAR")
)

(define-object HScrollbar
  (in-module "Gtk")
  (parent "GtkScrollbar")
  (c-name "GtkHScrollbar")
  (gtype-id "GTK_TYPE_HSCROLLBAR")
)

(define-object Scale
  (in-module "Gtk")
  (parent "GtkRange")
  (c-name "GtkScale")
  (gtype-id "GTK_TYPE_SCALE")
)

(define-object VScale
  (in-module "Gtk")
  (parent "GtkScale")
  (c-name "GtkVScale")
  (gtype-id "GTK_TYPE_VSCALE")
)

(define-object HScale
  (in-module "Gtk")
  (parent "GtkScale")
  (c-name "GtkHScale")
  (gtype-id "GTK_TYPE_HSCALE")
)

(define-object ProgressBar
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkProgressBar")
  (gtype-id "GTK_TYPE_PROGRESS_BAR")
)

(define-object Misc
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkMisc")
  (gtype-id "GTK_TYPE_MISC")
)

(define-object Arrow
  (in-module "Gtk")
  (parent "GtkMisc")
  (c-name "GtkArrow")
  (gtype-id "GTK_TYPE_ARROW")
)

(define-object Image
  (in-module "Gtk")
  (parent "GtkMisc")
  (c-name "GtkImage")
  (gtype-id "GTK_TYPE_IMAGE")
)

(define-object Label
  (in-module "Gtk")
  (parent "GtkMisc")
  (c-name "GtkLabel")
  (gtype-id "GTK_TYPE_LABEL")
)

(define-object AccelLabel
  (in-module "Gtk")
  (parent "GtkLabel")
  (c-name "GtkAccelLabel")
  (gtype-id "GTK_TYPE_ACCEL_LABEL")
)

(define-object LevelBar
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkLevelBar")
  (gtype-id "GTK_TYPE_LEVEL_BAR")
)

(define-object Invisible
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkInvisible")
  (gtype-id "GTK_TYPE_INVISIBLE")
)

(define-object HSV
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkHSV")
  (gtype-id "GTK_TYPE_HSV")
)

(define-object GLArea
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkGLArea")
  (gtype-id "GTK_TYPE_GL_AREA")
)

(define-object Entry
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkEntry")
  (gtype-id "GTK_TYPE_ENTRY")
)

(define-object SpinButton
  (in-module "Gtk")
  (parent "GtkEntry")
  (c-name "GtkSpinButton")
  (gtype-id "GTK_TYPE_SPIN_BUTTON")
)

(define-object SearchEntry
  (in-module "Gtk")
  (parent "GtkEntry")
  (c-name "GtkSearchEntry")
  (gtype-id "GTK_TYPE_SEARCH_ENTRY")
)

(define-object DrawingArea
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkDrawingArea")
  (gtype-id "GTK_TYPE_DRAWING_AREA")
)

(define-object Container
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkContainer")
  (gtype-id "GTK_TYPE_CONTAINER")
)

(define-object TreeView
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkTreeView")
  (gtype-id "GTK_TYPE_TREE_VIEW")
)

(define-object Toolbar
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkToolbar")
  (gtype-id "GTK_TYPE_TOOLBAR")
)

(define-object ToolPalette
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkToolPalette")
  (gtype-id "GTK_TYPE_TOOL_PALETTE")
)

(define-object ToolItemGroup
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkToolItemGroup")
  (gtype-id "GTK_TYPE_TOOL_ITEM_GROUP")
)

(define-object TextView
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkTextView")
  (gtype-id "GTK_TYPE_TEXT_VIEW")
)

(define-object Table
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkTable")
  (gtype-id "GTK_TYPE_TABLE")
)

(define-object Stack
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkStack")
  (gtype-id "GTK_TYPE_STACK")
)

(define-object Socket
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkSocket")
  (gtype-id "GTK_TYPE_SOCKET")
)

(define-object PathBar
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkPathBar")
  (gtype-id "GTK_TYPE_PATH_BAR")
)

(define-object Paned
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkPaned")
  (gtype-id "GTK_TYPE_PANED")
)

(define-object VPaned
  (in-module "Gtk")
  (parent "GtkPaned")
  (c-name "GtkVPaned")
  (gtype-id "GTK_TYPE_VPANED")
)

(define-object HPaned
  (in-module "Gtk")
  (parent "GtkPaned")
  (c-name "GtkHPaned")
  (gtype-id "GTK_TYPE_HPANED")
)

(define-object Notebook
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkNotebook")
  (gtype-id "GTK_TYPE_NOTEBOOK")
)

(define-object MenuShell
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkMenuShell")
  (gtype-id "GTK_TYPE_MENU_SHELL")
)

(define-object Menu
  (in-module "Gtk")
  (parent "GtkMenuShell")
  (c-name "GtkMenu")
  (gtype-id "GTK_TYPE_MENU")
)

(define-object TreeMenu
  (in-module "Gtk")
  (parent "GtkMenu")
  (c-name "GtkTreeMenu")
  (gtype-id "GTK_TYPE_TREE_MENU")
)

(define-object RecentChooserMenu
  (in-module "Gtk")
  (parent "GtkMenu")
  (c-name "GtkRecentChooserMenu")
  (gtype-id "GTK_TYPE_RECENT_CHOOSER_MENU")
)

(define-object MenuBar
  (in-module "Gtk")
  (parent "GtkMenuShell")
  (c-name "GtkMenuBar")
  (gtype-id "GTK_TYPE_MENU_BAR")
)

(define-object ListBox
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkListBox")
  (gtype-id "GTK_TYPE_LIST_BOX")
)

(define-object Layout
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkLayout")
  (gtype-id "GTK_TYPE_LAYOUT")
)

(define-object IconView
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkIconView")
  (gtype-id "GTK_TYPE_ICON_VIEW")
)

(define-object HeaderBar
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkHeaderBar")
  (gtype-id "GTK_TYPE_HEADER_BAR")
)

(define-object Grid
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkGrid")
  (gtype-id "GTK_TYPE_GRID")
)

(define-object FlowBox
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkFlowBox")
  (gtype-id "GTK_TYPE_FLOW_BOX")
)

(define-object Fixed
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkFixed")
  (gtype-id "GTK_TYPE_FIXED")
)

(define-object Bin
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkBin")
  (gtype-id "GTK_TYPE_BIN")
)

(define-object Viewport
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkViewport")
  (gtype-id "GTK_TYPE_VIEWPORT")
)

(define-object ToolItem
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkToolItem")
  (gtype-id "GTK_TYPE_TOOL_ITEM")
)

(define-object SeparatorToolItem
  (in-module "Gtk")
  (parent "GtkToolItem")
  (c-name "GtkSeparatorToolItem")
  (gtype-id "GTK_TYPE_SEPARATOR_TOOL_ITEM")
)

(define-object ToolButton
  (in-module "Gtk")
  (parent "GtkToolItem")
  (c-name "GtkToolButton")
  (gtype-id "GTK_TYPE_TOOL_BUTTON")
)

(define-object ToggleToolButton
  (in-module "Gtk")
  (parent "GtkToolButton")
  (c-name "GtkToggleToolButton")
  (gtype-id "GTK_TYPE_TOGGLE_TOOL_BUTTON")
)

(define-object RadioToolButton
  (in-module "Gtk")
  (parent "GtkToggleToolButton")
  (c-name "GtkRadioToolButton")
  (gtype-id "GTK_TYPE_RADIO_TOOL_BUTTON")
)

(define-object MenuToolButton
  (in-module "Gtk")
  (parent "GtkToolButton")
  (c-name "GtkMenuToolButton")
  (gtype-id "GTK_TYPE_MENU_TOOL_BUTTON")
)

(define-object StackSidebar
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkStackSidebar")
  (gtype-id "GTK_TYPE_STACK_SIDEBAR")
)

(define-object SearchBar
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkSearchBar")
  (gtype-id "GTK_TYPE_SEARCH_BAR")
)

(define-object ScrolledWindow
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkScrolledWindow")
  (gtype-id "GTK_TYPE_SCROLLED_WINDOW")
)

(define-object Revealer
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkRevealer")
  (gtype-id "GTK_TYPE_REVEALER")
)

(define-object Popover
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkPopover")
  (gtype-id "GTK_TYPE_POPOVER")
)

(define-object Overlay
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkOverlay")
  (gtype-id "GTK_TYPE_OVERLAY")
)

(define-object MenuItem
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkMenuItem")
  (gtype-id "GTK_TYPE_MENU_ITEM")
)

(define-object TearoffMenuItem
  (in-module "Gtk")
  (parent "GtkMenuItem")
  (c-name "GtkTearoffMenuItem")
  (gtype-id "GTK_TYPE_TEAROFF_MENU_ITEM")
)

(define-object SeparatorMenuItem
  (in-module "Gtk")
  (parent "GtkMenuItem")
  (c-name "GtkSeparatorMenuItem")
  (gtype-id "GTK_TYPE_SEPARATOR_MENU_ITEM")
)

(define-object CheckMenuItem
  (in-module "Gtk")
  (parent "GtkMenuItem")
  (c-name "GtkCheckMenuItem")
  (gtype-id "GTK_TYPE_CHECK_MENU_ITEM")
)

(define-object RadioMenuItem
  (in-module "Gtk")
  (parent "GtkCheckMenuItem")
  (c-name "GtkRadioMenuItem")
  (gtype-id "GTK_TYPE_RADIO_MENU_ITEM")
)

(define-object ImageMenuItem
  (in-module "Gtk")
  (parent "GtkMenuItem")
  (c-name "GtkImageMenuItem")
  (gtype-id "GTK_TYPE_IMAGE_MENU_ITEM")
)

(define-object ListBoxRow
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkListBoxRow")
  (gtype-id "GTK_TYPE_LIST_BOX_ROW")
)

(define-object HandleBox
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkHandleBox")
  (gtype-id "GTK_TYPE_HANDLE_BOX")
)

(define-object Frame
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkFrame")
  (gtype-id "GTK_TYPE_FRAME")
)

(define-object AspectFrame
  (in-module "Gtk")
  (parent "GtkFrame")
  (c-name "GtkAspectFrame")
  (gtype-id "GTK_TYPE_ASPECT_FRAME")
)

(define-object FlowBoxChild
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkFlowBoxChild")
  (gtype-id "GTK_TYPE_FLOW_BOX_CHILD")
)

(define-object Expander
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkExpander")
  (gtype-id "GTK_TYPE_EXPANDER")
)

(define-object EventBox
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkEventBox")
  (gtype-id "GTK_TYPE_EVENT_BOX")
)

(define-object Alignment
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkAlignment")
  (gtype-id "GTK_TYPE_ALIGNMENT")
)

(define-object ActionBar
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkActionBar")
  (gtype-id "GTK_TYPE_ACTION_BAR")
)

(define-object Button
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkButton")
  (gtype-id "GTK_TYPE_BUTTON")
)

(define-object ToggleButton
  (in-module "Gtk")
  (parent "GtkButton")
  (c-name "GtkToggleButton")
  (gtype-id "GTK_TYPE_TOGGLE_BUTTON")
)

(define-object CheckButton
  (in-module "Gtk")
  (parent "GtkToggleButton")
  (c-name "GtkCheckButton")
  (gtype-id "GTK_TYPE_CHECK_BUTTON")
)

(define-object RadioButton
  (in-module "Gtk")
  (parent "GtkCheckButton")
  (c-name "GtkRadioButton")
  (gtype-id "GTK_TYPE_RADIO_BUTTON")
)

(define-object MenuButton
  (in-module "Gtk")
  (parent "GtkToggleButton")
  (c-name "GtkMenuButton")
  (gtype-id "GTK_TYPE_MENU_BUTTON")
)

(define-object ScaleButton
  (in-module "Gtk")
  (parent "GtkButton")
  (c-name "GtkScaleButton")
  (gtype-id "GTK_TYPE_SCALE_BUTTON")
)

(define-object VolumeButton
  (in-module "Gtk")
  (parent "GtkScaleButton")
  (c-name "GtkVolumeButton")
  (gtype-id "GTK_TYPE_VOLUME_BUTTON")
)

(define-object LockButton
  (in-module "Gtk")
  (parent "GtkButton")
  (c-name "GtkLockButton")
  (gtype-id "GTK_TYPE_LOCK_BUTTON")
)

(define-object LinkButton
  (in-module "Gtk")
  (parent "GtkButton")
  (c-name "GtkLinkButton")
  (gtype-id "GTK_TYPE_LINK_BUTTON")
)

(define-object FontButton
  (in-module "Gtk")
  (parent "GtkButton")
  (c-name "GtkFontButton")
  (gtype-id "GTK_TYPE_FONT_BUTTON")
)

(define-object ColorButton
  (in-module "Gtk")
  (parent "GtkButton")
  (c-name "GtkColorButton")
  (gtype-id "GTK_TYPE_COLOR_BUTTON")
)

(define-object ComboBox
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkComboBox")
  (gtype-id "GTK_TYPE_COMBO_BOX")
)

(define-object AppChooserButton
  (in-module "Gtk")
  (parent "GtkComboBox")
  (c-name "GtkAppChooserButton")
  (gtype-id "GTK_TYPE_APP_CHOOSER_BUTTON")
)

(define-object ComboBoxText
  (in-module "Gtk")
  (parent "GtkComboBox")
  (c-name "GtkComboBoxText")
  (gtype-id "GTK_TYPE_COMBO_BOX_TEXT")
)

(define-object Box
  (in-module "Gtk")
  (parent "GtkContainer")
  (c-name "GtkBox")
  (gtype-id "GTK_TYPE_BOX")
)

(define-object VBox
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkVBox")
  (gtype-id "GTK_TYPE_VBOX")
)

(define-object Statusbar
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkStatusbar")
  (gtype-id "GTK_TYPE_STATUSBAR")
)

(define-object StackSwitcher
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkStackSwitcher")
  (gtype-id "GTK_TYPE_STACK_SWITCHER")
)

(define-object RecentChooserWidget
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkRecentChooserWidget")
  (gtype-id "GTK_TYPE_RECENT_CHOOSER_WIDGET")
)

(define-object PrinterOptionWidget
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkPrinterOptionWidget")
  (gtype-id "GTK_TYPE_PRINTER_OPTION_WIDGET")
)

(define-object InfoBar
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkInfoBar")
  (gtype-id "GTK_TYPE_INFO_BAR")
)

(define-object HBox
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkHBox")
  (gtype-id "GTK_TYPE_HBOX")
)

(define-object FontSelection
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkFontSelection")
  (gtype-id "GTK_TYPE_FONT_SELECTION")
)

(define-object FontChooserWidget
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkFontChooserWidget")
  (gtype-id "GTK_TYPE_FONT_CHOOSER_WIDGET")
)

(define-object FileChooserWidget
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkFileChooserWidget")
  (gtype-id "GTK_TYPE_FILE_CHOOSER_WIDGET")
)

(define-object FileChooserButton
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkFileChooserButton")
  (gtype-id "GTK_TYPE_FILE_CHOOSER_BUTTON")
)

(define-object AppChooserWidget
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkAppChooserWidget")
  (gtype-id "GTK_TYPE_APP_CHOOSER_WIDGET")
)

(define-object ButtonBox
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkButtonBox")
  (gtype-id "GTK_TYPE_BUTTON_BOX")
)

(define-object VButtonBox
  (in-module "Gtk")
  (parent "GtkButtonBox")
  (c-name "GtkVButtonBox")
  (gtype-id "GTK_TYPE_VBUTTON_BOX")
)

(define-object HButtonBox
  (in-module "Gtk")
  (parent "GtkButtonBox")
  (c-name "GtkHButtonBox")
  (gtype-id "GTK_TYPE_HBUTTON_BOX")
)

(define-object ColorChooserWidget
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkColorChooserWidget")
  (gtype-id "GTK_TYPE_COLOR_CHOOSER_WIDGET")
)

(define-object ColorSelection
  (in-module "Gtk")
  (parent "GtkBox")
  (c-name "GtkColorSelection")
  (gtype-id "GTK_TYPE_COLOR_SELECTION")
)

(define-object CellView
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkCellView")
  (gtype-id "GTK_TYPE_CELL_VIEW")
)

(define-object Calendar
  (in-module "Gtk")
  (parent "GtkWidget")
  (c-name "GtkCalendar")
  (gtype-id "GTK_TYPE_CALENDAR")
)

(define-object Window
  (in-module "Gtk")
  (parent "GtkBin")
  (c-name "GtkWindow")
  (gtype-id "GTK_TYPE_WINDOW")
)

(define-object Win32EmbedWidget
  (in-module "Gtk")
  (parent "GtkWindow")
  (c-name "GtkWin32EmbedWidget")
  (gtype-id "GTK_TYPE_WIN32_EMBED_WIDGET")
)

(define-object Plug
  (in-module "Gtk")
  (parent "GtkWindow")
  (c-name "GtkPlug")
  (gtype-id "GTK_TYPE_PLUG")
)

(define-object TrayIcon
  (in-module "Gtk")
  (parent "GtkPlug")
  (c-name "GtkTrayIcon")
  (gtype-id "GTK_TYPE_TRAY_ICON")
)

(define-object OffscreenWindow
  (in-module "Gtk")
  (parent "GtkWindow")
  (c-name "GtkOffscreenWindow")
  (gtype-id "GTK_TYPE_OFFSCREEN_WINDOW")
)

(define-object Dialog
  (in-module "Gtk")
  (parent "GtkWindow")
  (c-name "GtkDialog")
  (gtype-id "GTK_TYPE_DIALOG")
)

(define-object RecentChooserDialog
  (in-module "Gtk")
  (parent "GtkDialog")
  (c-name "GtkRecentChooserDialog")
  (gtype-id "GTK_TYPE_RECENT_CHOOSER_DIALOG")
)

(define-object PrintUnixDialog
  (in-module "Gtk")
  (parent "GtkDialog")
  (c-name "GtkPrintUnixDialog")
  (gtype-id "GTK_TYPE_PRINT_UNIX_DIALOG")
)

(define-object PageSetupUnixDialog
  (in-module "Gtk")
  (parent "GtkDialog")
  (c-name "GtkPageSetupUnixDialog")
  (gtype-id "GTK_TYPE_PAGE_SETUP_UNIX_DIALOG")
)

(define-object MessageDialog
  (in-module "Gtk")
  (parent "GtkDialog")
  (c-name "GtkMessageDialog")
  (gtype-id "GTK_TYPE_MESSAGE_DIALOG")
)

(define-object FontSelectionDialog
  (in-module "Gtk")
  (parent "GtkDialog")
  (c-name "GtkFontSelectionDialog")
  (gtype-id "GTK_TYPE_FONT_SELECTION_DIALOG")
)

(define-object FontChooserDialog
  (in-module "Gtk")
  (parent "GtkDialog")
  (c-name "GtkFontChooserDialog")
  (gtype-id "GTK_TYPE_FONT_CHOOSER_DIALOG")
)

(define-object FileChooserDialog
  (in-module "Gtk")
  (parent "GtkDialog")
  (c-name "GtkFileChooserDialog")
  (gtype-id "GTK_TYPE_FILE_CHOOSER_DIALOG")
)

(define-object AboutDialog
  (in-module "Gtk")
  (parent "GtkDialog")
  (c-name "GtkAboutDialog")
  (gtype-id "GTK_TYPE_ABOUT_DIALOG")
)

(define-object AppChooserDialog
  (in-module "Gtk")
  (parent "GtkDialog")
  (c-name "GtkAppChooserDialog")
  (gtype-id "GTK_TYPE_APP_CHOOSER_DIALOG")
)

(define-object ColorChooserDialog
  (in-module "Gtk")
  (parent "GtkDialog")
  (c-name "GtkColorChooserDialog")
  (gtype-id "GTK_TYPE_COLOR_CHOOSER_DIALOG")
)

(define-object ColorSelectionDialog
  (in-module "Gtk")
  (parent "GtkDialog")
  (c-name "GtkColorSelectionDialog")
  (gtype-id "GTK_TYPE_COLOR_SELECTION_DIALOG")
)

(define-object CustomPaperUnixDialog
  (in-module "Gtk")
  (parent "GtkDialog")
  (c-name "GtkCustomPaperUnixDialog")
  (gtype-id "GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG")
)

(define-object Assistant
  (in-module "Gtk")
  (parent "GtkWindow")
  (c-name "GtkAssistant")
  (gtype-id "GTK_TYPE_ASSISTANT")
)

(define-object ApplicationWindow
  (in-module "Gtk")
  (parent "GtkWindow")
  (c-name "GtkApplicationWindow")
  (gtype-id "GTK_TYPE_APPLICATION_WINDOW")
)

(define-object WindowGroup
  (in-module "Gtk")
  (parent "GObject")
  (c-name "GtkWindowGroup")
  (gtype-id "GTK_TYPE_WINDOW_GROUP")
)

;; Enumerations and flags ...

(define-enum License
  (in-module "Gtk")
  (c-name "GtkLicense")
  (gtype-id "GTK_TYPE_LICENSE")
  (values
    '("unknown" "GTK_LICENSE_UNKNOWN")
    '("custom" "GTK_LICENSE_CUSTOM")
    '("gpl-2-0" "GTK_LICENSE_GPL_2_0")
    '("gpl-3-0" "GTK_LICENSE_GPL_3_0")
    '("lgpl-2-1" "GTK_LICENSE_LGPL_2_1")
    '("lgpl-3-0" "GTK_LICENSE_LGPL_3_0")
    '("bsd" "GTK_LICENSE_BSD")
    '("mit-x11" "GTK_LICENSE_MIT_X11")
    '("artistic" "GTK_LICENSE_ARTISTIC")
    '("gpl-2-0-only" "GTK_LICENSE_GPL_2_0_ONLY")
    '("gpl-3-0-only" "GTK_LICENSE_GPL_3_0_ONLY")
    '("lgpl-2-1-only" "GTK_LICENSE_LGPL_2_1_ONLY")
    '("lgpl-3-0-only" "GTK_LICENSE_LGPL_3_0_ONLY")
  )
)

(define-flags AccelFlags
  (in-module "Gtk")
  (c-name "GtkAccelFlags")
  (gtype-id "GTK_TYPE_ACCEL_FLAGS")
  (values
    '("visible" "GTK_ACCEL_VISIBLE")
    '("locked" "GTK_ACCEL_LOCKED")
    '("mask" "GTK_ACCEL_MASK")
  )
)

(define-flags ApplicationInhibitFlags
  (in-module "Gtk")
  (c-name "GtkApplicationInhibitFlags")
  (gtype-id "GTK_TYPE_APPLICATION_INHIBIT_FLAGS")
  (values
    '("logout" "GTK_APPLICATION_INHIBIT_LOGOUT")
    '("switch" "GTK_APPLICATION_INHIBIT_SWITCH")
    '("suspend" "GTK_APPLICATION_INHIBIT_SUSPEND")
    '("idle" "GTK_APPLICATION_INHIBIT_IDLE")
  )
)

(define-enum AssistantPageType
  (in-module "Gtk")
  (c-name "GtkAssistantPageType")
  (gtype-id "GTK_TYPE_ASSISTANT_PAGE_TYPE")
  (values
    '("content" "GTK_ASSISTANT_PAGE_CONTENT")
    '("intro" "GTK_ASSISTANT_PAGE_INTRO")
    '("confirm" "GTK_ASSISTANT_PAGE_CONFIRM")
    '("summary" "GTK_ASSISTANT_PAGE_SUMMARY")
    '("progress" "GTK_ASSISTANT_PAGE_PROGRESS")
    '("custom" "GTK_ASSISTANT_PAGE_CUSTOM")
  )
)

(define-enum ButtonBoxStyle
  (in-module "Gtk")
  (c-name "GtkButtonBoxStyle")
  (gtype-id "GTK_TYPE_BUTTON_BOX_STYLE")
  (values
    '("spread" "GTK_BUTTONBOX_SPREAD")
    '("edge" "GTK_BUTTONBOX_EDGE")
    '("start" "GTK_BUTTONBOX_START")
    '("end" "GTK_BUTTONBOX_END")
    '("center" "GTK_BUTTONBOX_CENTER")
    '("expand" "GTK_BUTTONBOX_EXPAND")
  )
)

(define-enum BuilderError
  (in-module "Gtk")
  (c-name "GtkBuilderError")
  (gtype-id "GTK_TYPE_BUILDER_ERROR")
  (values
    '("invalid-type-function" "GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION")
    '("unhandled-tag" "GTK_BUILDER_ERROR_UNHANDLED_TAG")
    '("missing-attribute" "GTK_BUILDER_ERROR_MISSING_ATTRIBUTE")
    '("invalid-attribute" "GTK_BUILDER_ERROR_INVALID_ATTRIBUTE")
    '("invalid-tag" "GTK_BUILDER_ERROR_INVALID_TAG")
    '("missing-property-value" "GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE")
    '("invalid-value" "GTK_BUILDER_ERROR_INVALID_VALUE")
    '("version-mismatch" "GTK_BUILDER_ERROR_VERSION_MISMATCH")
    '("duplicate-id" "GTK_BUILDER_ERROR_DUPLICATE_ID")
    '("object-type-refused" "GTK_BUILDER_ERROR_OBJECT_TYPE_REFUSED")
    '("template-mismatch" "GTK_BUILDER_ERROR_TEMPLATE_MISMATCH")
    '("invalid-property" "GTK_BUILDER_ERROR_INVALID_PROPERTY")
    '("invalid-signal" "GTK_BUILDER_ERROR_INVALID_SIGNAL")
    '("invalid-id" "GTK_BUILDER_ERROR_INVALID_ID")
  )
)

(define-flags CalendarDisplayOptions
  (in-module "Gtk")
  (c-name "GtkCalendarDisplayOptions")
  (gtype-id "GTK_TYPE_CALENDAR_DISPLAY_OPTIONS")
  (values
    '("show-heading" "GTK_CALENDAR_SHOW_HEADING")
    '("show-day-names" "GTK_CALENDAR_SHOW_DAY_NAMES")
    '("no-month-change" "GTK_CALENDAR_NO_MONTH_CHANGE")
    '("show-week-numbers" "GTK_CALENDAR_SHOW_WEEK_NUMBERS")
    '("show-details" "GTK_CALENDAR_SHOW_DETAILS")
  )
)

(define-enum CellRendererAccelMode
  (in-module "Gtk")
  (c-name "GtkCellRendererAccelMode")
  (gtype-id "GTK_TYPE_CELL_RENDERER_ACCEL_MODE")
  (values
    '("gtk" "GTK_CELL_RENDERER_ACCEL_MODE_GTK")
    '("other" "GTK_CELL_RENDERER_ACCEL_MODE_OTHER")
  )
)

(define-flags CellRendererState
  (in-module "Gtk")
  (c-name "GtkCellRendererState")
  (gtype-id "GTK_TYPE_CELL_RENDERER_STATE")
  (values
    '("selected" "GTK_CELL_RENDERER_SELECTED")
    '("prelit" "GTK_CELL_RENDERER_PRELIT")
    '("insensitive" "GTK_CELL_RENDERER_INSENSITIVE")
    '("sorted" "GTK_CELL_RENDERER_SORTED")
    '("focused" "GTK_CELL_RENDERER_FOCUSED")
    '("expandable" "GTK_CELL_RENDERER_EXPANDABLE")
    '("expanded" "GTK_CELL_RENDERER_EXPANDED")
  )
)

(define-enum CellRendererMode
  (in-module "Gtk")
  (c-name "GtkCellRendererMode")
  (gtype-id "GTK_TYPE_CELL_RENDERER_MODE")
  (values
    '("inert" "GTK_CELL_RENDERER_MODE_INERT")
    '("activatable" "GTK_CELL_RENDERER_MODE_ACTIVATABLE")
    '("editable" "GTK_CELL_RENDERER_MODE_EDITABLE")
  )
)

(define-enum ResizeMode
  (in-module "Gtk")
  (c-name "GtkResizeMode")
  (gtype-id "GTK_TYPE_RESIZE_MODE")
  (values
    '("parent" "GTK_RESIZE_PARENT")
    '("queue" "GTK_RESIZE_QUEUE")
    '("immediate" "GTK_RESIZE_IMMEDIATE")
  )
)

(define-enum CssProviderError
  (in-module "Gtk")
  (c-name "GtkCssProviderError")
  (gtype-id "GTK_TYPE_CSS_PROVIDER_ERROR")
  (values
    '("failed" "GTK_CSS_PROVIDER_ERROR_FAILED")
    '("syntax" "GTK_CSS_PROVIDER_ERROR_SYNTAX")
    '("import" "GTK_CSS_PROVIDER_ERROR_IMPORT")
    '("name" "GTK_CSS_PROVIDER_ERROR_NAME")
    '("deprecated" "GTK_CSS_PROVIDER_ERROR_DEPRECATED")
    '("unknown-value" "GTK_CSS_PROVIDER_ERROR_UNKNOWN_VALUE")
  )
)

(define-enum CssSectionType
  (in-module "Gtk")
  (c-name "GtkCssSectionType")
  (gtype-id "GTK_TYPE_CSS_SECTION_TYPE")
  (values
    '("document" "GTK_CSS_SECTION_DOCUMENT")
    '("import" "GTK_CSS_SECTION_IMPORT")
    '("color-definition" "GTK_CSS_SECTION_COLOR_DEFINITION")
    '("binding-set" "GTK_CSS_SECTION_BINDING_SET")
    '("ruleset" "GTK_CSS_SECTION_RULESET")
    '("selector" "GTK_CSS_SECTION_SELECTOR")
    '("declaration" "GTK_CSS_SECTION_DECLARATION")
    '("value" "GTK_CSS_SECTION_VALUE")
    '("keyframes" "GTK_CSS_SECTION_KEYFRAMES")
  )
)

(define-flags DebugFlag
  (in-module "Gtk")
  (c-name "GtkDebugFlag")
  (gtype-id "GTK_TYPE_DEBUG_FLAG")
  (values
    '("misc" "GTK_DEBUG_MISC")
    '("plugsocket" "GTK_DEBUG_PLUGSOCKET")
    '("text" "GTK_DEBUG_TEXT")
    '("tree" "GTK_DEBUG_TREE")
    '("updates" "GTK_DEBUG_UPDATES")
    '("keybindings" "GTK_DEBUG_KEYBINDINGS")
    '("multihead" "GTK_DEBUG_MULTIHEAD")
    '("modules" "GTK_DEBUG_MODULES")
    '("geometry" "GTK_DEBUG_GEOMETRY")
    '("icontheme" "GTK_DEBUG_ICONTHEME")
    '("printing" "GTK_DEBUG_PRINTING")
    '("builder" "GTK_DEBUG_BUILDER")
    '("size-request" "GTK_DEBUG_SIZE_REQUEST")
    '("no-css-cache" "GTK_DEBUG_NO_CSS_CACHE")
    '("baselines" "GTK_DEBUG_BASELINES")
    '("pixel-cache" "GTK_DEBUG_PIXEL_CACHE")
    '("no-pixel-cache" "GTK_DEBUG_NO_PIXEL_CACHE")
    '("interactive" "GTK_DEBUG_INTERACTIVE")
    '("touchscreen" "GTK_DEBUG_TOUCHSCREEN")
    '("actions" "GTK_DEBUG_ACTIONS")
  )
)

(define-flags DialogFlags
  (in-module "Gtk")
  (c-name "GtkDialogFlags")
  (gtype-id "GTK_TYPE_DIALOG_FLAGS")
  (values
    '("modal" "GTK_DIALOG_MODAL")
    '("destroy-with-parent" "GTK_DIALOG_DESTROY_WITH_PARENT")
    '("use-header-bar" "GTK_DIALOG_USE_HEADER_BAR")
  )
)

(define-enum ResponseType
  (in-module "Gtk")
  (c-name "GtkResponseType")
  (gtype-id "GTK_TYPE_RESPONSE_TYPE")
  (values
    '("none" "GTK_RESPONSE_NONE")
    '("reject" "GTK_RESPONSE_REJECT")
    '("accept" "GTK_RESPONSE_ACCEPT")
    '("delete-event" "GTK_RESPONSE_DELETE_EVENT")
    '("ok" "GTK_RESPONSE_OK")
    '("cancel" "GTK_RESPONSE_CANCEL")
    '("close" "GTK_RESPONSE_CLOSE")
    '("yes" "GTK_RESPONSE_YES")
    '("no" "GTK_RESPONSE_NO")
    '("apply" "GTK_RESPONSE_APPLY")
    '("help" "GTK_RESPONSE_HELP")
  )
)

(define-flags DestDefaults
  (in-module "Gtk")
  (c-name "GtkDestDefaults")
  (gtype-id "GTK_TYPE_DEST_DEFAULTS")
  (values
    '("motion" "GTK_DEST_DEFAULT_MOTION")
    '("highlight" "GTK_DEST_DEFAULT_HIGHLIGHT")
    '("drop" "GTK_DEST_DEFAULT_DROP")
    '("all" "GTK_DEST_DEFAULT_ALL")
  )
)

(define-flags TargetFlags
  (in-module "Gtk")
  (c-name "GtkTargetFlags")
  (gtype-id "GTK_TYPE_TARGET_FLAGS")
  (values
    '("same-app" "GTK_TARGET_SAME_APP")
    '("same-widget" "GTK_TARGET_SAME_WIDGET")
    '("other-app" "GTK_TARGET_OTHER_APP")
    '("other-widget" "GTK_TARGET_OTHER_WIDGET")
  )
)

(define-enum EntryIconPosition
  (in-module "Gtk")
  (c-name "GtkEntryIconPosition")
  (gtype-id "GTK_TYPE_ENTRY_ICON_POSITION")
  (values
    '("primary" "GTK_ENTRY_ICON_PRIMARY")
    '("secondary" "GTK_ENTRY_ICON_SECONDARY")
  )
)

(define-enum Align
  (in-module "Gtk")
  (c-name "GtkAlign")
  (gtype-id "GTK_TYPE_ALIGN")
  (values
    '("fill" "GTK_ALIGN_FILL")
    '("start" "GTK_ALIGN_START")
    '("end" "GTK_ALIGN_END")
    '("center" "GTK_ALIGN_CENTER")
    '("baseline" "GTK_ALIGN_BASELINE")
  )
)

(define-enum ArrowType
  (in-module "Gtk")
  (c-name "GtkArrowType")
  (gtype-id "GTK_TYPE_ARROW_TYPE")
  (values
    '("up" "GTK_ARROW_UP")
    '("down" "GTK_ARROW_DOWN")
    '("left" "GTK_ARROW_LEFT")
    '("right" "GTK_ARROW_RIGHT")
    '("none" "GTK_ARROW_NONE")
  )
)

(define-enum BaselinePosition
  (in-module "Gtk")
  (c-name "GtkBaselinePosition")
  (gtype-id "GTK_TYPE_BASELINE_POSITION")
  (values
    '("top" "GTK_BASELINE_POSITION_TOP")
    '("center" "GTK_BASELINE_POSITION_CENTER")
    '("bottom" "GTK_BASELINE_POSITION_BOTTOM")
  )
)

(define-enum DeleteType
  (in-module "Gtk")
  (c-name "GtkDeleteType")
  (gtype-id "GTK_TYPE_DELETE_TYPE")
  (values
    '("chars" "GTK_DELETE_CHARS")
    '("word-ends" "GTK_DELETE_WORD_ENDS")
    '("words" "GTK_DELETE_WORDS")
    '("display-lines" "GTK_DELETE_DISPLAY_LINES")
    '("display-line-ends" "GTK_DELETE_DISPLAY_LINE_ENDS")
    '("paragraph-ends" "GTK_DELETE_PARAGRAPH_ENDS")
    '("paragraphs" "GTK_DELETE_PARAGRAPHS")
    '("whitespace" "GTK_DELETE_WHITESPACE")
  )
)

(define-enum DirectionType
  (in-module "Gtk")
  (c-name "GtkDirectionType")
  (gtype-id "GTK_TYPE_DIRECTION_TYPE")
  (values
    '("tab-forward" "GTK_DIR_TAB_FORWARD")
    '("tab-backward" "GTK_DIR_TAB_BACKWARD")
    '("up" "GTK_DIR_UP")
    '("down" "GTK_DIR_DOWN")
    '("left" "GTK_DIR_LEFT")
    '("right" "GTK_DIR_RIGHT")
  )
)

(define-enum IconSize
  (in-module "Gtk")
  (c-name "GtkIconSize")
  (gtype-id "GTK_TYPE_ICON_SIZE")
  (values
    '("invalid" "GTK_ICON_SIZE_INVALID")
    '("menu" "GTK_ICON_SIZE_MENU")
    '("small-toolbar" "GTK_ICON_SIZE_SMALL_TOOLBAR")
    '("large-toolbar" "GTK_ICON_SIZE_LARGE_TOOLBAR")
    '("button" "GTK_ICON_SIZE_BUTTON")
    '("dnd" "GTK_ICON_SIZE_DND")
    '("dialog" "GTK_ICON_SIZE_DIALOG")
  )
)

(define-enum SensitivityType
  (in-module "Gtk")
  (c-name "GtkSensitivityType")
  (gtype-id "GTK_TYPE_SENSITIVITY_TYPE")
  (values
    '("auto" "GTK_SENSITIVITY_AUTO")
    '("on" "GTK_SENSITIVITY_ON")
    '("off" "GTK_SENSITIVITY_OFF")
  )
)

(define-enum TextDirection
  (in-module "Gtk")
  (c-name "GtkTextDirection")
  (gtype-id "GTK_TYPE_TEXT_DIRECTION")
  (values
    '("none" "GTK_TEXT_DIR_NONE")
    '("ltr" "GTK_TEXT_DIR_LTR")
    '("rtl" "GTK_TEXT_DIR_RTL")
  )
)

(define-enum Justification
  (in-module "Gtk")
  (c-name "GtkJustification")
  (gtype-id "GTK_TYPE_JUSTIFICATION")
  (values
    '("left" "GTK_JUSTIFY_LEFT")
    '("right" "GTK_JUSTIFY_RIGHT")
    '("center" "GTK_JUSTIFY_CENTER")
    '("fill" "GTK_JUSTIFY_FILL")
  )
)

(define-enum MenuDirectionType
  (in-module "Gtk")
  (c-name "GtkMenuDirectionType")
  (gtype-id "GTK_TYPE_MENU_DIRECTION_TYPE")
  (values
    '("parent" "GTK_MENU_DIR_PARENT")
    '("child" "GTK_MENU_DIR_CHILD")
    '("next" "GTK_MENU_DIR_NEXT")
    '("prev" "GTK_MENU_DIR_PREV")
  )
)

(define-enum MessageType
  (in-module "Gtk")
  (c-name "GtkMessageType")
  (gtype-id "GTK_TYPE_MESSAGE_TYPE")
  (values
    '("info" "GTK_MESSAGE_INFO")
    '("warning" "GTK_MESSAGE_WARNING")
    '("question" "GTK_MESSAGE_QUESTION")
    '("error" "GTK_MESSAGE_ERROR")
    '("other" "GTK_MESSAGE_OTHER")
  )
)

(define-enum MovementStep
  (in-module "Gtk")
  (c-name "GtkMovementStep")
  (gtype-id "GTK_TYPE_MOVEMENT_STEP")
  (values
    '("logical-positions" "GTK_MOVEMENT_LOGICAL_POSITIONS")
    '("visual-positions" "GTK_MOVEMENT_VISUAL_POSITIONS")
    '("words" "GTK_MOVEMENT_WORDS")
    '("display-lines" "GTK_MOVEMENT_DISPLAY_LINES")
    '("display-line-ends" "GTK_MOVEMENT_DISPLAY_LINE_ENDS")
    '("paragraphs" "GTK_MOVEMENT_PARAGRAPHS")
    '("paragraph-ends" "GTK_MOVEMENT_PARAGRAPH_ENDS")
    '("pages" "GTK_MOVEMENT_PAGES")
    '("buffer-ends" "GTK_MOVEMENT_BUFFER_ENDS")
    '("horizontal-pages" "GTK_MOVEMENT_HORIZONTAL_PAGES")
  )
)

(define-enum ScrollStep
  (in-module "Gtk")
  (c-name "GtkScrollStep")
  (gtype-id "GTK_TYPE_SCROLL_STEP")
  (values
    '("steps" "GTK_SCROLL_STEPS")
    '("pages" "GTK_SCROLL_PAGES")
    '("ends" "GTK_SCROLL_ENDS")
    '("horizontal-steps" "GTK_SCROLL_HORIZONTAL_STEPS")
    '("horizontal-pages" "GTK_SCROLL_HORIZONTAL_PAGES")
    '("horizontal-ends" "GTK_SCROLL_HORIZONTAL_ENDS")
  )
)

(define-enum Orientation
  (in-module "Gtk")
  (c-name "GtkOrientation")
  (gtype-id "GTK_TYPE_ORIENTATION")
  (values
    '("horizontal" "GTK_ORIENTATION_HORIZONTAL")
    '("vertical" "GTK_ORIENTATION_VERTICAL")
  )
)

(define-enum PackType
  (in-module "Gtk")
  (c-name "GtkPackType")
  (gtype-id "GTK_TYPE_PACK_TYPE")
  (values
    '("start" "GTK_PACK_START")
    '("end" "GTK_PACK_END")
  )
)

(define-enum PositionType
  (in-module "Gtk")
  (c-name "GtkPositionType")
  (gtype-id "GTK_TYPE_POSITION_TYPE")
  (values
    '("left" "GTK_POS_LEFT")
    '("right" "GTK_POS_RIGHT")
    '("top" "GTK_POS_TOP")
    '("bottom" "GTK_POS_BOTTOM")
  )
)

(define-enum ReliefStyle
  (in-module "Gtk")
  (c-name "GtkReliefStyle")
  (gtype-id "GTK_TYPE_RELIEF_STYLE")
  (values
    '("normal" "GTK_RELIEF_NORMAL")
    '("half" "GTK_RELIEF_HALF")
    '("none" "GTK_RELIEF_NONE")
  )
)

(define-enum ScrollType
  (in-module "Gtk")
  (c-name "GtkScrollType")
  (gtype-id "GTK_TYPE_SCROLL_TYPE")
  (values
    '("none" "GTK_SCROLL_NONE")
    '("jump" "GTK_SCROLL_JUMP")
    '("step-backward" "GTK_SCROLL_STEP_BACKWARD")
    '("step-forward" "GTK_SCROLL_STEP_FORWARD")
    '("page-backward" "GTK_SCROLL_PAGE_BACKWARD")
    '("page-forward" "GTK_SCROLL_PAGE_FORWARD")
    '("step-up" "GTK_SCROLL_STEP_UP")
    '("step-down" "GTK_SCROLL_STEP_DOWN")
    '("page-up" "GTK_SCROLL_PAGE_UP")
    '("page-down" "GTK_SCROLL_PAGE_DOWN")
    '("step-left" "GTK_SCROLL_STEP_LEFT")
    '("step-right" "GTK_SCROLL_STEP_RIGHT")
    '("page-left" "GTK_SCROLL_PAGE_LEFT")
    '("page-right" "GTK_SCROLL_PAGE_RIGHT")
    '("start" "GTK_SCROLL_START")
    '("end" "GTK_SCROLL_END")
  )
)

(define-enum SelectionMode
  (in-module "Gtk")
  (c-name "GtkSelectionMode")
  (gtype-id "GTK_TYPE_SELECTION_MODE")
  (values
    '("none" "GTK_SELECTION_NONE")
    '("single" "GTK_SELECTION_SINGLE")
    '("browse" "GTK_SELECTION_BROWSE")
    '("multiple" "GTK_SELECTION_MULTIPLE")
  )
)

(define-enum ShadowType
  (in-module "Gtk")
  (c-name "GtkShadowType")
  (gtype-id "GTK_TYPE_SHADOW_TYPE")
  (values
    '("none" "GTK_SHADOW_NONE")
    '("in" "GTK_SHADOW_IN")
    '("out" "GTK_SHADOW_OUT")
    '("etched-in" "GTK_SHADOW_ETCHED_IN")
    '("etched-out" "GTK_SHADOW_ETCHED_OUT")
  )
)

(define-enum StateType
  (in-module "Gtk")
  (c-name "GtkStateType")
  (gtype-id "GTK_TYPE_STATE_TYPE")
  (values
    '("normal" "GTK_STATE_NORMAL")
    '("active" "GTK_STATE_ACTIVE")
    '("prelight" "GTK_STATE_PRELIGHT")
    '("selected" "GTK_STATE_SELECTED")
    '("insensitive" "GTK_STATE_INSENSITIVE")
    '("inconsistent" "GTK_STATE_INCONSISTENT")
    '("focused" "GTK_STATE_FOCUSED")
  )
)

(define-enum ToolbarStyle
  (in-module "Gtk")
  (c-name "GtkToolbarStyle")
  (gtype-id "GTK_TYPE_TOOLBAR_STYLE")
  (values
    '("icons" "GTK_TOOLBAR_ICONS")
    '("text" "GTK_TOOLBAR_TEXT")
    '("both" "GTK_TOOLBAR_BOTH")
    '("both-horiz" "GTK_TOOLBAR_BOTH_HORIZ")
  )
)

(define-enum WrapMode
  (in-module "Gtk")
  (c-name "GtkWrapMode")
  (gtype-id "GTK_TYPE_WRAP_MODE")
  (values
    '("none" "GTK_WRAP_NONE")
    '("char" "GTK_WRAP_CHAR")
    '("word" "GTK_WRAP_WORD")
    '("word-char" "GTK_WRAP_WORD_CHAR")
  )
)

(define-enum SortType
  (in-module "Gtk")
  (c-name "GtkSortType")
  (gtype-id "GTK_TYPE_SORT_TYPE")
  (values
    '("ascending" "GTK_SORT_ASCENDING")
    '("descending" "GTK_SORT_DESCENDING")
  )
)

(define-enum IMPreeditStyle
  (in-module "Gtk")
  (c-name "GtkIMPreeditStyle")
  (gtype-id "GTK_TYPE_IM_PREEDIT_STYLE")
  (values
    '("nothing" "GTK_IM_PREEDIT_NOTHING")
    '("callback" "GTK_IM_PREEDIT_CALLBACK")
    '("none" "GTK_IM_PREEDIT_NONE")
  )
)

(define-enum IMStatusStyle
  (in-module "Gtk")
  (c-name "GtkIMStatusStyle")
  (gtype-id "GTK_TYPE_IM_STATUS_STYLE")
  (values
    '("nothing" "GTK_IM_STATUS_NOTHING")
    '("callback" "GTK_IM_STATUS_CALLBACK")
    '("none" "GTK_IM_STATUS_NONE")
  )
)

(define-enum PackDirection
  (in-module "Gtk")
  (c-name "GtkPackDirection")
  (gtype-id "GTK_TYPE_PACK_DIRECTION")
  (values
    '("ltr" "GTK_PACK_DIRECTION_LTR")
    '("rtl" "GTK_PACK_DIRECTION_RTL")
    '("ttb" "GTK_PACK_DIRECTION_TTB")
    '("btt" "GTK_PACK_DIRECTION_BTT")
  )
)

(define-enum PrintPages
  (in-module "Gtk")
  (c-name "GtkPrintPages")
  (gtype-id "GTK_TYPE_PRINT_PAGES")
  (values
    '("all" "GTK_PRINT_PAGES_ALL")
    '("current" "GTK_PRINT_PAGES_CURRENT")
    '("ranges" "GTK_PRINT_PAGES_RANGES")
    '("selection" "GTK_PRINT_PAGES_SELECTION")
  )
)

(define-enum PageSet
  (in-module "Gtk")
  (c-name "GtkPageSet")
  (gtype-id "GTK_TYPE_PAGE_SET")
  (values
    '("all" "GTK_PAGE_SET_ALL")
    '("even" "GTK_PAGE_SET_EVEN")
    '("odd" "GTK_PAGE_SET_ODD")
  )
)

(define-enum NumberUpLayout
  (in-module "Gtk")
  (c-name "GtkNumberUpLayout")
  (gtype-id "GTK_TYPE_NUMBER_UP_LAYOUT")
  (values
    '("left-to-right-top-to-bottom" "GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM")
    '("left-to-right-bottom-to-top" "GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP")
    '("right-to-left-top-to-bottom" "GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM")
    '("right-to-left-bottom-to-top" "GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP")
    '("top-to-bottom-left-to-right" "GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT")
    '("top-to-bottom-right-to-left" "GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT")
    '("bottom-to-top-left-to-right" "GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT")
    '("bottom-to-top-right-to-left" "GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT")
  )
)

(define-enum PageOrientation
  (in-module "Gtk")
  (c-name "GtkPageOrientation")
  (gtype-id "GTK_TYPE_PAGE_ORIENTATION")
  (values
    '("portrait" "GTK_PAGE_ORIENTATION_PORTRAIT")
    '("landscape" "GTK_PAGE_ORIENTATION_LANDSCAPE")
    '("reverse-portrait" "GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT")
    '("reverse-landscape" "GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE")
  )
)

(define-enum PrintQuality
  (in-module "Gtk")
  (c-name "GtkPrintQuality")
  (gtype-id "GTK_TYPE_PRINT_QUALITY")
  (values
    '("low" "GTK_PRINT_QUALITY_LOW")
    '("normal" "GTK_PRINT_QUALITY_NORMAL")
    '("high" "GTK_PRINT_QUALITY_HIGH")
    '("draft" "GTK_PRINT_QUALITY_DRAFT")
  )
)

(define-enum PrintDuplex
  (in-module "Gtk")
  (c-name "GtkPrintDuplex")
  (gtype-id "GTK_TYPE_PRINT_DUPLEX")
  (values
    '("simplex" "GTK_PRINT_DUPLEX_SIMPLEX")
    '("horizontal" "GTK_PRINT_DUPLEX_HORIZONTAL")
    '("vertical" "GTK_PRINT_DUPLEX_VERTICAL")
  )
)

(define-enum Unit
  (in-module "Gtk")
  (c-name "GtkUnit")
  (gtype-id "GTK_TYPE_UNIT")
  (values
    '("none" "GTK_UNIT_NONE")
    '("points" "GTK_UNIT_POINTS")
    '("inch" "GTK_UNIT_INCH")
    '("mm" "GTK_UNIT_MM")
  )
)

(define-enum TreeViewGridLines
  (in-module "Gtk")
  (c-name "GtkTreeViewGridLines")
  (gtype-id "GTK_TYPE_TREE_VIEW_GRID_LINES")
  (values
    '("none" "GTK_TREE_VIEW_GRID_LINES_NONE")
    '("horizontal" "GTK_TREE_VIEW_GRID_LINES_HORIZONTAL")
    '("vertical" "GTK_TREE_VIEW_GRID_LINES_VERTICAL")
    '("both" "GTK_TREE_VIEW_GRID_LINES_BOTH")
  )
)

(define-enum DragResult
  (in-module "Gtk")
  (c-name "GtkDragResult")
  (gtype-id "GTK_TYPE_DRAG_RESULT")
  (values
    '("success" "GTK_DRAG_RESULT_SUCCESS")
    '("no-target" "GTK_DRAG_RESULT_NO_TARGET")
    '("user-cancelled" "GTK_DRAG_RESULT_USER_CANCELLED")
    '("timeout-expired" "GTK_DRAG_RESULT_TIMEOUT_EXPIRED")
    '("grab-broken" "GTK_DRAG_RESULT_GRAB_BROKEN")
    '("error" "GTK_DRAG_RESULT_ERROR")
  )
)

(define-enum SizeGroupMode
  (in-module "Gtk")
  (c-name "GtkSizeGroupMode")
  (gtype-id "GTK_TYPE_SIZE_GROUP_MODE")
  (values
    '("none" "GTK_SIZE_GROUP_NONE")
    '("horizontal" "GTK_SIZE_GROUP_HORIZONTAL")
    '("vertical" "GTK_SIZE_GROUP_VERTICAL")
    '("both" "GTK_SIZE_GROUP_BOTH")
  )
)

(define-enum SizeRequestMode
  (in-module "Gtk")
  (c-name "GtkSizeRequestMode")
  (gtype-id "GTK_TYPE_SIZE_REQUEST_MODE")
  (values
    '("height-for-width" "GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH")
    '("width-for-height" "GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT")
    '("constant-size" "GTK_SIZE_REQUEST_CONSTANT_SIZE")
  )
)

(define-enum ScrollablePolicy
  (in-module "Gtk")
  (c-name "GtkScrollablePolicy")
  (gtype-id "GTK_TYPE_SCROLLABLE_POLICY")
  (values
    '("minimum" "GTK_SCROLL_MINIMUM")
    '("natural" "GTK_SCROLL_NATURAL")
  )
)

(define-flags StateFlags
  (in-module "Gtk")
  (c-name "GtkStateFlags")
  (gtype-id "GTK_TYPE_STATE_FLAGS")
  (values
    '("normal" "GTK_STATE_FLAG_NORMAL")
    '("active" "GTK_STATE_FLAG_ACTIVE")
    '("prelight" "GTK_STATE_FLAG_PRELIGHT")
    '("selected" "GTK_STATE_FLAG_SELECTED")
    '("insensitive" "GTK_STATE_FLAG_INSENSITIVE")
    '("inconsistent" "GTK_STATE_FLAG_INCONSISTENT")
    '("focused" "GTK_STATE_FLAG_FOCUSED")
    '("backdrop" "GTK_STATE_FLAG_BACKDROP")
    '("dir-ltr" "GTK_STATE_FLAG_DIR_LTR")
    '("dir-rtl" "GTK_STATE_FLAG_DIR_RTL")
    '("link" "GTK_STATE_FLAG_LINK")
    '("visited" "GTK_STATE_FLAG_VISITED")
    '("checked" "GTK_STATE_FLAG_CHECKED")
  )
)

(define-flags RegionFlags
  (in-module "Gtk")
  (c-name "GtkRegionFlags")
  (gtype-id "GTK_TYPE_REGION_FLAGS")
  (values
    '("even" "GTK_REGION_EVEN")
    '("odd" "GTK_REGION_ODD")
    '("first" "GTK_REGION_FIRST")
    '("last" "GTK_REGION_LAST")
    '("only" "GTK_REGION_ONLY")
    '("sorted" "GTK_REGION_SORTED")
  )
)

(define-flags JunctionSides
  (in-module "Gtk")
  (c-name "GtkJunctionSides")
  (gtype-id "GTK_TYPE_JUNCTION_SIDES")
  (values
    '("none" "GTK_JUNCTION_NONE")
    '("corner-topleft" "GTK_JUNCTION_CORNER_TOPLEFT")
    '("corner-topright" "GTK_JUNCTION_CORNER_TOPRIGHT")
    '("corner-bottomleft" "GTK_JUNCTION_CORNER_BOTTOMLEFT")
    '("corner-bottomright" "GTK_JUNCTION_CORNER_BOTTOMRIGHT")
    '("top" "GTK_JUNCTION_TOP")
    '("bottom" "GTK_JUNCTION_BOTTOM")
    '("left" "GTK_JUNCTION_LEFT")
    '("right" "GTK_JUNCTION_RIGHT")
  )
)

(define-enum BorderStyle
  (in-module "Gtk")
  (c-name "GtkBorderStyle")
  (gtype-id "GTK_TYPE_BORDER_STYLE")
  (values
    '("none" "GTK_BORDER_STYLE_NONE")
    '("solid" "GTK_BORDER_STYLE_SOLID")
    '("inset" "GTK_BORDER_STYLE_INSET")
    '("outset" "GTK_BORDER_STYLE_OUTSET")
    '("hidden" "GTK_BORDER_STYLE_HIDDEN")
    '("dotted" "GTK_BORDER_STYLE_DOTTED")
    '("dashed" "GTK_BORDER_STYLE_DASHED")
    '("double" "GTK_BORDER_STYLE_DOUBLE")
    '("groove" "GTK_BORDER_STYLE_GROOVE")
    '("ridge" "GTK_BORDER_STYLE_RIDGE")
  )
)

(define-enum LevelBarMode
  (in-module "Gtk")
  (c-name "GtkLevelBarMode")
  (gtype-id "GTK_TYPE_LEVEL_BAR_MODE")
  (values
    '("continuous" "GTK_LEVEL_BAR_MODE_CONTINUOUS")
    '("discrete" "GTK_LEVEL_BAR_MODE_DISCRETE")
  )
)

(define-enum InputPurpose
  (in-module "Gtk")
  (c-name "GtkInputPurpose")
  (gtype-id "GTK_TYPE_INPUT_PURPOSE")
  (values
    '("free-form" "GTK_INPUT_PURPOSE_FREE_FORM")
    '("alpha" "GTK_INPUT_PURPOSE_ALPHA")
    '("digits" "GTK_INPUT_PURPOSE_DIGITS")
    '("number" "GTK_INPUT_PURPOSE_NUMBER")
    '("phone" "GTK_INPUT_PURPOSE_PHONE")
    '("url" "GTK_INPUT_PURPOSE_URL")
    '("email" "GTK_INPUT_PURPOSE_EMAIL")
    '("name" "GTK_INPUT_PURPOSE_NAME")
    '("password" "GTK_INPUT_PURPOSE_PASSWORD")
    '("pin" "GTK_INPUT_PURPOSE_PIN")
  )
)

(define-flags InputHints
  (in-module "Gtk")
  (c-name "GtkInputHints")
  (gtype-id "GTK_TYPE_INPUT_HINTS")
  (values
    '("none" "GTK_INPUT_HINT_NONE")
    '("spellcheck" "GTK_INPUT_HINT_SPELLCHECK")
    '("no-spellcheck" "GTK_INPUT_HINT_NO_SPELLCHECK")
    '("word-completion" "GTK_INPUT_HINT_WORD_COMPLETION")
    '("lowercase" "GTK_INPUT_HINT_LOWERCASE")
    '("uppercase-chars" "GTK_INPUT_HINT_UPPERCASE_CHARS")
    '("uppercase-words" "GTK_INPUT_HINT_UPPERCASE_WORDS")
    '("uppercase-sentences" "GTK_INPUT_HINT_UPPERCASE_SENTENCES")
    '("inhibit-osk" "GTK_INPUT_HINT_INHIBIT_OSK")
    '("vertical-writing" "GTK_INPUT_HINT_VERTICAL_WRITING")
  )
)

(define-enum PropagationPhase
  (in-module "Gtk")
  (c-name "GtkPropagationPhase")
  (gtype-id "GTK_TYPE_PROPAGATION_PHASE")
  (values
    '("none" "GTK_PHASE_NONE")
    '("capture" "GTK_PHASE_CAPTURE")
    '("bubble" "GTK_PHASE_BUBBLE")
    '("target" "GTK_PHASE_TARGET")
  )
)

(define-enum EventSequenceState
  (in-module "Gtk")
  (c-name "GtkEventSequenceState")
  (gtype-id "GTK_TYPE_EVENT_SEQUENCE_STATE")
  (values
    '("none" "GTK_EVENT_SEQUENCE_NONE")
    '("claimed" "GTK_EVENT_SEQUENCE_CLAIMED")
    '("denied" "GTK_EVENT_SEQUENCE_DENIED")
  )
)

(define-enum PanDirection
  (in-module "Gtk")
  (c-name "GtkPanDirection")
  (gtype-id "GTK_TYPE_PAN_DIRECTION")
  (values
    '("left" "GTK_PAN_DIRECTION_LEFT")
    '("right" "GTK_PAN_DIRECTION_RIGHT")
    '("up" "GTK_PAN_DIRECTION_UP")
    '("down" "GTK_PAN_DIRECTION_DOWN")
  )
)

(define-enum FileChooserAction
  (in-module "Gtk")
  (c-name "GtkFileChooserAction")
  (gtype-id "GTK_TYPE_FILE_CHOOSER_ACTION")
  (values
    '("open" "GTK_FILE_CHOOSER_ACTION_OPEN")
    '("save" "GTK_FILE_CHOOSER_ACTION_SAVE")
    '("select-folder" "GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER")
    '("create-folder" "GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER")
  )
)

(define-enum FileChooserConfirmation
  (in-module "Gtk")
  (c-name "GtkFileChooserConfirmation")
  (gtype-id "GTK_TYPE_FILE_CHOOSER_CONFIRMATION")
  (values
    '("confirm" "GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM")
    '("accept-filename" "GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME")
    '("select-again" "GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN")
  )
)

(define-enum FileChooserError
  (in-module "Gtk")
  (c-name "GtkFileChooserError")
  (gtype-id "GTK_TYPE_FILE_CHOOSER_ERROR")
  (values
    '("nonexistent" "GTK_FILE_CHOOSER_ERROR_NONEXISTENT")
    '("bad-filename" "GTK_FILE_CHOOSER_ERROR_BAD_FILENAME")
    '("already-exists" "GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS")
    '("incomplete-hostname" "GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME")
  )
)

(define-enum FileChooserProp
  (in-module "Gtk")
  (c-name "GtkFileChooserProp")
  (gtype-id "GTK_TYPE_FILE_CHOOSER_PROP")
  (values
    '("first" "GTK_FILE_CHOOSER_PROP_FIRST")
    '("action" "GTK_FILE_CHOOSER_PROP_ACTION")
    '("filter" "GTK_FILE_CHOOSER_PROP_FILTER")
    '("local-only" "GTK_FILE_CHOOSER_PROP_LOCAL_ONLY")
    '("preview-widget" "GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET")
    '("preview-widget-active" "GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET_ACTIVE")
    '("use-preview-label" "GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL")
    '("extra-widget" "GTK_FILE_CHOOSER_PROP_EXTRA_WIDGET")
    '("select-multiple" "GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE")
    '("show-hidden" "GTK_FILE_CHOOSER_PROP_SHOW_HIDDEN")
    '("do-overwrite-confirmation" "GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION")
    '("create-folders" "GTK_FILE_CHOOSER_PROP_CREATE_FOLDERS")
    '("last" "GTK_FILE_CHOOSER_PROP_LAST")
  )
)

(define-flags FileFilterFlags
  (in-module "Gtk")
  (c-name "GtkFileFilterFlags")
  (gtype-id "GTK_TYPE_FILE_FILTER_FLAGS")
  (values
    '("filename" "GTK_FILE_FILTER_FILENAME")
    '("uri" "GTK_FILE_FILTER_URI")
    '("display-name" "GTK_FILE_FILTER_DISPLAY_NAME")
    '("mime-type" "GTK_FILE_FILTER_MIME_TYPE")
  )
)

(define-enum FontChooserProp
  (in-module "Gtk")
  (c-name "GtkFontChooserProp")
  (gtype-id "GTK_TYPE_FONT_CHOOSER_PROP")
  (values
    '("first" "GTK_FONT_CHOOSER_PROP_FIRST")
    '("font" "GTK_FONT_CHOOSER_PROP_FONT")
    '("font-desc" "GTK_FONT_CHOOSER_PROP_FONT_DESC")
    '("preview-text" "GTK_FONT_CHOOSER_PROP_PREVIEW_TEXT")
    '("show-preview-entry" "GTK_FONT_CHOOSER_PROP_SHOW_PREVIEW_ENTRY")
    '("last" "GTK_FONT_CHOOSER_PROP_LAST")
  )
)

(define-flags IconLookupFlags
  (in-module "Gtk")
  (c-name "GtkIconLookupFlags")
  (gtype-id "GTK_TYPE_ICON_LOOKUP_FLAGS")
  (values
    '("no-svg" "GTK_ICON_LOOKUP_NO_SVG")
    '("force-svg" "GTK_ICON_LOOKUP_FORCE_SVG")
    '("use-builtin" "GTK_ICON_LOOKUP_USE_BUILTIN")
    '("generic-fallback" "GTK_ICON_LOOKUP_GENERIC_FALLBACK")
    '("force-size" "GTK_ICON_LOOKUP_FORCE_SIZE")
    '("force-regular" "GTK_ICON_LOOKUP_FORCE_REGULAR")
    '("force-symbolic" "GTK_ICON_LOOKUP_FORCE_SYMBOLIC")
    '("dir-ltr" "GTK_ICON_LOOKUP_DIR_LTR")
    '("dir-rtl" "GTK_ICON_LOOKUP_DIR_RTL")
  )
)

(define-enum IconThemeError
  (in-module "Gtk")
  (c-name "GtkIconThemeError")
  (gtype-id "GTK_TYPE_ICON_THEME_ERROR")
  (values
    '("not-found" "GTK_ICON_THEME_NOT_FOUND")
    '("failed" "GTK_ICON_THEME_FAILED")
  )
)

(define-enum IconViewDropPosition
  (in-module "Gtk")
  (c-name "GtkIconViewDropPosition")
  (gtype-id "GTK_TYPE_ICON_VIEW_DROP_POSITION")
  (values
    '("no-drop" "GTK_ICON_VIEW_NO_DROP")
    '("drop-into" "GTK_ICON_VIEW_DROP_INTO")
    '("drop-left" "GTK_ICON_VIEW_DROP_LEFT")
    '("drop-right" "GTK_ICON_VIEW_DROP_RIGHT")
    '("drop-above" "GTK_ICON_VIEW_DROP_ABOVE")
    '("drop-below" "GTK_ICON_VIEW_DROP_BELOW")
  )
)

(define-enum ImageType
  (in-module "Gtk")
  (c-name "GtkImageType")
  (gtype-id "GTK_TYPE_IMAGE_TYPE")
  (values
    '("empty" "GTK_IMAGE_EMPTY")
    '("pixbuf" "GTK_IMAGE_PIXBUF")
    '("stock" "GTK_IMAGE_STOCK")
    '("icon-set" "GTK_IMAGE_ICON_SET")
    '("animation" "GTK_IMAGE_ANIMATION")
    '("icon-name" "GTK_IMAGE_ICON_NAME")
    '("gicon" "GTK_IMAGE_GICON")
    '("surface" "GTK_IMAGE_SURFACE")
  )
)

(define-enum ArrowPlacement
  (in-module "Gtk")
  (c-name "GtkArrowPlacement")
  (gtype-id "GTK_TYPE_ARROW_PLACEMENT")
  (values
    '("both" "GTK_ARROWS_BOTH")
    '("start" "GTK_ARROWS_START")
    '("end" "GTK_ARROWS_END")
  )
)

(define-enum MenuTrackerItemRole
  (in-module "Gtk")
  (c-name "GtkMenuTrackerItemRole")
  (gtype-id "GTK_TYPE_MENU_TRACKER_ITEM_ROLE")
  (values
    '("normal" "GTK_MENU_TRACKER_ITEM_ROLE_NORMAL")
    '("check" "GTK_MENU_TRACKER_ITEM_ROLE_CHECK")
    '("radio" "GTK_MENU_TRACKER_ITEM_ROLE_RADIO")
  )
)

(define-enum ButtonsType
  (in-module "Gtk")
  (c-name "GtkButtonsType")
  (gtype-id "GTK_TYPE_BUTTONS_TYPE")
  (values
    '("none" "GTK_BUTTONS_NONE")
    '("ok" "GTK_BUTTONS_OK")
    '("close" "GTK_BUTTONS_CLOSE")
    '("cancel" "GTK_BUTTONS_CANCEL")
    '("yes-no" "GTK_BUTTONS_YES_NO")
    '("ok-cancel" "GTK_BUTTONS_OK_CANCEL")
  )
)

(define-enum ButtonRole
  (in-module "Gtk")
  (c-name "GtkButtonRole")
  (gtype-id "GTK_TYPE_BUTTON_ROLE")
  (values
    '("normal" "GTK_BUTTON_ROLE_NORMAL")
    '("check" "GTK_BUTTON_ROLE_CHECK")
    '("radio" "GTK_BUTTON_ROLE_RADIO")
  )
)

(define-enum NotebookTab
  (in-module "Gtk")
  (c-name "GtkNotebookTab")
  (gtype-id "GTK_TYPE_NOTEBOOK_TAB")
  (values
    '("first" "GTK_NOTEBOOK_TAB_FIRST")
    '("last" "GTK_NOTEBOOK_TAB_LAST")
  )
)

(define-flags PlacesOpenFlags
  (in-module "Gtk")
  (c-name "GtkPlacesOpenFlags")
  (gtype-id "GTK_TYPE_PLACES_OPEN_FLAGS")
  (values
    '("normal" "GTK_PLACES_OPEN_NORMAL")
    '("new-tab" "GTK_PLACES_OPEN_NEW_TAB")
    '("new-window" "GTK_PLACES_OPEN_NEW_WINDOW")
  )
)

(define-enum PrintBackendError
  (in-module "Gtk")
  (c-name "GtkPrintBackendError")
  (gtype-id "GTK_TYPE_PRINT_BACKEND_ERROR")
  (values
    '("generic" "GTK_PRINT_BACKEND_ERROR_GENERIC")
  )
)

(define-enum PrintBackendStatus
  (in-module "Gtk")
  (c-name "GtkPrintBackendStatus")
  (gtype-id "GTK_TYPE_PRINT_BACKEND_STATUS")
  (values
    '("unknown" "GTK_PRINT_BACKEND_STATUS_UNKNOWN")
    '("ok" "GTK_PRINT_BACKEND_STATUS_OK")
    '("unavailable" "GTK_PRINT_BACKEND_STATUS_UNAVAILABLE")
  )
)

(define-flags PrintCapabilities
  (in-module "Gtk")
  (c-name "GtkPrintCapabilities")
  (gtype-id "GTK_TYPE_PRINT_CAPABILITIES")
  (values
    '("page-set" "GTK_PRINT_CAPABILITY_PAGE_SET")
    '("copies" "GTK_PRINT_CAPABILITY_COPIES")
    '("collate" "GTK_PRINT_CAPABILITY_COLLATE")
    '("reverse" "GTK_PRINT_CAPABILITY_REVERSE")
    '("scale" "GTK_PRINT_CAPABILITY_SCALE")
    '("generate-pdf" "GTK_PRINT_CAPABILITY_GENERATE_PDF")
    '("generate-ps" "GTK_PRINT_CAPABILITY_GENERATE_PS")
    '("preview" "GTK_PRINT_CAPABILITY_PREVIEW")
    '("number-up" "GTK_PRINT_CAPABILITY_NUMBER_UP")
    '("number-up-layout" "GTK_PRINT_CAPABILITY_NUMBER_UP_LAYOUT")
  )
)

(define-enum PrinterOptionType
  (in-module "Gtk")
  (c-name "GtkPrinterOptionType")
  (gtype-id "GTK_TYPE_PRINTER_OPTION_TYPE")
  (values
    '("boolean" "GTK_PRINTER_OPTION_TYPE_BOOLEAN")
    '("pickone" "GTK_PRINTER_OPTION_TYPE_PICKONE")
    '("pickone-password" "GTK_PRINTER_OPTION_TYPE_PICKONE_PASSWORD")
    '("pickone-passcode" "GTK_PRINTER_OPTION_TYPE_PICKONE_PASSCODE")
    '("pickone-real" "GTK_PRINTER_OPTION_TYPE_PICKONE_REAL")
    '("pickone-int" "GTK_PRINTER_OPTION_TYPE_PICKONE_INT")
    '("pickone-string" "GTK_PRINTER_OPTION_TYPE_PICKONE_STRING")
    '("alternative" "GTK_PRINTER_OPTION_TYPE_ALTERNATIVE")
    '("string" "GTK_PRINTER_OPTION_TYPE_STRING")
    '("filesave" "GTK_PRINTER_OPTION_TYPE_FILESAVE")
    '("info" "GTK_PRINTER_OPTION_TYPE_INFO")
  )
)

(define-enum PrintStatus
  (in-module "Gtk")
  (c-name "GtkPrintStatus")
  (gtype-id "GTK_TYPE_PRINT_STATUS")
  (values
    '("initial" "GTK_PRINT_STATUS_INITIAL")
    '("preparing" "GTK_PRINT_STATUS_PREPARING")
    '("generating-data" "GTK_PRINT_STATUS_GENERATING_DATA")
    '("sending-data" "GTK_PRINT_STATUS_SENDING_DATA")
    '("pending" "GTK_PRINT_STATUS_PENDING")
    '("pending-issue" "GTK_PRINT_STATUS_PENDING_ISSUE")
    '("printing" "GTK_PRINT_STATUS_PRINTING")
    '("finished" "GTK_PRINT_STATUS_FINISHED")
    '("finished-aborted" "GTK_PRINT_STATUS_FINISHED_ABORTED")
  )
)

(define-enum PrintOperationResult
  (in-module "Gtk")
  (c-name "GtkPrintOperationResult")
  (gtype-id "GTK_TYPE_PRINT_OPERATION_RESULT")
  (values
    '("error" "GTK_PRINT_OPERATION_RESULT_ERROR")
    '("apply" "GTK_PRINT_OPERATION_RESULT_APPLY")
    '("cancel" "GTK_PRINT_OPERATION_RESULT_CANCEL")
    '("in-progress" "GTK_PRINT_OPERATION_RESULT_IN_PROGRESS")
  )
)

(define-enum PrintOperationAction
  (in-module "Gtk")
  (c-name "GtkPrintOperationAction")
  (gtype-id "GTK_TYPE_PRINT_OPERATION_ACTION")
  (values
    '("print-dialog" "GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG")
    '("print" "GTK_PRINT_OPERATION_ACTION_PRINT")
    '("preview" "GTK_PRINT_OPERATION_ACTION_PREVIEW")
    '("export" "GTK_PRINT_OPERATION_ACTION_EXPORT")
  )
)

(define-enum PrintError
  (in-module "Gtk")
  (c-name "GtkPrintError")
  (gtype-id "GTK_TYPE_PRINT_ERROR")
  (values
    '("general" "GTK_PRINT_ERROR_GENERAL")
    '("internal-error" "GTK_PRINT_ERROR_INTERNAL_ERROR")
    '("nomem" "GTK_PRINT_ERROR_NOMEM")
    '("invalid-file" "GTK_PRINT_ERROR_INVALID_FILE")
  )
)

(define-flags RBNodeColor
  (in-module "Gtk")
  (c-name "GtkRBNodeColor")
  (gtype-id "GTK_TYPE_RB_NODE_COLOR")
  (values
    '("black" "GTK_RBNODE_BLACK")
    '("red" "GTK_RBNODE_RED")
    '("is-parent" "GTK_RBNODE_IS_PARENT")
    '("is-selected" "GTK_RBNODE_IS_SELECTED")
    '("is-prelit" "GTK_RBNODE_IS_PRELIT")
    '("invalid" "GTK_RBNODE_INVALID")
    '("column-invalid" "GTK_RBNODE_COLUMN_INVALID")
    '("descendants-invalid" "GTK_RBNODE_DESCENDANTS_INVALID")
    '("non-colors" "GTK_RBNODE_NON_COLORS")
  )
)

(define-enum RecentSortType
  (in-module "Gtk")
  (c-name "GtkRecentSortType")
  (gtype-id "GTK_TYPE_RECENT_SORT_TYPE")
  (values
    '("none" "GTK_RECENT_SORT_NONE")
    '("mru" "GTK_RECENT_SORT_MRU")
    '("lru" "GTK_RECENT_SORT_LRU")
    '("custom" "GTK_RECENT_SORT_CUSTOM")
  )
)

(define-enum RecentChooserError
  (in-module "Gtk")
  (c-name "GtkRecentChooserError")
  (gtype-id "GTK_TYPE_RECENT_CHOOSER_ERROR")
  (values
    '("not-found" "GTK_RECENT_CHOOSER_ERROR_NOT_FOUND")
    '("invalid-uri" "GTK_RECENT_CHOOSER_ERROR_INVALID_URI")
  )
)

(define-enum RecentChooserProp
  (in-module "Gtk")
  (c-name "GtkRecentChooserProp")
  (gtype-id "GTK_TYPE_RECENT_CHOOSER_PROP")
  (values
    '("first" "GTK_RECENT_CHOOSER_PROP_FIRST")
    '("recent-manager" "GTK_RECENT_CHOOSER_PROP_RECENT_MANAGER")
    '("show-private" "GTK_RECENT_CHOOSER_PROP_SHOW_PRIVATE")
    '("show-not-found" "GTK_RECENT_CHOOSER_PROP_SHOW_NOT_FOUND")
    '("show-tips" "GTK_RECENT_CHOOSER_PROP_SHOW_TIPS")
    '("show-icons" "GTK_RECENT_CHOOSER_PROP_SHOW_ICONS")
    '("select-multiple" "GTK_RECENT_CHOOSER_PROP_SELECT_MULTIPLE")
    '("limit" "GTK_RECENT_CHOOSER_PROP_LIMIT")
    '("local-only" "GTK_RECENT_CHOOSER_PROP_LOCAL_ONLY")
    '("sort-type" "GTK_RECENT_CHOOSER_PROP_SORT_TYPE")
    '("filter" "GTK_RECENT_CHOOSER_PROP_FILTER")
    '("last" "GTK_RECENT_CHOOSER_PROP_LAST")
  )
)

(define-flags RecentFilterFlags
  (in-module "Gtk")
  (c-name "GtkRecentFilterFlags")
  (gtype-id "GTK_TYPE_RECENT_FILTER_FLAGS")
  (values
    '("uri" "GTK_RECENT_FILTER_URI")
    '("display-name" "GTK_RECENT_FILTER_DISPLAY_NAME")
    '("mime-type" "GTK_RECENT_FILTER_MIME_TYPE")
    '("application" "GTK_RECENT_FILTER_APPLICATION")
    '("group" "GTK_RECENT_FILTER_GROUP")
    '("age" "GTK_RECENT_FILTER_AGE")
  )
)

(define-enum RecentManagerError
  (in-module "Gtk")
  (c-name "GtkRecentManagerError")
  (gtype-id "GTK_TYPE_RECENT_MANAGER_ERROR")
  (values
    '("not-found" "GTK_RECENT_MANAGER_ERROR_NOT_FOUND")
    '("invalid-uri" "GTK_RECENT_MANAGER_ERROR_INVALID_URI")
    '("invalid-encoding" "GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING")
    '("not-registered" "GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED")
    '("read" "GTK_RECENT_MANAGER_ERROR_READ")
    '("write" "GTK_RECENT_MANAGER_ERROR_WRITE")
    '("unknown" "GTK_RECENT_MANAGER_ERROR_UNKNOWN")
  )
)

(define-enum RevealerTransitionType
  (in-module "Gtk")
  (c-name "GtkRevealerTransitionType")
  (gtype-id "GTK_TYPE_REVEALER_TRANSITION_TYPE")
  (values
    '("none" "GTK_REVEALER_TRANSITION_TYPE_NONE")
    '("crossfade" "GTK_REVEALER_TRANSITION_TYPE_CROSSFADE")
    '("slide-right" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_RIGHT")
    '("slide-left" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_LEFT")
    '("slide-up" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP")
    '("slide-down" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN")
  )
)

(define-enum CornerType
  (in-module "Gtk")
  (c-name "GtkCornerType")
  (gtype-id "GTK_TYPE_CORNER_TYPE")
  (values
    '("top-left" "GTK_CORNER_TOP_LEFT")
    '("bottom-left" "GTK_CORNER_BOTTOM_LEFT")
    '("top-right" "GTK_CORNER_TOP_RIGHT")
    '("bottom-right" "GTK_CORNER_BOTTOM_RIGHT")
  )
)

(define-enum PolicyType
  (in-module "Gtk")
  (c-name "GtkPolicyType")
  (gtype-id "GTK_TYPE_POLICY_TYPE")
  (values
    '("always" "GTK_POLICY_ALWAYS")
    '("automatic" "GTK_POLICY_AUTOMATIC")
    '("never" "GTK_POLICY_NEVER")
    '("external" "GTK_POLICY_EXTERNAL")
  )
)

(define-enum SpinButtonUpdatePolicy
  (in-module "Gtk")
  (c-name "GtkSpinButtonUpdatePolicy")
  (gtype-id "GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY")
  (values
    '("always" "GTK_UPDATE_ALWAYS")
    '("if-valid" "GTK_UPDATE_IF_VALID")
  )
)

(define-enum SpinType
  (in-module "Gtk")
  (c-name "GtkSpinType")
  (gtype-id "GTK_TYPE_SPIN_TYPE")
  (values
    '("step-forward" "GTK_SPIN_STEP_FORWARD")
    '("step-backward" "GTK_SPIN_STEP_BACKWARD")
    '("page-forward" "GTK_SPIN_PAGE_FORWARD")
    '("page-backward" "GTK_SPIN_PAGE_BACKWARD")
    '("home" "GTK_SPIN_HOME")
    '("end" "GTK_SPIN_END")
    '("user-defined" "GTK_SPIN_USER_DEFINED")
  )
)

(define-enum StackTransitionType
  (in-module "Gtk")
  (c-name "GtkStackTransitionType")
  (gtype-id "GTK_TYPE_STACK_TRANSITION_TYPE")
  (values
    '("none" "GTK_STACK_TRANSITION_TYPE_NONE")
    '("crossfade" "GTK_STACK_TRANSITION_TYPE_CROSSFADE")
    '("slide-right" "GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT")
    '("slide-left" "GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT")
    '("slide-up" "GTK_STACK_TRANSITION_TYPE_SLIDE_UP")
    '("slide-down" "GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN")
    '("slide-left-right" "GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT")
    '("slide-up-down" "GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN")
    '("over-up" "GTK_STACK_TRANSITION_TYPE_OVER_UP")
    '("over-down" "GTK_STACK_TRANSITION_TYPE_OVER_DOWN")
    '("over-left" "GTK_STACK_TRANSITION_TYPE_OVER_LEFT")
    '("over-right" "GTK_STACK_TRANSITION_TYPE_OVER_RIGHT")
    '("under-up" "GTK_STACK_TRANSITION_TYPE_UNDER_UP")
    '("under-down" "GTK_STACK_TRANSITION_TYPE_UNDER_DOWN")
    '("under-left" "GTK_STACK_TRANSITION_TYPE_UNDER_LEFT")
    '("under-right" "GTK_STACK_TRANSITION_TYPE_UNDER_RIGHT")
    '("over-up-down" "GTK_STACK_TRANSITION_TYPE_OVER_UP_DOWN")
    '("over-down-up" "GTK_STACK_TRANSITION_TYPE_OVER_DOWN_UP")
    '("over-left-right" "GTK_STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT")
    '("over-right-left" "GTK_STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT")
  )
)

(define-enum TextBufferTargetInfo
  (in-module "Gtk")
  (c-name "GtkTextBufferTargetInfo")
  (gtype-id "GTK_TYPE_TEXT_BUFFER_TARGET_INFO")
  (values
    '("buffer-contents" "GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS")
    '("rich-text" "GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT")
    '("text" "GTK_TEXT_BUFFER_TARGET_INFO_TEXT")
  )
)

(define-flags TextSearchFlags
  (in-module "Gtk")
  (c-name "GtkTextSearchFlags")
  (gtype-id "GTK_TYPE_TEXT_SEARCH_FLAGS")
  (values
    '("visible-only" "GTK_TEXT_SEARCH_VISIBLE_ONLY")
    '("text-only" "GTK_TEXT_SEARCH_TEXT_ONLY")
    '("case-insensitive" "GTK_TEXT_SEARCH_CASE_INSENSITIVE")
  )
)

(define-enum TextWindowType
  (in-module "Gtk")
  (c-name "GtkTextWindowType")
  (gtype-id "GTK_TYPE_TEXT_WINDOW_TYPE")
  (values
    '("private" "GTK_TEXT_WINDOW_PRIVATE")
    '("widget" "GTK_TEXT_WINDOW_WIDGET")
    '("text" "GTK_TEXT_WINDOW_TEXT")
    '("left" "GTK_TEXT_WINDOW_LEFT")
    '("right" "GTK_TEXT_WINDOW_RIGHT")
    '("top" "GTK_TEXT_WINDOW_TOP")
    '("bottom" "GTK_TEXT_WINDOW_BOTTOM")
  )
)

(define-enum TextViewLayer
  (in-module "Gtk")
  (c-name "GtkTextViewLayer")
  (gtype-id "GTK_TYPE_TEXT_VIEW_LAYER")
  (values
    '("below" "GTK_TEXT_VIEW_LAYER_BELOW")
    '("above" "GTK_TEXT_VIEW_LAYER_ABOVE")
  )
)

(define-enum TextExtendSelection
  (in-module "Gtk")
  (c-name "GtkTextExtendSelection")
  (gtype-id "GTK_TYPE_TEXT_EXTEND_SELECTION")
  (values
    '("word" "GTK_TEXT_EXTEND_SELECTION_WORD")
    '("line" "GTK_TEXT_EXTEND_SELECTION_LINE")
  )
)

(define-enum ToolbarSpaceStyle
  (in-module "Gtk")
  (c-name "GtkToolbarSpaceStyle")
  (gtype-id "GTK_TYPE_TOOLBAR_SPACE_STYLE")
  (values
    '("empty" "GTK_TOOLBAR_SPACE_EMPTY")
    '("line" "GTK_TOOLBAR_SPACE_LINE")
  )
)

(define-flags ToolPaletteDragTargets
  (in-module "Gtk")
  (c-name "GtkToolPaletteDragTargets")
  (gtype-id "GTK_TYPE_TOOL_PALETTE_DRAG_TARGETS")
  (values
    '("items" "GTK_TOOL_PALETTE_DRAG_ITEMS")
    '("groups" "GTK_TOOL_PALETTE_DRAG_GROUPS")
  )
)

(define-flags TreeModelFlags
  (in-module "Gtk")
  (c-name "GtkTreeModelFlags")
  (gtype-id "GTK_TYPE_TREE_MODEL_FLAGS")
  (values
    '("iters-persist" "GTK_TREE_MODEL_ITERS_PERSIST")
    '("list-only" "GTK_TREE_MODEL_LIST_ONLY")
  )
)

(define-enum TreeViewColumnSizing
  (in-module "Gtk")
  (c-name "GtkTreeViewColumnSizing")
  (gtype-id "GTK_TYPE_TREE_VIEW_COLUMN_SIZING")
  (values
    '("grow-only" "GTK_TREE_VIEW_COLUMN_GROW_ONLY")
    '("autosize" "GTK_TREE_VIEW_COLUMN_AUTOSIZE")
    '("fixed" "GTK_TREE_VIEW_COLUMN_FIXED")
  )
)

(define-enum TreeViewDropPosition
  (in-module "Gtk")
  (c-name "GtkTreeViewDropPosition")
  (gtype-id "GTK_TYPE_TREE_VIEW_DROP_POSITION")
  (values
    '("before" "GTK_TREE_VIEW_DROP_BEFORE")
    '("after" "GTK_TREE_VIEW_DROP_AFTER")
    '("into-or-before" "GTK_TREE_VIEW_DROP_INTO_OR_BEFORE")
    '("into-or-after" "GTK_TREE_VIEW_DROP_INTO_OR_AFTER")
  )
)

(define-enum WidgetHelpType
  (in-module "Gtk")
  (c-name "GtkWidgetHelpType")
  (gtype-id "GTK_TYPE_WIDGET_HELP_TYPE")
  (values
    '("tooltip" "GTK_WIDGET_HELP_TOOLTIP")
    '("whats-this" "GTK_WIDGET_HELP_WHATS_THIS")
  )
)

(define-enum WindowType
  (in-module "Gtk")
  (c-name "GtkWindowType")
  (gtype-id "GTK_TYPE_WINDOW_TYPE")
  (values
    '("toplevel" "GTK_WINDOW_TOPLEVEL")
    '("popup" "GTK_WINDOW_POPUP")
  )
)

(define-enum WindowPosition
  (in-module "Gtk")
  (c-name "GtkWindowPosition")
  (gtype-id "GTK_TYPE_WINDOW_POSITION")
  (values
    '("none" "GTK_WIN_POS_NONE")
    '("center" "GTK_WIN_POS_CENTER")
    '("mouse" "GTK_WIN_POS_MOUSE")
    '("center-always" "GTK_WIN_POS_CENTER_ALWAYS")
    '("center-on-parent" "GTK_WIN_POS_CENTER_ON_PARENT")
  )
)

(define-enum MessageType
  (in-module "XEmbed")
  (c-name "XEmbedMessageType")
  (gtype-id "X_TYPE_EMBED_MESSAGE_TYPE")
  (values
    '("embedded-notify" "XEMBED_EMBEDDED_NOTIFY")
    '("window-activate" "XEMBED_WINDOW_ACTIVATE")
    '("window-deactivate" "XEMBED_WINDOW_DEACTIVATE")
    '("request-focus" "XEMBED_REQUEST_FOCUS")
    '("focus-in" "XEMBED_FOCUS_IN")
    '("focus-out" "XEMBED_FOCUS_OUT")
    '("focus-next" "XEMBED_FOCUS_NEXT")
    '("focus-prev" "XEMBED_FOCUS_PREV")
    '("grab-key" "XEMBED_GRAB_KEY")
    '("ungrab-key" "XEMBED_UNGRAB_KEY")
    '("modality-on" "XEMBED_MODALITY_ON")
    '("modality-off" "XEMBED_MODALITY_OFF")
    '("gtk-grab-key" "XEMBED_GTK_GRAB_KEY")
    '("gtk-ungrab-key" "XEMBED_GTK_UNGRAB_KEY")
  )
)

(define-flags RcFlags
  (in-module "Gtk")
  (c-name "GtkRcFlags")
  (gtype-id "GTK_TYPE_RC_FLAGS")
  (values
    '("fg" "GTK_RC_FG")
    '("bg" "GTK_RC_BG")
    '("text" "GTK_RC_TEXT")
    '("base" "GTK_RC_BASE")
  )
)

(define-enum RcTokenType
  (in-module "Gtk")
  (c-name "GtkRcTokenType")
  (gtype-id "GTK_TYPE_RC_TOKEN_TYPE")
  (values
    '("invalid" "GTK_RC_TOKEN_INVALID")
    '("include" "GTK_RC_TOKEN_INCLUDE")
    '("normal" "GTK_RC_TOKEN_NORMAL")
    '("active" "GTK_RC_TOKEN_ACTIVE")
    '("prelight" "GTK_RC_TOKEN_PRELIGHT")
    '("selected" "GTK_RC_TOKEN_SELECTED")
    '("insensitive" "GTK_RC_TOKEN_INSENSITIVE")
    '("fg" "GTK_RC_TOKEN_FG")
    '("bg" "GTK_RC_TOKEN_BG")
    '("text" "GTK_RC_TOKEN_TEXT")
    '("base" "GTK_RC_TOKEN_BASE")
    '("xthickness" "GTK_RC_TOKEN_XTHICKNESS")
    '("ythickness" "GTK_RC_TOKEN_YTHICKNESS")
    '("font" "GTK_RC_TOKEN_FONT")
    '("fontset" "GTK_RC_TOKEN_FONTSET")
    '("font-name" "GTK_RC_TOKEN_FONT_NAME")
    '("bg-pixmap" "GTK_RC_TOKEN_BG_PIXMAP")
    '("pixmap-path" "GTK_RC_TOKEN_PIXMAP_PATH")
    '("style" "GTK_RC_TOKEN_STYLE")
    '("binding" "GTK_RC_TOKEN_BINDING")
    '("bind" "GTK_RC_TOKEN_BIND")
    '("widget" "GTK_RC_TOKEN_WIDGET")
    '("widget-class" "GTK_RC_TOKEN_WIDGET_CLASS")
    '("class" "GTK_RC_TOKEN_CLASS")
    '("lowest" "GTK_RC_TOKEN_LOWEST")
    '("gtk" "GTK_RC_TOKEN_GTK")
    '("application" "GTK_RC_TOKEN_APPLICATION")
    '("theme" "GTK_RC_TOKEN_THEME")
    '("rc" "GTK_RC_TOKEN_RC")
    '("highest" "GTK_RC_TOKEN_HIGHEST")
    '("engine" "GTK_RC_TOKEN_ENGINE")
    '("module-path" "GTK_RC_TOKEN_MODULE_PATH")
    '("im-module-path" "GTK_RC_TOKEN_IM_MODULE_PATH")
    '("im-module-file" "GTK_RC_TOKEN_IM_MODULE_FILE")
    '("stock" "GTK_RC_TOKEN_STOCK")
    '("ltr" "GTK_RC_TOKEN_LTR")
    '("rtl" "GTK_RC_TOKEN_RTL")
    '("color" "GTK_RC_TOKEN_COLOR")
    '("unbind" "GTK_RC_TOKEN_UNBIND")
    '("last" "GTK_RC_TOKEN_LAST")
  )
)

(define-enum PathPriorityType
  (in-module "Gtk")
  (c-name "GtkPathPriorityType")
  (gtype-id "GTK_TYPE_PATH_PRIORITY_TYPE")
  (values
    '("lowest" "GTK_PATH_PRIO_LOWEST")
    '("gtk" "GTK_PATH_PRIO_GTK")
    '("application" "GTK_PATH_PRIO_APPLICATION")
    '("theme" "GTK_PATH_PRIO_THEME")
    '("rc" "GTK_PATH_PRIO_RC")
    '("highest" "GTK_PATH_PRIO_HIGHEST")
  )
)

(define-enum PathType
  (in-module "Gtk")
  (c-name "GtkPathType")
  (gtype-id "GTK_TYPE_PATH_TYPE")
  (values
    '("widget" "GTK_PATH_WIDGET")
    '("widget-class" "GTK_PATH_WIDGET_CLASS")
    '("class" "GTK_PATH_CLASS")
  )
)

(define-enum ExpanderStyle
  (in-module "Gtk")
  (c-name "GtkExpanderStyle")
  (gtype-id "GTK_TYPE_EXPANDER_STYLE")
  (values
    '("collapsed" "GTK_EXPANDER_COLLAPSED")
    '("semi-collapsed" "GTK_EXPANDER_SEMI_COLLAPSED")
    '("semi-expanded" "GTK_EXPANDER_SEMI_EXPANDED")
    '("expanded" "GTK_EXPANDER_EXPANDED")
  )
)

(define-flags AttachOptions
  (in-module "Gtk")
  (c-name "GtkAttachOptions")
  (gtype-id "GTK_TYPE_ATTACH_OPTIONS")
  (values
    '("expand" "GTK_EXPAND")
    '("shrink" "GTK_SHRINK")
    '("fill" "GTK_FILL")
  )
)

(define-flags UIManagerItemType
  (in-module "Gtk")
  (c-name "GtkUIManagerItemType")
  (gtype-id "GTK_TYPE_UI_MANAGER_ITEM_TYPE")
  (values
    '("auto" "GTK_UI_MANAGER_AUTO")
    '("menubar" "GTK_UI_MANAGER_MENUBAR")
    '("menu" "GTK_UI_MANAGER_MENU")
    '("toolbar" "GTK_UI_MANAGER_TOOLBAR")
    '("placeholder" "GTK_UI_MANAGER_PLACEHOLDER")
    '("popup" "GTK_UI_MANAGER_POPUP")
    '("menuitem" "GTK_UI_MANAGER_MENUITEM")
    '("toolitem" "GTK_UI_MANAGER_TOOLITEM")
    '("separator" "GTK_UI_MANAGER_SEPARATOR")
    '("accelerator" "GTK_UI_MANAGER_ACCELERATOR")
    '("popup-with-accels" "GTK_UI_MANAGER_POPUP_WITH_ACCELS")
  )
)


;; From gtk-a11y.h



;; From gtkaboutdialog.h

(define-function gtk_about_dialog_get_type
  (c-name "gtk_about_dialog_get_type")
  (return-type "GType")
)

(define-function gtk_about_dialog_new
  (c-name "gtk_about_dialog_new")
  (is-constructor-of "GtkAboutDialog")
  (return-type "GtkWidget*")
)

(define-function gtk_show_about_dialog
  (c-name "gtk_show_about_dialog")
  (return-type "none")
  (parameters
    '("GtkWindow*" "parent")
    '("const-gchar*" "first_property_name")
  )
  (varargs #t)
)

(define-method get_program_name
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_program_name")
  (return-type "const-gchar*")
)

(define-method set_program_name
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_program_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_version
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_version")
  (return-type "const-gchar*")
)

(define-method set_version
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_version")
  (return-type "none")
  (parameters
    '("const-gchar*" "version")
  )
)

(define-method get_copyright
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_copyright")
  (return-type "const-gchar*")
)

(define-method set_copyright
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_copyright")
  (return-type "none")
  (parameters
    '("const-gchar*" "copyright")
  )
)

(define-method get_comments
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_comments")
  (return-type "const-gchar*")
)

(define-method set_comments
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_comments")
  (return-type "none")
  (parameters
    '("const-gchar*" "comments")
  )
)

(define-method get_license
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_license")
  (return-type "const-gchar*")
)

(define-method set_license
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_license")
  (return-type "none")
  (parameters
    '("const-gchar*" "license")
  )
)

(define-method set_license_type
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_license_type")
  (return-type "none")
  (parameters
    '("GtkLicense" "license_type")
  )
)

(define-method get_license_type
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_license_type")
  (return-type "GtkLicense")
)

(define-method get_wrap_license
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_wrap_license")
  (return-type "gboolean")
)

(define-method set_wrap_license
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_wrap_license")
  (return-type "none")
  (parameters
    '("gboolean" "wrap_license")
  )
)

(define-method get_website
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_website")
  (return-type "const-gchar*")
)

(define-method set_website
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_website")
  (return-type "none")
  (parameters
    '("const-gchar*" "website")
  )
)

(define-method get_website_label
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_website_label")
  (return-type "const-gchar*")
)

(define-method set_website_label
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_website_label")
  (return-type "none")
  (parameters
    '("const-gchar*" "website_label")
  )
)

(define-method get_authors
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_authors")
  (return-type "const-gchar*-const*")
)

(define-method set_authors
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_authors")
  (return-type "none")
  (parameters
    '("const-gchar**" "authors")
  )
)

(define-method get_documenters
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_documenters")
  (return-type "const-gchar*-const*")
)

(define-method set_documenters
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_documenters")
  (return-type "none")
  (parameters
    '("const-gchar**" "documenters")
  )
)

(define-method get_artists
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_artists")
  (return-type "const-gchar*-const*")
)

(define-method set_artists
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_artists")
  (return-type "none")
  (parameters
    '("const-gchar**" "artists")
  )
)

(define-method get_translator_credits
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_translator_credits")
  (return-type "const-gchar*")
)

(define-method set_translator_credits
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_translator_credits")
  (return-type "none")
  (parameters
    '("const-gchar*" "translator_credits")
  )
)

(define-method get_logo
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_logo")
  (return-type "GdkPixbuf*")
)

(define-method set_logo
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_logo")
  (return-type "none")
  (parameters
    '("GdkPixbuf*" "logo")
  )
)

(define-method get_logo_icon_name
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_get_logo_icon_name")
  (return-type "const-gchar*")
)

(define-method set_logo_icon_name
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_set_logo_icon_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "icon_name")
  )
)

(define-method add_credit_section
  (of-object "GtkAboutDialog")
  (c-name "gtk_about_dialog_add_credit_section")
  (return-type "none")
  (parameters
    '("const-gchar*" "section_name")
    '("const-gchar**" "people")
  )
)



;; From gtkaccelgroup.h

(define-function gtk_accel_group_get_type
  (c-name "gtk_accel_group_get_type")
  (return-type "GType")
)

(define-function gtk_accel_group_new
  (c-name "gtk_accel_group_new")
  (is-constructor-of "GtkAccelGroup")
  (return-type "GtkAccelGroup*")
)

(define-method get_is_locked
  (of-object "GtkAccelGroup")
  (c-name "gtk_accel_group_get_is_locked")
  (return-type "gboolean")
)

(define-method get_modifier_mask
  (of-object "GtkAccelGroup")
  (c-name "gtk_accel_group_get_modifier_mask")
  (return-type "GdkModifierType")
)

(define-method lock
  (of-object "GtkAccelGroup")
  (c-name "gtk_accel_group_lock")
  (return-type "none")
)

(define-method unlock
  (of-object "GtkAccelGroup")
  (c-name "gtk_accel_group_unlock")
  (return-type "none")
)

(define-method connect
  (of-object "GtkAccelGroup")
  (c-name "gtk_accel_group_connect")
  (return-type "none")
  (parameters
    '("guint" "accel_key")
    '("GdkModifierType" "accel_mods")
    '("GtkAccelFlags" "accel_flags")
    '("GClosure*" "closure")
  )
)

(define-method connect_by_path
  (of-object "GtkAccelGroup")
  (c-name "gtk_accel_group_connect_by_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "accel_path")
    '("GClosure*" "closure")
  )
)

(define-method disconnect
  (of-object "GtkAccelGroup")
  (c-name "gtk_accel_group_disconnect")
  (return-type "gboolean")
  (parameters
    '("GClosure*" "closure")
  )
)

(define-method disconnect_key
  (of-object "GtkAccelGroup")
  (c-name "gtk_accel_group_disconnect_key")
  (return-type "gboolean")
  (parameters
    '("guint" "accel_key")
    '("GdkModifierType" "accel_mods")
  )
)

(define-method activate
  (of-object "GtkAccelGroup")
  (c-name "gtk_accel_group_activate")
  (return-type "gboolean")
  (parameters
    '("GQuark" "accel_quark")
    '("GObject*" "acceleratable")
    '("guint" "accel_key")
    '("GdkModifierType" "accel_mods")
  )
)

(define-function gtk_accel_groups_activate
  (c-name "gtk_accel_groups_activate")
  (return-type "gboolean")
  (parameters
    '("GObject*" "object")
    '("guint" "accel_key")
    '("GdkModifierType" "accel_mods")
  )
)

(define-function gtk_accel_groups_from_object
  (c-name "gtk_accel_groups_from_object")
  (return-type "GSList*")
  (parameters
    '("GObject*" "object")
  )
)

(define-method find
  (of-object "GtkAccelGroup")
  (c-name "gtk_accel_group_find")
  (return-type "GtkAccelKey*")
  (parameters
    '("GtkAccelGroupFindFunc" "find_func")
    '("gpointer" "data")
  )
)

(define-function gtk_accel_group_from_accel_closure
  (c-name "gtk_accel_group_from_accel_closure")
  (return-type "GtkAccelGroup*")
  (parameters
    '("GClosure*" "closure")
  )
)

(define-function gtk_accelerator_valid
  (c-name "gtk_accelerator_valid")
  (return-type "gboolean")
  (parameters
    '("guint" "keyval")
    '("GdkModifierType" "modifiers")
  )
)

(define-function gtk_accelerator_parse
  (c-name "gtk_accelerator_parse")
  (return-type "none")
  (parameters
    '("const-gchar*" "accelerator")
    '("guint*" "accelerator_key")
    '("GdkModifierType*" "accelerator_mods")
  )
)

(define-function gtk_accelerator_parse_with_keycode
  (c-name "gtk_accelerator_parse_with_keycode")
  (return-type "none")
  (parameters
    '("const-gchar*" "accelerator")
    '("guint*" "accelerator_key")
    '("guint**" "accelerator_codes")
    '("GdkModifierType*" "accelerator_mods")
  )
)

(define-function gtk_accelerator_name
  (c-name "gtk_accelerator_name")
  (return-type "gchar*")
  (parameters
    '("guint" "accelerator_key")
    '("GdkModifierType" "accelerator_mods")
  )
)

(define-function gtk_accelerator_name_with_keycode
  (c-name "gtk_accelerator_name_with_keycode")
  (return-type "gchar*")
  (parameters
    '("GdkDisplay*" "display")
    '("guint" "accelerator_key")
    '("guint" "keycode")
    '("GdkModifierType" "accelerator_mods")
  )
)

(define-function gtk_accelerator_get_label
  (c-name "gtk_accelerator_get_label")
  (return-type "gchar*")
  (parameters
    '("guint" "accelerator_key")
    '("GdkModifierType" "accelerator_mods")
  )
)

(define-function gtk_accelerator_get_label_with_keycode
  (c-name "gtk_accelerator_get_label_with_keycode")
  (return-type "gchar*")
  (parameters
    '("GdkDisplay*" "display")
    '("guint" "accelerator_key")
    '("guint" "keycode")
    '("GdkModifierType" "accelerator_mods")
  )
)

(define-function gtk_accelerator_set_default_mod_mask
  (c-name "gtk_accelerator_set_default_mod_mask")
  (return-type "none")
  (parameters
    '("GdkModifierType" "default_mod_mask")
  )
)

(define-function gtk_accelerator_get_default_mod_mask
  (c-name "gtk_accelerator_get_default_mod_mask")
  (return-type "GdkModifierType")
)

(define-method query
  (of-object "GtkAccelGroup")
  (c-name "gtk_accel_group_query")
  (return-type "GtkAccelGroupEntry*")
  (parameters
    '("guint" "accel_key")
    '("GdkModifierType" "accel_mods")
    '("guint*" "n_entries")
  )
)



;; From gtkaccellabel.h

(define-function gtk_accel_label_get_type
  (c-name "gtk_accel_label_get_type")
  (return-type "GType")
)

(define-function gtk_accel_label_new
  (c-name "gtk_accel_label_new")
  (is-constructor-of "GtkAccelLabel")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "string")
  )
)

(define-method get_accel_widget
  (of-object "GtkAccelLabel")
  (c-name "gtk_accel_label_get_accel_widget")
  (return-type "GtkWidget*")
)

(define-method get_accel_width
  (of-object "GtkAccelLabel")
  (c-name "gtk_accel_label_get_accel_width")
  (return-type "guint")
)

(define-method set_accel_widget
  (of-object "GtkAccelLabel")
  (c-name "gtk_accel_label_set_accel_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "accel_widget")
  )
)

(define-method set_accel_closure
  (of-object "GtkAccelLabel")
  (c-name "gtk_accel_label_set_accel_closure")
  (return-type "none")
  (parameters
    '("GClosure*" "accel_closure")
  )
)

(define-method refetch
  (of-object "GtkAccelLabel")
  (c-name "gtk_accel_label_refetch")
  (return-type "gboolean")
)

(define-method set_accel
  (of-object "GtkAccelLabel")
  (c-name "gtk_accel_label_set_accel")
  (return-type "none")
  (parameters
    '("guint" "accelerator_key")
    '("GdkModifierType" "accelerator_mods")
  )
)

(define-method get_accel
  (of-object "GtkAccelLabel")
  (c-name "gtk_accel_label_get_accel")
  (return-type "none")
  (parameters
    '("guint*" "accelerator_key")
    '("GdkModifierType*" "accelerator_mods")
  )
)



;; From gtkaccelmap.h

(define-function gtk_accel_map_add_entry
  (c-name "gtk_accel_map_add_entry")
  (return-type "none")
  (parameters
    '("const-gchar*" "accel_path")
    '("guint" "accel_key")
    '("GdkModifierType" "accel_mods")
  )
)

(define-function gtk_accel_map_lookup_entry
  (c-name "gtk_accel_map_lookup_entry")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "accel_path")
    '("GtkAccelKey*" "key")
  )
)

(define-function gtk_accel_map_change_entry
  (c-name "gtk_accel_map_change_entry")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "accel_path")
    '("guint" "accel_key")
    '("GdkModifierType" "accel_mods")
    '("gboolean" "replace")
  )
)

(define-function gtk_accel_map_load
  (c-name "gtk_accel_map_load")
  (return-type "none")
  (parameters
    '("const-gchar*" "file_name")
  )
)

(define-function gtk_accel_map_save
  (c-name "gtk_accel_map_save")
  (return-type "none")
  (parameters
    '("const-gchar*" "file_name")
  )
)

(define-function gtk_accel_map_foreach
  (c-name "gtk_accel_map_foreach")
  (return-type "none")
  (parameters
    '("gpointer" "data")
    '("GtkAccelMapForeach" "foreach_func")
  )
)

(define-function gtk_accel_map_load_fd
  (c-name "gtk_accel_map_load_fd")
  (return-type "none")
  (parameters
    '("gint" "fd")
  )
)

(define-function gtk_accel_map_load_scanner
  (c-name "gtk_accel_map_load_scanner")
  (return-type "none")
  (parameters
    '("GScanner*" "scanner")
  )
)

(define-function gtk_accel_map_save_fd
  (c-name "gtk_accel_map_save_fd")
  (return-type "none")
  (parameters
    '("gint" "fd")
  )
)

(define-function gtk_accel_map_lock_path
  (c-name "gtk_accel_map_lock_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "accel_path")
  )
)

(define-function gtk_accel_map_unlock_path
  (c-name "gtk_accel_map_unlock_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "accel_path")
  )
)

(define-function gtk_accel_map_add_filter
  (c-name "gtk_accel_map_add_filter")
  (return-type "none")
  (parameters
    '("const-gchar*" "filter_pattern")
  )
)

(define-function gtk_accel_map_foreach_unfiltered
  (c-name "gtk_accel_map_foreach_unfiltered")
  (return-type "none")
  (parameters
    '("gpointer" "data")
    '("GtkAccelMapForeach" "foreach_func")
  )
)

(define-function gtk_accel_map_get_type
  (c-name "gtk_accel_map_get_type")
  (return-type "GType")
)

(define-function gtk_accel_map_get
  (c-name "gtk_accel_map_get")
  (return-type "GtkAccelMap*")
)



;; From gtkaccessible.h

(define-function gtk_accessible_get_type
  (c-name "gtk_accessible_get_type")
  (return-type "GType")
)

(define-method set_widget
  (of-object "GtkAccessible")
  (c-name "gtk_accessible_set_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method get_widget
  (of-object "GtkAccessible")
  (c-name "gtk_accessible_get_widget")
  (return-type "GtkWidget*")
)

(define-method connect_widget_destroyed
  (of-object "GtkAccessible")
  (c-name "gtk_accessible_connect_widget_destroyed")
  (return-type "none")
)



;; From gtkactionable.h

(define-function gtk_actionable_get_type
  (c-name "gtk_actionable_get_type")
  (return-type "GType")
)

(define-method get_action_name
  (of-object "GtkActionable")
  (c-name "gtk_actionable_get_action_name")
  (return-type "const-gchar*")
)

(define-method set_action_name
  (of-object "GtkActionable")
  (c-name "gtk_actionable_set_action_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method get_action_target_value
  (of-object "GtkActionable")
  (c-name "gtk_actionable_get_action_target_value")
  (return-type "GVariant*")
)

(define-method set_action_target_value
  (of-object "GtkActionable")
  (c-name "gtk_actionable_set_action_target_value")
  (return-type "none")
  (parameters
    '("GVariant*" "target_value")
  )
)

(define-method set_action_target
  (of-object "GtkActionable")
  (c-name "gtk_actionable_set_action_target")
  (return-type "none")
  (parameters
    '("const-gchar*" "format_string")
  )
  (varargs #t)
)

(define-method set_detailed_action_name
  (of-object "GtkActionable")
  (c-name "gtk_actionable_set_detailed_action_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "detailed_action_name")
  )
)



;; From gtkactionbar.h

(define-function gtk_action_bar_get_type
  (c-name "gtk_action_bar_get_type")
  (return-type "GType")
)

(define-function gtk_action_bar_new
  (c-name "gtk_action_bar_new")
  (is-constructor-of "GtkActionBar")
  (return-type "GtkWidget*")
)

(define-method get_center_widget
  (of-object "GtkActionBar")
  (c-name "gtk_action_bar_get_center_widget")
  (return-type "GtkWidget*")
)

(define-method set_center_widget
  (of-object "GtkActionBar")
  (c-name "gtk_action_bar_set_center_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "center_widget")
  )
)

(define-method pack_start
  (of-object "GtkActionBar")
  (c-name "gtk_action_bar_pack_start")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method pack_end
  (of-object "GtkActionBar")
  (c-name "gtk_action_bar_pack_end")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)



;; From gtkactionhelper.h



;; From gtkactionmuxer.h

(define-function gtk_action_muxer_get_type
  (c-name "gtk_action_muxer_get_type")
  (return-type "GType")
)

(define-function gtk_action_muxer_new
  (c-name "gtk_action_muxer_new")
  (is-constructor-of "GtkActionMuxer")
  (return-type "GtkActionMuxer*")
)

(define-method insert
  (of-object "GtkActionMuxer")
  (c-name "gtk_action_muxer_insert")
  (return-type "none")
  (parameters
    '("const-gchar*" "prefix")
    '("GActionGroup*" "action_group")
  )
)

(define-method remove
  (of-object "GtkActionMuxer")
  (c-name "gtk_action_muxer_remove")
  (return-type "none")
  (parameters
    '("const-gchar*" "prefix")
  )
)

(define-method list_prefixes
  (of-object "GtkActionMuxer")
  (c-name "gtk_action_muxer_list_prefixes")
  (return-type "const-gchar**")
)

(define-method lookup
  (of-object "GtkActionMuxer")
  (c-name "gtk_action_muxer_lookup")
  (return-type "GActionGroup*")
  (parameters
    '("const-gchar*" "prefix")
  )
)

(define-method get_parent
  (of-object "GtkActionMuxer")
  (c-name "gtk_action_muxer_get_parent")
  (return-type "GtkActionMuxer*")
)

(define-method set_parent
  (of-object "GtkActionMuxer")
  (c-name "gtk_action_muxer_set_parent")
  (return-type "none")
  (parameters
    '("GtkActionMuxer*" "parent")
  )
)

(define-method set_primary_accel
  (of-object "GtkActionMuxer")
  (c-name "gtk_action_muxer_set_primary_accel")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_and_target")
    '("const-gchar*" "primary_accel")
  )
)

(define-method get_primary_accel
  (of-object "GtkActionMuxer")
  (c-name "gtk_action_muxer_get_primary_accel")
  (return-type "const-gchar*")
  (parameters
    '("const-gchar*" "action_and_target")
  )
)

(define-function gtk_print_action_and_target
  (c-name "gtk_print_action_and_target")
  (return-type "gchar*")
  (parameters
    '("const-gchar*" "action_namespace")
    '("const-gchar*" "action_name")
    '("GVariant*" "target")
  )
)



;; From gtkactionobservable.h

(define-function gtk_action_observable_get_type
  (c-name "gtk_action_observable_get_type")
  (return-type "GType")
)

(define-method register_observer
  (of-object "GtkActionObservable")
  (c-name "gtk_action_observable_register_observer")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
    '("GtkActionObserver*" "observer")
  )
)

(define-method unregister_observer
  (of-object "GtkActionObservable")
  (c-name "gtk_action_observable_unregister_observer")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
    '("GtkActionObserver*" "observer")
  )
)



;; From gtkactionobserver.h

(define-function gtk_action_observer_get_type
  (c-name "gtk_action_observer_get_type")
  (return-type "GType")
)

(define-method action_added
  (of-object "GtkActionObserver")
  (c-name "gtk_action_observer_action_added")
  (return-type "none")
  (parameters
    '("GtkActionObservable*" "observable")
    '("const-gchar*" "action_name")
    '("const-GVariantType*" "parameter_type")
    '("gboolean" "enabled")
    '("GVariant*" "state")
  )
)

(define-method action_enabled_changed
  (of-object "GtkActionObserver")
  (c-name "gtk_action_observer_action_enabled_changed")
  (return-type "none")
  (parameters
    '("GtkActionObservable*" "observable")
    '("const-gchar*" "action_name")
    '("gboolean" "enabled")
  )
)

(define-method action_state_changed
  (of-object "GtkActionObserver")
  (c-name "gtk_action_observer_action_state_changed")
  (return-type "none")
  (parameters
    '("GtkActionObservable*" "observable")
    '("const-gchar*" "action_name")
    '("GVariant*" "state")
  )
)

(define-method action_removed
  (of-object "GtkActionObserver")
  (c-name "gtk_action_observer_action_removed")
  (return-type "none")
  (parameters
    '("GtkActionObservable*" "observable")
    '("const-gchar*" "action_name")
  )
)

(define-method primary_accel_changed
  (of-object "GtkActionObserver")
  (c-name "gtk_action_observer_primary_accel_changed")
  (return-type "none")
  (parameters
    '("GtkActionObservable*" "observable")
    '("const-gchar*" "action_name")
    '("const-gchar*" "action_and_target")
  )
)



;; From gtkadjustment.h

(define-function gtk_adjustment_get_type
  (c-name "gtk_adjustment_get_type")
  (return-type "GType")
)

(define-function gtk_adjustment_new
  (c-name "gtk_adjustment_new")
  (is-constructor-of "GtkAdjustment")
  (return-type "GtkAdjustment*")
  (parameters
    '("gdouble" "value")
    '("gdouble" "lower")
    '("gdouble" "upper")
    '("gdouble" "step_increment")
    '("gdouble" "page_increment")
    '("gdouble" "page_size")
  )
)

(define-method changed
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_changed")
  (return-type "none")
)

(define-method value_changed
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_value_changed")
  (return-type "none")
)

(define-method clamp_page
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_clamp_page")
  (return-type "none")
  (parameters
    '("gdouble" "lower")
    '("gdouble" "upper")
  )
)

(define-method get_value
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_get_value")
  (return-type "gdouble")
)

(define-method set_value
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_set_value")
  (return-type "none")
  (parameters
    '("gdouble" "value")
  )
)

(define-method get_lower
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_get_lower")
  (return-type "gdouble")
)

(define-method set_lower
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_set_lower")
  (return-type "none")
  (parameters
    '("gdouble" "lower")
  )
)

(define-method get_upper
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_get_upper")
  (return-type "gdouble")
)

(define-method set_upper
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_set_upper")
  (return-type "none")
  (parameters
    '("gdouble" "upper")
  )
)

(define-method get_step_increment
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_get_step_increment")
  (return-type "gdouble")
)

(define-method set_step_increment
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_set_step_increment")
  (return-type "none")
  (parameters
    '("gdouble" "step_increment")
  )
)

(define-method get_page_increment
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_get_page_increment")
  (return-type "gdouble")
)

(define-method set_page_increment
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_set_page_increment")
  (return-type "none")
  (parameters
    '("gdouble" "page_increment")
  )
)

(define-method get_page_size
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_get_page_size")
  (return-type "gdouble")
)

(define-method set_page_size
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_set_page_size")
  (return-type "none")
  (parameters
    '("gdouble" "page_size")
  )
)

(define-method configure
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_configure")
  (return-type "none")
  (parameters
    '("gdouble" "value")
    '("gdouble" "lower")
    '("gdouble" "upper")
    '("gdouble" "step_increment")
    '("gdouble" "page_increment")
    '("gdouble" "page_size")
  )
)

(define-method get_minimum_increment
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_get_minimum_increment")
  (return-type "gdouble")
)



;; From gtkappchooserbutton.h

(define-function gtk_app_chooser_button_get_type
  (c-name "gtk_app_chooser_button_get_type")
  (return-type "GType")
)

(define-function gtk_app_chooser_button_new
  (c-name "gtk_app_chooser_button_new")
  (is-constructor-of "GtkAppChooserButton")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "content_type")
  )
)

(define-method append_separator
  (of-object "GtkAppChooserButton")
  (c-name "gtk_app_chooser_button_append_separator")
  (return-type "none")
)

(define-method append_custom_item
  (of-object "GtkAppChooserButton")
  (c-name "gtk_app_chooser_button_append_custom_item")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("const-gchar*" "label")
    '("GIcon*" "icon")
  )
)

(define-method set_active_custom_item
  (of-object "GtkAppChooserButton")
  (c-name "gtk_app_chooser_button_set_active_custom_item")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method set_show_dialog_item
  (of-object "GtkAppChooserButton")
  (c-name "gtk_app_chooser_button_set_show_dialog_item")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_show_dialog_item
  (of-object "GtkAppChooserButton")
  (c-name "gtk_app_chooser_button_get_show_dialog_item")
  (return-type "gboolean")
)

(define-method set_heading
  (of-object "GtkAppChooserButton")
  (c-name "gtk_app_chooser_button_set_heading")
  (return-type "none")
  (parameters
    '("const-gchar*" "heading")
  )
)

(define-method get_heading
  (of-object "GtkAppChooserButton")
  (c-name "gtk_app_chooser_button_get_heading")
  (return-type "const-gchar*")
)

(define-method set_show_default_item
  (of-object "GtkAppChooserButton")
  (c-name "gtk_app_chooser_button_set_show_default_item")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_show_default_item
  (of-object "GtkAppChooserButton")
  (c-name "gtk_app_chooser_button_get_show_default_item")
  (return-type "gboolean")
)



;; From gtkappchooserdialog.h

(define-function gtk_app_chooser_dialog_get_type
  (c-name "gtk_app_chooser_dialog_get_type")
  (return-type "GType")
)

(define-function gtk_app_chooser_dialog_new
  (c-name "gtk_app_chooser_dialog_new")
  (is-constructor-of "GtkAppChooserDialog")
  (return-type "GtkWidget*")
  (parameters
    '("GtkWindow*" "parent")
    '("GtkDialogFlags" "flags")
    '("GFile*" "file")
  )
)

(define-function gtk_app_chooser_dialog_new_for_content_type
  (c-name "gtk_app_chooser_dialog_new_for_content_type")
  (return-type "GtkWidget*")
  (parameters
    '("GtkWindow*" "parent")
    '("GtkDialogFlags" "flags")
    '("const-gchar*" "content_type")
  )
)

(define-method get_widget
  (of-object "GtkAppChooserDialog")
  (c-name "gtk_app_chooser_dialog_get_widget")
  (return-type "GtkWidget*")
)

(define-method set_heading
  (of-object "GtkAppChooserDialog")
  (c-name "gtk_app_chooser_dialog_set_heading")
  (return-type "none")
  (parameters
    '("const-gchar*" "heading")
  )
)

(define-method get_heading
  (of-object "GtkAppChooserDialog")
  (c-name "gtk_app_chooser_dialog_get_heading")
  (return-type "const-gchar*")
)



;; From gtkappchooser.h

(define-function gtk_app_chooser_get_type
  (c-name "gtk_app_chooser_get_type")
  (return-type "GType")
)

(define-method get_app_info
  (of-object "GtkAppChooser")
  (c-name "gtk_app_chooser_get_app_info")
  (return-type "GAppInfo*")
)

(define-method get_content_type
  (of-object "GtkAppChooser")
  (c-name "gtk_app_chooser_get_content_type")
  (return-type "gchar*")
)

(define-method refresh
  (of-object "GtkAppChooser")
  (c-name "gtk_app_chooser_refresh")
  (return-type "none")
)



;; From gtkappchooserwidget.h

(define-function gtk_app_chooser_widget_get_type
  (c-name "gtk_app_chooser_widget_get_type")
  (return-type "GType")
)

(define-function gtk_app_chooser_widget_new
  (c-name "gtk_app_chooser_widget_new")
  (is-constructor-of "GtkAppChooserWidget")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "content_type")
  )
)

(define-method set_show_default
  (of-object "GtkAppChooserWidget")
  (c-name "gtk_app_chooser_widget_set_show_default")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_show_default
  (of-object "GtkAppChooserWidget")
  (c-name "gtk_app_chooser_widget_get_show_default")
  (return-type "gboolean")
)

(define-method set_show_recommended
  (of-object "GtkAppChooserWidget")
  (c-name "gtk_app_chooser_widget_set_show_recommended")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_show_recommended
  (of-object "GtkAppChooserWidget")
  (c-name "gtk_app_chooser_widget_get_show_recommended")
  (return-type "gboolean")
)

(define-method set_show_fallback
  (of-object "GtkAppChooserWidget")
  (c-name "gtk_app_chooser_widget_set_show_fallback")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_show_fallback
  (of-object "GtkAppChooserWidget")
  (c-name "gtk_app_chooser_widget_get_show_fallback")
  (return-type "gboolean")
)

(define-method set_show_other
  (of-object "GtkAppChooserWidget")
  (c-name "gtk_app_chooser_widget_set_show_other")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_show_other
  (of-object "GtkAppChooserWidget")
  (c-name "gtk_app_chooser_widget_get_show_other")
  (return-type "gboolean")
)

(define-method set_show_all
  (of-object "GtkAppChooserWidget")
  (c-name "gtk_app_chooser_widget_set_show_all")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_show_all
  (of-object "GtkAppChooserWidget")
  (c-name "gtk_app_chooser_widget_get_show_all")
  (return-type "gboolean")
)

(define-method set_default_text
  (of-object "GtkAppChooserWidget")
  (c-name "gtk_app_chooser_widget_set_default_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method get_default_text
  (of-object "GtkAppChooserWidget")
  (c-name "gtk_app_chooser_widget_get_default_text")
  (return-type "const-gchar*")
)



;; From gtkapplication.h

(define-function gtk_application_get_type
  (c-name "gtk_application_get_type")
  (return-type "GType")
)

(define-function gtk_application_new
  (c-name "gtk_application_new")
  (is-constructor-of "GtkApplication")
  (return-type "GtkApplication*")
  (parameters
    '("const-gchar*" "application_id")
    '("GApplicationFlags" "flags")
  )
)

(define-method add_window
  (of-object "GtkApplication")
  (c-name "gtk_application_add_window")
  (return-type "none")
  (parameters
    '("GtkWindow*" "window")
  )
)

(define-method remove_window
  (of-object "GtkApplication")
  (c-name "gtk_application_remove_window")
  (return-type "none")
  (parameters
    '("GtkWindow*" "window")
  )
)

(define-method get_windows
  (of-object "GtkApplication")
  (c-name "gtk_application_get_windows")
  (return-type "GList*")
)

(define-method get_app_menu
  (of-object "GtkApplication")
  (c-name "gtk_application_get_app_menu")
  (return-type "GMenuModel*")
)

(define-method set_app_menu
  (of-object "GtkApplication")
  (c-name "gtk_application_set_app_menu")
  (return-type "none")
  (parameters
    '("GMenuModel*" "app_menu")
  )
)

(define-method get_menubar
  (of-object "GtkApplication")
  (c-name "gtk_application_get_menubar")
  (return-type "GMenuModel*")
)

(define-method set_menubar
  (of-object "GtkApplication")
  (c-name "gtk_application_set_menubar")
  (return-type "none")
  (parameters
    '("GMenuModel*" "menubar")
  )
)

(define-method add_accelerator
  (of-object "GtkApplication")
  (c-name "gtk_application_add_accelerator")
  (return-type "none")
  (parameters
    '("const-gchar*" "accelerator")
    '("const-gchar*" "action_name")
    '("GVariant*" "parameter")
  )
)

(define-method remove_accelerator
  (of-object "GtkApplication")
  (c-name "gtk_application_remove_accelerator")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
    '("GVariant*" "parameter")
  )
)

(define-method inhibit
  (of-object "GtkApplication")
  (c-name "gtk_application_inhibit")
  (return-type "guint")
  (parameters
    '("GtkWindow*" "window")
    '("GtkApplicationInhibitFlags" "flags")
    '("const-gchar*" "reason")
  )
)

(define-method uninhibit
  (of-object "GtkApplication")
  (c-name "gtk_application_uninhibit")
  (return-type "none")
  (parameters
    '("guint" "cookie")
  )
)

(define-method is_inhibited
  (of-object "GtkApplication")
  (c-name "gtk_application_is_inhibited")
  (return-type "gboolean")
  (parameters
    '("GtkApplicationInhibitFlags" "flags")
  )
)

(define-method get_window_by_id
  (of-object "GtkApplication")
  (c-name "gtk_application_get_window_by_id")
  (return-type "GtkWindow*")
  (parameters
    '("guint" "id")
  )
)

(define-method get_active_window
  (of-object "GtkApplication")
  (c-name "gtk_application_get_active_window")
  (return-type "GtkWindow*")
)

(define-method list_action_descriptions
  (of-object "GtkApplication")
  (c-name "gtk_application_list_action_descriptions")
  (return-type "gchar**")
)

(define-method get_accels_for_action
  (of-object "GtkApplication")
  (c-name "gtk_application_get_accels_for_action")
  (return-type "gchar**")
  (parameters
    '("const-gchar*" "detailed_action_name")
  )
)

(define-method get_actions_for_accel
  (of-object "GtkApplication")
  (c-name "gtk_application_get_actions_for_accel")
  (return-type "gchar**")
  (parameters
    '("const-gchar*" "accel")
  )
)

(define-method set_accels_for_action
  (of-object "GtkApplication")
  (c-name "gtk_application_set_accels_for_action")
  (return-type "none")
  (parameters
    '("const-gchar*" "detailed_action_name")
    '("const-gchar*-const*" "accels")
  )
)

(define-method prefers_app_menu
  (of-object "GtkApplication")
  (c-name "gtk_application_prefers_app_menu")
  (return-type "gboolean")
)

(define-method get_menu_by_id
  (of-object "GtkApplication")
  (c-name "gtk_application_get_menu_by_id")
  (return-type "GMenu*")
  (parameters
    '("const-gchar*" "id")
  )
)



;; From gtkapplicationwindow.h

(define-function gtk_application_window_get_type
  (c-name "gtk_application_window_get_type")
  (return-type "GType")
)

(define-method window_new
  (of-object "GtkApplication")
  (c-name "gtk_application_window_new")
  (return-type "GtkWidget*")
)

(define-method set_show_menubar
  (of-object "GtkApplicationWindow")
  (c-name "gtk_application_window_set_show_menubar")
  (return-type "none")
  (parameters
    '("gboolean" "show_menubar")
  )
)

(define-method get_show_menubar
  (of-object "GtkApplicationWindow")
  (c-name "gtk_application_window_get_show_menubar")
  (return-type "gboolean")
)

(define-method get_id
  (of-object "GtkApplicationWindow")
  (c-name "gtk_application_window_get_id")
  (return-type "guint")
)



;; From gtkaspectframe.h

(define-function gtk_aspect_frame_get_type
  (c-name "gtk_aspect_frame_get_type")
  (return-type "GType")
)

(define-function gtk_aspect_frame_new
  (c-name "gtk_aspect_frame_new")
  (is-constructor-of "GtkAspectFrame")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
    '("gfloat" "xalign")
    '("gfloat" "yalign")
    '("gfloat" "ratio")
    '("gboolean" "obey_child")
  )
)

(define-method set
  (of-object "GtkAspectFrame")
  (c-name "gtk_aspect_frame_set")
  (return-type "none")
  (parameters
    '("gfloat" "xalign")
    '("gfloat" "yalign")
    '("gfloat" "ratio")
    '("gboolean" "obey_child")
  )
)



;; From gtkassistant.h

(define-function gtk_assistant_get_type
  (c-name "gtk_assistant_get_type")
  (return-type "GType")
)

(define-function gtk_assistant_new
  (c-name "gtk_assistant_new")
  (is-constructor-of "GtkAssistant")
  (return-type "GtkWidget*")
)

(define-method next_page
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_next_page")
  (return-type "none")
)

(define-method previous_page
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_previous_page")
  (return-type "none")
)

(define-method get_current_page
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_get_current_page")
  (return-type "gint")
)

(define-method set_current_page
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_set_current_page")
  (return-type "none")
  (parameters
    '("gint" "page_num")
  )
)

(define-method get_n_pages
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_get_n_pages")
  (return-type "gint")
)

(define-method get_nth_page
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_get_nth_page")
  (return-type "GtkWidget*")
  (parameters
    '("gint" "page_num")
  )
)

(define-method prepend_page
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_prepend_page")
  (return-type "gint")
  (parameters
    '("GtkWidget*" "page")
  )
)

(define-method append_page
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_append_page")
  (return-type "gint")
  (parameters
    '("GtkWidget*" "page")
  )
)

(define-method insert_page
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_insert_page")
  (return-type "gint")
  (parameters
    '("GtkWidget*" "page")
    '("gint" "position")
  )
)

(define-method remove_page
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_remove_page")
  (return-type "none")
  (parameters
    '("gint" "page_num")
  )
)

(define-method set_forward_page_func
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_set_forward_page_func")
  (return-type "none")
  (parameters
    '("GtkAssistantPageFunc" "page_func")
    '("gpointer" "data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method set_page_type
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_set_page_type")
  (return-type "none")
  (parameters
    '("GtkWidget*" "page")
    '("GtkAssistantPageType" "type")
  )
)

(define-method get_page_type
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_get_page_type")
  (return-type "GtkAssistantPageType")
  (parameters
    '("GtkWidget*" "page")
  )
)

(define-method set_page_title
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_set_page_title")
  (return-type "none")
  (parameters
    '("GtkWidget*" "page")
    '("const-gchar*" "title")
  )
)

(define-method get_page_title
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_get_page_title")
  (return-type "const-gchar*")
  (parameters
    '("GtkWidget*" "page")
  )
)

(define-method set_page_header_image
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_set_page_header_image")
  (return-type "none")
  (parameters
    '("GtkWidget*" "page")
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-method get_page_header_image
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_get_page_header_image")
  (return-type "GdkPixbuf*")
  (parameters
    '("GtkWidget*" "page")
  )
)

(define-method set_page_side_image
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_set_page_side_image")
  (return-type "none")
  (parameters
    '("GtkWidget*" "page")
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-method get_page_side_image
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_get_page_side_image")
  (return-type "GdkPixbuf*")
  (parameters
    '("GtkWidget*" "page")
  )
)

(define-method set_page_complete
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_set_page_complete")
  (return-type "none")
  (parameters
    '("GtkWidget*" "page")
    '("gboolean" "complete")
  )
)

(define-method get_page_complete
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_get_page_complete")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "page")
  )
)

(define-method add_action_widget
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_add_action_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method remove_action_widget
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_remove_action_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method update_buttons_state
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_update_buttons_state")
  (return-type "none")
)

(define-method commit
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_commit")
  (return-type "none")
)

(define-method set_page_has_padding
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_set_page_has_padding")
  (return-type "none")
  (parameters
    '("GtkWidget*" "page")
    '("gboolean" "has_padding")
  )
)

(define-method get_page_has_padding
  (of-object "GtkAssistant")
  (c-name "gtk_assistant_get_page_has_padding")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "page")
  )
)



;; From gtk-autocleanups.h



;; From gtkbbox.h

(define-function gtk_button_box_get_type
  (c-name "gtk_button_box_get_type")
  (return-type "GType")
)

(define-function gtk_button_box_new
  (c-name "gtk_button_box_new")
  (is-constructor-of "GtkButtonBox")
  (return-type "GtkWidget*")
  (parameters
    '("GtkOrientation" "orientation")
  )
)

(define-method get_layout
  (of-object "GtkButtonBox")
  (c-name "gtk_button_box_get_layout")
  (return-type "GtkButtonBoxStyle")
)

(define-method set_layout
  (of-object "GtkButtonBox")
  (c-name "gtk_button_box_set_layout")
  (return-type "none")
  (parameters
    '("GtkButtonBoxStyle" "layout_style")
  )
)

(define-method get_child_secondary
  (of-object "GtkButtonBox")
  (c-name "gtk_button_box_get_child_secondary")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method set_child_secondary
  (of-object "GtkButtonBox")
  (c-name "gtk_button_box_set_child_secondary")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gboolean" "is_secondary")
  )
)

(define-method get_child_non_homogeneous
  (of-object "GtkButtonBox")
  (c-name "gtk_button_box_get_child_non_homogeneous")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method set_child_non_homogeneous
  (of-object "GtkButtonBox")
  (c-name "gtk_button_box_set_child_non_homogeneous")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gboolean" "non_homogeneous")
  )
)



;; From gtkbindings.h

(define-function gtk_binding_set_new
  (c-name "gtk_binding_set_new")
  (is-constructor-of "GtkBindingSet")
  (return-type "GtkBindingSet*")
  (parameters
    '("const-gchar*" "set_name")
  )
)

(define-function gtk_binding_set_by_class
  (c-name "gtk_binding_set_by_class")
  (return-type "GtkBindingSet*")
  (parameters
    '("gpointer" "object_class")
  )
)

(define-function gtk_binding_set_find
  (c-name "gtk_binding_set_find")
  (return-type "GtkBindingSet*")
  (parameters
    '("const-gchar*" "set_name")
  )
)

(define-function gtk_bindings_activate
  (c-name "gtk_bindings_activate")
  (return-type "gboolean")
  (parameters
    '("GObject*" "object")
    '("guint" "keyval")
    '("GdkModifierType" "modifiers")
  )
)

(define-function gtk_bindings_activate_event
  (c-name "gtk_bindings_activate_event")
  (return-type "gboolean")
  (parameters
    '("GObject*" "object")
    '("GdkEventKey*" "event")
  )
)

(define-method activate
  (of-object "GtkBindingSet")
  (c-name "gtk_binding_set_activate")
  (return-type "gboolean")
  (parameters
    '("guint" "keyval")
    '("GdkModifierType" "modifiers")
    '("GObject*" "object")
  )
)

(define-function gtk_binding_entry_skip
  (c-name "gtk_binding_entry_skip")
  (return-type "none")
  (parameters
    '("GtkBindingSet*" "binding_set")
    '("guint" "keyval")
    '("GdkModifierType" "modifiers")
  )
)

(define-function gtk_binding_entry_add_signal
  (c-name "gtk_binding_entry_add_signal")
  (return-type "none")
  (parameters
    '("GtkBindingSet*" "binding_set")
    '("guint" "keyval")
    '("GdkModifierType" "modifiers")
    '("const-gchar*" "signal_name")
    '("guint" "n_args")
  )
  (varargs #t)
)

(define-function gtk_binding_entry_add_signall
  (c-name "gtk_binding_entry_add_signall")
  (return-type "none")
  (parameters
    '("GtkBindingSet*" "binding_set")
    '("guint" "keyval")
    '("GdkModifierType" "modifiers")
    '("const-gchar*" "signal_name")
    '("GSList*" "binding_args")
  )
)

(define-function gtk_binding_entry_add_signal_from_string
  (c-name "gtk_binding_entry_add_signal_from_string")
  (return-type "GTokenType")
  (parameters
    '("GtkBindingSet*" "binding_set")
    '("const-gchar*" "signal_desc")
  )
)

(define-function gtk_binding_entry_remove
  (c-name "gtk_binding_entry_remove")
  (return-type "none")
  (parameters
    '("GtkBindingSet*" "binding_set")
    '("guint" "keyval")
    '("GdkModifierType" "modifiers")
  )
)



;; From gtkbin.h

(define-function gtk_bin_get_type
  (c-name "gtk_bin_get_type")
  (return-type "GType")
)

(define-method get_child
  (of-object "GtkBin")
  (c-name "gtk_bin_get_child")
  (return-type "GtkWidget*")
)



;; From gtkbitmaskprivateimpl.h



;; From gtkbookmarksmanager.h



;; From gtkborder.h

(define-function gtk_border_get_type
  (c-name "gtk_border_get_type")
  (return-type "GType")
)

(define-function gtk_border_new
  (c-name "gtk_border_new")
  (is-constructor-of "GtkBorder")
  (return-type "GtkBorder*")
)

(define-method copy
  (of-object "GtkBorder")
  (c-name "gtk_border_copy")
  (return-type "GtkBorder*")
)

(define-method free
  (of-object "GtkBorder")
  (c-name "gtk_border_free")
  (return-type "none")
)



;; From gtkbox.h

(define-function gtk_box_get_type
  (c-name "gtk_box_get_type")
  (return-type "GType")
)

(define-function gtk_box_new
  (c-name "gtk_box_new")
  (is-constructor-of "GtkBox")
  (return-type "GtkWidget*")
  (parameters
    '("GtkOrientation" "orientation")
    '("gint" "spacing")
  )
)

(define-method pack_start
  (of-object "GtkBox")
  (c-name "gtk_box_pack_start")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gboolean" "expand")
    '("gboolean" "fill")
    '("guint" "padding")
  )
)

(define-method pack_end
  (of-object "GtkBox")
  (c-name "gtk_box_pack_end")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gboolean" "expand")
    '("gboolean" "fill")
    '("guint" "padding")
  )
)

(define-method set_homogeneous
  (of-object "GtkBox")
  (c-name "gtk_box_set_homogeneous")
  (return-type "none")
  (parameters
    '("gboolean" "homogeneous")
  )
)

(define-method get_homogeneous
  (of-object "GtkBox")
  (c-name "gtk_box_get_homogeneous")
  (return-type "gboolean")
)

(define-method set_spacing
  (of-object "GtkBox")
  (c-name "gtk_box_set_spacing")
  (return-type "none")
  (parameters
    '("gint" "spacing")
  )
)

(define-method get_spacing
  (of-object "GtkBox")
  (c-name "gtk_box_get_spacing")
  (return-type "gint")
)

(define-method set_baseline_position
  (of-object "GtkBox")
  (c-name "gtk_box_set_baseline_position")
  (return-type "none")
  (parameters
    '("GtkBaselinePosition" "position")
  )
)

(define-method get_baseline_position
  (of-object "GtkBox")
  (c-name "gtk_box_get_baseline_position")
  (return-type "GtkBaselinePosition")
)

(define-method reorder_child
  (of-object "GtkBox")
  (c-name "gtk_box_reorder_child")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gint" "position")
  )
)

(define-method query_child_packing
  (of-object "GtkBox")
  (c-name "gtk_box_query_child_packing")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gboolean*" "expand")
    '("gboolean*" "fill")
    '("guint*" "padding")
    '("GtkPackType*" "pack_type")
  )
)

(define-method set_child_packing
  (of-object "GtkBox")
  (c-name "gtk_box_set_child_packing")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gboolean" "expand")
    '("gboolean" "fill")
    '("guint" "padding")
    '("GtkPackType" "pack_type")
  )
)

(define-method set_center_widget
  (of-object "GtkBox")
  (c-name "gtk_box_set_center_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method get_center_widget
  (of-object "GtkBox")
  (c-name "gtk_box_get_center_widget")
  (return-type "GtkWidget*")
)



;; From gtkbuildable.h

(define-function gtk_buildable_get_type
  (c-name "gtk_buildable_get_type")
  (return-type "GType")
)

(define-method set_name
  (of-object "GtkBuildable")
  (c-name "gtk_buildable_set_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_name
  (of-object "GtkBuildable")
  (c-name "gtk_buildable_get_name")
  (return-type "const-gchar*")
)

(define-method add_child
  (of-object "GtkBuildable")
  (c-name "gtk_buildable_add_child")
  (return-type "none")
  (parameters
    '("GtkBuilder*" "builder")
    '("GObject*" "child")
    '("const-gchar*" "type")
  )
)

(define-method set_buildable_property
  (of-object "GtkBuildable")
  (c-name "gtk_buildable_set_buildable_property")
  (return-type "none")
  (parameters
    '("GtkBuilder*" "builder")
    '("const-gchar*" "name")
    '("const-GValue*" "value")
  )
)

(define-method construct_child
  (of-object "GtkBuildable")
  (c-name "gtk_buildable_construct_child")
  (return-type "GObject*")
  (parameters
    '("GtkBuilder*" "builder")
    '("const-gchar*" "name")
  )
)

(define-method custom_tag_start
  (of-object "GtkBuildable")
  (c-name "gtk_buildable_custom_tag_start")
  (return-type "gboolean")
  (parameters
    '("GtkBuilder*" "builder")
    '("GObject*" "child")
    '("const-gchar*" "tagname")
    '("GMarkupParser*" "parser")
    '("gpointer*" "data")
  )
)

(define-method custom_tag_end
  (of-object "GtkBuildable")
  (c-name "gtk_buildable_custom_tag_end")
  (return-type "none")
  (parameters
    '("GtkBuilder*" "builder")
    '("GObject*" "child")
    '("const-gchar*" "tagname")
    '("gpointer*" "data")
  )
)

(define-method custom_finished
  (of-object "GtkBuildable")
  (c-name "gtk_buildable_custom_finished")
  (return-type "none")
  (parameters
    '("GtkBuilder*" "builder")
    '("GObject*" "child")
    '("const-gchar*" "tagname")
    '("gpointer" "data")
  )
)

(define-method parser_finished
  (of-object "GtkBuildable")
  (c-name "gtk_buildable_parser_finished")
  (return-type "none")
  (parameters
    '("GtkBuilder*" "builder")
  )
)

(define-method get_internal_child
  (of-object "GtkBuildable")
  (c-name "gtk_buildable_get_internal_child")
  (return-type "GObject*")
  (parameters
    '("GtkBuilder*" "builder")
    '("const-gchar*" "childname")
  )
)



;; From gtkbuilder.h

(define-function gtk_builder_error_quark
  (c-name "gtk_builder_error_quark")
  (return-type "GQuark")
)

(define-function gtk_builder_get_type
  (c-name "gtk_builder_get_type")
  (return-type "GType")
)

(define-function gtk_builder_new
  (c-name "gtk_builder_new")
  (is-constructor-of "GtkBuilder")
  (return-type "GtkBuilder*")
)

(define-method add_from_file
  (of-object "GtkBuilder")
  (c-name "gtk_builder_add_from_file")
  (return-type "guint")
  (parameters
    '("const-gchar*" "filename")
    '("GError**" "error")
  )
)

(define-method add_from_resource
  (of-object "GtkBuilder")
  (c-name "gtk_builder_add_from_resource")
  (return-type "guint")
  (parameters
    '("const-gchar*" "resource_path")
    '("GError**" "error")
  )
)

(define-method add_from_string
  (of-object "GtkBuilder")
  (c-name "gtk_builder_add_from_string")
  (return-type "guint")
  (parameters
    '("const-gchar*" "buffer")
    '("gsize" "length")
    '("GError**" "error")
  )
)

(define-method add_objects_from_file
  (of-object "GtkBuilder")
  (c-name "gtk_builder_add_objects_from_file")
  (return-type "guint")
  (parameters
    '("const-gchar*" "filename")
    '("gchar**" "object_ids")
    '("GError**" "error")
  )
)

(define-method add_objects_from_resource
  (of-object "GtkBuilder")
  (c-name "gtk_builder_add_objects_from_resource")
  (return-type "guint")
  (parameters
    '("const-gchar*" "resource_path")
    '("gchar**" "object_ids")
    '("GError**" "error")
  )
)

(define-method add_objects_from_string
  (of-object "GtkBuilder")
  (c-name "gtk_builder_add_objects_from_string")
  (return-type "guint")
  (parameters
    '("const-gchar*" "buffer")
    '("gsize" "length")
    '("gchar**" "object_ids")
    '("GError**" "error")
  )
)

(define-method get_object
  (of-object "GtkBuilder")
  (c-name "gtk_builder_get_object")
  (return-type "GObject*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_objects
  (of-object "GtkBuilder")
  (c-name "gtk_builder_get_objects")
  (return-type "GSList*")
)

(define-method expose_object
  (of-object "GtkBuilder")
  (c-name "gtk_builder_expose_object")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("GObject*" "object")
  )
)

(define-method connect_signals
  (of-object "GtkBuilder")
  (c-name "gtk_builder_connect_signals")
  (return-type "none")
  (parameters
    '("gpointer" "user_data")
  )
)

(define-method connect_signals_full
  (of-object "GtkBuilder")
  (c-name "gtk_builder_connect_signals_full")
  (return-type "none")
  (parameters
    '("GtkBuilderConnectFunc" "func")
    '("gpointer" "user_data")
  )
)

(define-method set_translation_domain
  (of-object "GtkBuilder")
  (c-name "gtk_builder_set_translation_domain")
  (return-type "none")
  (parameters
    '("const-gchar*" "domain")
  )
)

(define-method get_translation_domain
  (of-object "GtkBuilder")
  (c-name "gtk_builder_get_translation_domain")
  (return-type "const-gchar*")
)

(define-method get_type_from_name
  (of-object "GtkBuilder")
  (c-name "gtk_builder_get_type_from_name")
  (return-type "GType")
  (parameters
    '("const-char*" "type_name")
  )
)

(define-method value_from_string
  (of-object "GtkBuilder")
  (c-name "gtk_builder_value_from_string")
  (return-type "gboolean")
  (parameters
    '("GParamSpec*" "pspec")
    '("const-gchar*" "string")
    '("GValue*" "value")
    '("GError**" "error")
  )
)

(define-method value_from_string_type
  (of-object "GtkBuilder")
  (c-name "gtk_builder_value_from_string_type")
  (return-type "gboolean")
  (parameters
    '("GType" "type")
    '("const-gchar*" "string")
    '("GValue*" "value")
    '("GError**" "error")
  )
)

(define-function gtk_builder_new_from_file
  (c-name "gtk_builder_new_from_file")
  (return-type "GtkBuilder*")
  (parameters
    '("const-gchar*" "filename")
  )
)

(define-function gtk_builder_new_from_resource
  (c-name "gtk_builder_new_from_resource")
  (return-type "GtkBuilder*")
  (parameters
    '("const-gchar*" "resource_path")
  )
)

(define-function gtk_builder_new_from_string
  (c-name "gtk_builder_new_from_string")
  (return-type "GtkBuilder*")
  (parameters
    '("const-gchar*" "string")
    '("gssize" "length")
  )
)

(define-method add_callback_symbol
  (of-object "GtkBuilder")
  (c-name "gtk_builder_add_callback_symbol")
  (return-type "none")
  (parameters
    '("const-gchar*" "callback_name")
    '("GCallback" "callback_symbol")
  )
)

(define-method add_callback_symbols
  (of-object "GtkBuilder")
  (c-name "gtk_builder_add_callback_symbols")
  (return-type "none")
  (parameters
    '("const-gchar*" "first_callback_name")
    '("GCallback" "first_callback_symbol")
  )
  (varargs #t)
)

(define-method lookup_callback_symbol
  (of-object "GtkBuilder")
  (c-name "gtk_builder_lookup_callback_symbol")
  (return-type "GCallback")
  (parameters
    '("const-gchar*" "callback_name")
  )
)

(define-method set_application
  (of-object "GtkBuilder")
  (c-name "gtk_builder_set_application")
  (return-type "none")
  (parameters
    '("GtkApplication*" "application")
  )
)

(define-method get_application
  (of-object "GtkBuilder")
  (c-name "gtk_builder_get_application")
  (return-type "GtkApplication*")
)



;; From gtkbutton.h

(define-function gtk_button_get_type
  (c-name "gtk_button_get_type")
  (return-type "GType")
)

(define-function gtk_button_new
  (c-name "gtk_button_new")
  (is-constructor-of "GtkButton")
  (return-type "GtkWidget*")
)

(define-function gtk_button_new_with_label
  (c-name "gtk_button_new_with_label")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-function gtk_button_new_from_icon_name
  (c-name "gtk_button_new_from_icon_name")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "icon_name")
    '("GtkIconSize" "size")
  )
)

(define-function gtk_button_new_from_stock
  (c-name "gtk_button_new_from_stock")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "stock_id")
  )
)

(define-function gtk_button_new_with_mnemonic
  (c-name "gtk_button_new_with_mnemonic")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method clicked
  (of-object "GtkButton")
  (c-name "gtk_button_clicked")
  (return-type "none")
)

(define-method pressed
  (of-object "GtkButton")
  (c-name "gtk_button_pressed")
  (return-type "none")
)

(define-method released
  (of-object "GtkButton")
  (c-name "gtk_button_released")
  (return-type "none")
)

(define-method enter
  (of-object "GtkButton")
  (c-name "gtk_button_enter")
  (return-type "none")
)

(define-method leave
  (of-object "GtkButton")
  (c-name "gtk_button_leave")
  (return-type "none")
)

(define-method set_relief
  (of-object "GtkButton")
  (c-name "gtk_button_set_relief")
  (return-type "none")
  (parameters
    '("GtkReliefStyle" "relief")
  )
)

(define-method get_relief
  (of-object "GtkButton")
  (c-name "gtk_button_get_relief")
  (return-type "GtkReliefStyle")
)

(define-method set_label
  (of-object "GtkButton")
  (c-name "gtk_button_set_label")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method get_label
  (of-object "GtkButton")
  (c-name "gtk_button_get_label")
  (return-type "const-gchar*")
)

(define-method set_use_underline
  (of-object "GtkButton")
  (c-name "gtk_button_set_use_underline")
  (return-type "none")
  (parameters
    '("gboolean" "use_underline")
  )
)

(define-method get_use_underline
  (of-object "GtkButton")
  (c-name "gtk_button_get_use_underline")
  (return-type "gboolean")
)

(define-method set_use_stock
  (of-object "GtkButton")
  (c-name "gtk_button_set_use_stock")
  (return-type "none")
  (parameters
    '("gboolean" "use_stock")
  )
)

(define-method get_use_stock
  (of-object "GtkButton")
  (c-name "gtk_button_get_use_stock")
  (return-type "gboolean")
)

(define-method set_focus_on_click
  (of-object "GtkButton")
  (c-name "gtk_button_set_focus_on_click")
  (return-type "none")
  (parameters
    '("gboolean" "focus_on_click")
  )
)

(define-method get_focus_on_click
  (of-object "GtkButton")
  (c-name "gtk_button_get_focus_on_click")
  (return-type "gboolean")
)

(define-method set_alignment
  (of-object "GtkButton")
  (c-name "gtk_button_set_alignment")
  (return-type "none")
  (parameters
    '("gfloat" "xalign")
    '("gfloat" "yalign")
  )
)

(define-method get_alignment
  (of-object "GtkButton")
  (c-name "gtk_button_get_alignment")
  (return-type "none")
  (parameters
    '("gfloat*" "xalign")
    '("gfloat*" "yalign")
  )
)

(define-method set_image
  (of-object "GtkButton")
  (c-name "gtk_button_set_image")
  (return-type "none")
  (parameters
    '("GtkWidget*" "image")
  )
)

(define-method get_image
  (of-object "GtkButton")
  (c-name "gtk_button_get_image")
  (return-type "GtkWidget*")
)

(define-method set_image_position
  (of-object "GtkButton")
  (c-name "gtk_button_set_image_position")
  (return-type "none")
  (parameters
    '("GtkPositionType" "position")
  )
)

(define-method get_image_position
  (of-object "GtkButton")
  (c-name "gtk_button_get_image_position")
  (return-type "GtkPositionType")
)

(define-method set_always_show_image
  (of-object "GtkButton")
  (c-name "gtk_button_set_always_show_image")
  (return-type "none")
  (parameters
    '("gboolean" "always_show")
  )
)

(define-method get_always_show_image
  (of-object "GtkButton")
  (c-name "gtk_button_get_always_show_image")
  (return-type "gboolean")
)

(define-method get_event_window
  (of-object "GtkButton")
  (c-name "gtk_button_get_event_window")
  (return-type "GdkWindow*")
)



;; From gtkcalendar.h

(define-function gtk_calendar_get_type
  (c-name "gtk_calendar_get_type")
  (return-type "GType")
)

(define-function gtk_calendar_new
  (c-name "gtk_calendar_new")
  (is-constructor-of "GtkCalendar")
  (return-type "GtkWidget*")
)

(define-method select_month
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_select_month")
  (return-type "none")
  (parameters
    '("guint" "month")
    '("guint" "year")
  )
)

(define-method select_day
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_select_day")
  (return-type "none")
  (parameters
    '("guint" "day")
  )
)

(define-method mark_day
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_mark_day")
  (return-type "none")
  (parameters
    '("guint" "day")
  )
)

(define-method unmark_day
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_unmark_day")
  (return-type "none")
  (parameters
    '("guint" "day")
  )
)

(define-method clear_marks
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_clear_marks")
  (return-type "none")
)

(define-method set_display_options
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_set_display_options")
  (return-type "none")
  (parameters
    '("GtkCalendarDisplayOptions" "flags")
  )
)

(define-method get_display_options
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_get_display_options")
  (return-type "GtkCalendarDisplayOptions")
)

(define-method get_date
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_get_date")
  (return-type "none")
  (parameters
    '("guint*" "year")
    '("guint*" "month")
    '("guint*" "day")
  )
)

(define-method set_detail_func
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_set_detail_func")
  (return-type "none")
  (parameters
    '("GtkCalendarDetailFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method set_detail_width_chars
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_set_detail_width_chars")
  (return-type "none")
  (parameters
    '("gint" "chars")
  )
)

(define-method set_detail_height_rows
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_set_detail_height_rows")
  (return-type "none")
  (parameters
    '("gint" "rows")
  )
)

(define-method get_detail_width_chars
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_get_detail_width_chars")
  (return-type "gint")
)

(define-method get_detail_height_rows
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_get_detail_height_rows")
  (return-type "gint")
)

(define-method get_day_is_marked
  (of-object "GtkCalendar")
  (c-name "gtk_calendar_get_day_is_marked")
  (return-type "gboolean")
  (parameters
    '("guint" "day")
  )
)



;; From gtkcellareabox.h

(define-function gtk_cell_area_box_get_type
  (c-name "gtk_cell_area_box_get_type")
  (return-type "GType")
)

(define-function gtk_cell_area_box_new
  (c-name "gtk_cell_area_box_new")
  (is-constructor-of "GtkCellAreaBox")
  (return-type "GtkCellArea*")
)

(define-method pack_start
  (of-object "GtkCellAreaBox")
  (c-name "gtk_cell_area_box_pack_start")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("gboolean" "expand")
    '("gboolean" "align")
    '("gboolean" "fixed")
  )
)

(define-method pack_end
  (of-object "GtkCellAreaBox")
  (c-name "gtk_cell_area_box_pack_end")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("gboolean" "expand")
    '("gboolean" "align")
    '("gboolean" "fixed")
  )
)

(define-method get_spacing
  (of-object "GtkCellAreaBox")
  (c-name "gtk_cell_area_box_get_spacing")
  (return-type "gint")
)

(define-method set_spacing
  (of-object "GtkCellAreaBox")
  (c-name "gtk_cell_area_box_set_spacing")
  (return-type "none")
  (parameters
    '("gint" "spacing")
  )
)



;; From gtkcellareacontext.h

(define-function gtk_cell_area_context_get_type
  (c-name "gtk_cell_area_context_get_type")
  (return-type "GType")
)

(define-method get_area
  (of-object "GtkCellAreaContext")
  (c-name "gtk_cell_area_context_get_area")
  (return-type "GtkCellArea*")
)

(define-method allocate
  (of-object "GtkCellAreaContext")
  (c-name "gtk_cell_area_context_allocate")
  (return-type "none")
  (parameters
    '("gint" "width")
    '("gint" "height")
  )
)

(define-method reset
  (of-object "GtkCellAreaContext")
  (c-name "gtk_cell_area_context_reset")
  (return-type "none")
)

(define-method get_preferred_width
  (of-object "GtkCellAreaContext")
  (c-name "gtk_cell_area_context_get_preferred_width")
  (return-type "none")
  (parameters
    '("gint*" "minimum_width")
    '("gint*" "natural_width")
  )
)

(define-method get_preferred_height
  (of-object "GtkCellAreaContext")
  (c-name "gtk_cell_area_context_get_preferred_height")
  (return-type "none")
  (parameters
    '("gint*" "minimum_height")
    '("gint*" "natural_height")
  )
)

(define-method get_preferred_height_for_width
  (of-object "GtkCellAreaContext")
  (c-name "gtk_cell_area_context_get_preferred_height_for_width")
  (return-type "none")
  (parameters
    '("gint" "width")
    '("gint*" "minimum_height")
    '("gint*" "natural_height")
  )
)

(define-method get_preferred_width_for_height
  (of-object "GtkCellAreaContext")
  (c-name "gtk_cell_area_context_get_preferred_width_for_height")
  (return-type "none")
  (parameters
    '("gint" "height")
    '("gint*" "minimum_width")
    '("gint*" "natural_width")
  )
)

(define-method get_allocation
  (of-object "GtkCellAreaContext")
  (c-name "gtk_cell_area_context_get_allocation")
  (return-type "none")
  (parameters
    '("gint*" "width")
    '("gint*" "height")
  )
)

(define-method push_preferred_width
  (of-object "GtkCellAreaContext")
  (c-name "gtk_cell_area_context_push_preferred_width")
  (return-type "none")
  (parameters
    '("gint" "minimum_width")
    '("gint" "natural_width")
  )
)

(define-method push_preferred_height
  (of-object "GtkCellAreaContext")
  (c-name "gtk_cell_area_context_push_preferred_height")
  (return-type "none")
  (parameters
    '("gint" "minimum_height")
    '("gint" "natural_height")
  )
)



;; From gtkcellarea.h

(define-function gtk_cell_area_get_type
  (c-name "gtk_cell_area_get_type")
  (return-type "GType")
)

(define-method add
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_add")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
  )
)

(define-method remove
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_remove")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
  )
)

(define-method has_renderer
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_has_renderer")
  (return-type "gboolean")
  (parameters
    '("GtkCellRenderer*" "renderer")
  )
)

(define-method foreach
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_foreach")
  (return-type "none")
  (parameters
    '("GtkCellCallback" "callback")
    '("gpointer" "callback_data")
  )
)

(define-method foreach_alloc
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_foreach_alloc")
  (return-type "none")
  (parameters
    '("GtkCellAreaContext*" "context")
    '("GtkWidget*" "widget")
    '("const-GdkRectangle*" "cell_area")
    '("const-GdkRectangle*" "background_area")
    '("GtkCellAllocCallback" "callback")
    '("gpointer" "callback_data")
  )
)

(define-method event
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_event")
  (return-type "gint")
  (parameters
    '("GtkCellAreaContext*" "context")
    '("GtkWidget*" "widget")
    '("GdkEvent*" "event")
    '("const-GdkRectangle*" "cell_area")
    '("GtkCellRendererState" "flags")
  )
)

(define-method render
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_render")
  (return-type "none")
  (parameters
    '("GtkCellAreaContext*" "context")
    '("GtkWidget*" "widget")
    '("cairo_t*" "cr")
    '("const-GdkRectangle*" "background_area")
    '("const-GdkRectangle*" "cell_area")
    '("GtkCellRendererState" "flags")
    '("gboolean" "paint_focus")
  )
)

(define-method get_cell_allocation
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_get_cell_allocation")
  (return-type "none")
  (parameters
    '("GtkCellAreaContext*" "context")
    '("GtkWidget*" "widget")
    '("GtkCellRenderer*" "renderer")
    '("const-GdkRectangle*" "cell_area")
    '("GdkRectangle*" "allocation")
  )
)

(define-method get_cell_at_position
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_get_cell_at_position")
  (return-type "GtkCellRenderer*")
  (parameters
    '("GtkCellAreaContext*" "context")
    '("GtkWidget*" "widget")
    '("const-GdkRectangle*" "cell_area")
    '("gint" "x")
    '("gint" "y")
    '("GdkRectangle*" "alloc_area")
  )
)

(define-method create_context
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_create_context")
  (return-type "GtkCellAreaContext*")
)

(define-method copy_context
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_copy_context")
  (return-type "GtkCellAreaContext*")
  (parameters
    '("GtkCellAreaContext*" "context")
  )
)

(define-method get_request_mode
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_get_request_mode")
  (return-type "GtkSizeRequestMode")
)

(define-method get_preferred_width
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_get_preferred_width")
  (return-type "none")
  (parameters
    '("GtkCellAreaContext*" "context")
    '("GtkWidget*" "widget")
    '("gint*" "minimum_width")
    '("gint*" "natural_width")
  )
)

(define-method get_preferred_height_for_width
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_get_preferred_height_for_width")
  (return-type "none")
  (parameters
    '("GtkCellAreaContext*" "context")
    '("GtkWidget*" "widget")
    '("gint" "width")
    '("gint*" "minimum_height")
    '("gint*" "natural_height")
  )
)

(define-method get_preferred_height
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_get_preferred_height")
  (return-type "none")
  (parameters
    '("GtkCellAreaContext*" "context")
    '("GtkWidget*" "widget")
    '("gint*" "minimum_height")
    '("gint*" "natural_height")
  )
)

(define-method get_preferred_width_for_height
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_get_preferred_width_for_height")
  (return-type "none")
  (parameters
    '("GtkCellAreaContext*" "context")
    '("GtkWidget*" "widget")
    '("gint" "height")
    '("gint*" "minimum_width")
    '("gint*" "natural_width")
  )
)

(define-method get_current_path_string
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_get_current_path_string")
  (return-type "const-gchar*")
)

(define-method apply_attributes
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_apply_attributes")
  (return-type "none")
  (parameters
    '("GtkTreeModel*" "tree_model")
    '("GtkTreeIter*" "iter")
    '("gboolean" "is_expander")
    '("gboolean" "is_expanded")
  )
)

(define-method attribute_connect
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_attribute_connect")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("const-gchar*" "attribute")
    '("gint" "column")
  )
)

(define-method attribute_disconnect
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_attribute_disconnect")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("const-gchar*" "attribute")
  )
)

(define-method attribute_get_column
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_attribute_get_column")
  (return-type "gint")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("const-gchar*" "attribute")
  )
)

(define-method install_cell_property
  (of-object "GtkCellAreaClass")
  (c-name "gtk_cell_area_class_install_cell_property")
  (return-type "none")
  (parameters
    '("guint" "property_id")
    '("GParamSpec*" "pspec")
  )
)

(define-method find_cell_property
  (of-object "GtkCellAreaClass")
  (c-name "gtk_cell_area_class_find_cell_property")
  (return-type "GParamSpec*")
  (parameters
    '("const-gchar*" "property_name")
  )
)

(define-method list_cell_properties
  (of-object "GtkCellAreaClass")
  (c-name "gtk_cell_area_class_list_cell_properties")
  (return-type "GParamSpec**")
  (parameters
    '("guint*" "n_properties")
  )
)

(define-method add_with_properties
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_add_with_properties")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("const-gchar*" "first_prop_name")
  )
  (varargs #t)
)

(define-method cell_set
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_cell_set")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("const-gchar*" "first_prop_name")
  )
  (varargs #t)
)

(define-method cell_get
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_cell_get")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("const-gchar*" "first_prop_name")
  )
  (varargs #t)
)

(define-method cell_set_valist
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_cell_set_valist")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("const-gchar*" "first_property_name")
    '("va_list" "var_args")
  )
)

(define-method cell_get_valist
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_cell_get_valist")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("const-gchar*" "first_property_name")
    '("va_list" "var_args")
  )
)

(define-method cell_set_property
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_cell_set_property")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("const-gchar*" "property_name")
    '("const-GValue*" "value")
  )
)

(define-method cell_get_property
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_cell_get_property")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("const-gchar*" "property_name")
    '("GValue*" "value")
  )
)

(define-method is_activatable
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_is_activatable")
  (return-type "gboolean")
)

(define-method activate
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_activate")
  (return-type "gboolean")
  (parameters
    '("GtkCellAreaContext*" "context")
    '("GtkWidget*" "widget")
    '("const-GdkRectangle*" "cell_area")
    '("GtkCellRendererState" "flags")
    '("gboolean" "edit_only")
  )
)

(define-method focus
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_focus")
  (return-type "gboolean")
  (parameters
    '("GtkDirectionType" "direction")
  )
)

(define-method set_focus_cell
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_set_focus_cell")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
  )
)

(define-method get_focus_cell
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_get_focus_cell")
  (return-type "GtkCellRenderer*")
)

(define-method add_focus_sibling
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_add_focus_sibling")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("GtkCellRenderer*" "sibling")
  )
)

(define-method remove_focus_sibling
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_remove_focus_sibling")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("GtkCellRenderer*" "sibling")
  )
)

(define-method is_focus_sibling
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_is_focus_sibling")
  (return-type "gboolean")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("GtkCellRenderer*" "sibling")
  )
)

(define-method get_focus_siblings
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_get_focus_siblings")
  (return-type "const-GList*")
  (parameters
    '("GtkCellRenderer*" "renderer")
  )
)

(define-method get_focus_from_sibling
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_get_focus_from_sibling")
  (return-type "GtkCellRenderer*")
  (parameters
    '("GtkCellRenderer*" "renderer")
  )
)

(define-method get_edited_cell
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_get_edited_cell")
  (return-type "GtkCellRenderer*")
)

(define-method get_edit_widget
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_get_edit_widget")
  (return-type "GtkCellEditable*")
)

(define-method activate_cell
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_activate_cell")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "widget")
    '("GtkCellRenderer*" "renderer")
    '("GdkEvent*" "event")
    '("const-GdkRectangle*" "cell_area")
    '("GtkCellRendererState" "flags")
  )
)

(define-method stop_editing
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_stop_editing")
  (return-type "none")
  (parameters
    '("gboolean" "canceled")
  )
)

(define-method inner_cell_area
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_inner_cell_area")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("const-GdkRectangle*" "cell_area")
    '("GdkRectangle*" "inner_area")
  )
)

(define-method request_renderer
  (of-object "GtkCellArea")
  (c-name "gtk_cell_area_request_renderer")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "renderer")
    '("GtkOrientation" "orientation")
    '("GtkWidget*" "widget")
    '("gint" "for_size")
    '("gint*" "minimum_size")
    '("gint*" "natural_size")
  )
)



;; From gtkcelleditable.h

(define-function gtk_cell_editable_get_type
  (c-name "gtk_cell_editable_get_type")
  (return-type "GType")
)

(define-method start_editing
  (of-object "GtkCellEditable")
  (c-name "gtk_cell_editable_start_editing")
  (return-type "none")
  (parameters
    '("GdkEvent*" "event")
  )
)

(define-method editing_done
  (of-object "GtkCellEditable")
  (c-name "gtk_cell_editable_editing_done")
  (return-type "none")
)

(define-method remove_widget
  (of-object "GtkCellEditable")
  (c-name "gtk_cell_editable_remove_widget")
  (return-type "none")
)



;; From gtkcelllayout.h

(define-function gtk_cell_layout_get_type
  (c-name "gtk_cell_layout_get_type")
  (return-type "GType")
)

(define-method pack_start
  (of-object "GtkCellLayout")
  (c-name "gtk_cell_layout_pack_start")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell")
    '("gboolean" "expand")
  )
)

(define-method pack_end
  (of-object "GtkCellLayout")
  (c-name "gtk_cell_layout_pack_end")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell")
    '("gboolean" "expand")
  )
)

(define-method get_cells
  (of-object "GtkCellLayout")
  (c-name "gtk_cell_layout_get_cells")
  (return-type "GList*")
)

(define-method clear
  (of-object "GtkCellLayout")
  (c-name "gtk_cell_layout_clear")
  (return-type "none")
)

(define-method set_attributes
  (of-object "GtkCellLayout")
  (c-name "gtk_cell_layout_set_attributes")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell")
  )
  (varargs #t)
)

(define-method add_attribute
  (of-object "GtkCellLayout")
  (c-name "gtk_cell_layout_add_attribute")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell")
    '("const-gchar*" "attribute")
    '("gint" "column")
  )
)

(define-method set_cell_data_func
  (of-object "GtkCellLayout")
  (c-name "gtk_cell_layout_set_cell_data_func")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell")
    '("GtkCellLayoutDataFunc" "func")
    '("gpointer" "func_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method clear_attributes
  (of-object "GtkCellLayout")
  (c-name "gtk_cell_layout_clear_attributes")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell")
  )
)

(define-method reorder
  (of-object "GtkCellLayout")
  (c-name "gtk_cell_layout_reorder")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell")
    '("gint" "position")
  )
)

(define-method get_area
  (of-object "GtkCellLayout")
  (c-name "gtk_cell_layout_get_area")
  (return-type "GtkCellArea*")
)



;; From gtkcellrendereraccel.h

(define-function gtk_cell_renderer_accel_get_type
  (c-name "gtk_cell_renderer_accel_get_type")
  (return-type "GType")
)

(define-function gtk_cell_renderer_accel_new
  (c-name "gtk_cell_renderer_accel_new")
  (is-constructor-of "GtkCellRendererAccel")
  (return-type "GtkCellRenderer*")
)



;; From gtkcellrenderercombo.h

(define-function gtk_cell_renderer_combo_get_type
  (c-name "gtk_cell_renderer_combo_get_type")
  (return-type "GType")
)

(define-function gtk_cell_renderer_combo_new
  (c-name "gtk_cell_renderer_combo_new")
  (is-constructor-of "GtkCellRendererCombo")
  (return-type "GtkCellRenderer*")
)



;; From gtkcellrenderer.h

(define-function gtk_cell_renderer_get_type
  (c-name "gtk_cell_renderer_get_type")
  (return-type "GType")
)

(define-method get_request_mode
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_request_mode")
  (return-type "GtkSizeRequestMode")
)

(define-method get_preferred_width
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_preferred_width")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("gint*" "minimum_size")
    '("gint*" "natural_size")
  )
)

(define-method get_preferred_height_for_width
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_preferred_height_for_width")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("gint" "width")
    '("gint*" "minimum_height")
    '("gint*" "natural_height")
  )
)

(define-method get_preferred_height
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_preferred_height")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("gint*" "minimum_size")
    '("gint*" "natural_size")
  )
)

(define-method get_preferred_width_for_height
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_preferred_width_for_height")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("gint" "height")
    '("gint*" "minimum_width")
    '("gint*" "natural_width")
  )
)

(define-method get_preferred_size
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_preferred_size")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GtkRequisition*" "minimum_size")
    '("GtkRequisition*" "natural_size")
  )
)

(define-method get_aligned_area
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_aligned_area")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GtkCellRendererState" "flags")
    '("const-GdkRectangle*" "cell_area")
    '("GdkRectangle*" "aligned_area")
  )
)

(define-method get_size
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_size")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("const-GdkRectangle*" "cell_area")
    '("gint*" "x_offset")
    '("gint*" "y_offset")
    '("gint*" "width")
    '("gint*" "height")
  )
)

(define-method render
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_render")
  (return-type "none")
  (parameters
    '("cairo_t*" "cr")
    '("GtkWidget*" "widget")
    '("const-GdkRectangle*" "background_area")
    '("const-GdkRectangle*" "cell_area")
    '("GtkCellRendererState" "flags")
  )
)

(define-method activate
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_activate")
  (return-type "gboolean")
  (parameters
    '("GdkEvent*" "event")
    '("GtkWidget*" "widget")
    '("const-gchar*" "path")
    '("const-GdkRectangle*" "background_area")
    '("const-GdkRectangle*" "cell_area")
    '("GtkCellRendererState" "flags")
  )
)

(define-method start_editing
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_start_editing")
  (return-type "GtkCellEditable*")
  (parameters
    '("GdkEvent*" "event")
    '("GtkWidget*" "widget")
    '("const-gchar*" "path")
    '("const-GdkRectangle*" "background_area")
    '("const-GdkRectangle*" "cell_area")
    '("GtkCellRendererState" "flags")
  )
)

(define-method set_fixed_size
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_set_fixed_size")
  (return-type "none")
  (parameters
    '("gint" "width")
    '("gint" "height")
  )
)

(define-method get_fixed_size
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_fixed_size")
  (return-type "none")
  (parameters
    '("gint*" "width")
    '("gint*" "height")
  )
)

(define-method set_alignment
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_set_alignment")
  (return-type "none")
  (parameters
    '("gfloat" "xalign")
    '("gfloat" "yalign")
  )
)

(define-method get_alignment
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_alignment")
  (return-type "none")
  (parameters
    '("gfloat*" "xalign")
    '("gfloat*" "yalign")
  )
)

(define-method set_padding
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_set_padding")
  (return-type "none")
  (parameters
    '("gint" "xpad")
    '("gint" "ypad")
  )
)

(define-method get_padding
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_padding")
  (return-type "none")
  (parameters
    '("gint*" "xpad")
    '("gint*" "ypad")
  )
)

(define-method set_visible
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_set_visible")
  (return-type "none")
  (parameters
    '("gboolean" "visible")
  )
)

(define-method get_visible
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_visible")
  (return-type "gboolean")
)

(define-method set_sensitive
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_set_sensitive")
  (return-type "none")
  (parameters
    '("gboolean" "sensitive")
  )
)

(define-method get_sensitive
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_sensitive")
  (return-type "gboolean")
)

(define-method is_activatable
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_is_activatable")
  (return-type "gboolean")
)

(define-method stop_editing
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_stop_editing")
  (return-type "none")
  (parameters
    '("gboolean" "canceled")
  )
)

(define-method get_state
  (of-object "GtkCellRenderer")
  (c-name "gtk_cell_renderer_get_state")
  (return-type "GtkStateFlags")
  (parameters
    '("GtkWidget*" "widget")
    '("GtkCellRendererState" "cell_state")
  )
)

(define-method set_accessible_type
  (of-object "GtkCellRendererClass")
  (c-name "gtk_cell_renderer_class_set_accessible_type")
  (return-type "none")
  (parameters
    '("GType" "type")
  )
)



;; From gtkcellrendererpixbuf.h

(define-function gtk_cell_renderer_pixbuf_get_type
  (c-name "gtk_cell_renderer_pixbuf_get_type")
  (return-type "GType")
)

(define-function gtk_cell_renderer_pixbuf_new
  (c-name "gtk_cell_renderer_pixbuf_new")
  (is-constructor-of "GtkCellRendererPixbuf")
  (return-type "GtkCellRenderer*")
)



;; From gtkcellrendererprogress.h

(define-function gtk_cell_renderer_progress_get_type
  (c-name "gtk_cell_renderer_progress_get_type")
  (return-type "GType")
)

(define-function gtk_cell_renderer_progress_new
  (c-name "gtk_cell_renderer_progress_new")
  (is-constructor-of "GtkCellRendererProgress")
  (return-type "GtkCellRenderer*")
)



;; From gtkcellrendererspin.h

(define-function gtk_cell_renderer_spin_get_type
  (c-name "gtk_cell_renderer_spin_get_type")
  (return-type "GType")
)

(define-function gtk_cell_renderer_spin_new
  (c-name "gtk_cell_renderer_spin_new")
  (is-constructor-of "GtkCellRendererSpin")
  (return-type "GtkCellRenderer*")
)



;; From gtkcellrendererspinner.h

(define-function gtk_cell_renderer_spinner_get_type
  (c-name "gtk_cell_renderer_spinner_get_type")
  (return-type "GType")
)

(define-function gtk_cell_renderer_spinner_new
  (c-name "gtk_cell_renderer_spinner_new")
  (is-constructor-of "GtkCellRendererSpinner")
  (return-type "GtkCellRenderer*")
)



;; From gtkcellrenderertext.h

(define-function gtk_cell_renderer_text_get_type
  (c-name "gtk_cell_renderer_text_get_type")
  (return-type "GType")
)

(define-function gtk_cell_renderer_text_new
  (c-name "gtk_cell_renderer_text_new")
  (is-constructor-of "GtkCellRendererText")
  (return-type "GtkCellRenderer*")
)

(define-method set_fixed_height_from_font
  (of-object "GtkCellRendererText")
  (c-name "gtk_cell_renderer_text_set_fixed_height_from_font")
  (return-type "none")
  (parameters
    '("gint" "number_of_rows")
  )
)



;; From gtkcellrenderertoggle.h

(define-function gtk_cell_renderer_toggle_get_type
  (c-name "gtk_cell_renderer_toggle_get_type")
  (return-type "GType")
)

(define-function gtk_cell_renderer_toggle_new
  (c-name "gtk_cell_renderer_toggle_new")
  (is-constructor-of "GtkCellRendererToggle")
  (return-type "GtkCellRenderer*")
)

(define-method get_radio
  (of-object "GtkCellRendererToggle")
  (c-name "gtk_cell_renderer_toggle_get_radio")
  (return-type "gboolean")
)

(define-method set_radio
  (of-object "GtkCellRendererToggle")
  (c-name "gtk_cell_renderer_toggle_set_radio")
  (return-type "none")
  (parameters
    '("gboolean" "radio")
  )
)

(define-method get_active
  (of-object "GtkCellRendererToggle")
  (c-name "gtk_cell_renderer_toggle_get_active")
  (return-type "gboolean")
)

(define-method set_active
  (of-object "GtkCellRendererToggle")
  (c-name "gtk_cell_renderer_toggle_set_active")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_activatable
  (of-object "GtkCellRendererToggle")
  (c-name "gtk_cell_renderer_toggle_get_activatable")
  (return-type "gboolean")
)

(define-method set_activatable
  (of-object "GtkCellRendererToggle")
  (c-name "gtk_cell_renderer_toggle_set_activatable")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)



;; From gtkcellview.h

(define-function gtk_cell_view_get_type
  (c-name "gtk_cell_view_get_type")
  (return-type "GType")
)

(define-function gtk_cell_view_new
  (c-name "gtk_cell_view_new")
  (is-constructor-of "GtkCellView")
  (return-type "GtkWidget*")
)

(define-function gtk_cell_view_new_with_context
  (c-name "gtk_cell_view_new_with_context")
  (return-type "GtkWidget*")
  (parameters
    '("GtkCellArea*" "area")
    '("GtkCellAreaContext*" "context")
  )
)

(define-function gtk_cell_view_new_with_text
  (c-name "gtk_cell_view_new_with_text")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-function gtk_cell_view_new_with_markup
  (c-name "gtk_cell_view_new_with_markup")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "markup")
  )
)

(define-function gtk_cell_view_new_with_pixbuf
  (c-name "gtk_cell_view_new_with_pixbuf")
  (return-type "GtkWidget*")
  (parameters
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-method set_model
  (of-object "GtkCellView")
  (c-name "gtk_cell_view_set_model")
  (return-type "none")
  (parameters
    '("GtkTreeModel*" "model")
  )
)

(define-method get_model
  (of-object "GtkCellView")
  (c-name "gtk_cell_view_get_model")
  (return-type "GtkTreeModel*")
)

(define-method set_displayed_row
  (of-object "GtkCellView")
  (c-name "gtk_cell_view_set_displayed_row")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method get_displayed_row
  (of-object "GtkCellView")
  (c-name "gtk_cell_view_get_displayed_row")
  (return-type "GtkTreePath*")
)

(define-method set_background_rgba
  (of-object "GtkCellView")
  (c-name "gtk_cell_view_set_background_rgba")
  (return-type "none")
  (parameters
    '("const-GdkRGBA*" "rgba")
  )
)

(define-method get_draw_sensitive
  (of-object "GtkCellView")
  (c-name "gtk_cell_view_get_draw_sensitive")
  (return-type "gboolean")
)

(define-method set_draw_sensitive
  (of-object "GtkCellView")
  (c-name "gtk_cell_view_set_draw_sensitive")
  (return-type "none")
  (parameters
    '("gboolean" "draw_sensitive")
  )
)

(define-method get_fit_model
  (of-object "GtkCellView")
  (c-name "gtk_cell_view_get_fit_model")
  (return-type "gboolean")
)

(define-method set_fit_model
  (of-object "GtkCellView")
  (c-name "gtk_cell_view_set_fit_model")
  (return-type "none")
  (parameters
    '("gboolean" "fit_model")
  )
)

(define-method get_size_of_row
  (of-object "GtkCellView")
  (c-name "gtk_cell_view_get_size_of_row")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkRequisition*" "requisition")
  )
)

(define-method set_background_color
  (of-object "GtkCellView")
  (c-name "gtk_cell_view_set_background_color")
  (return-type "none")
  (parameters
    '("const-GdkColor*" "color")
  )
)



;; From gtkcheckbutton.h

(define-function gtk_check_button_get_type
  (c-name "gtk_check_button_get_type")
  (return-type "GType")
)

(define-function gtk_check_button_new
  (c-name "gtk_check_button_new")
  (is-constructor-of "GtkCheckButton")
  (return-type "GtkWidget*")
)

(define-function gtk_check_button_new_with_label
  (c-name "gtk_check_button_new_with_label")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-function gtk_check_button_new_with_mnemonic
  (c-name "gtk_check_button_new_with_mnemonic")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)



;; From gtkcheckmenuitem.h

(define-function gtk_check_menu_item_get_type
  (c-name "gtk_check_menu_item_get_type")
  (return-type "GType")
)

(define-function gtk_check_menu_item_new
  (c-name "gtk_check_menu_item_new")
  (is-constructor-of "GtkCheckMenuItem")
  (return-type "GtkWidget*")
)

(define-function gtk_check_menu_item_new_with_label
  (c-name "gtk_check_menu_item_new_with_label")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-function gtk_check_menu_item_new_with_mnemonic
  (c-name "gtk_check_menu_item_new_with_mnemonic")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method set_active
  (of-object "GtkCheckMenuItem")
  (c-name "gtk_check_menu_item_set_active")
  (return-type "none")
  (parameters
    '("gboolean" "is_active")
  )
)

(define-method get_active
  (of-object "GtkCheckMenuItem")
  (c-name "gtk_check_menu_item_get_active")
  (return-type "gboolean")
)

(define-method toggled
  (of-object "GtkCheckMenuItem")
  (c-name "gtk_check_menu_item_toggled")
  (return-type "none")
)

(define-method set_inconsistent
  (of-object "GtkCheckMenuItem")
  (c-name "gtk_check_menu_item_set_inconsistent")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_inconsistent
  (of-object "GtkCheckMenuItem")
  (c-name "gtk_check_menu_item_get_inconsistent")
  (return-type "gboolean")
)

(define-method set_draw_as_radio
  (of-object "GtkCheckMenuItem")
  (c-name "gtk_check_menu_item_set_draw_as_radio")
  (return-type "none")
  (parameters
    '("gboolean" "draw_as_radio")
  )
)

(define-method get_draw_as_radio
  (of-object "GtkCheckMenuItem")
  (c-name "gtk_check_menu_item_get_draw_as_radio")
  (return-type "gboolean")
)



;; From gtkclipboard.h

(define-function gtk_clipboard_get_type
  (c-name "gtk_clipboard_get_type")
  (return-type "GType")
)

(define-function gtk_clipboard_get_for_display
  (c-name "gtk_clipboard_get_for_display")
  (return-type "GtkClipboard*")
  (parameters
    '("GdkDisplay*" "display")
    '("GdkAtom" "selection")
  )
)

(define-function gtk_clipboard_get
  (c-name "gtk_clipboard_get")
  (return-type "GtkClipboard*")
  (parameters
    '("GdkAtom" "selection")
  )
)

(define-function gtk_clipboard_get_default
  (c-name "gtk_clipboard_get_default")
  (return-type "GtkClipboard*")
  (parameters
    '("GdkDisplay*" "display")
  )
)

(define-method get_display
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_get_display")
  (return-type "GdkDisplay*")
)

(define-method set_with_data
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_set_with_data")
  (return-type "gboolean")
  (parameters
    '("const-GtkTargetEntry*" "targets")
    '("guint" "n_targets")
    '("GtkClipboardGetFunc" "get_func")
    '("GtkClipboardClearFunc" "clear_func")
    '("gpointer" "user_data")
  )
)

(define-method set_with_owner
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_set_with_owner")
  (return-type "gboolean")
  (parameters
    '("const-GtkTargetEntry*" "targets")
    '("guint" "n_targets")
    '("GtkClipboardGetFunc" "get_func")
    '("GtkClipboardClearFunc" "clear_func")
    '("GObject*" "owner")
  )
)

(define-method get_owner
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_get_owner")
  (return-type "GObject*")
)

(define-method clear
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_clear")
  (return-type "none")
)

(define-method set_text
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_set_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
    '("gint" "len")
  )
)

(define-method set_image
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_set_image")
  (return-type "none")
  (parameters
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-method request_contents
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_request_contents")
  (return-type "none")
  (parameters
    '("GdkAtom" "target")
    '("GtkClipboardReceivedFunc" "callback")
    '("gpointer" "user_data")
  )
)

(define-method request_text
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_request_text")
  (return-type "none")
  (parameters
    '("GtkClipboardTextReceivedFunc" "callback")
    '("gpointer" "user_data")
  )
)

(define-method request_rich_text
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_request_rich_text")
  (return-type "none")
  (parameters
    '("GtkTextBuffer*" "buffer")
    '("GtkClipboardRichTextReceivedFunc" "callback")
    '("gpointer" "user_data")
  )
)

(define-method request_image
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_request_image")
  (return-type "none")
  (parameters
    '("GtkClipboardImageReceivedFunc" "callback")
    '("gpointer" "user_data")
  )
)

(define-method request_uris
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_request_uris")
  (return-type "none")
  (parameters
    '("GtkClipboardURIReceivedFunc" "callback")
    '("gpointer" "user_data")
  )
)

(define-method request_targets
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_request_targets")
  (return-type "none")
  (parameters
    '("GtkClipboardTargetsReceivedFunc" "callback")
    '("gpointer" "user_data")
  )
)

(define-method wait_for_contents
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_wait_for_contents")
  (return-type "GtkSelectionData*")
  (parameters
    '("GdkAtom" "target")
  )
)

(define-method wait_for_text
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_wait_for_text")
  (return-type "gchar*")
)

(define-method wait_for_rich_text
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_wait_for_rich_text")
  (return-type "guint8*")
  (parameters
    '("GtkTextBuffer*" "buffer")
    '("GdkAtom*" "format")
    '("gsize*" "length")
  )
)

(define-method wait_for_image
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_wait_for_image")
  (return-type "GdkPixbuf*")
)

(define-method wait_for_uris
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_wait_for_uris")
  (return-type "gchar**")
)

(define-method wait_for_targets
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_wait_for_targets")
  (return-type "gboolean")
  (parameters
    '("GdkAtom**" "targets")
    '("gint*" "n_targets")
  )
)

(define-method wait_is_text_available
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_wait_is_text_available")
  (return-type "gboolean")
)

(define-method wait_is_rich_text_available
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_wait_is_rich_text_available")
  (return-type "gboolean")
  (parameters
    '("GtkTextBuffer*" "buffer")
  )
)

(define-method wait_is_image_available
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_wait_is_image_available")
  (return-type "gboolean")
)

(define-method wait_is_uris_available
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_wait_is_uris_available")
  (return-type "gboolean")
)

(define-method wait_is_target_available
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_wait_is_target_available")
  (return-type "gboolean")
  (parameters
    '("GdkAtom" "target")
  )
)

(define-method set_can_store
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_set_can_store")
  (return-type "none")
  (parameters
    '("const-GtkTargetEntry*" "targets")
    '("gint" "n_targets")
  )
)

(define-method store
  (of-object "GtkClipboard")
  (c-name "gtk_clipboard_store")
  (return-type "none")
)



;; From gtkcolorbutton.h

(define-function gtk_color_button_get_type
  (c-name "gtk_color_button_get_type")
  (return-type "GType")
)

(define-function gtk_color_button_new
  (c-name "gtk_color_button_new")
  (is-constructor-of "GtkColorButton")
  (return-type "GtkWidget*")
)

(define-function gtk_color_button_new_with_rgba
  (c-name "gtk_color_button_new_with_rgba")
  (return-type "GtkWidget*")
  (parameters
    '("const-GdkRGBA*" "rgba")
  )
)

(define-method set_title
  (of-object "GtkColorButton")
  (c-name "gtk_color_button_set_title")
  (return-type "none")
  (parameters
    '("const-gchar*" "title")
  )
)

(define-method get_title
  (of-object "GtkColorButton")
  (c-name "gtk_color_button_get_title")
  (return-type "const-gchar*")
)

(define-function gtk_color_button_new_with_color
  (c-name "gtk_color_button_new_with_color")
  (return-type "GtkWidget*")
  (parameters
    '("const-GdkColor*" "color")
  )
)

(define-method set_color
  (of-object "GtkColorButton")
  (c-name "gtk_color_button_set_color")
  (return-type "none")
  (parameters
    '("const-GdkColor*" "color")
  )
)

(define-method get_color
  (of-object "GtkColorButton")
  (c-name "gtk_color_button_get_color")
  (return-type "none")
  (parameters
    '("GdkColor*" "color")
  )
)

(define-method set_alpha
  (of-object "GtkColorButton")
  (c-name "gtk_color_button_set_alpha")
  (return-type "none")
  (parameters
    '("guint16" "alpha")
  )
)

(define-method get_alpha
  (of-object "GtkColorButton")
  (c-name "gtk_color_button_get_alpha")
  (return-type "guint16")
)

(define-method set_use_alpha
  (of-object "GtkColorButton")
  (c-name "gtk_color_button_set_use_alpha")
  (return-type "none")
  (parameters
    '("gboolean" "use_alpha")
  )
)

(define-method get_use_alpha
  (of-object "GtkColorButton")
  (c-name "gtk_color_button_get_use_alpha")
  (return-type "gboolean")
)

(define-method set_rgba
  (of-object "GtkColorButton")
  (c-name "gtk_color_button_set_rgba")
  (return-type "none")
  (parameters
    '("const-GdkRGBA*" "rgba")
  )
)

(define-method get_rgba
  (of-object "GtkColorButton")
  (c-name "gtk_color_button_get_rgba")
  (return-type "none")
  (parameters
    '("GdkRGBA*" "rgba")
  )
)



;; From gtkcolorchooserdialog.h

(define-function gtk_color_chooser_dialog_get_type
  (c-name "gtk_color_chooser_dialog_get_type")
  (return-type "GType")
)

(define-function gtk_color_chooser_dialog_new
  (c-name "gtk_color_chooser_dialog_new")
  (is-constructor-of "GtkColorChooserDialog")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "title")
    '("GtkWindow*" "parent")
  )
)



;; From gtkcolorchooser.h

(define-function gtk_color_chooser_get_type
  (c-name "gtk_color_chooser_get_type")
  (return-type "GType")
)

(define-method get_rgba
  (of-object "GtkColorChooser")
  (c-name "gtk_color_chooser_get_rgba")
  (return-type "none")
  (parameters
    '("GdkRGBA*" "color")
  )
)

(define-method set_rgba
  (of-object "GtkColorChooser")
  (c-name "gtk_color_chooser_set_rgba")
  (return-type "none")
  (parameters
    '("const-GdkRGBA*" "color")
  )
)

(define-method get_use_alpha
  (of-object "GtkColorChooser")
  (c-name "gtk_color_chooser_get_use_alpha")
  (return-type "gboolean")
)

(define-method set_use_alpha
  (of-object "GtkColorChooser")
  (c-name "gtk_color_chooser_set_use_alpha")
  (return-type "none")
  (parameters
    '("gboolean" "use_alpha")
  )
)

(define-method add_palette
  (of-object "GtkColorChooser")
  (c-name "gtk_color_chooser_add_palette")
  (return-type "none")
  (parameters
    '("GtkOrientation" "orientation")
    '("gint" "colors_per_line")
    '("gint" "n_colors")
    '("GdkRGBA*" "colors")
  )
)



;; From gtkcolorchooserwidget.h

(define-function gtk_color_chooser_widget_get_type
  (c-name "gtk_color_chooser_widget_get_type")
  (return-type "GType")
)

(define-function gtk_color_chooser_widget_new
  (c-name "gtk_color_chooser_widget_new")
  (is-constructor-of "GtkColorChooserWidget")
  (return-type "GtkWidget*")
)



;; From gtkcolorutils.h

(define-function gtk_hsv_to_rgb
  (c-name "gtk_hsv_to_rgb")
  (return-type "none")
  (parameters
    '("gdouble" "h")
    '("gdouble" "s")
    '("gdouble" "v")
    '("gdouble*" "r")
    '("gdouble*" "g")
    '("gdouble*" "b")
  )
)

(define-function gtk_rgb_to_hsv
  (c-name "gtk_rgb_to_hsv")
  (return-type "none")
  (parameters
    '("gdouble" "r")
    '("gdouble" "g")
    '("gdouble" "b")
    '("gdouble*" "h")
    '("gdouble*" "s")
    '("gdouble*" "v")
  )
)



;; From gtkcombobox.h

(define-function gtk_combo_box_get_type
  (c-name "gtk_combo_box_get_type")
  (return-type "GType")
)

(define-function gtk_combo_box_new
  (c-name "gtk_combo_box_new")
  (is-constructor-of "GtkComboBox")
  (return-type "GtkWidget*")
)

(define-function gtk_combo_box_new_with_area
  (c-name "gtk_combo_box_new_with_area")
  (return-type "GtkWidget*")
  (parameters
    '("GtkCellArea*" "area")
  )
)

(define-function gtk_combo_box_new_with_area_and_entry
  (c-name "gtk_combo_box_new_with_area_and_entry")
  (return-type "GtkWidget*")
  (parameters
    '("GtkCellArea*" "area")
  )
)

(define-function gtk_combo_box_new_with_entry
  (c-name "gtk_combo_box_new_with_entry")
  (return-type "GtkWidget*")
)

(define-function gtk_combo_box_new_with_model
  (c-name "gtk_combo_box_new_with_model")
  (return-type "GtkWidget*")
  (parameters
    '("GtkTreeModel*" "model")
  )
)

(define-function gtk_combo_box_new_with_model_and_entry
  (c-name "gtk_combo_box_new_with_model_and_entry")
  (return-type "GtkWidget*")
  (parameters
    '("GtkTreeModel*" "model")
  )
)

(define-method get_wrap_width
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_wrap_width")
  (return-type "gint")
)

(define-method set_wrap_width
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_wrap_width")
  (return-type "none")
  (parameters
    '("gint" "width")
  )
)

(define-method get_row_span_column
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_row_span_column")
  (return-type "gint")
)

(define-method set_row_span_column
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_row_span_column")
  (return-type "none")
  (parameters
    '("gint" "row_span")
  )
)

(define-method get_column_span_column
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_column_span_column")
  (return-type "gint")
)

(define-method set_column_span_column
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_column_span_column")
  (return-type "none")
  (parameters
    '("gint" "column_span")
  )
)

(define-method get_add_tearoffs
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_add_tearoffs")
  (return-type "gboolean")
)

(define-method set_add_tearoffs
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_add_tearoffs")
  (return-type "none")
  (parameters
    '("gboolean" "add_tearoffs")
  )
)

(define-method get_title
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_title")
  (return-type "const-gchar*")
)

(define-method set_title
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_title")
  (return-type "none")
  (parameters
    '("const-gchar*" "title")
  )
)

(define-method get_focus_on_click
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_focus_on_click")
  (return-type "gboolean")
)

(define-method set_focus_on_click
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_focus_on_click")
  (return-type "none")
  (parameters
    '("gboolean" "focus_on_click")
  )
)

(define-method get_active
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_active")
  (return-type "gint")
)

(define-method set_active
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_active")
  (return-type "none")
  (parameters
    '("gint" "index_")
  )
)

(define-method get_active_iter
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_active_iter")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method set_active_iter
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_active_iter")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method set_model
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_model")
  (return-type "none")
  (parameters
    '("GtkTreeModel*" "model")
  )
)

(define-method get_model
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_model")
  (return-type "GtkTreeModel*")
)

(define-method get_row_separator_func
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_row_separator_func")
  (return-type "GtkTreeViewRowSeparatorFunc")
)

(define-method set_row_separator_func
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_row_separator_func")
  (return-type "none")
  (parameters
    '("GtkTreeViewRowSeparatorFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method set_button_sensitivity
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_button_sensitivity")
  (return-type "none")
  (parameters
    '("GtkSensitivityType" "sensitivity")
  )
)

(define-method get_button_sensitivity
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_button_sensitivity")
  (return-type "GtkSensitivityType")
)

(define-method get_has_entry
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_has_entry")
  (return-type "gboolean")
)

(define-method set_entry_text_column
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_entry_text_column")
  (return-type "none")
  (parameters
    '("gint" "text_column")
  )
)

(define-method get_entry_text_column
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_entry_text_column")
  (return-type "gint")
)

(define-method set_popup_fixed_width
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_popup_fixed_width")
  (return-type "none")
  (parameters
    '("gboolean" "fixed")
  )
)

(define-method get_popup_fixed_width
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_popup_fixed_width")
  (return-type "gboolean")
)

(define-method popup
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_popup")
  (return-type "none")
)

(define-method popup_for_device
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_popup_for_device")
  (return-type "none")
  (parameters
    '("GdkDevice*" "device")
  )
)

(define-method popdown
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_popdown")
  (return-type "none")
)

(define-method get_popup_accessible
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_popup_accessible")
  (return-type "AtkObject*")
)

(define-method get_id_column
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_id_column")
  (return-type "gint")
)

(define-method set_id_column
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_id_column")
  (return-type "none")
  (parameters
    '("gint" "id_column")
  )
)

(define-method get_active_id
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_get_active_id")
  (return-type "const-gchar*")
)

(define-method set_active_id
  (of-object "GtkComboBox")
  (c-name "gtk_combo_box_set_active_id")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "active_id")
  )
)



;; From gtkcomboboxtext.h

(define-function gtk_combo_box_text_get_type
  (c-name "gtk_combo_box_text_get_type")
  (return-type "GType")
)

(define-function gtk_combo_box_text_new
  (c-name "gtk_combo_box_text_new")
  (is-constructor-of "GtkComboBoxText")
  (return-type "GtkWidget*")
)

(define-function gtk_combo_box_text_new_with_entry
  (c-name "gtk_combo_box_text_new_with_entry")
  (return-type "GtkWidget*")
)

(define-method append_text
  (of-object "GtkComboBoxText")
  (c-name "gtk_combo_box_text_append_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method insert_text
  (of-object "GtkComboBoxText")
  (c-name "gtk_combo_box_text_insert_text")
  (return-type "none")
  (parameters
    '("gint" "position")
    '("const-gchar*" "text")
  )
)

(define-method prepend_text
  (of-object "GtkComboBoxText")
  (c-name "gtk_combo_box_text_prepend_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method remove
  (of-object "GtkComboBoxText")
  (c-name "gtk_combo_box_text_remove")
  (return-type "none")
  (parameters
    '("gint" "position")
  )
)

(define-method remove_all
  (of-object "GtkComboBoxText")
  (c-name "gtk_combo_box_text_remove_all")
  (return-type "none")
)

(define-method get_active_text
  (of-object "GtkComboBoxText")
  (c-name "gtk_combo_box_text_get_active_text")
  (return-type "gchar*")
)

(define-method insert
  (of-object "GtkComboBoxText")
  (c-name "gtk_combo_box_text_insert")
  (return-type "none")
  (parameters
    '("gint" "position")
    '("const-gchar*" "id")
    '("const-gchar*" "text")
  )
)

(define-method append
  (of-object "GtkComboBoxText")
  (c-name "gtk_combo_box_text_append")
  (return-type "none")
  (parameters
    '("const-gchar*" "id")
    '("const-gchar*" "text")
  )
)

(define-method prepend
  (of-object "GtkComboBoxText")
  (c-name "gtk_combo_box_text_prepend")
  (return-type "none")
  (parameters
    '("const-gchar*" "id")
    '("const-gchar*" "text")
  )
)



;; From gtkcontainer.h

(define-function gtk_container_get_type
  (c-name "gtk_container_get_type")
  (return-type "GType")
)

(define-method set_border_width
  (of-object "GtkContainer")
  (c-name "gtk_container_set_border_width")
  (return-type "none")
  (parameters
    '("guint" "border_width")
  )
)

(define-method get_border_width
  (of-object "GtkContainer")
  (c-name "gtk_container_get_border_width")
  (return-type "guint")
)

(define-method add
  (of-object "GtkContainer")
  (c-name "gtk_container_add")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method remove
  (of-object "GtkContainer")
  (c-name "gtk_container_remove")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method set_resize_mode
  (of-object "GtkContainer")
  (c-name "gtk_container_set_resize_mode")
  (return-type "none")
  (parameters
    '("GtkResizeMode" "resize_mode")
  )
)

(define-method get_resize_mode
  (of-object "GtkContainer")
  (c-name "gtk_container_get_resize_mode")
  (return-type "GtkResizeMode")
)

(define-method check_resize
  (of-object "GtkContainer")
  (c-name "gtk_container_check_resize")
  (return-type "none")
)

(define-method foreach
  (of-object "GtkContainer")
  (c-name "gtk_container_foreach")
  (return-type "none")
  (parameters
    '("GtkCallback" "callback")
    '("gpointer" "callback_data")
  )
)

(define-method get_children
  (of-object "GtkContainer")
  (c-name "gtk_container_get_children")
  (return-type "GList*")
)

(define-method propagate_draw
  (of-object "GtkContainer")
  (c-name "gtk_container_propagate_draw")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("cairo_t*" "cr")
  )
)

(define-method set_focus_chain
  (of-object "GtkContainer")
  (c-name "gtk_container_set_focus_chain")
  (return-type "none")
  (parameters
    '("GList*" "focusable_widgets")
  )
)

(define-method get_focus_chain
  (of-object "GtkContainer")
  (c-name "gtk_container_get_focus_chain")
  (return-type "gboolean")
  (parameters
    '("GList**" "focusable_widgets")
  )
)

(define-method unset_focus_chain
  (of-object "GtkContainer")
  (c-name "gtk_container_unset_focus_chain")
  (return-type "none")
)

(define-method set_reallocate_redraws
  (of-object "GtkContainer")
  (c-name "gtk_container_set_reallocate_redraws")
  (return-type "none")
  (parameters
    '("gboolean" "needs_redraws")
  )
)

(define-method set_focus_child
  (of-object "GtkContainer")
  (c-name "gtk_container_set_focus_child")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method get_focus_child
  (of-object "GtkContainer")
  (c-name "gtk_container_get_focus_child")
  (return-type "GtkWidget*")
)

(define-method set_focus_vadjustment
  (of-object "GtkContainer")
  (c-name "gtk_container_set_focus_vadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method get_focus_vadjustment
  (of-object "GtkContainer")
  (c-name "gtk_container_get_focus_vadjustment")
  (return-type "GtkAdjustment*")
)

(define-method set_focus_hadjustment
  (of-object "GtkContainer")
  (c-name "gtk_container_set_focus_hadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method get_focus_hadjustment
  (of-object "GtkContainer")
  (c-name "gtk_container_get_focus_hadjustment")
  (return-type "GtkAdjustment*")
)

(define-method resize_children
  (of-object "GtkContainer")
  (c-name "gtk_container_resize_children")
  (return-type "none")
)

(define-method child_type
  (of-object "GtkContainer")
  (c-name "gtk_container_child_type")
  (return-type "GType")
)

(define-method install_child_property
  (of-object "GtkContainerClass")
  (c-name "gtk_container_class_install_child_property")
  (return-type "none")
  (parameters
    '("guint" "property_id")
    '("GParamSpec*" "pspec")
  )
)

(define-method install_child_properties
  (of-object "GtkContainerClass")
  (c-name "gtk_container_class_install_child_properties")
  (return-type "none")
  (parameters
    '("guint" "n_pspecs")
    '("GParamSpec**" "pspecs")
  )
)

(define-function gtk_container_class_find_child_property
  (c-name "gtk_container_class_find_child_property")
  (return-type "GParamSpec*")
  (parameters
    '("GObjectClass*" "cclass")
    '("const-gchar*" "property_name")
  )
)

(define-function gtk_container_class_list_child_properties
  (c-name "gtk_container_class_list_child_properties")
  (return-type "GParamSpec**")
  (parameters
    '("GObjectClass*" "cclass")
    '("guint*" "n_properties")
  )
)

(define-method add_with_properties
  (of-object "GtkContainer")
  (c-name "gtk_container_add_with_properties")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("const-gchar*" "first_prop_name")
  )
  (varargs #t)
)

(define-method child_set
  (of-object "GtkContainer")
  (c-name "gtk_container_child_set")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("const-gchar*" "first_prop_name")
  )
  (varargs #t)
)

(define-method child_get
  (of-object "GtkContainer")
  (c-name "gtk_container_child_get")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("const-gchar*" "first_prop_name")
  )
  (varargs #t)
)

(define-method child_set_valist
  (of-object "GtkContainer")
  (c-name "gtk_container_child_set_valist")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("const-gchar*" "first_property_name")
    '("va_list" "var_args")
  )
)

(define-method child_get_valist
  (of-object "GtkContainer")
  (c-name "gtk_container_child_get_valist")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("const-gchar*" "first_property_name")
    '("va_list" "var_args")
  )
)

(define-method child_set_property
  (of-object "GtkContainer")
  (c-name "gtk_container_child_set_property")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("const-gchar*" "property_name")
    '("const-GValue*" "value")
  )
)

(define-method child_get_property
  (of-object "GtkContainer")
  (c-name "gtk_container_child_get_property")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("const-gchar*" "property_name")
    '("GValue*" "value")
  )
)

(define-method child_notify
  (of-object "GtkContainer")
  (c-name "gtk_container_child_notify")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("const-gchar*" "child_property")
  )
)

(define-method child_notify_by_pspec
  (of-object "GtkContainer")
  (c-name "gtk_container_child_notify_by_pspec")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("GParamSpec*" "pspec")
  )
)

(define-method forall
  (of-object "GtkContainer")
  (c-name "gtk_container_forall")
  (return-type "none")
  (parameters
    '("GtkCallback" "callback")
    '("gpointer" "callback_data")
  )
)

(define-method handle_border_width
  (of-object "GtkContainerClass")
  (c-name "gtk_container_class_handle_border_width")
  (return-type "none")
)

(define-method get_path_for_child
  (of-object "GtkContainer")
  (c-name "gtk_container_get_path_for_child")
  (return-type "GtkWidgetPath*")
  (parameters
    '("GtkWidget*" "child")
  )
)



;; From gtkcssprovider.h

(define-function gtk_css_provider_error_quark
  (c-name "gtk_css_provider_error_quark")
  (return-type "GQuark")
)

(define-function gtk_css_provider_get_type
  (c-name "gtk_css_provider_get_type")
  (return-type "GType")
)

(define-function gtk_css_provider_new
  (c-name "gtk_css_provider_new")
  (is-constructor-of "GtkCssProvider")
  (return-type "GtkCssProvider*")
)

(define-method to_string
  (of-object "GtkCssProvider")
  (c-name "gtk_css_provider_to_string")
  (return-type "char*")
)

(define-method load_from_data
  (of-object "GtkCssProvider")
  (c-name "gtk_css_provider_load_from_data")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "data")
    '("gssize" "length")
    '("GError**" "error")
  )
)

(define-method load_from_file
  (of-object "GtkCssProvider")
  (c-name "gtk_css_provider_load_from_file")
  (return-type "gboolean")
  (parameters
    '("GFile*" "file")
    '("GError**" "error")
  )
)

(define-method load_from_path
  (of-object "GtkCssProvider")
  (c-name "gtk_css_provider_load_from_path")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "path")
    '("GError**" "error")
  )
)

(define-method load_from_resource
  (of-object "GtkCssProvider")
  (c-name "gtk_css_provider_load_from_resource")
  (return-type "none")
  (parameters
    '("const-gchar*" "resource_path")
  )
)

(define-function gtk_css_provider_get_default
  (c-name "gtk_css_provider_get_default")
  (return-type "GtkCssProvider*")
)

(define-function gtk_css_provider_get_named
  (c-name "gtk_css_provider_get_named")
  (return-type "GtkCssProvider*")
  (parameters
    '("const-gchar*" "name")
    '("const-gchar*" "variant")
  )
)



;; From gtkcsssection.h

(define-function gtk_css_section_get_type
  (c-name "gtk_css_section_get_type")
  (return-type "GType")
)

(define-method ref
  (of-object "GtkCssSection")
  (c-name "gtk_css_section_ref")
  (return-type "GtkCssSection*")
)

(define-method unref
  (of-object "GtkCssSection")
  (c-name "gtk_css_section_unref")
  (return-type "none")
)

(define-method get_section_type
  (of-object "GtkCssSection")
  (c-name "gtk_css_section_get_section_type")
  (return-type "GtkCssSectionType")
)

(define-method get_parent
  (of-object "GtkCssSection")
  (c-name "gtk_css_section_get_parent")
  (return-type "GtkCssSection*")
)

(define-method get_file
  (of-object "GtkCssSection")
  (c-name "gtk_css_section_get_file")
  (return-type "GFile*")
)

(define-method get_start_line
  (of-object "GtkCssSection")
  (c-name "gtk_css_section_get_start_line")
  (return-type "guint")
)

(define-method get_start_position
  (of-object "GtkCssSection")
  (c-name "gtk_css_section_get_start_position")
  (return-type "guint")
)

(define-method get_end_line
  (of-object "GtkCssSection")
  (c-name "gtk_css_section_get_end_line")
  (return-type "guint")
)

(define-method get_end_position
  (of-object "GtkCssSection")
  (c-name "gtk_css_section_get_end_position")
  (return-type "guint")
)



;; From gtkcustompaperunixdialog.h

(define-function gtk_custom_paper_unix_dialog_get_type
  (c-name "gtk_custom_paper_unix_dialog_get_type")
  (return-type "GType")
)



;; From gtkdbusgenerated.h



;; From gtkdebug.h

(define-function gtk_get_debug_flags
  (c-name "gtk_get_debug_flags")
  (return-type "guint")
)

(define-function gtk_set_debug_flags
  (c-name "gtk_set_debug_flags")
  (return-type "none")
  (parameters
    '("guint" "flags")
  )
)



;; From gtkdialog.h

(define-function gtk_dialog_get_type
  (c-name "gtk_dialog_get_type")
  (return-type "GType")
)

(define-function gtk_dialog_new
  (c-name "gtk_dialog_new")
  (is-constructor-of "GtkDialog")
  (return-type "GtkWidget*")
)

(define-function gtk_dialog_new_with_buttons
  (c-name "gtk_dialog_new_with_buttons")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "title")
    '("GtkWindow*" "parent")
    '("GtkDialogFlags" "flags")
    '("const-gchar*" "first_button_text")
  )
  (varargs #t)
)

(define-method add_action_widget
  (of-object "GtkDialog")
  (c-name "gtk_dialog_add_action_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gint" "response_id")
  )
)

(define-method add_button
  (of-object "GtkDialog")
  (c-name "gtk_dialog_add_button")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "button_text")
    '("gint" "response_id")
  )
)

(define-method add_buttons
  (of-object "GtkDialog")
  (c-name "gtk_dialog_add_buttons")
  (return-type "none")
  (parameters
    '("const-gchar*" "first_button_text")
  )
  (varargs #t)
)

(define-method set_response_sensitive
  (of-object "GtkDialog")
  (c-name "gtk_dialog_set_response_sensitive")
  (return-type "none")
  (parameters
    '("gint" "response_id")
    '("gboolean" "setting")
  )
)

(define-method set_default_response
  (of-object "GtkDialog")
  (c-name "gtk_dialog_set_default_response")
  (return-type "none")
  (parameters
    '("gint" "response_id")
  )
)

(define-method get_widget_for_response
  (of-object "GtkDialog")
  (c-name "gtk_dialog_get_widget_for_response")
  (return-type "GtkWidget*")
  (parameters
    '("gint" "response_id")
  )
)

(define-method get_response_for_widget
  (of-object "GtkDialog")
  (c-name "gtk_dialog_get_response_for_widget")
  (return-type "gint")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_alternative_dialog_button_order
  (c-name "gtk_alternative_dialog_button_order")
  (return-type "gboolean")
  (parameters
    '("GdkScreen*" "screen")
  )
)

(define-method set_alternative_button_order
  (of-object "GtkDialog")
  (c-name "gtk_dialog_set_alternative_button_order")
  (return-type "none")
  (parameters
    '("gint" "first_response_id")
  )
  (varargs #t)
)

(define-method set_alternative_button_order_from_array
  (of-object "GtkDialog")
  (c-name "gtk_dialog_set_alternative_button_order_from_array")
  (return-type "none")
  (parameters
    '("gint" "n_params")
    '("gint*" "new_order")
  )
)

(define-method response
  (of-object "GtkDialog")
  (c-name "gtk_dialog_response")
  (return-type "none")
  (parameters
    '("gint" "response_id")
  )
)

(define-method run
  (of-object "GtkDialog")
  (c-name "gtk_dialog_run")
  (return-type "gint")
)

(define-method get_action_area
  (of-object "GtkDialog")
  (c-name "gtk_dialog_get_action_area")
  (return-type "GtkWidget*")
)

(define-method get_content_area
  (of-object "GtkDialog")
  (c-name "gtk_dialog_get_content_area")
  (return-type "GtkWidget*")
)

(define-method get_header_bar
  (of-object "GtkDialog")
  (c-name "gtk_dialog_get_header_bar")
  (return-type "GtkWidget*")
)



;; From gtkdnd.h

(define-function gtk_drag_get_data
  (c-name "gtk_drag_get_data")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GdkDragContext*" "context")
    '("GdkAtom" "target")
    '("guint32" "time_")
  )
)

(define-function gtk_drag_finish
  (c-name "gtk_drag_finish")
  (return-type "none")
  (parameters
    '("GdkDragContext*" "context")
    '("gboolean" "success")
    '("gboolean" "del")
    '("guint32" "time_")
  )
)

(define-function gtk_drag_get_source_widget
  (c-name "gtk_drag_get_source_widget")
  (return-type "GtkWidget*")
  (parameters
    '("GdkDragContext*" "context")
  )
)

(define-function gtk_drag_highlight
  (c-name "gtk_drag_highlight")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_drag_unhighlight
  (c-name "gtk_drag_unhighlight")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_drag_dest_set
  (c-name "gtk_drag_dest_set")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GtkDestDefaults" "flags")
    '("const-GtkTargetEntry*" "targets")
    '("gint" "n_targets")
    '("GdkDragAction" "actions")
  )
)

(define-function gtk_drag_dest_set_proxy
  (c-name "gtk_drag_dest_set_proxy")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GdkWindow*" "proxy_window")
    '("GdkDragProtocol" "protocol")
    '("gboolean" "use_coordinates")
  )
)

(define-function gtk_drag_dest_unset
  (c-name "gtk_drag_dest_unset")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_drag_dest_find_target
  (c-name "gtk_drag_dest_find_target")
  (return-type "GdkAtom")
  (parameters
    '("GtkWidget*" "widget")
    '("GdkDragContext*" "context")
    '("GtkTargetList*" "target_list")
  )
)

(define-function gtk_drag_dest_get_target_list
  (c-name "gtk_drag_dest_get_target_list")
  (return-type "GtkTargetList*")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_drag_dest_set_target_list
  (c-name "gtk_drag_dest_set_target_list")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GtkTargetList*" "target_list")
  )
)

(define-function gtk_drag_dest_add_text_targets
  (c-name "gtk_drag_dest_add_text_targets")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_drag_dest_add_image_targets
  (c-name "gtk_drag_dest_add_image_targets")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_drag_dest_add_uri_targets
  (c-name "gtk_drag_dest_add_uri_targets")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_drag_dest_set_track_motion
  (c-name "gtk_drag_dest_set_track_motion")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("gboolean" "track_motion")
  )
)

(define-function gtk_drag_dest_get_track_motion
  (c-name "gtk_drag_dest_get_track_motion")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_drag_source_set
  (c-name "gtk_drag_source_set")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GdkModifierType" "start_button_mask")
    '("const-GtkTargetEntry*" "targets")
    '("gint" "n_targets")
    '("GdkDragAction" "actions")
  )
)

(define-function gtk_drag_source_unset
  (c-name "gtk_drag_source_unset")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_drag_source_get_target_list
  (c-name "gtk_drag_source_get_target_list")
  (return-type "GtkTargetList*")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_drag_source_set_target_list
  (c-name "gtk_drag_source_set_target_list")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GtkTargetList*" "target_list")
  )
)

(define-function gtk_drag_source_add_text_targets
  (c-name "gtk_drag_source_add_text_targets")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_drag_source_add_image_targets
  (c-name "gtk_drag_source_add_image_targets")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_drag_source_add_uri_targets
  (c-name "gtk_drag_source_add_uri_targets")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_drag_source_set_icon_pixbuf
  (c-name "gtk_drag_source_set_icon_pixbuf")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-function gtk_drag_source_set_icon_stock
  (c-name "gtk_drag_source_set_icon_stock")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("const-gchar*" "stock_id")
  )
)

(define-function gtk_drag_source_set_icon_name
  (c-name "gtk_drag_source_set_icon_name")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("const-gchar*" "icon_name")
  )
)

(define-function gtk_drag_source_set_icon_gicon
  (c-name "gtk_drag_source_set_icon_gicon")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GIcon*" "icon")
  )
)

(define-function gtk_drag_begin_with_coordinates
  (c-name "gtk_drag_begin_with_coordinates")
  (return-type "GdkDragContext*")
  (parameters
    '("GtkWidget*" "widget")
    '("GtkTargetList*" "targets")
    '("GdkDragAction" "actions")
    '("gint" "button")
    '("GdkEvent*" "event")
    '("gint" "x")
    '("gint" "y")
  )
)

(define-function gtk_drag_begin
  (c-name "gtk_drag_begin")
  (return-type "GdkDragContext*")
  (parameters
    '("GtkWidget*" "widget")
    '("GtkTargetList*" "targets")
    '("GdkDragAction" "actions")
    '("gint" "button")
    '("GdkEvent*" "event")
  )
)

(define-function gtk_drag_cancel
  (c-name "gtk_drag_cancel")
  (return-type "none")
  (parameters
    '("GdkDragContext*" "context")
  )
)

(define-function gtk_drag_set_icon_widget
  (c-name "gtk_drag_set_icon_widget")
  (return-type "none")
  (parameters
    '("GdkDragContext*" "context")
    '("GtkWidget*" "widget")
    '("gint" "hot_x")
    '("gint" "hot_y")
  )
)

(define-function gtk_drag_set_icon_pixbuf
  (c-name "gtk_drag_set_icon_pixbuf")
  (return-type "none")
  (parameters
    '("GdkDragContext*" "context")
    '("GdkPixbuf*" "pixbuf")
    '("gint" "hot_x")
    '("gint" "hot_y")
  )
)

(define-function gtk_drag_set_icon_stock
  (c-name "gtk_drag_set_icon_stock")
  (return-type "none")
  (parameters
    '("GdkDragContext*" "context")
    '("const-gchar*" "stock_id")
    '("gint" "hot_x")
    '("gint" "hot_y")
  )
)

(define-function gtk_drag_set_icon_surface
  (c-name "gtk_drag_set_icon_surface")
  (return-type "none")
  (parameters
    '("GdkDragContext*" "context")
    '("cairo_surface_t*" "surface")
  )
)

(define-function gtk_drag_set_icon_name
  (c-name "gtk_drag_set_icon_name")
  (return-type "none")
  (parameters
    '("GdkDragContext*" "context")
    '("const-gchar*" "icon_name")
    '("gint" "hot_x")
    '("gint" "hot_y")
  )
)

(define-function gtk_drag_set_icon_gicon
  (c-name "gtk_drag_set_icon_gicon")
  (return-type "none")
  (parameters
    '("GdkDragContext*" "context")
    '("GIcon*" "icon")
    '("gint" "hot_x")
    '("gint" "hot_y")
  )
)

(define-function gtk_drag_set_icon_default
  (c-name "gtk_drag_set_icon_default")
  (return-type "none")
  (parameters
    '("GdkDragContext*" "context")
  )
)

(define-function gtk_drag_check_threshold
  (c-name "gtk_drag_check_threshold")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "widget")
    '("gint" "start_x")
    '("gint" "start_y")
    '("gint" "current_x")
    '("gint" "current_y")
  )
)



;; From gtkdrawingarea.h

(define-function gtk_drawing_area_get_type
  (c-name "gtk_drawing_area_get_type")
  (return-type "GType")
)

(define-function gtk_drawing_area_new
  (c-name "gtk_drawing_area_new")
  (is-constructor-of "GtkDrawingArea")
  (return-type "GtkWidget*")
)



;; From gtkeditable.h

(define-function gtk_editable_get_type
  (c-name "gtk_editable_get_type")
  (return-type "GType")
)

(define-method select_region
  (of-object "GtkEditable")
  (c-name "gtk_editable_select_region")
  (return-type "none")
  (parameters
    '("gint" "start_pos")
    '("gint" "end_pos")
  )
)

(define-method get_selection_bounds
  (of-object "GtkEditable")
  (c-name "gtk_editable_get_selection_bounds")
  (return-type "gboolean")
  (parameters
    '("gint*" "start_pos")
    '("gint*" "end_pos")
  )
)

(define-method insert_text
  (of-object "GtkEditable")
  (c-name "gtk_editable_insert_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "new_text")
    '("gint" "new_text_length")
    '("gint*" "position")
  )
)

(define-method delete_text
  (of-object "GtkEditable")
  (c-name "gtk_editable_delete_text")
  (return-type "none")
  (parameters
    '("gint" "start_pos")
    '("gint" "end_pos")
  )
)

(define-method get_chars
  (of-object "GtkEditable")
  (c-name "gtk_editable_get_chars")
  (return-type "gchar*")
  (parameters
    '("gint" "start_pos")
    '("gint" "end_pos")
  )
)

(define-method cut_clipboard
  (of-object "GtkEditable")
  (c-name "gtk_editable_cut_clipboard")
  (return-type "none")
)

(define-method copy_clipboard
  (of-object "GtkEditable")
  (c-name "gtk_editable_copy_clipboard")
  (return-type "none")
)

(define-method paste_clipboard
  (of-object "GtkEditable")
  (c-name "gtk_editable_paste_clipboard")
  (return-type "none")
)

(define-method delete_selection
  (of-object "GtkEditable")
  (c-name "gtk_editable_delete_selection")
  (return-type "none")
)

(define-method set_position
  (of-object "GtkEditable")
  (c-name "gtk_editable_set_position")
  (return-type "none")
  (parameters
    '("gint" "position")
  )
)

(define-method get_position
  (of-object "GtkEditable")
  (c-name "gtk_editable_get_position")
  (return-type "gint")
)

(define-method set_editable
  (of-object "GtkEditable")
  (c-name "gtk_editable_set_editable")
  (return-type "none")
  (parameters
    '("gboolean" "is_editable")
  )
)

(define-method get_editable
  (of-object "GtkEditable")
  (c-name "gtk_editable_get_editable")
  (return-type "gboolean")
)



;; From gtkentrybuffer.h

(define-function gtk_entry_buffer_get_type
  (c-name "gtk_entry_buffer_get_type")
  (return-type "GType")
)

(define-function gtk_entry_buffer_new
  (c-name "gtk_entry_buffer_new")
  (is-constructor-of "GtkEntryBuffer")
  (return-type "GtkEntryBuffer*")
  (parameters
    '("const-gchar*" "initial_chars")
    '("gint" "n_initial_chars")
  )
)

(define-method get_bytes
  (of-object "GtkEntryBuffer")
  (c-name "gtk_entry_buffer_get_bytes")
  (return-type "gsize")
)

(define-method get_length
  (of-object "GtkEntryBuffer")
  (c-name "gtk_entry_buffer_get_length")
  (return-type "guint")
)

(define-method get_text
  (of-object "GtkEntryBuffer")
  (c-name "gtk_entry_buffer_get_text")
  (return-type "const-gchar*")
)

(define-method set_text
  (of-object "GtkEntryBuffer")
  (c-name "gtk_entry_buffer_set_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "chars")
    '("gint" "n_chars")
  )
)

(define-method set_max_length
  (of-object "GtkEntryBuffer")
  (c-name "gtk_entry_buffer_set_max_length")
  (return-type "none")
  (parameters
    '("gint" "max_length")
  )
)

(define-method get_max_length
  (of-object "GtkEntryBuffer")
  (c-name "gtk_entry_buffer_get_max_length")
  (return-type "gint")
)

(define-method insert_text
  (of-object "GtkEntryBuffer")
  (c-name "gtk_entry_buffer_insert_text")
  (return-type "guint")
  (parameters
    '("guint" "position")
    '("const-gchar*" "chars")
    '("gint" "n_chars")
  )
)

(define-method delete_text
  (of-object "GtkEntryBuffer")
  (c-name "gtk_entry_buffer_delete_text")
  (return-type "guint")
  (parameters
    '("guint" "position")
    '("gint" "n_chars")
  )
)

(define-method emit_inserted_text
  (of-object "GtkEntryBuffer")
  (c-name "gtk_entry_buffer_emit_inserted_text")
  (return-type "none")
  (parameters
    '("guint" "position")
    '("const-gchar*" "chars")
    '("guint" "n_chars")
  )
)

(define-method emit_deleted_text
  (of-object "GtkEntryBuffer")
  (c-name "gtk_entry_buffer_emit_deleted_text")
  (return-type "none")
  (parameters
    '("guint" "position")
    '("guint" "n_chars")
  )
)



;; From gtkentrycompletion.h

(define-function gtk_entry_completion_get_type
  (c-name "gtk_entry_completion_get_type")
  (return-type "GType")
)

(define-function gtk_entry_completion_new
  (c-name "gtk_entry_completion_new")
  (is-constructor-of "GtkEntryCompletion")
  (return-type "GtkEntryCompletion*")
)

(define-function gtk_entry_completion_new_with_area
  (c-name "gtk_entry_completion_new_with_area")
  (return-type "GtkEntryCompletion*")
  (parameters
    '("GtkCellArea*" "area")
  )
)

(define-method get_entry
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_get_entry")
  (return-type "GtkWidget*")
)

(define-method set_model
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_set_model")
  (return-type "none")
  (parameters
    '("GtkTreeModel*" "model")
  )
)

(define-method get_model
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_get_model")
  (return-type "GtkTreeModel*")
)

(define-method set_match_func
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_set_match_func")
  (return-type "none")
  (parameters
    '("GtkEntryCompletionMatchFunc" "func")
    '("gpointer" "func_data")
    '("GDestroyNotify" "func_notify")
  )
)

(define-method set_minimum_key_length
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_set_minimum_key_length")
  (return-type "none")
  (parameters
    '("gint" "length")
  )
)

(define-method get_minimum_key_length
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_get_minimum_key_length")
  (return-type "gint")
)

(define-method compute_prefix
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_compute_prefix")
  (return-type "gchar*")
  (parameters
    '("const-char*" "key")
  )
)

(define-method complete
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_complete")
  (return-type "none")
)

(define-method insert_prefix
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_insert_prefix")
  (return-type "none")
)

(define-method insert_action_text
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_insert_action_text")
  (return-type "none")
  (parameters
    '("gint" "index_")
    '("const-gchar*" "text")
  )
)

(define-method insert_action_markup
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_insert_action_markup")
  (return-type "none")
  (parameters
    '("gint" "index_")
    '("const-gchar*" "markup")
  )
)

(define-method delete_action
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_delete_action")
  (return-type "none")
  (parameters
    '("gint" "index_")
  )
)

(define-method set_inline_completion
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_set_inline_completion")
  (return-type "none")
  (parameters
    '("gboolean" "inline_completion")
  )
)

(define-method get_inline_completion
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_get_inline_completion")
  (return-type "gboolean")
)

(define-method set_inline_selection
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_set_inline_selection")
  (return-type "none")
  (parameters
    '("gboolean" "inline_selection")
  )
)

(define-method get_inline_selection
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_get_inline_selection")
  (return-type "gboolean")
)

(define-method set_popup_completion
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_set_popup_completion")
  (return-type "none")
  (parameters
    '("gboolean" "popup_completion")
  )
)

(define-method get_popup_completion
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_get_popup_completion")
  (return-type "gboolean")
)

(define-method set_popup_set_width
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_set_popup_set_width")
  (return-type "none")
  (parameters
    '("gboolean" "popup_set_width")
  )
)

(define-method get_popup_set_width
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_get_popup_set_width")
  (return-type "gboolean")
)

(define-method set_popup_single_match
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_set_popup_single_match")
  (return-type "none")
  (parameters
    '("gboolean" "popup_single_match")
  )
)

(define-method get_popup_single_match
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_get_popup_single_match")
  (return-type "gboolean")
)

(define-method get_completion_prefix
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_get_completion_prefix")
  (return-type "const-gchar*")
)

(define-method set_text_column
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_set_text_column")
  (return-type "none")
  (parameters
    '("gint" "column")
  )
)

(define-method get_text_column
  (of-object "GtkEntryCompletion")
  (c-name "gtk_entry_completion_get_text_column")
  (return-type "gint")
)



;; From gtkentry.h

(define-function gtk_entry_get_type
  (c-name "gtk_entry_get_type")
  (return-type "GType")
)

(define-function gtk_entry_new
  (c-name "gtk_entry_new")
  (is-constructor-of "GtkEntry")
  (return-type "GtkWidget*")
)

(define-function gtk_entry_new_with_buffer
  (c-name "gtk_entry_new_with_buffer")
  (return-type "GtkWidget*")
  (parameters
    '("GtkEntryBuffer*" "buffer")
  )
)

(define-method get_buffer
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_buffer")
  (return-type "GtkEntryBuffer*")
)

(define-method set_buffer
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_buffer")
  (return-type "none")
  (parameters
    '("GtkEntryBuffer*" "buffer")
  )
)

(define-method get_text_area
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_text_area")
  (return-type "none")
  (parameters
    '("GdkRectangle*" "text_area")
  )
)

(define-method set_visibility
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_visibility")
  (return-type "none")
  (parameters
    '("gboolean" "visible")
  )
)

(define-method get_visibility
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_visibility")
  (return-type "gboolean")
)

(define-method set_invisible_char
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_invisible_char")
  (return-type "none")
  (parameters
    '("gunichar" "ch")
  )
)

(define-method get_invisible_char
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_invisible_char")
  (return-type "gunichar")
)

(define-method unset_invisible_char
  (of-object "GtkEntry")
  (c-name "gtk_entry_unset_invisible_char")
  (return-type "none")
)

(define-method set_has_frame
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_has_frame")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_has_frame
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_has_frame")
  (return-type "gboolean")
)

(define-method set_inner_border
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_inner_border")
  (return-type "none")
  (parameters
    '("const-GtkBorder*" "border")
  )
)

(define-method get_inner_border
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_inner_border")
  (return-type "const-GtkBorder*")
)

(define-method set_overwrite_mode
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_overwrite_mode")
  (return-type "none")
  (parameters
    '("gboolean" "overwrite")
  )
)

(define-method get_overwrite_mode
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_overwrite_mode")
  (return-type "gboolean")
)

(define-method set_max_length
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_max_length")
  (return-type "none")
  (parameters
    '("gint" "max")
  )
)

(define-method get_max_length
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_max_length")
  (return-type "gint")
)

(define-method get_text_length
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_text_length")
  (return-type "guint16")
)

(define-method set_activates_default
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_activates_default")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_activates_default
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_activates_default")
  (return-type "gboolean")
)

(define-method set_width_chars
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_width_chars")
  (return-type "none")
  (parameters
    '("gint" "n_chars")
  )
)

(define-method get_width_chars
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_width_chars")
  (return-type "gint")
)

(define-method set_max_width_chars
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_max_width_chars")
  (return-type "none")
  (parameters
    '("gint" "n_chars")
  )
)

(define-method get_max_width_chars
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_max_width_chars")
  (return-type "gint")
)

(define-method set_text
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method get_text
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_text")
  (return-type "const-gchar*")
)

(define-method get_layout
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_layout")
  (return-type "PangoLayout*")
)

(define-method get_layout_offsets
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_layout_offsets")
  (return-type "none")
  (parameters
    '("gint*" "x")
    '("gint*" "y")
  )
)

(define-method set_alignment
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_alignment")
  (return-type "none")
  (parameters
    '("gfloat" "xalign")
  )
)

(define-method get_alignment
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_alignment")
  (return-type "gfloat")
)

(define-method set_completion
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_completion")
  (return-type "none")
  (parameters
    '("GtkEntryCompletion*" "completion")
  )
)

(define-method get_completion
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_completion")
  (return-type "GtkEntryCompletion*")
)

(define-method layout_index_to_text_index
  (of-object "GtkEntry")
  (c-name "gtk_entry_layout_index_to_text_index")
  (return-type "gint")
  (parameters
    '("gint" "layout_index")
  )
)

(define-method text_index_to_layout_index
  (of-object "GtkEntry")
  (c-name "gtk_entry_text_index_to_layout_index")
  (return-type "gint")
  (parameters
    '("gint" "text_index")
  )
)

(define-method set_cursor_hadjustment
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_cursor_hadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method get_cursor_hadjustment
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_cursor_hadjustment")
  (return-type "GtkAdjustment*")
)

(define-method set_progress_fraction
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_progress_fraction")
  (return-type "none")
  (parameters
    '("gdouble" "fraction")
  )
)

(define-method get_progress_fraction
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_progress_fraction")
  (return-type "gdouble")
)

(define-method set_progress_pulse_step
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_progress_pulse_step")
  (return-type "none")
  (parameters
    '("gdouble" "fraction")
  )
)

(define-method get_progress_pulse_step
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_progress_pulse_step")
  (return-type "gdouble")
)

(define-method progress_pulse
  (of-object "GtkEntry")
  (c-name "gtk_entry_progress_pulse")
  (return-type "none")
)

(define-method get_placeholder_text
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_placeholder_text")
  (return-type "const-gchar*")
)

(define-method set_placeholder_text
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_placeholder_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method set_icon_from_pixbuf
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_icon_from_pixbuf")
  (return-type "none")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-method set_icon_from_stock
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_icon_from_stock")
  (return-type "none")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
    '("const-gchar*" "stock_id")
  )
)

(define-method set_icon_from_icon_name
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_icon_from_icon_name")
  (return-type "none")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
    '("const-gchar*" "icon_name")
  )
)

(define-method set_icon_from_gicon
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_icon_from_gicon")
  (return-type "none")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
    '("GIcon*" "icon")
  )
)

(define-method get_icon_storage_type
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_icon_storage_type")
  (return-type "GtkImageType")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
  )
)

(define-method get_icon_pixbuf
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_icon_pixbuf")
  (return-type "GdkPixbuf*")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
  )
)

(define-method get_icon_stock
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_icon_stock")
  (return-type "const-gchar*")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
  )
)

(define-method get_icon_name
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_icon_name")
  (return-type "const-gchar*")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
  )
)

(define-method get_icon_gicon
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_icon_gicon")
  (return-type "GIcon*")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
  )
)

(define-method set_icon_activatable
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_icon_activatable")
  (return-type "none")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
    '("gboolean" "activatable")
  )
)

(define-method get_icon_activatable
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_icon_activatable")
  (return-type "gboolean")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
  )
)

(define-method set_icon_sensitive
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_icon_sensitive")
  (return-type "none")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
    '("gboolean" "sensitive")
  )
)

(define-method get_icon_sensitive
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_icon_sensitive")
  (return-type "gboolean")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
  )
)

(define-method get_icon_at_pos
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_icon_at_pos")
  (return-type "gint")
  (parameters
    '("gint" "x")
    '("gint" "y")
  )
)

(define-method set_icon_tooltip_text
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_icon_tooltip_text")
  (return-type "none")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
    '("const-gchar*" "tooltip")
  )
)

(define-method get_icon_tooltip_text
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_icon_tooltip_text")
  (return-type "gchar*")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
  )
)

(define-method set_icon_tooltip_markup
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_icon_tooltip_markup")
  (return-type "none")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
    '("const-gchar*" "tooltip")
  )
)

(define-method get_icon_tooltip_markup
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_icon_tooltip_markup")
  (return-type "gchar*")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
  )
)

(define-method set_icon_drag_source
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_icon_drag_source")
  (return-type "none")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
    '("GtkTargetList*" "target_list")
    '("GdkDragAction" "actions")
  )
)

(define-method get_current_icon_drag_source
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_current_icon_drag_source")
  (return-type "gint")
)

(define-method get_icon_area
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_icon_area")
  (return-type "none")
  (parameters
    '("GtkEntryIconPosition" "icon_pos")
    '("GdkRectangle*" "icon_area")
  )
)

(define-method im_context_filter_keypress
  (of-object "GtkEntry")
  (c-name "gtk_entry_im_context_filter_keypress")
  (return-type "gboolean")
  (parameters
    '("GdkEventKey*" "event")
  )
)

(define-method reset_im_context
  (of-object "GtkEntry")
  (c-name "gtk_entry_reset_im_context")
  (return-type "none")
)

(define-method set_input_purpose
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_input_purpose")
  (return-type "none")
  (parameters
    '("GtkInputPurpose" "purpose")
  )
)

(define-method get_input_purpose
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_input_purpose")
  (return-type "GtkInputPurpose")
)

(define-method set_input_hints
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_input_hints")
  (return-type "none")
  (parameters
    '("GtkInputHints" "hints")
  )
)

(define-method get_input_hints
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_input_hints")
  (return-type "GtkInputHints")
)

(define-method set_attributes
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_attributes")
  (return-type "none")
  (parameters
    '("PangoAttrList*" "attrs")
  )
)

(define-method get_attributes
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_attributes")
  (return-type "PangoAttrList*")
)

(define-method set_tabs
  (of-object "GtkEntry")
  (c-name "gtk_entry_set_tabs")
  (return-type "none")
  (parameters
    '("PangoTabArray*" "tabs")
  )
)

(define-method get_tabs
  (of-object "GtkEntry")
  (c-name "gtk_entry_get_tabs")
  (return-type "PangoTabArray*")
)

(define-method grab_focus_without_selecting
  (of-object "GtkEntry")
  (c-name "gtk_entry_grab_focus_without_selecting")
  (return-type "none")
)



;; From gtkenums.h



;; From gtkeventbox.h

(define-function gtk_event_box_get_type
  (c-name "gtk_event_box_get_type")
  (return-type "GType")
)

(define-function gtk_event_box_new
  (c-name "gtk_event_box_new")
  (is-constructor-of "GtkEventBox")
  (return-type "GtkWidget*")
)

(define-method get_visible_window
  (of-object "GtkEventBox")
  (c-name "gtk_event_box_get_visible_window")
  (return-type "gboolean")
)

(define-method set_visible_window
  (of-object "GtkEventBox")
  (c-name "gtk_event_box_set_visible_window")
  (return-type "none")
  (parameters
    '("gboolean" "visible_window")
  )
)

(define-method get_above_child
  (of-object "GtkEventBox")
  (c-name "gtk_event_box_get_above_child")
  (return-type "gboolean")
)

(define-method set_above_child
  (of-object "GtkEventBox")
  (c-name "gtk_event_box_set_above_child")
  (return-type "none")
  (parameters
    '("gboolean" "above_child")
  )
)



;; From gtkeventcontroller.h

(define-function gtk_event_controller_get_type
  (c-name "gtk_event_controller_get_type")
  (return-type "GType")
)

(define-method get_widget
  (of-object "GtkEventController")
  (c-name "gtk_event_controller_get_widget")
  (return-type "GtkWidget*")
)

(define-method handle_event
  (of-object "GtkEventController")
  (c-name "gtk_event_controller_handle_event")
  (return-type "gboolean")
  (parameters
    '("const-GdkEvent*" "event")
  )
)

(define-method reset
  (of-object "GtkEventController")
  (c-name "gtk_event_controller_reset")
  (return-type "none")
)

(define-method get_propagation_phase
  (of-object "GtkEventController")
  (c-name "gtk_event_controller_get_propagation_phase")
  (return-type "GtkPropagationPhase")
)

(define-method set_propagation_phase
  (of-object "GtkEventController")
  (c-name "gtk_event_controller_set_propagation_phase")
  (return-type "none")
  (parameters
    '("GtkPropagationPhase" "phase")
  )
)



;; From gtkexpander.h

(define-function gtk_expander_get_type
  (c-name "gtk_expander_get_type")
  (return-type "GType")
)

(define-function gtk_expander_new
  (c-name "gtk_expander_new")
  (is-constructor-of "GtkExpander")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-function gtk_expander_new_with_mnemonic
  (c-name "gtk_expander_new_with_mnemonic")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method set_expanded
  (of-object "GtkExpander")
  (c-name "gtk_expander_set_expanded")
  (return-type "none")
  (parameters
    '("gboolean" "expanded")
  )
)

(define-method get_expanded
  (of-object "GtkExpander")
  (c-name "gtk_expander_get_expanded")
  (return-type "gboolean")
)

(define-method set_spacing
  (of-object "GtkExpander")
  (c-name "gtk_expander_set_spacing")
  (return-type "none")
  (parameters
    '("gint" "spacing")
  )
)

(define-method get_spacing
  (of-object "GtkExpander")
  (c-name "gtk_expander_get_spacing")
  (return-type "gint")
)

(define-method set_label
  (of-object "GtkExpander")
  (c-name "gtk_expander_set_label")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method get_label
  (of-object "GtkExpander")
  (c-name "gtk_expander_get_label")
  (return-type "const-gchar*")
)

(define-method set_use_underline
  (of-object "GtkExpander")
  (c-name "gtk_expander_set_use_underline")
  (return-type "none")
  (parameters
    '("gboolean" "use_underline")
  )
)

(define-method get_use_underline
  (of-object "GtkExpander")
  (c-name "gtk_expander_get_use_underline")
  (return-type "gboolean")
)

(define-method set_use_markup
  (of-object "GtkExpander")
  (c-name "gtk_expander_set_use_markup")
  (return-type "none")
  (parameters
    '("gboolean" "use_markup")
  )
)

(define-method get_use_markup
  (of-object "GtkExpander")
  (c-name "gtk_expander_get_use_markup")
  (return-type "gboolean")
)

(define-method set_label_widget
  (of-object "GtkExpander")
  (c-name "gtk_expander_set_label_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "label_widget")
  )
)

(define-method get_label_widget
  (of-object "GtkExpander")
  (c-name "gtk_expander_get_label_widget")
  (return-type "GtkWidget*")
)

(define-method set_label_fill
  (of-object "GtkExpander")
  (c-name "gtk_expander_set_label_fill")
  (return-type "none")
  (parameters
    '("gboolean" "label_fill")
  )
)

(define-method get_label_fill
  (of-object "GtkExpander")
  (c-name "gtk_expander_get_label_fill")
  (return-type "gboolean")
)

(define-method set_resize_toplevel
  (of-object "GtkExpander")
  (c-name "gtk_expander_set_resize_toplevel")
  (return-type "none")
  (parameters
    '("gboolean" "resize_toplevel")
  )
)

(define-method get_resize_toplevel
  (of-object "GtkExpander")
  (c-name "gtk_expander_get_resize_toplevel")
  (return-type "gboolean")
)



;; From gtkfilechooserbutton.h

(define-function gtk_file_chooser_button_get_type
  (c-name "gtk_file_chooser_button_get_type")
  (return-type "GType")
)

(define-function gtk_file_chooser_button_new
  (c-name "gtk_file_chooser_button_new")
  (is-constructor-of "GtkFileChooserButton")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "title")
    '("GtkFileChooserAction" "action")
  )
)

(define-function gtk_file_chooser_button_new_with_dialog
  (c-name "gtk_file_chooser_button_new_with_dialog")
  (return-type "GtkWidget*")
  (parameters
    '("GtkWidget*" "dialog")
  )
)

(define-method get_title
  (of-object "GtkFileChooserButton")
  (c-name "gtk_file_chooser_button_get_title")
  (return-type "const-gchar*")
)

(define-method set_title
  (of-object "GtkFileChooserButton")
  (c-name "gtk_file_chooser_button_set_title")
  (return-type "none")
  (parameters
    '("const-gchar*" "title")
  )
)

(define-method get_width_chars
  (of-object "GtkFileChooserButton")
  (c-name "gtk_file_chooser_button_get_width_chars")
  (return-type "gint")
)

(define-method set_width_chars
  (of-object "GtkFileChooserButton")
  (c-name "gtk_file_chooser_button_set_width_chars")
  (return-type "none")
  (parameters
    '("gint" "n_chars")
  )
)

(define-method get_focus_on_click
  (of-object "GtkFileChooserButton")
  (c-name "gtk_file_chooser_button_get_focus_on_click")
  (return-type "gboolean")
)

(define-method set_focus_on_click
  (of-object "GtkFileChooserButton")
  (c-name "gtk_file_chooser_button_set_focus_on_click")
  (return-type "none")
  (parameters
    '("gboolean" "focus_on_click")
  )
)



;; From gtkfilechooserdialog.h

(define-function gtk_file_chooser_dialog_get_type
  (c-name "gtk_file_chooser_dialog_get_type")
  (return-type "GType")
)

(define-function gtk_file_chooser_dialog_new
  (c-name "gtk_file_chooser_dialog_new")
  (is-constructor-of "GtkFileChooserDialog")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "title")
    '("GtkWindow*" "parent")
    '("GtkFileChooserAction" "action")
    '("const-gchar*" "first_button_text")
  )
  (varargs #t)
)



;; From gtkfilechooserembed.h



;; From gtkfilechooserentry.h



;; From gtkfilechooser.h

(define-function gtk_file_chooser_get_type
  (c-name "gtk_file_chooser_get_type")
  (return-type "GType")
)

(define-function gtk_file_chooser_error_quark
  (c-name "gtk_file_chooser_error_quark")
  (return-type "GQuark")
)

(define-method set_action
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_action")
  (return-type "none")
  (parameters
    '("GtkFileChooserAction" "action")
  )
)

(define-method get_action
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_action")
  (return-type "GtkFileChooserAction")
)

(define-method set_local_only
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_local_only")
  (return-type "none")
  (parameters
    '("gboolean" "local_only")
  )
)

(define-method get_local_only
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_local_only")
  (return-type "gboolean")
)

(define-method set_select_multiple
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_select_multiple")
  (return-type "none")
  (parameters
    '("gboolean" "select_multiple")
  )
)

(define-method get_select_multiple
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_select_multiple")
  (return-type "gboolean")
)

(define-method set_show_hidden
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_show_hidden")
  (return-type "none")
  (parameters
    '("gboolean" "show_hidden")
  )
)

(define-method get_show_hidden
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_show_hidden")
  (return-type "gboolean")
)

(define-method set_do_overwrite_confirmation
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_do_overwrite_confirmation")
  (return-type "none")
  (parameters
    '("gboolean" "do_overwrite_confirmation")
  )
)

(define-method get_do_overwrite_confirmation
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_do_overwrite_confirmation")
  (return-type "gboolean")
)

(define-method set_create_folders
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_create_folders")
  (return-type "none")
  (parameters
    '("gboolean" "create_folders")
  )
)

(define-method get_create_folders
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_create_folders")
  (return-type "gboolean")
)

(define-method set_current_name
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_current_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_current_name
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_current_name")
  (return-type "gchar*")
)

(define-method get_filename
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_filename")
  (return-type "gchar*")
)

(define-method set_filename
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_filename")
  (return-type "gboolean")
  (parameters
    '("const-char*" "filename")
  )
)

(define-method select_filename
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_select_filename")
  (return-type "gboolean")
  (parameters
    '("const-char*" "filename")
  )
)

(define-method unselect_filename
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_unselect_filename")
  (return-type "none")
  (parameters
    '("const-char*" "filename")
  )
)

(define-method select_all
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_select_all")
  (return-type "none")
)

(define-method unselect_all
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_unselect_all")
  (return-type "none")
)

(define-method get_filenames
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_filenames")
  (return-type "GSList*")
)

(define-method set_current_folder
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_current_folder")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "filename")
  )
)

(define-method get_current_folder
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_current_folder")
  (return-type "gchar*")
)

(define-method get_uri
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_uri")
  (return-type "gchar*")
)

(define-method set_uri
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_uri")
  (return-type "gboolean")
  (parameters
    '("const-char*" "uri")
  )
)

(define-method select_uri
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_select_uri")
  (return-type "gboolean")
  (parameters
    '("const-char*" "uri")
  )
)

(define-method unselect_uri
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_unselect_uri")
  (return-type "none")
  (parameters
    '("const-char*" "uri")
  )
)

(define-method get_uris
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_uris")
  (return-type "GSList*")
)

(define-method set_current_folder_uri
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_current_folder_uri")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "uri")
  )
)

(define-method get_current_folder_uri
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_current_folder_uri")
  (return-type "gchar*")
)

(define-method get_file
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_file")
  (return-type "GFile*")
)

(define-method set_file
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_file")
  (return-type "gboolean")
  (parameters
    '("GFile*" "file")
    '("GError**" "error")
  )
)

(define-method select_file
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_select_file")
  (return-type "gboolean")
  (parameters
    '("GFile*" "file")
    '("GError**" "error")
  )
)

(define-method unselect_file
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_unselect_file")
  (return-type "none")
  (parameters
    '("GFile*" "file")
  )
)

(define-method get_files
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_files")
  (return-type "GSList*")
)

(define-method set_current_folder_file
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_current_folder_file")
  (return-type "gboolean")
  (parameters
    '("GFile*" "file")
    '("GError**" "error")
  )
)

(define-method get_current_folder_file
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_current_folder_file")
  (return-type "GFile*")
)

(define-method set_preview_widget
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_preview_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "preview_widget")
  )
)

(define-method get_preview_widget
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_preview_widget")
  (return-type "GtkWidget*")
)

(define-method set_preview_widget_active
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_preview_widget_active")
  (return-type "none")
  (parameters
    '("gboolean" "active")
  )
)

(define-method get_preview_widget_active
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_preview_widget_active")
  (return-type "gboolean")
)

(define-method set_use_preview_label
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_use_preview_label")
  (return-type "none")
  (parameters
    '("gboolean" "use_label")
  )
)

(define-method get_use_preview_label
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_use_preview_label")
  (return-type "gboolean")
)

(define-method get_preview_filename
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_preview_filename")
  (return-type "char*")
)

(define-method get_preview_uri
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_preview_uri")
  (return-type "char*")
)

(define-method get_preview_file
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_preview_file")
  (return-type "GFile*")
)

(define-method set_extra_widget
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_extra_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "extra_widget")
  )
)

(define-method get_extra_widget
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_extra_widget")
  (return-type "GtkWidget*")
)

(define-method add_filter
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_add_filter")
  (return-type "none")
  (parameters
    '("GtkFileFilter*" "filter")
  )
)

(define-method remove_filter
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_remove_filter")
  (return-type "none")
  (parameters
    '("GtkFileFilter*" "filter")
  )
)

(define-method list_filters
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_list_filters")
  (return-type "GSList*")
)

(define-method set_filter
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_set_filter")
  (return-type "none")
  (parameters
    '("GtkFileFilter*" "filter")
  )
)

(define-method get_filter
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_get_filter")
  (return-type "GtkFileFilter*")
)

(define-method add_shortcut_folder
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_add_shortcut_folder")
  (return-type "gboolean")
  (parameters
    '("const-char*" "folder")
    '("GError**" "error")
  )
)

(define-method remove_shortcut_folder
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_remove_shortcut_folder")
  (return-type "gboolean")
  (parameters
    '("const-char*" "folder")
    '("GError**" "error")
  )
)

(define-method list_shortcut_folders
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_list_shortcut_folders")
  (return-type "GSList*")
)

(define-method add_shortcut_folder_uri
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_add_shortcut_folder_uri")
  (return-type "gboolean")
  (parameters
    '("const-char*" "uri")
    '("GError**" "error")
  )
)

(define-method remove_shortcut_folder_uri
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_remove_shortcut_folder_uri")
  (return-type "gboolean")
  (parameters
    '("const-char*" "uri")
    '("GError**" "error")
  )
)

(define-method list_shortcut_folder_uris
  (of-object "GtkFileChooser")
  (c-name "gtk_file_chooser_list_shortcut_folder_uris")
  (return-type "GSList*")
)



;; From gtkfilechooserutils.h



;; From gtkfilechooserwidget.h

(define-function gtk_file_chooser_widget_get_type
  (c-name "gtk_file_chooser_widget_get_type")
  (return-type "GType")
)

(define-function gtk_file_chooser_widget_new
  (c-name "gtk_file_chooser_widget_new")
  (is-constructor-of "GtkFileChooserWidget")
  (return-type "GtkWidget*")
  (parameters
    '("GtkFileChooserAction" "action")
  )
)



;; From gtkfilefilter.h

(define-function gtk_file_filter_get_type
  (c-name "gtk_file_filter_get_type")
  (return-type "GType")
)

(define-function gtk_file_filter_new
  (c-name "gtk_file_filter_new")
  (is-constructor-of "GtkFileFilter")
  (return-type "GtkFileFilter*")
)

(define-method set_name
  (of-object "GtkFileFilter")
  (c-name "gtk_file_filter_set_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_name
  (of-object "GtkFileFilter")
  (c-name "gtk_file_filter_get_name")
  (return-type "const-gchar*")
)

(define-method add_mime_type
  (of-object "GtkFileFilter")
  (c-name "gtk_file_filter_add_mime_type")
  (return-type "none")
  (parameters
    '("const-gchar*" "mime_type")
  )
)

(define-method add_pattern
  (of-object "GtkFileFilter")
  (c-name "gtk_file_filter_add_pattern")
  (return-type "none")
  (parameters
    '("const-gchar*" "pattern")
  )
)

(define-method add_pixbuf_formats
  (of-object "GtkFileFilter")
  (c-name "gtk_file_filter_add_pixbuf_formats")
  (return-type "none")
)

(define-method add_custom
  (of-object "GtkFileFilter")
  (c-name "gtk_file_filter_add_custom")
  (return-type "none")
  (parameters
    '("GtkFileFilterFlags" "needed")
    '("GtkFileFilterFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "notify")
  )
)

(define-method get_needed
  (of-object "GtkFileFilter")
  (c-name "gtk_file_filter_get_needed")
  (return-type "GtkFileFilterFlags")
)

(define-method filter
  (of-object "GtkFileFilter")
  (c-name "gtk_file_filter_filter")
  (return-type "gboolean")
  (parameters
    '("const-GtkFileFilterInfo*" "filter_info")
  )
)



;; From gtkfilesystem.h



;; From gtkfilesystemmodel.h



;; From gtkfixed.h

(define-function gtk_fixed_get_type
  (c-name "gtk_fixed_get_type")
  (return-type "GType")
)

(define-function gtk_fixed_new
  (c-name "gtk_fixed_new")
  (is-constructor-of "GtkFixed")
  (return-type "GtkWidget*")
)

(define-method put
  (of-object "GtkFixed")
  (c-name "gtk_fixed_put")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("gint" "x")
    '("gint" "y")
  )
)

(define-method move
  (of-object "GtkFixed")
  (c-name "gtk_fixed_move")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("gint" "x")
    '("gint" "y")
  )
)



;; From gtkflowbox.h

(define-function gtk_flow_box_child_get_type
  (c-name "gtk_flow_box_child_get_type")
  (return-type "GType")
)

(define-function gtk_flow_box_child_new
  (c-name "gtk_flow_box_child_new")
  (is-constructor-of "GtkFlowBoxChild")
  (return-type "GtkWidget*")
)

(define-method get_index
  (of-object "GtkFlowBoxChild")
  (c-name "gtk_flow_box_child_get_index")
  (return-type "gint")
)

(define-method is_selected
  (of-object "GtkFlowBoxChild")
  (c-name "gtk_flow_box_child_is_selected")
  (return-type "gboolean")
)

(define-method changed
  (of-object "GtkFlowBoxChild")
  (c-name "gtk_flow_box_child_changed")
  (return-type "none")
)

(define-function gtk_flow_box_get_type
  (c-name "gtk_flow_box_get_type")
  (return-type "GType")
)

(define-function gtk_flow_box_new
  (c-name "gtk_flow_box_new")
  (is-constructor-of "GtkFlowBox")
  (return-type "GtkWidget*")
)

(define-method bind_model
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_bind_model")
  (return-type "none")
  (parameters
    '("GListModel*" "model")
    '("GtkFlowBoxCreateWidgetFunc" "create_widget_func")
    '("gpointer" "user_data")
    '("GDestroyNotify" "user_data_free_func")
  )
)

(define-method set_homogeneous
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_set_homogeneous")
  (return-type "none")
  (parameters
    '("gboolean" "homogeneous")
  )
)

(define-method get_homogeneous
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_get_homogeneous")
  (return-type "gboolean")
)

(define-method set_row_spacing
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_set_row_spacing")
  (return-type "none")
  (parameters
    '("guint" "spacing")
  )
)

(define-method get_row_spacing
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_get_row_spacing")
  (return-type "guint")
)

(define-method set_column_spacing
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_set_column_spacing")
  (return-type "none")
  (parameters
    '("guint" "spacing")
  )
)

(define-method get_column_spacing
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_get_column_spacing")
  (return-type "guint")
)

(define-method set_min_children_per_line
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_set_min_children_per_line")
  (return-type "none")
  (parameters
    '("guint" "n_children")
  )
)

(define-method get_min_children_per_line
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_get_min_children_per_line")
  (return-type "guint")
)

(define-method set_max_children_per_line
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_set_max_children_per_line")
  (return-type "none")
  (parameters
    '("guint" "n_children")
  )
)

(define-method get_max_children_per_line
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_get_max_children_per_line")
  (return-type "guint")
)

(define-method set_activate_on_single_click
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_set_activate_on_single_click")
  (return-type "none")
  (parameters
    '("gboolean" "single")
  )
)

(define-method get_activate_on_single_click
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_get_activate_on_single_click")
  (return-type "gboolean")
)

(define-method insert
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_insert")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("gint" "position")
  )
)

(define-method get_child_at_index
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_get_child_at_index")
  (return-type "GtkFlowBoxChild*")
  (parameters
    '("gint" "idx")
  )
)

(define-method selected_foreach
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_selected_foreach")
  (return-type "none")
  (parameters
    '("GtkFlowBoxForeachFunc" "func")
    '("gpointer" "data")
  )
)

(define-method get_selected_children
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_get_selected_children")
  (return-type "GList*")
)

(define-method select_child
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_select_child")
  (return-type "none")
  (parameters
    '("GtkFlowBoxChild*" "child")
  )
)

(define-method unselect_child
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_unselect_child")
  (return-type "none")
  (parameters
    '("GtkFlowBoxChild*" "child")
  )
)

(define-method select_all
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_select_all")
  (return-type "none")
)

(define-method unselect_all
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_unselect_all")
  (return-type "none")
)

(define-method set_selection_mode
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_set_selection_mode")
  (return-type "none")
  (parameters
    '("GtkSelectionMode" "mode")
  )
)

(define-method get_selection_mode
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_get_selection_mode")
  (return-type "GtkSelectionMode")
)

(define-method set_hadjustment
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_set_hadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method set_vadjustment
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_set_vadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method set_filter_func
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_set_filter_func")
  (return-type "none")
  (parameters
    '("GtkFlowBoxFilterFunc" "filter_func")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method invalidate_filter
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_invalidate_filter")
  (return-type "none")
)

(define-method set_sort_func
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_set_sort_func")
  (return-type "none")
  (parameters
    '("GtkFlowBoxSortFunc" "sort_func")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method invalidate_sort
  (of-object "GtkFlowBox")
  (c-name "gtk_flow_box_invalidate_sort")
  (return-type "none")
)



;; From gtkfontbutton.h

(define-function gtk_font_button_get_type
  (c-name "gtk_font_button_get_type")
  (return-type "GType")
)

(define-function gtk_font_button_new
  (c-name "gtk_font_button_new")
  (is-constructor-of "GtkFontButton")
  (return-type "GtkWidget*")
)

(define-function gtk_font_button_new_with_font
  (c-name "gtk_font_button_new_with_font")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "fontname")
  )
)

(define-method get_title
  (of-object "GtkFontButton")
  (c-name "gtk_font_button_get_title")
  (return-type "const-gchar*")
)

(define-method set_title
  (of-object "GtkFontButton")
  (c-name "gtk_font_button_set_title")
  (return-type "none")
  (parameters
    '("const-gchar*" "title")
  )
)

(define-method get_use_font
  (of-object "GtkFontButton")
  (c-name "gtk_font_button_get_use_font")
  (return-type "gboolean")
)

(define-method set_use_font
  (of-object "GtkFontButton")
  (c-name "gtk_font_button_set_use_font")
  (return-type "none")
  (parameters
    '("gboolean" "use_font")
  )
)

(define-method get_use_size
  (of-object "GtkFontButton")
  (c-name "gtk_font_button_get_use_size")
  (return-type "gboolean")
)

(define-method set_use_size
  (of-object "GtkFontButton")
  (c-name "gtk_font_button_set_use_size")
  (return-type "none")
  (parameters
    '("gboolean" "use_size")
  )
)

(define-method get_font_name
  (of-object "GtkFontButton")
  (c-name "gtk_font_button_get_font_name")
  (return-type "const-gchar*")
)

(define-method set_font_name
  (of-object "GtkFontButton")
  (c-name "gtk_font_button_set_font_name")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "fontname")
  )
)

(define-method get_show_style
  (of-object "GtkFontButton")
  (c-name "gtk_font_button_get_show_style")
  (return-type "gboolean")
)

(define-method set_show_style
  (of-object "GtkFontButton")
  (c-name "gtk_font_button_set_show_style")
  (return-type "none")
  (parameters
    '("gboolean" "show_style")
  )
)

(define-method get_show_size
  (of-object "GtkFontButton")
  (c-name "gtk_font_button_get_show_size")
  (return-type "gboolean")
)

(define-method set_show_size
  (of-object "GtkFontButton")
  (c-name "gtk_font_button_set_show_size")
  (return-type "none")
  (parameters
    '("gboolean" "show_size")
  )
)



;; From gtkfontchooserdialog.h

(define-function gtk_font_chooser_dialog_get_type
  (c-name "gtk_font_chooser_dialog_get_type")
  (return-type "GType")
)

(define-function gtk_font_chooser_dialog_new
  (c-name "gtk_font_chooser_dialog_new")
  (is-constructor-of "GtkFontChooserDialog")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "title")
    '("GtkWindow*" "parent")
  )
)



;; From gtkfontchooser.h

(define-function gtk_font_chooser_get_type
  (c-name "gtk_font_chooser_get_type")
  (return-type "GType")
)

(define-method get_font_family
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_get_font_family")
  (return-type "PangoFontFamily*")
)

(define-method get_font_face
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_get_font_face")
  (return-type "PangoFontFace*")
)

(define-method get_font_size
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_get_font_size")
  (return-type "gint")
)

(define-method get_font_desc
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_get_font_desc")
  (return-type "PangoFontDescription*")
)

(define-method set_font_desc
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_set_font_desc")
  (return-type "none")
  (parameters
    '("const-PangoFontDescription*" "font_desc")
  )
)

(define-method get_font
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_get_font")
  (return-type "gchar*")
)

(define-method set_font
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_set_font")
  (return-type "none")
  (parameters
    '("const-gchar*" "fontname")
  )
)

(define-method get_preview_text
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_get_preview_text")
  (return-type "gchar*")
)

(define-method set_preview_text
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_set_preview_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method get_show_preview_entry
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_get_show_preview_entry")
  (return-type "gboolean")
)

(define-method set_show_preview_entry
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_set_show_preview_entry")
  (return-type "none")
  (parameters
    '("gboolean" "show_preview_entry")
  )
)

(define-method set_filter_func
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_set_filter_func")
  (return-type "none")
  (parameters
    '("GtkFontFilterFunc" "filter")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method set_font_map
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_set_font_map")
  (return-type "none")
  (parameters
    '("PangoFontMap*" "fontmap")
  )
)

(define-method get_font_map
  (of-object "GtkFontChooser")
  (c-name "gtk_font_chooser_get_font_map")
  (return-type "PangoFontMap*")
)



;; From gtkfontchooserutils.h



;; From gtkfontchooserwidget.h

(define-function gtk_font_chooser_widget_get_type
  (c-name "gtk_font_chooser_widget_get_type")
  (return-type "GType")
)

(define-function gtk_font_chooser_widget_new
  (c-name "gtk_font_chooser_widget_new")
  (is-constructor-of "GtkFontChooserWidget")
  (return-type "GtkWidget*")
)



;; From gtkframe.h

(define-function gtk_frame_get_type
  (c-name "gtk_frame_get_type")
  (return-type "GType")
)

(define-function gtk_frame_new
  (c-name "gtk_frame_new")
  (is-constructor-of "GtkFrame")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method set_label
  (of-object "GtkFrame")
  (c-name "gtk_frame_set_label")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method get_label
  (of-object "GtkFrame")
  (c-name "gtk_frame_get_label")
  (return-type "const-gchar*")
)

(define-method set_label_widget
  (of-object "GtkFrame")
  (c-name "gtk_frame_set_label_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "label_widget")
  )
)

(define-method get_label_widget
  (of-object "GtkFrame")
  (c-name "gtk_frame_get_label_widget")
  (return-type "GtkWidget*")
)

(define-method set_label_align
  (of-object "GtkFrame")
  (c-name "gtk_frame_set_label_align")
  (return-type "none")
  (parameters
    '("gfloat" "xalign")
    '("gfloat" "yalign")
  )
)

(define-method get_label_align
  (of-object "GtkFrame")
  (c-name "gtk_frame_get_label_align")
  (return-type "none")
  (parameters
    '("gfloat*" "xalign")
    '("gfloat*" "yalign")
  )
)

(define-method set_shadow_type
  (of-object "GtkFrame")
  (c-name "gtk_frame_set_shadow_type")
  (return-type "none")
  (parameters
    '("GtkShadowType" "type")
  )
)

(define-method get_shadow_type
  (of-object "GtkFrame")
  (c-name "gtk_frame_get_shadow_type")
  (return-type "GtkShadowType")
)



;; From gtkgesturedrag.h

(define-function gtk_gesture_drag_get_type
  (c-name "gtk_gesture_drag_get_type")
  (return-type "GType")
)

(define-function gtk_gesture_drag_new
  (c-name "gtk_gesture_drag_new")
  (is-constructor-of "GtkGestureDrag")
  (return-type "GtkGesture*")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method get_start_point
  (of-object "GtkGestureDrag")
  (c-name "gtk_gesture_drag_get_start_point")
  (return-type "gboolean")
  (parameters
    '("gdouble*" "x")
    '("gdouble*" "y")
  )
)

(define-method get_offset
  (of-object "GtkGestureDrag")
  (c-name "gtk_gesture_drag_get_offset")
  (return-type "gboolean")
  (parameters
    '("gdouble*" "x")
    '("gdouble*" "y")
  )
)



;; From gtkgesture.h

(define-function gtk_gesture_get_type
  (c-name "gtk_gesture_get_type")
  (return-type "GType")
)

(define-method get_device
  (of-object "GtkGesture")
  (c-name "gtk_gesture_get_device")
  (return-type "GdkDevice*")
)

(define-method set_state
  (of-object "GtkGesture")
  (c-name "gtk_gesture_set_state")
  (return-type "gboolean")
  (parameters
    '("GtkEventSequenceState" "state")
  )
)

(define-method get_sequence_state
  (of-object "GtkGesture")
  (c-name "gtk_gesture_get_sequence_state")
  (return-type "GtkEventSequenceState")
  (parameters
    '("GdkEventSequence*" "sequence")
  )
)

(define-method set_sequence_state
  (of-object "GtkGesture")
  (c-name "gtk_gesture_set_sequence_state")
  (return-type "gboolean")
  (parameters
    '("GdkEventSequence*" "sequence")
    '("GtkEventSequenceState" "state")
  )
)

(define-method get_sequences
  (of-object "GtkGesture")
  (c-name "gtk_gesture_get_sequences")
  (return-type "GList*")
)

(define-method get_last_updated_sequence
  (of-object "GtkGesture")
  (c-name "gtk_gesture_get_last_updated_sequence")
  (return-type "GdkEventSequence*")
)

(define-method handles_sequence
  (of-object "GtkGesture")
  (c-name "gtk_gesture_handles_sequence")
  (return-type "gboolean")
  (parameters
    '("GdkEventSequence*" "sequence")
  )
)

(define-method get_last_event
  (of-object "GtkGesture")
  (c-name "gtk_gesture_get_last_event")
  (return-type "const-GdkEvent*")
  (parameters
    '("GdkEventSequence*" "sequence")
  )
)

(define-method get_point
  (of-object "GtkGesture")
  (c-name "gtk_gesture_get_point")
  (return-type "gboolean")
  (parameters
    '("GdkEventSequence*" "sequence")
    '("gdouble*" "x")
    '("gdouble*" "y")
  )
)

(define-method get_bounding_box
  (of-object "GtkGesture")
  (c-name "gtk_gesture_get_bounding_box")
  (return-type "gboolean")
  (parameters
    '("GdkRectangle*" "rect")
  )
)

(define-method get_bounding_box_center
  (of-object "GtkGesture")
  (c-name "gtk_gesture_get_bounding_box_center")
  (return-type "gboolean")
  (parameters
    '("gdouble*" "x")
    '("gdouble*" "y")
  )
)

(define-method is_active
  (of-object "GtkGesture")
  (c-name "gtk_gesture_is_active")
  (return-type "gboolean")
)

(define-method is_recognized
  (of-object "GtkGesture")
  (c-name "gtk_gesture_is_recognized")
  (return-type "gboolean")
)

(define-method get_window
  (of-object "GtkGesture")
  (c-name "gtk_gesture_get_window")
  (return-type "GdkWindow*")
)

(define-method set_window
  (of-object "GtkGesture")
  (c-name "gtk_gesture_set_window")
  (return-type "none")
  (parameters
    '("GdkWindow*" "window")
  )
)

(define-method group
  (of-object "GtkGesture")
  (c-name "gtk_gesture_group")
  (return-type "none")
  (parameters
    '("GtkGesture*" "gesture")
  )
)

(define-method ungroup
  (of-object "GtkGesture")
  (c-name "gtk_gesture_ungroup")
  (return-type "none")
)

(define-method get_group
  (of-object "GtkGesture")
  (c-name "gtk_gesture_get_group")
  (return-type "GList*")
)

(define-method is_grouped_with
  (of-object "GtkGesture")
  (c-name "gtk_gesture_is_grouped_with")
  (return-type "gboolean")
  (parameters
    '("GtkGesture*" "other")
  )
)



;; From gtkgesturelongpress.h

(define-function gtk_gesture_long_press_get_type
  (c-name "gtk_gesture_long_press_get_type")
  (return-type "GType")
)

(define-function gtk_gesture_long_press_new
  (c-name "gtk_gesture_long_press_new")
  (is-constructor-of "GtkGestureLongPress")
  (return-type "GtkGesture*")
  (parameters
    '("GtkWidget*" "widget")
  )
)



;; From gtkgesturemultipress.h

(define-function gtk_gesture_multi_press_get_type
  (c-name "gtk_gesture_multi_press_get_type")
  (return-type "GType")
)

(define-function gtk_gesture_multi_press_new
  (c-name "gtk_gesture_multi_press_new")
  (is-constructor-of "GtkGestureMultiPress")
  (return-type "GtkGesture*")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method set_area
  (of-object "GtkGestureMultiPress")
  (c-name "gtk_gesture_multi_press_set_area")
  (return-type "none")
  (parameters
    '("const-GdkRectangle*" "rect")
  )
)

(define-method get_area
  (of-object "GtkGestureMultiPress")
  (c-name "gtk_gesture_multi_press_get_area")
  (return-type "gboolean")
  (parameters
    '("GdkRectangle*" "rect")
  )
)



;; From gtkgesturepan.h

(define-function gtk_gesture_pan_get_type
  (c-name "gtk_gesture_pan_get_type")
  (return-type "GType")
)

(define-function gtk_gesture_pan_new
  (c-name "gtk_gesture_pan_new")
  (is-constructor-of "GtkGesturePan")
  (return-type "GtkGesture*")
  (parameters
    '("GtkWidget*" "widget")
    '("GtkOrientation" "orientation")
  )
)

(define-method get_orientation
  (of-object "GtkGesturePan")
  (c-name "gtk_gesture_pan_get_orientation")
  (return-type "GtkOrientation")
)

(define-method set_orientation
  (of-object "GtkGesturePan")
  (c-name "gtk_gesture_pan_set_orientation")
  (return-type "none")
  (parameters
    '("GtkOrientation" "orientation")
  )
)



;; From gtkgesturerotate.h

(define-function gtk_gesture_rotate_get_type
  (c-name "gtk_gesture_rotate_get_type")
  (return-type "GType")
)

(define-function gtk_gesture_rotate_new
  (c-name "gtk_gesture_rotate_new")
  (is-constructor-of "GtkGestureRotate")
  (return-type "GtkGesture*")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method get_angle_delta
  (of-object "GtkGestureRotate")
  (c-name "gtk_gesture_rotate_get_angle_delta")
  (return-type "gdouble")
)



;; From gtkgesturesingle.h

(define-function gtk_gesture_single_get_type
  (c-name "gtk_gesture_single_get_type")
  (return-type "GType")
)

(define-method get_touch_only
  (of-object "GtkGestureSingle")
  (c-name "gtk_gesture_single_get_touch_only")
  (return-type "gboolean")
)

(define-method set_touch_only
  (of-object "GtkGestureSingle")
  (c-name "gtk_gesture_single_set_touch_only")
  (return-type "none")
  (parameters
    '("gboolean" "touch_only")
  )
)

(define-method get_exclusive
  (of-object "GtkGestureSingle")
  (c-name "gtk_gesture_single_get_exclusive")
  (return-type "gboolean")
)

(define-method set_exclusive
  (of-object "GtkGestureSingle")
  (c-name "gtk_gesture_single_set_exclusive")
  (return-type "none")
  (parameters
    '("gboolean" "exclusive")
  )
)

(define-method get_button
  (of-object "GtkGestureSingle")
  (c-name "gtk_gesture_single_get_button")
  (return-type "guint")
)

(define-method set_button
  (of-object "GtkGestureSingle")
  (c-name "gtk_gesture_single_set_button")
  (return-type "none")
  (parameters
    '("guint" "button")
  )
)

(define-method get_current_button
  (of-object "GtkGestureSingle")
  (c-name "gtk_gesture_single_get_current_button")
  (return-type "guint")
)

(define-method get_current_sequence
  (of-object "GtkGestureSingle")
  (c-name "gtk_gesture_single_get_current_sequence")
  (return-type "GdkEventSequence*")
)



;; From gtkgestureswipe.h

(define-function gtk_gesture_swipe_get_type
  (c-name "gtk_gesture_swipe_get_type")
  (return-type "GType")
)

(define-function gtk_gesture_swipe_new
  (c-name "gtk_gesture_swipe_new")
  (is-constructor-of "GtkGestureSwipe")
  (return-type "GtkGesture*")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method get_velocity
  (of-object "GtkGestureSwipe")
  (c-name "gtk_gesture_swipe_get_velocity")
  (return-type "gboolean")
  (parameters
    '("gdouble*" "velocity_x")
    '("gdouble*" "velocity_y")
  )
)



;; From gtkgesturezoom.h

(define-function gtk_gesture_zoom_get_type
  (c-name "gtk_gesture_zoom_get_type")
  (return-type "GType")
)

(define-function gtk_gesture_zoom_new
  (c-name "gtk_gesture_zoom_new")
  (is-constructor-of "GtkGestureZoom")
  (return-type "GtkGesture*")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method get_scale_delta
  (of-object "GtkGestureZoom")
  (c-name "gtk_gesture_zoom_get_scale_delta")
  (return-type "gdouble")
)



;; From gtkglarea.h

(define-function gtk_gl_area_get_type
  (c-name "gtk_gl_area_get_type")
  (return-type "GType")
)

(define-function gtk_gl_area_new
  (c-name "gtk_gl_area_new")
  (is-constructor-of "GtkGlArea")
  (return-type "GtkWidget*")
)

(define-method set_required_version
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_set_required_version")
  (return-type "none")
  (parameters
    '("gint" "major")
    '("gint" "minor")
  )
)

(define-method get_required_version
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_get_required_version")
  (return-type "none")
  (parameters
    '("gint*" "major")
    '("gint*" "minor")
  )
)

(define-method get_has_alpha
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_get_has_alpha")
  (return-type "gboolean")
)

(define-method set_has_alpha
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_set_has_alpha")
  (return-type "none")
  (parameters
    '("gboolean" "has_alpha")
  )
)

(define-method get_has_depth_buffer
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_get_has_depth_buffer")
  (return-type "gboolean")
)

(define-method set_has_depth_buffer
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_set_has_depth_buffer")
  (return-type "none")
  (parameters
    '("gboolean" "has_depth_buffer")
  )
)

(define-method get_has_stencil_buffer
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_get_has_stencil_buffer")
  (return-type "gboolean")
)

(define-method set_has_stencil_buffer
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_set_has_stencil_buffer")
  (return-type "none")
  (parameters
    '("gboolean" "has_stencil_buffer")
  )
)

(define-method get_auto_render
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_get_auto_render")
  (return-type "gboolean")
)

(define-method set_auto_render
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_set_auto_render")
  (return-type "none")
  (parameters
    '("gboolean" "auto_render")
  )
)

(define-method queue_render
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_queue_render")
  (return-type "none")
)

(define-method get_context
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_get_context")
  (return-type "GdkGLContext*")
)

(define-method make_current
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_make_current")
  (return-type "none")
)

(define-method attach_buffers
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_attach_buffers")
  (return-type "none")
)

(define-method set_error
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_set_error")
  (return-type "none")
  (parameters
    '("const-GError*" "error")
  )
)

(define-method get_error
  (of-object "GtkGLArea")
  (c-name "gtk_gl_area_get_error")
  (return-type "GError*")
)



;; From gtkgrid.h

(define-function gtk_grid_get_type
  (c-name "gtk_grid_get_type")
  (return-type "GType")
)

(define-function gtk_grid_new
  (c-name "gtk_grid_new")
  (is-constructor-of "GtkGrid")
  (return-type "GtkWidget*")
)

(define-method attach
  (of-object "GtkGrid")
  (c-name "gtk_grid_attach")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gint" "left")
    '("gint" "top")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-method attach_next_to
  (of-object "GtkGrid")
  (c-name "gtk_grid_attach_next_to")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("GtkWidget*" "sibling")
    '("GtkPositionType" "side")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-method get_child_at
  (of-object "GtkGrid")
  (c-name "gtk_grid_get_child_at")
  (return-type "GtkWidget*")
  (parameters
    '("gint" "left")
    '("gint" "top")
  )
)

(define-method insert_row
  (of-object "GtkGrid")
  (c-name "gtk_grid_insert_row")
  (return-type "none")
  (parameters
    '("gint" "position")
  )
)

(define-method insert_column
  (of-object "GtkGrid")
  (c-name "gtk_grid_insert_column")
  (return-type "none")
  (parameters
    '("gint" "position")
  )
)

(define-method remove_row
  (of-object "GtkGrid")
  (c-name "gtk_grid_remove_row")
  (return-type "none")
  (parameters
    '("gint" "position")
  )
)

(define-method remove_column
  (of-object "GtkGrid")
  (c-name "gtk_grid_remove_column")
  (return-type "none")
  (parameters
    '("gint" "position")
  )
)

(define-method insert_next_to
  (of-object "GtkGrid")
  (c-name "gtk_grid_insert_next_to")
  (return-type "none")
  (parameters
    '("GtkWidget*" "sibling")
    '("GtkPositionType" "side")
  )
)

(define-method set_row_homogeneous
  (of-object "GtkGrid")
  (c-name "gtk_grid_set_row_homogeneous")
  (return-type "none")
  (parameters
    '("gboolean" "homogeneous")
  )
)

(define-method get_row_homogeneous
  (of-object "GtkGrid")
  (c-name "gtk_grid_get_row_homogeneous")
  (return-type "gboolean")
)

(define-method set_row_spacing
  (of-object "GtkGrid")
  (c-name "gtk_grid_set_row_spacing")
  (return-type "none")
  (parameters
    '("guint" "spacing")
  )
)

(define-method get_row_spacing
  (of-object "GtkGrid")
  (c-name "gtk_grid_get_row_spacing")
  (return-type "guint")
)

(define-method set_column_homogeneous
  (of-object "GtkGrid")
  (c-name "gtk_grid_set_column_homogeneous")
  (return-type "none")
  (parameters
    '("gboolean" "homogeneous")
  )
)

(define-method get_column_homogeneous
  (of-object "GtkGrid")
  (c-name "gtk_grid_get_column_homogeneous")
  (return-type "gboolean")
)

(define-method set_column_spacing
  (of-object "GtkGrid")
  (c-name "gtk_grid_set_column_spacing")
  (return-type "none")
  (parameters
    '("guint" "spacing")
  )
)

(define-method get_column_spacing
  (of-object "GtkGrid")
  (c-name "gtk_grid_get_column_spacing")
  (return-type "guint")
)

(define-method set_row_baseline_position
  (of-object "GtkGrid")
  (c-name "gtk_grid_set_row_baseline_position")
  (return-type "none")
  (parameters
    '("gint" "row")
    '("GtkBaselinePosition" "pos")
  )
)

(define-method get_row_baseline_position
  (of-object "GtkGrid")
  (c-name "gtk_grid_get_row_baseline_position")
  (return-type "GtkBaselinePosition")
  (parameters
    '("gint" "row")
  )
)

(define-method set_baseline_row
  (of-object "GtkGrid")
  (c-name "gtk_grid_set_baseline_row")
  (return-type "none")
  (parameters
    '("gint" "row")
  )
)

(define-method get_baseline_row
  (of-object "GtkGrid")
  (c-name "gtk_grid_get_baseline_row")
  (return-type "gint")
)



;; From gtk.h



;; From gtkheaderbar.h

(define-function gtk_header_bar_get_type
  (c-name "gtk_header_bar_get_type")
  (return-type "GType")
)

(define-function gtk_header_bar_new
  (c-name "gtk_header_bar_new")
  (is-constructor-of "GtkHeaderBar")
  (return-type "GtkWidget*")
)

(define-method set_title
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_set_title")
  (return-type "none")
  (parameters
    '("const-gchar*" "title")
  )
)

(define-method get_title
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_get_title")
  (return-type "const-gchar*")
)

(define-method set_subtitle
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_set_subtitle")
  (return-type "none")
  (parameters
    '("const-gchar*" "subtitle")
  )
)

(define-method get_subtitle
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_get_subtitle")
  (return-type "const-gchar*")
)

(define-method set_custom_title
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_set_custom_title")
  (return-type "none")
  (parameters
    '("GtkWidget*" "title_widget")
  )
)

(define-method get_custom_title
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_get_custom_title")
  (return-type "GtkWidget*")
)

(define-method pack_start
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_pack_start")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method pack_end
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_pack_end")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method get_show_close_button
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_get_show_close_button")
  (return-type "gboolean")
)

(define-method set_show_close_button
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_set_show_close_button")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method set_has_subtitle
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_set_has_subtitle")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_has_subtitle
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_get_has_subtitle")
  (return-type "gboolean")
)

(define-method set_decoration_layout
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_set_decoration_layout")
  (return-type "none")
  (parameters
    '("const-gchar*" "layout")
  )
)

(define-method get_decoration_layout
  (of-object "GtkHeaderBar")
  (c-name "gtk_header_bar_get_decoration_layout")
  (return-type "const-gchar*")
)



;; From gtkiconcache.h



;; From gtkiconcachevalidator.h



;; From gtkicontheme.h

(define-function gtk_icon_theme_error_quark
  (c-name "gtk_icon_theme_error_quark")
  (return-type "GQuark")
)

(define-function gtk_icon_theme_get_type
  (c-name "gtk_icon_theme_get_type")
  (return-type "GType")
)

(define-function gtk_icon_theme_new
  (c-name "gtk_icon_theme_new")
  (is-constructor-of "GtkIconTheme")
  (return-type "GtkIconTheme*")
)

(define-function gtk_icon_theme_get_default
  (c-name "gtk_icon_theme_get_default")
  (return-type "GtkIconTheme*")
)

(define-function gtk_icon_theme_get_for_screen
  (c-name "gtk_icon_theme_get_for_screen")
  (return-type "GtkIconTheme*")
  (parameters
    '("GdkScreen*" "screen")
  )
)

(define-method set_screen
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_set_screen")
  (return-type "none")
  (parameters
    '("GdkScreen*" "screen")
  )
)

(define-method set_search_path
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_set_search_path")
  (return-type "none")
  (parameters
    '("const-gchar*[]" "path")
    '("gint" "n_elements")
  )
)

(define-method get_search_path
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_get_search_path")
  (return-type "none")
  (parameters
    '("gchar**[]" "path")
    '("gint*" "n_elements")
  )
)

(define-method append_search_path
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_append_search_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "path")
  )
)

(define-method prepend_search_path
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_prepend_search_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "path")
  )
)

(define-method add_resource_path
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_add_resource_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "path")
  )
)

(define-method set_custom_theme
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_set_custom_theme")
  (return-type "none")
  (parameters
    '("const-gchar*" "theme_name")
  )
)

(define-method has_icon
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_has_icon")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "icon_name")
  )
)

(define-method get_icon_sizes
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_get_icon_sizes")
  (return-type "gint*")
  (parameters
    '("const-gchar*" "icon_name")
  )
)

(define-method lookup_icon
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_lookup_icon")
  (return-type "GtkIconInfo*")
  (parameters
    '("const-gchar*" "icon_name")
    '("gint" "size")
    '("GtkIconLookupFlags" "flags")
  )
)

(define-method lookup_icon_for_scale
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_lookup_icon_for_scale")
  (return-type "GtkIconInfo*")
  (parameters
    '("const-gchar*" "icon_name")
    '("gint" "size")
    '("gint" "scale")
    '("GtkIconLookupFlags" "flags")
  )
)

(define-method choose_icon
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_choose_icon")
  (return-type "GtkIconInfo*")
  (parameters
    '("const-gchar*[]" "icon_names")
    '("gint" "size")
    '("GtkIconLookupFlags" "flags")
  )
)

(define-method choose_icon_for_scale
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_choose_icon_for_scale")
  (return-type "GtkIconInfo*")
  (parameters
    '("const-gchar*[]" "icon_names")
    '("gint" "size")
    '("gint" "scale")
    '("GtkIconLookupFlags" "flags")
  )
)

(define-method load_icon
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_load_icon")
  (return-type "GdkPixbuf*")
  (parameters
    '("const-gchar*" "icon_name")
    '("gint" "size")
    '("GtkIconLookupFlags" "flags")
    '("GError**" "error")
  )
)

(define-method load_icon_for_scale
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_load_icon_for_scale")
  (return-type "GdkPixbuf*")
  (parameters
    '("const-gchar*" "icon_name")
    '("gint" "size")
    '("gint" "scale")
    '("GtkIconLookupFlags" "flags")
    '("GError**" "error")
  )
)

(define-method load_surface
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_load_surface")
  (return-type "cairo_surface_t*")
  (parameters
    '("const-gchar*" "icon_name")
    '("gint" "size")
    '("gint" "scale")
    '("GdkWindow*" "for_window")
    '("GtkIconLookupFlags" "flags")
    '("GError**" "error")
  )
)

(define-method lookup_by_gicon
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_lookup_by_gicon")
  (return-type "GtkIconInfo*")
  (parameters
    '("GIcon*" "icon")
    '("gint" "size")
    '("GtkIconLookupFlags" "flags")
  )
)

(define-method lookup_by_gicon_for_scale
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_lookup_by_gicon_for_scale")
  (return-type "GtkIconInfo*")
  (parameters
    '("GIcon*" "icon")
    '("gint" "size")
    '("gint" "scale")
    '("GtkIconLookupFlags" "flags")
  )
)

(define-method list_icons
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_list_icons")
  (return-type "GList*")
  (parameters
    '("const-gchar*" "context")
  )
)

(define-method list_contexts
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_list_contexts")
  (return-type "GList*")
)

(define-method get_example_icon_name
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_get_example_icon_name")
  (return-type "char*")
)

(define-method rescan_if_needed
  (of-object "GtkIconTheme")
  (c-name "gtk_icon_theme_rescan_if_needed")
  (return-type "gboolean")
)

(define-function gtk_icon_theme_add_builtin_icon
  (c-name "gtk_icon_theme_add_builtin_icon")
  (return-type "none")
  (parameters
    '("const-gchar*" "icon_name")
    '("gint" "size")
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-function gtk_icon_info_get_type
  (c-name "gtk_icon_info_get_type")
  (return-type "GType")
)

(define-method copy
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_copy")
  (return-type "GtkIconInfo*")
)

(define-method free
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_free")
  (return-type "none")
)

(define-function gtk_icon_info_new_for_pixbuf
  (c-name "gtk_icon_info_new_for_pixbuf")
  (return-type "GtkIconInfo*")
  (parameters
    '("GtkIconTheme*" "icon_theme")
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-method get_base_size
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_get_base_size")
  (return-type "gint")
)

(define-method get_base_scale
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_get_base_scale")
  (return-type "gint")
)

(define-method get_filename
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_get_filename")
  (return-type "const-gchar*")
)

(define-method get_builtin_pixbuf
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_get_builtin_pixbuf")
  (return-type "GdkPixbuf*")
)

(define-method is_symbolic
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_is_symbolic")
  (return-type "gboolean")
)

(define-method load_icon
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_load_icon")
  (return-type "GdkPixbuf*")
  (parameters
    '("GError**" "error")
  )
)

(define-method load_surface
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_load_surface")
  (return-type "cairo_surface_t*")
  (parameters
    '("GdkWindow*" "for_window")
    '("GError**" "error")
  )
)

(define-method load_icon_async
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_load_icon_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method load_icon_finish
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_load_icon_finish")
  (return-type "GdkPixbuf*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method load_symbolic
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_load_symbolic")
  (return-type "GdkPixbuf*")
  (parameters
    '("const-GdkRGBA*" "fg")
    '("const-GdkRGBA*" "success_color")
    '("const-GdkRGBA*" "warning_color")
    '("const-GdkRGBA*" "error_color")
    '("gboolean*" "was_symbolic")
    '("GError**" "error")
  )
)

(define-method load_symbolic_async
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_load_symbolic_async")
  (return-type "none")
  (parameters
    '("const-GdkRGBA*" "fg")
    '("const-GdkRGBA*" "success_color")
    '("const-GdkRGBA*" "warning_color")
    '("const-GdkRGBA*" "error_color")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method load_symbolic_finish
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_load_symbolic_finish")
  (return-type "GdkPixbuf*")
  (parameters
    '("GAsyncResult*" "res")
    '("gboolean*" "was_symbolic")
    '("GError**" "error")
  )
)

(define-method load_symbolic_for_context
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_load_symbolic_for_context")
  (return-type "GdkPixbuf*")
  (parameters
    '("GtkStyleContext*" "context")
    '("gboolean*" "was_symbolic")
    '("GError**" "error")
  )
)

(define-method load_symbolic_for_context_async
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_load_symbolic_for_context_async")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method load_symbolic_for_context_finish
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_load_symbolic_for_context_finish")
  (return-type "GdkPixbuf*")
  (parameters
    '("GAsyncResult*" "res")
    '("gboolean*" "was_symbolic")
    '("GError**" "error")
  )
)

(define-method load_symbolic_for_style
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_load_symbolic_for_style")
  (return-type "GdkPixbuf*")
  (parameters
    '("GtkStyle*" "style")
    '("GtkStateType" "state")
    '("gboolean*" "was_symbolic")
    '("GError**" "error")
  )
)

(define-method set_raw_coordinates
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_set_raw_coordinates")
  (return-type "none")
  (parameters
    '("gboolean" "raw_coordinates")
  )
)

(define-method get_embedded_rect
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_get_embedded_rect")
  (return-type "gboolean")
  (parameters
    '("GdkRectangle*" "rectangle")
  )
)

(define-method get_attach_points
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_get_attach_points")
  (return-type "gboolean")
  (parameters
    '("GdkPoint**" "points")
    '("gint*" "n_points")
  )
)

(define-method get_display_name
  (of-object "GtkIconInfo")
  (c-name "gtk_icon_info_get_display_name")
  (return-type "const-gchar*")
)



;; From gtkiconview.h

(define-function gtk_icon_view_get_type
  (c-name "gtk_icon_view_get_type")
  (return-type "GType")
)

(define-function gtk_icon_view_new
  (c-name "gtk_icon_view_new")
  (is-constructor-of "GtkIconView")
  (return-type "GtkWidget*")
)

(define-function gtk_icon_view_new_with_area
  (c-name "gtk_icon_view_new_with_area")
  (return-type "GtkWidget*")
  (parameters
    '("GtkCellArea*" "area")
  )
)

(define-function gtk_icon_view_new_with_model
  (c-name "gtk_icon_view_new_with_model")
  (return-type "GtkWidget*")
  (parameters
    '("GtkTreeModel*" "model")
  )
)

(define-method set_model
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_model")
  (return-type "none")
  (parameters
    '("GtkTreeModel*" "model")
  )
)

(define-method get_model
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_model")
  (return-type "GtkTreeModel*")
)

(define-method set_text_column
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_text_column")
  (return-type "none")
  (parameters
    '("gint" "column")
  )
)

(define-method get_text_column
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_text_column")
  (return-type "gint")
)

(define-method set_markup_column
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_markup_column")
  (return-type "none")
  (parameters
    '("gint" "column")
  )
)

(define-method get_markup_column
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_markup_column")
  (return-type "gint")
)

(define-method set_pixbuf_column
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_pixbuf_column")
  (return-type "none")
  (parameters
    '("gint" "column")
  )
)

(define-method get_pixbuf_column
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_pixbuf_column")
  (return-type "gint")
)

(define-method set_item_orientation
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_item_orientation")
  (return-type "none")
  (parameters
    '("GtkOrientation" "orientation")
  )
)

(define-method get_item_orientation
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_item_orientation")
  (return-type "GtkOrientation")
)

(define-method set_columns
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_columns")
  (return-type "none")
  (parameters
    '("gint" "columns")
  )
)

(define-method get_columns
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_columns")
  (return-type "gint")
)

(define-method set_item_width
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_item_width")
  (return-type "none")
  (parameters
    '("gint" "item_width")
  )
)

(define-method get_item_width
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_item_width")
  (return-type "gint")
)

(define-method set_spacing
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_spacing")
  (return-type "none")
  (parameters
    '("gint" "spacing")
  )
)

(define-method get_spacing
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_spacing")
  (return-type "gint")
)

(define-method set_row_spacing
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_row_spacing")
  (return-type "none")
  (parameters
    '("gint" "row_spacing")
  )
)

(define-method get_row_spacing
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_row_spacing")
  (return-type "gint")
)

(define-method set_column_spacing
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_column_spacing")
  (return-type "none")
  (parameters
    '("gint" "column_spacing")
  )
)

(define-method get_column_spacing
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_column_spacing")
  (return-type "gint")
)

(define-method set_margin
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_margin")
  (return-type "none")
  (parameters
    '("gint" "margin")
  )
)

(define-method get_margin
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_margin")
  (return-type "gint")
)

(define-method set_item_padding
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_item_padding")
  (return-type "none")
  (parameters
    '("gint" "item_padding")
  )
)

(define-method get_item_padding
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_item_padding")
  (return-type "gint")
)

(define-method get_path_at_pos
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_path_at_pos")
  (return-type "GtkTreePath*")
  (parameters
    '("gint" "x")
    '("gint" "y")
  )
)

(define-method get_item_at_pos
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_item_at_pos")
  (return-type "gboolean")
  (parameters
    '("gint" "x")
    '("gint" "y")
    '("GtkTreePath**" "path")
    '("GtkCellRenderer**" "cell")
  )
)

(define-method get_visible_range
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_visible_range")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath**" "start_path")
    '("GtkTreePath**" "end_path")
  )
)

(define-method set_activate_on_single_click
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_activate_on_single_click")
  (return-type "none")
  (parameters
    '("gboolean" "single")
  )
)

(define-method get_activate_on_single_click
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_activate_on_single_click")
  (return-type "gboolean")
)

(define-method selected_foreach
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_selected_foreach")
  (return-type "none")
  (parameters
    '("GtkIconViewForeachFunc" "func")
    '("gpointer" "data")
  )
)

(define-method set_selection_mode
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_selection_mode")
  (return-type "none")
  (parameters
    '("GtkSelectionMode" "mode")
  )
)

(define-method get_selection_mode
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_selection_mode")
  (return-type "GtkSelectionMode")
)

(define-method select_path
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_select_path")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method unselect_path
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_unselect_path")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method path_is_selected
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_path_is_selected")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method get_item_row
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_item_row")
  (return-type "gint")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method get_item_column
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_item_column")
  (return-type "gint")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method get_selected_items
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_selected_items")
  (return-type "GList*")
)

(define-method select_all
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_select_all")
  (return-type "none")
)

(define-method unselect_all
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_unselect_all")
  (return-type "none")
)

(define-method item_activated
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_item_activated")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method set_cursor
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_cursor")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkCellRenderer*" "cell")
    '("gboolean" "start_editing")
  )
)

(define-method get_cursor
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_cursor")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath**" "path")
    '("GtkCellRenderer**" "cell")
  )
)

(define-method scroll_to_path
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_scroll_to_path")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("gboolean" "use_align")
    '("gfloat" "row_align")
    '("gfloat" "col_align")
  )
)

(define-method enable_model_drag_source
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_enable_model_drag_source")
  (return-type "none")
  (parameters
    '("GdkModifierType" "start_button_mask")
    '("const-GtkTargetEntry*" "targets")
    '("gint" "n_targets")
    '("GdkDragAction" "actions")
  )
)

(define-method enable_model_drag_dest
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_enable_model_drag_dest")
  (return-type "none")
  (parameters
    '("const-GtkTargetEntry*" "targets")
    '("gint" "n_targets")
    '("GdkDragAction" "actions")
  )
)

(define-method unset_model_drag_source
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_unset_model_drag_source")
  (return-type "none")
)

(define-method unset_model_drag_dest
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_unset_model_drag_dest")
  (return-type "none")
)

(define-method set_reorderable
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_reorderable")
  (return-type "none")
  (parameters
    '("gboolean" "reorderable")
  )
)

(define-method get_reorderable
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_reorderable")
  (return-type "gboolean")
)

(define-method set_drag_dest_item
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_drag_dest_item")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkIconViewDropPosition" "pos")
  )
)

(define-method get_drag_dest_item
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_drag_dest_item")
  (return-type "none")
  (parameters
    '("GtkTreePath**" "path")
    '("GtkIconViewDropPosition*" "pos")
  )
)

(define-method get_dest_item_at_pos
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_dest_item_at_pos")
  (return-type "gboolean")
  (parameters
    '("gint" "drag_x")
    '("gint" "drag_y")
    '("GtkTreePath**" "path")
    '("GtkIconViewDropPosition*" "pos")
  )
)

(define-method create_drag_icon
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_create_drag_icon")
  (return-type "cairo_surface_t*")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method convert_widget_to_bin_window_coords
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_convert_widget_to_bin_window_coords")
  (return-type "none")
  (parameters
    '("gint" "wx")
    '("gint" "wy")
    '("gint*" "bx")
    '("gint*" "by")
  )
)

(define-method get_cell_rect
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_cell_rect")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkCellRenderer*" "cell")
    '("GdkRectangle*" "rect")
  )
)

(define-method set_tooltip_item
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_tooltip_item")
  (return-type "none")
  (parameters
    '("GtkTooltip*" "tooltip")
    '("GtkTreePath*" "path")
  )
)

(define-method set_tooltip_cell
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_tooltip_cell")
  (return-type "none")
  (parameters
    '("GtkTooltip*" "tooltip")
    '("GtkTreePath*" "path")
    '("GtkCellRenderer*" "cell")
  )
)

(define-method get_tooltip_context
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_tooltip_context")
  (return-type "gboolean")
  (parameters
    '("gint*" "x")
    '("gint*" "y")
    '("gboolean" "keyboard_tip")
    '("GtkTreeModel**" "model")
    '("GtkTreePath**" "path")
    '("GtkTreeIter*" "iter")
  )
)

(define-method set_tooltip_column
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_set_tooltip_column")
  (return-type "none")
  (parameters
    '("gint" "column")
  )
)

(define-method get_tooltip_column
  (of-object "GtkIconView")
  (c-name "gtk_icon_view_get_tooltip_column")
  (return-type "gint")
)



;; From gtkimage.h

(define-function gtk_image_get_type
  (c-name "gtk_image_get_type")
  (return-type "GType")
)

(define-function gtk_image_new
  (c-name "gtk_image_new")
  (is-constructor-of "GtkImage")
  (return-type "GtkWidget*")
)

(define-function gtk_image_new_from_file
  (c-name "gtk_image_new_from_file")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "filename")
  )
)

(define-function gtk_image_new_from_resource
  (c-name "gtk_image_new_from_resource")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "resource_path")
  )
)

(define-function gtk_image_new_from_pixbuf
  (c-name "gtk_image_new_from_pixbuf")
  (return-type "GtkWidget*")
  (parameters
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-function gtk_image_new_from_stock
  (c-name "gtk_image_new_from_stock")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "stock_id")
    '("GtkIconSize" "size")
  )
)

(define-function gtk_image_new_from_icon_set
  (c-name "gtk_image_new_from_icon_set")
  (return-type "GtkWidget*")
  (parameters
    '("GtkIconSet*" "icon_set")
    '("GtkIconSize" "size")
  )
)

(define-function gtk_image_new_from_animation
  (c-name "gtk_image_new_from_animation")
  (return-type "GtkWidget*")
  (parameters
    '("GdkPixbufAnimation*" "animation")
  )
)

(define-function gtk_image_new_from_icon_name
  (c-name "gtk_image_new_from_icon_name")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "icon_name")
    '("GtkIconSize" "size")
  )
)

(define-function gtk_image_new_from_gicon
  (c-name "gtk_image_new_from_gicon")
  (return-type "GtkWidget*")
  (parameters
    '("GIcon*" "icon")
    '("GtkIconSize" "size")
  )
)

(define-function gtk_image_new_from_surface
  (c-name "gtk_image_new_from_surface")
  (return-type "GtkWidget*")
  (parameters
    '("cairo_surface_t*" "surface")
  )
)

(define-method clear
  (of-object "GtkImage")
  (c-name "gtk_image_clear")
  (return-type "none")
)

(define-method set_from_file
  (of-object "GtkImage")
  (c-name "gtk_image_set_from_file")
  (return-type "none")
  (parameters
    '("const-gchar*" "filename")
  )
)

(define-method set_from_resource
  (of-object "GtkImage")
  (c-name "gtk_image_set_from_resource")
  (return-type "none")
  (parameters
    '("const-gchar*" "resource_path")
  )
)

(define-method set_from_pixbuf
  (of-object "GtkImage")
  (c-name "gtk_image_set_from_pixbuf")
  (return-type "none")
  (parameters
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-method set_from_stock
  (of-object "GtkImage")
  (c-name "gtk_image_set_from_stock")
  (return-type "none")
  (parameters
    '("const-gchar*" "stock_id")
    '("GtkIconSize" "size")
  )
)

(define-method set_from_icon_set
  (of-object "GtkImage")
  (c-name "gtk_image_set_from_icon_set")
  (return-type "none")
  (parameters
    '("GtkIconSet*" "icon_set")
    '("GtkIconSize" "size")
  )
)

(define-method set_from_animation
  (of-object "GtkImage")
  (c-name "gtk_image_set_from_animation")
  (return-type "none")
  (parameters
    '("GdkPixbufAnimation*" "animation")
  )
)

(define-method set_from_icon_name
  (of-object "GtkImage")
  (c-name "gtk_image_set_from_icon_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "icon_name")
    '("GtkIconSize" "size")
  )
)

(define-method set_from_gicon
  (of-object "GtkImage")
  (c-name "gtk_image_set_from_gicon")
  (return-type "none")
  (parameters
    '("GIcon*" "icon")
    '("GtkIconSize" "size")
  )
)

(define-method set_from_surface
  (of-object "GtkImage")
  (c-name "gtk_image_set_from_surface")
  (return-type "none")
  (parameters
    '("cairo_surface_t*" "surface")
  )
)

(define-method set_pixel_size
  (of-object "GtkImage")
  (c-name "gtk_image_set_pixel_size")
  (return-type "none")
  (parameters
    '("gint" "pixel_size")
  )
)

(define-method get_storage_type
  (of-object "GtkImage")
  (c-name "gtk_image_get_storage_type")
  (return-type "GtkImageType")
)

(define-method get_pixbuf
  (of-object "GtkImage")
  (c-name "gtk_image_get_pixbuf")
  (return-type "GdkPixbuf*")
)

(define-method get_stock
  (of-object "GtkImage")
  (c-name "gtk_image_get_stock")
  (return-type "none")
  (parameters
    '("gchar**" "stock_id")
    '("GtkIconSize*" "size")
  )
)

(define-method get_icon_set
  (of-object "GtkImage")
  (c-name "gtk_image_get_icon_set")
  (return-type "none")
  (parameters
    '("GtkIconSet**" "icon_set")
    '("GtkIconSize*" "size")
  )
)

(define-method get_animation
  (of-object "GtkImage")
  (c-name "gtk_image_get_animation")
  (return-type "GdkPixbufAnimation*")
)

(define-method get_icon_name
  (of-object "GtkImage")
  (c-name "gtk_image_get_icon_name")
  (return-type "none")
  (parameters
    '("const-gchar**" "icon_name")
    '("GtkIconSize*" "size")
  )
)

(define-method get_gicon
  (of-object "GtkImage")
  (c-name "gtk_image_get_gicon")
  (return-type "none")
  (parameters
    '("GIcon**" "gicon")
    '("GtkIconSize*" "size")
  )
)

(define-method get_pixel_size
  (of-object "GtkImage")
  (c-name "gtk_image_get_pixel_size")
  (return-type "gint")
)



;; From gtkimcontext.h

(define-function gtk_im_context_get_type
  (c-name "gtk_im_context_get_type")
  (return-type "GType")
)

(define-method set_client_window
  (of-object "GtkIMContext")
  (c-name "gtk_im_context_set_client_window")
  (return-type "none")
  (parameters
    '("GdkWindow*" "window")
  )
)

(define-method get_preedit_string
  (of-object "GtkIMContext")
  (c-name "gtk_im_context_get_preedit_string")
  (return-type "none")
  (parameters
    '("gchar**" "str")
    '("PangoAttrList**" "attrs")
    '("gint*" "cursor_pos")
  )
)

(define-method filter_keypress
  (of-object "GtkIMContext")
  (c-name "gtk_im_context_filter_keypress")
  (return-type "gboolean")
  (parameters
    '("GdkEventKey*" "event")
  )
)

(define-method focus_in
  (of-object "GtkIMContext")
  (c-name "gtk_im_context_focus_in")
  (return-type "none")
)

(define-method focus_out
  (of-object "GtkIMContext")
  (c-name "gtk_im_context_focus_out")
  (return-type "none")
)

(define-method reset
  (of-object "GtkIMContext")
  (c-name "gtk_im_context_reset")
  (return-type "none")
)

(define-method set_cursor_location
  (of-object "GtkIMContext")
  (c-name "gtk_im_context_set_cursor_location")
  (return-type "none")
  (parameters
    '("const-GdkRectangle*" "area")
  )
)

(define-method set_use_preedit
  (of-object "GtkIMContext")
  (c-name "gtk_im_context_set_use_preedit")
  (return-type "none")
  (parameters
    '("gboolean" "use_preedit")
  )
)

(define-method set_surrounding
  (of-object "GtkIMContext")
  (c-name "gtk_im_context_set_surrounding")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
    '("gint" "len")
    '("gint" "cursor_index")
  )
)

(define-method get_surrounding
  (of-object "GtkIMContext")
  (c-name "gtk_im_context_get_surrounding")
  (return-type "gboolean")
  (parameters
    '("gchar**" "text")
    '("gint*" "cursor_index")
  )
)

(define-method delete_surrounding
  (of-object "GtkIMContext")
  (c-name "gtk_im_context_delete_surrounding")
  (return-type "gboolean")
  (parameters
    '("gint" "offset")
    '("gint" "n_chars")
  )
)



;; From gtkimcontextinfo.h



;; From gtkimcontextsimple.h

(define-function gtk_im_context_simple_get_type
  (c-name "gtk_im_context_simple_get_type")
  (return-type "GType")
)

(define-function gtk_im_context_simple_new
  (c-name "gtk_im_context_simple_new")
  (is-constructor-of "GtkImContextSimple")
  (return-type "GtkIMContext*")
)

(define-method add_table
  (of-object "GtkIMContextSimple")
  (c-name "gtk_im_context_simple_add_table")
  (return-type "none")
  (parameters
    '("guint16*" "data")
    '("gint" "max_seq_len")
    '("gint" "n_seqs")
  )
)



;; From gtkimcontextsimpleseqs.h



;; From gtkimmodule.h



;; From gtkimmulticontext.h

(define-function gtk_im_multicontext_get_type
  (c-name "gtk_im_multicontext_get_type")
  (return-type "GType")
)

(define-function gtk_im_multicontext_new
  (c-name "gtk_im_multicontext_new")
  (is-constructor-of "GtkImMulticontext")
  (return-type "GtkIMContext*")
)

(define-method append_menuitems
  (of-object "GtkIMMulticontext")
  (c-name "gtk_im_multicontext_append_menuitems")
  (return-type "none")
  (parameters
    '("GtkMenuShell*" "menushell")
  )
)

(define-method get_context_id
  (of-object "GtkIMMulticontext")
  (c-name "gtk_im_multicontext_get_context_id")
  (return-type "const-char*")
)

(define-method set_context_id
  (of-object "GtkIMMulticontext")
  (c-name "gtk_im_multicontext_set_context_id")
  (return-type "none")
  (parameters
    '("const-char*" "context_id")
  )
)



;; From gtkinfobar.h

(define-function gtk_info_bar_get_type
  (c-name "gtk_info_bar_get_type")
  (return-type "GType")
)

(define-function gtk_info_bar_new
  (c-name "gtk_info_bar_new")
  (is-constructor-of "GtkInfoBar")
  (return-type "GtkWidget*")
)

(define-function gtk_info_bar_new_with_buttons
  (c-name "gtk_info_bar_new_with_buttons")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "first_button_text")
  )
  (varargs #t)
)

(define-method get_action_area
  (of-object "GtkInfoBar")
  (c-name "gtk_info_bar_get_action_area")
  (return-type "GtkWidget*")
)

(define-method get_content_area
  (of-object "GtkInfoBar")
  (c-name "gtk_info_bar_get_content_area")
  (return-type "GtkWidget*")
)

(define-method add_action_widget
  (of-object "GtkInfoBar")
  (c-name "gtk_info_bar_add_action_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gint" "response_id")
  )
)

(define-method add_button
  (of-object "GtkInfoBar")
  (c-name "gtk_info_bar_add_button")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "button_text")
    '("gint" "response_id")
  )
)

(define-method add_buttons
  (of-object "GtkInfoBar")
  (c-name "gtk_info_bar_add_buttons")
  (return-type "none")
  (parameters
    '("const-gchar*" "first_button_text")
  )
  (varargs #t)
)

(define-method set_response_sensitive
  (of-object "GtkInfoBar")
  (c-name "gtk_info_bar_set_response_sensitive")
  (return-type "none")
  (parameters
    '("gint" "response_id")
    '("gboolean" "setting")
  )
)

(define-method set_default_response
  (of-object "GtkInfoBar")
  (c-name "gtk_info_bar_set_default_response")
  (return-type "none")
  (parameters
    '("gint" "response_id")
  )
)

(define-method response
  (of-object "GtkInfoBar")
  (c-name "gtk_info_bar_response")
  (return-type "none")
  (parameters
    '("gint" "response_id")
  )
)

(define-method set_message_type
  (of-object "GtkInfoBar")
  (c-name "gtk_info_bar_set_message_type")
  (return-type "none")
  (parameters
    '("GtkMessageType" "message_type")
  )
)

(define-method get_message_type
  (of-object "GtkInfoBar")
  (c-name "gtk_info_bar_get_message_type")
  (return-type "GtkMessageType")
)

(define-method set_show_close_button
  (of-object "GtkInfoBar")
  (c-name "gtk_info_bar_set_show_close_button")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_show_close_button
  (of-object "GtkInfoBar")
  (c-name "gtk_info_bar_get_show_close_button")
  (return-type "gboolean")
)



;; From gtkintl.h



;; From gtkinvisible.h

(define-function gtk_invisible_get_type
  (c-name "gtk_invisible_get_type")
  (return-type "GType")
)

(define-function gtk_invisible_new
  (c-name "gtk_invisible_new")
  (is-constructor-of "GtkInvisible")
  (return-type "GtkWidget*")
)

(define-function gtk_invisible_new_for_screen
  (c-name "gtk_invisible_new_for_screen")
  (return-type "GtkWidget*")
  (parameters
    '("GdkScreen*" "screen")
  )
)

(define-method set_screen
  (of-object "GtkInvisible")
  (c-name "gtk_invisible_set_screen")
  (return-type "none")
  (parameters
    '("GdkScreen*" "screen")
  )
)

(define-method get_screen
  (of-object "GtkInvisible")
  (c-name "gtk_invisible_get_screen")
  (return-type "GdkScreen*")
)



;; From gtkkeyhash.h



;; From gtkkineticscrolling.h

(define-function gtk_kinetic_scrolling_new
  (c-name "gtk_kinetic_scrolling_new")
  (is-constructor-of "GtkKineticScrolling")
  (return-type "GtkKineticScrolling*")
  (parameters
    '("gdouble" "lower")
    '("gdouble" "upper")
    '("gdouble" "overshoot_width")
    '("gdouble" "decel_friction")
    '("gdouble" "overshoot_friction")
    '("gdouble" "initial_position")
    '("gdouble" "initial_velocity")
  )
)

(define-method free
  (of-object "GtkKineticScrolling")
  (c-name "gtk_kinetic_scrolling_free")
  (return-type "none")
)

(define-method tick
  (of-object "GtkKineticScrolling")
  (c-name "gtk_kinetic_scrolling_tick")
  (return-type "gboolean")
  (parameters
    '("gdouble" "time_delta")
    '("gdouble*" "position")
  )
)



;; From gtklabel.h

(define-function gtk_label_get_type
  (c-name "gtk_label_get_type")
  (return-type "GType")
)

(define-function gtk_label_new
  (c-name "gtk_label_new")
  (is-constructor-of "GtkLabel")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "str")
  )
)

(define-function gtk_label_new_with_mnemonic
  (c-name "gtk_label_new_with_mnemonic")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "str")
  )
)

(define-method set_text
  (of-object "GtkLabel")
  (c-name "gtk_label_set_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "str")
  )
)

(define-method get_text
  (of-object "GtkLabel")
  (c-name "gtk_label_get_text")
  (return-type "const-gchar*")
)

(define-method set_attributes
  (of-object "GtkLabel")
  (c-name "gtk_label_set_attributes")
  (return-type "none")
  (parameters
    '("PangoAttrList*" "attrs")
  )
)

(define-method get_attributes
  (of-object "GtkLabel")
  (c-name "gtk_label_get_attributes")
  (return-type "PangoAttrList*")
)

(define-method set_label
  (of-object "GtkLabel")
  (c-name "gtk_label_set_label")
  (return-type "none")
  (parameters
    '("const-gchar*" "str")
  )
)

(define-method get_label
  (of-object "GtkLabel")
  (c-name "gtk_label_get_label")
  (return-type "const-gchar*")
)

(define-method set_markup
  (of-object "GtkLabel")
  (c-name "gtk_label_set_markup")
  (return-type "none")
  (parameters
    '("const-gchar*" "str")
  )
)

(define-method set_use_markup
  (of-object "GtkLabel")
  (c-name "gtk_label_set_use_markup")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_use_markup
  (of-object "GtkLabel")
  (c-name "gtk_label_get_use_markup")
  (return-type "gboolean")
)

(define-method set_use_underline
  (of-object "GtkLabel")
  (c-name "gtk_label_set_use_underline")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_use_underline
  (of-object "GtkLabel")
  (c-name "gtk_label_get_use_underline")
  (return-type "gboolean")
)

(define-method set_markup_with_mnemonic
  (of-object "GtkLabel")
  (c-name "gtk_label_set_markup_with_mnemonic")
  (return-type "none")
  (parameters
    '("const-gchar*" "str")
  )
)

(define-method get_mnemonic_keyval
  (of-object "GtkLabel")
  (c-name "gtk_label_get_mnemonic_keyval")
  (return-type "guint")
)

(define-method set_mnemonic_widget
  (of-object "GtkLabel")
  (c-name "gtk_label_set_mnemonic_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method get_mnemonic_widget
  (of-object "GtkLabel")
  (c-name "gtk_label_get_mnemonic_widget")
  (return-type "GtkWidget*")
)

(define-method set_text_with_mnemonic
  (of-object "GtkLabel")
  (c-name "gtk_label_set_text_with_mnemonic")
  (return-type "none")
  (parameters
    '("const-gchar*" "str")
  )
)

(define-method set_justify
  (of-object "GtkLabel")
  (c-name "gtk_label_set_justify")
  (return-type "none")
  (parameters
    '("GtkJustification" "jtype")
  )
)

(define-method get_justify
  (of-object "GtkLabel")
  (c-name "gtk_label_get_justify")
  (return-type "GtkJustification")
)

(define-method set_ellipsize
  (of-object "GtkLabel")
  (c-name "gtk_label_set_ellipsize")
  (return-type "none")
  (parameters
    '("PangoEllipsizeMode" "mode")
  )
)

(define-method get_ellipsize
  (of-object "GtkLabel")
  (c-name "gtk_label_get_ellipsize")
  (return-type "PangoEllipsizeMode")
)

(define-method set_width_chars
  (of-object "GtkLabel")
  (c-name "gtk_label_set_width_chars")
  (return-type "none")
  (parameters
    '("gint" "n_chars")
  )
)

(define-method get_width_chars
  (of-object "GtkLabel")
  (c-name "gtk_label_get_width_chars")
  (return-type "gint")
)

(define-method set_max_width_chars
  (of-object "GtkLabel")
  (c-name "gtk_label_set_max_width_chars")
  (return-type "none")
  (parameters
    '("gint" "n_chars")
  )
)

(define-method get_max_width_chars
  (of-object "GtkLabel")
  (c-name "gtk_label_get_max_width_chars")
  (return-type "gint")
)

(define-method set_lines
  (of-object "GtkLabel")
  (c-name "gtk_label_set_lines")
  (return-type "none")
  (parameters
    '("gint" "lines")
  )
)

(define-method get_lines
  (of-object "GtkLabel")
  (c-name "gtk_label_get_lines")
  (return-type "gint")
)

(define-method set_pattern
  (of-object "GtkLabel")
  (c-name "gtk_label_set_pattern")
  (return-type "none")
  (parameters
    '("const-gchar*" "pattern")
  )
)

(define-method set_line_wrap
  (of-object "GtkLabel")
  (c-name "gtk_label_set_line_wrap")
  (return-type "none")
  (parameters
    '("gboolean" "wrap")
  )
)

(define-method get_line_wrap
  (of-object "GtkLabel")
  (c-name "gtk_label_get_line_wrap")
  (return-type "gboolean")
)

(define-method set_line_wrap_mode
  (of-object "GtkLabel")
  (c-name "gtk_label_set_line_wrap_mode")
  (return-type "none")
  (parameters
    '("PangoWrapMode" "wrap_mode")
  )
)

(define-method get_line_wrap_mode
  (of-object "GtkLabel")
  (c-name "gtk_label_get_line_wrap_mode")
  (return-type "PangoWrapMode")
)

(define-method set_selectable
  (of-object "GtkLabel")
  (c-name "gtk_label_set_selectable")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_selectable
  (of-object "GtkLabel")
  (c-name "gtk_label_get_selectable")
  (return-type "gboolean")
)

(define-method set_angle
  (of-object "GtkLabel")
  (c-name "gtk_label_set_angle")
  (return-type "none")
  (parameters
    '("gdouble" "angle")
  )
)

(define-method get_angle
  (of-object "GtkLabel")
  (c-name "gtk_label_get_angle")
  (return-type "gdouble")
)

(define-method select_region
  (of-object "GtkLabel")
  (c-name "gtk_label_select_region")
  (return-type "none")
  (parameters
    '("gint" "start_offset")
    '("gint" "end_offset")
  )
)

(define-method get_selection_bounds
  (of-object "GtkLabel")
  (c-name "gtk_label_get_selection_bounds")
  (return-type "gboolean")
  (parameters
    '("gint*" "start")
    '("gint*" "end")
  )
)

(define-method get_layout
  (of-object "GtkLabel")
  (c-name "gtk_label_get_layout")
  (return-type "PangoLayout*")
)

(define-method get_layout_offsets
  (of-object "GtkLabel")
  (c-name "gtk_label_get_layout_offsets")
  (return-type "none")
  (parameters
    '("gint*" "x")
    '("gint*" "y")
  )
)

(define-method set_single_line_mode
  (of-object "GtkLabel")
  (c-name "gtk_label_set_single_line_mode")
  (return-type "none")
  (parameters
    '("gboolean" "single_line_mode")
  )
)

(define-method get_single_line_mode
  (of-object "GtkLabel")
  (c-name "gtk_label_get_single_line_mode")
  (return-type "gboolean")
)

(define-method get_current_uri
  (of-object "GtkLabel")
  (c-name "gtk_label_get_current_uri")
  (return-type "const-gchar*")
)

(define-method set_track_visited_links
  (of-object "GtkLabel")
  (c-name "gtk_label_set_track_visited_links")
  (return-type "none")
  (parameters
    '("gboolean" "track_links")
  )
)

(define-method get_track_visited_links
  (of-object "GtkLabel")
  (c-name "gtk_label_get_track_visited_links")
  (return-type "gboolean")
)

(define-method set_xalign
  (of-object "GtkLabel")
  (c-name "gtk_label_set_xalign")
  (return-type "none")
  (parameters
    '("gfloat" "xalign")
  )
)

(define-method get_xalign
  (of-object "GtkLabel")
  (c-name "gtk_label_get_xalign")
  (return-type "gfloat")
)

(define-method set_yalign
  (of-object "GtkLabel")
  (c-name "gtk_label_set_yalign")
  (return-type "none")
  (parameters
    '("gfloat" "yalign")
  )
)

(define-method get_yalign
  (of-object "GtkLabel")
  (c-name "gtk_label_get_yalign")
  (return-type "gfloat")
)



;; From gtklayout.h

(define-function gtk_layout_get_type
  (c-name "gtk_layout_get_type")
  (return-type "GType")
)

(define-function gtk_layout_new
  (c-name "gtk_layout_new")
  (is-constructor-of "GtkLayout")
  (return-type "GtkWidget*")
  (parameters
    '("GtkAdjustment*" "hadjustment")
    '("GtkAdjustment*" "vadjustment")
  )
)

(define-method get_bin_window
  (of-object "GtkLayout")
  (c-name "gtk_layout_get_bin_window")
  (return-type "GdkWindow*")
)

(define-method put
  (of-object "GtkLayout")
  (c-name "gtk_layout_put")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child_widget")
    '("gint" "x")
    '("gint" "y")
  )
)

(define-method move
  (of-object "GtkLayout")
  (c-name "gtk_layout_move")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child_widget")
    '("gint" "x")
    '("gint" "y")
  )
)

(define-method set_size
  (of-object "GtkLayout")
  (c-name "gtk_layout_set_size")
  (return-type "none")
  (parameters
    '("guint" "width")
    '("guint" "height")
  )
)

(define-method get_size
  (of-object "GtkLayout")
  (c-name "gtk_layout_get_size")
  (return-type "none")
  (parameters
    '("guint*" "width")
    '("guint*" "height")
  )
)

(define-method get_hadjustment
  (of-object "GtkLayout")
  (c-name "gtk_layout_get_hadjustment")
  (return-type "GtkAdjustment*")
)

(define-method get_vadjustment
  (of-object "GtkLayout")
  (c-name "gtk_layout_get_vadjustment")
  (return-type "GtkAdjustment*")
)

(define-method set_hadjustment
  (of-object "GtkLayout")
  (c-name "gtk_layout_set_hadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method set_vadjustment
  (of-object "GtkLayout")
  (c-name "gtk_layout_set_vadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)



;; From gtklevelbar.h

(define-function gtk_level_bar_get_type
  (c-name "gtk_level_bar_get_type")
  (return-type "GType")
)

(define-function gtk_level_bar_new
  (c-name "gtk_level_bar_new")
  (is-constructor-of "GtkLevelBar")
  (return-type "GtkWidget*")
)

(define-function gtk_level_bar_new_for_interval
  (c-name "gtk_level_bar_new_for_interval")
  (return-type "GtkWidget*")
  (parameters
    '("gdouble" "min_value")
    '("gdouble" "max_value")
  )
)

(define-method set_mode
  (of-object "GtkLevelBar")
  (c-name "gtk_level_bar_set_mode")
  (return-type "none")
  (parameters
    '("GtkLevelBarMode" "mode")
  )
)

(define-method get_mode
  (of-object "GtkLevelBar")
  (c-name "gtk_level_bar_get_mode")
  (return-type "GtkLevelBarMode")
)

(define-method set_value
  (of-object "GtkLevelBar")
  (c-name "gtk_level_bar_set_value")
  (return-type "none")
  (parameters
    '("gdouble" "value")
  )
)

(define-method get_value
  (of-object "GtkLevelBar")
  (c-name "gtk_level_bar_get_value")
  (return-type "gdouble")
)

(define-method set_min_value
  (of-object "GtkLevelBar")
  (c-name "gtk_level_bar_set_min_value")
  (return-type "none")
  (parameters
    '("gdouble" "value")
  )
)

(define-method get_min_value
  (of-object "GtkLevelBar")
  (c-name "gtk_level_bar_get_min_value")
  (return-type "gdouble")
)

(define-method set_max_value
  (of-object "GtkLevelBar")
  (c-name "gtk_level_bar_set_max_value")
  (return-type "none")
  (parameters
    '("gdouble" "value")
  )
)

(define-method get_max_value
  (of-object "GtkLevelBar")
  (c-name "gtk_level_bar_get_max_value")
  (return-type "gdouble")
)

(define-method set_inverted
  (of-object "GtkLevelBar")
  (c-name "gtk_level_bar_set_inverted")
  (return-type "none")
  (parameters
    '("gboolean" "inverted")
  )
)

(define-method get_inverted
  (of-object "GtkLevelBar")
  (c-name "gtk_level_bar_get_inverted")
  (return-type "gboolean")
)

(define-method add_offset_value
  (of-object "GtkLevelBar")
  (c-name "gtk_level_bar_add_offset_value")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("gdouble" "value")
  )
)

(define-method remove_offset_value
  (of-object "GtkLevelBar")
  (c-name "gtk_level_bar_remove_offset_value")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_offset_value
  (of-object "GtkLevelBar")
  (c-name "gtk_level_bar_get_offset_value")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "name")
    '("gdouble*" "value")
  )
)



;; From gtklinkbutton.h

(define-function gtk_link_button_get_type
  (c-name "gtk_link_button_get_type")
  (return-type "GType")
)

(define-function gtk_link_button_new
  (c-name "gtk_link_button_new")
  (is-constructor-of "GtkLinkButton")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "uri")
  )
)

(define-function gtk_link_button_new_with_label
  (c-name "gtk_link_button_new_with_label")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "uri")
    '("const-gchar*" "label")
  )
)

(define-method get_uri
  (of-object "GtkLinkButton")
  (c-name "gtk_link_button_get_uri")
  (return-type "const-gchar*")
)

(define-method set_uri
  (of-object "GtkLinkButton")
  (c-name "gtk_link_button_set_uri")
  (return-type "none")
  (parameters
    '("const-gchar*" "uri")
  )
)

(define-method get_visited
  (of-object "GtkLinkButton")
  (c-name "gtk_link_button_get_visited")
  (return-type "gboolean")
)

(define-method set_visited
  (of-object "GtkLinkButton")
  (c-name "gtk_link_button_set_visited")
  (return-type "none")
  (parameters
    '("gboolean" "visited")
  )
)



;; From gtklistbox.h

(define-function gtk_list_box_row_get_type
  (c-name "gtk_list_box_row_get_type")
  (return-type "GType")
)

(define-function gtk_list_box_row_new
  (c-name "gtk_list_box_row_new")
  (is-constructor-of "GtkListBoxRow")
  (return-type "GtkWidget*")
)

(define-method get_header
  (of-object "GtkListBoxRow")
  (c-name "gtk_list_box_row_get_header")
  (return-type "GtkWidget*")
)

(define-method set_header
  (of-object "GtkListBoxRow")
  (c-name "gtk_list_box_row_set_header")
  (return-type "none")
  (parameters
    '("GtkWidget*" "header")
  )
)

(define-method get_index
  (of-object "GtkListBoxRow")
  (c-name "gtk_list_box_row_get_index")
  (return-type "gint")
)

(define-method changed
  (of-object "GtkListBoxRow")
  (c-name "gtk_list_box_row_changed")
  (return-type "none")
)

(define-method is_selected
  (of-object "GtkListBoxRow")
  (c-name "gtk_list_box_row_is_selected")
  (return-type "gboolean")
)

(define-method set_selectable
  (of-object "GtkListBoxRow")
  (c-name "gtk_list_box_row_set_selectable")
  (return-type "none")
  (parameters
    '("gboolean" "selectable")
  )
)

(define-method get_selectable
  (of-object "GtkListBoxRow")
  (c-name "gtk_list_box_row_get_selectable")
  (return-type "gboolean")
)

(define-method set_activatable
  (of-object "GtkListBoxRow")
  (c-name "gtk_list_box_row_set_activatable")
  (return-type "none")
  (parameters
    '("gboolean" "activatable")
  )
)

(define-method get_activatable
  (of-object "GtkListBoxRow")
  (c-name "gtk_list_box_row_get_activatable")
  (return-type "gboolean")
)

(define-function gtk_list_box_get_type
  (c-name "gtk_list_box_get_type")
  (return-type "GType")
)

(define-method prepend
  (of-object "GtkListBox")
  (c-name "gtk_list_box_prepend")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method insert
  (of-object "GtkListBox")
  (c-name "gtk_list_box_insert")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gint" "position")
  )
)

(define-method get_selected_row
  (of-object "GtkListBox")
  (c-name "gtk_list_box_get_selected_row")
  (return-type "GtkListBoxRow*")
)

(define-method get_row_at_index
  (of-object "GtkListBox")
  (c-name "gtk_list_box_get_row_at_index")
  (return-type "GtkListBoxRow*")
  (parameters
    '("gint" "index_")
  )
)

(define-method get_row_at_y
  (of-object "GtkListBox")
  (c-name "gtk_list_box_get_row_at_y")
  (return-type "GtkListBoxRow*")
  (parameters
    '("gint" "y")
  )
)

(define-method select_row
  (of-object "GtkListBox")
  (c-name "gtk_list_box_select_row")
  (return-type "none")
  (parameters
    '("GtkListBoxRow*" "row")
  )
)

(define-method set_placeholder
  (of-object "GtkListBox")
  (c-name "gtk_list_box_set_placeholder")
  (return-type "none")
  (parameters
    '("GtkWidget*" "placeholder")
  )
)

(define-method set_adjustment
  (of-object "GtkListBox")
  (c-name "gtk_list_box_set_adjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method get_adjustment
  (of-object "GtkListBox")
  (c-name "gtk_list_box_get_adjustment")
  (return-type "GtkAdjustment*")
)

(define-method selected_foreach
  (of-object "GtkListBox")
  (c-name "gtk_list_box_selected_foreach")
  (return-type "none")
  (parameters
    '("GtkListBoxForeachFunc" "func")
    '("gpointer" "data")
  )
)

(define-method get_selected_rows
  (of-object "GtkListBox")
  (c-name "gtk_list_box_get_selected_rows")
  (return-type "GList*")
)

(define-method unselect_row
  (of-object "GtkListBox")
  (c-name "gtk_list_box_unselect_row")
  (return-type "none")
  (parameters
    '("GtkListBoxRow*" "row")
  )
)

(define-method select_all
  (of-object "GtkListBox")
  (c-name "gtk_list_box_select_all")
  (return-type "none")
)

(define-method unselect_all
  (of-object "GtkListBox")
  (c-name "gtk_list_box_unselect_all")
  (return-type "none")
)

(define-method set_selection_mode
  (of-object "GtkListBox")
  (c-name "gtk_list_box_set_selection_mode")
  (return-type "none")
  (parameters
    '("GtkSelectionMode" "mode")
  )
)

(define-method get_selection_mode
  (of-object "GtkListBox")
  (c-name "gtk_list_box_get_selection_mode")
  (return-type "GtkSelectionMode")
)

(define-method set_filter_func
  (of-object "GtkListBox")
  (c-name "gtk_list_box_set_filter_func")
  (return-type "none")
  (parameters
    '("GtkListBoxFilterFunc" "filter_func")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method set_header_func
  (of-object "GtkListBox")
  (c-name "gtk_list_box_set_header_func")
  (return-type "none")
  (parameters
    '("GtkListBoxUpdateHeaderFunc" "update_header")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method invalidate_filter
  (of-object "GtkListBox")
  (c-name "gtk_list_box_invalidate_filter")
  (return-type "none")
)

(define-method invalidate_sort
  (of-object "GtkListBox")
  (c-name "gtk_list_box_invalidate_sort")
  (return-type "none")
)

(define-method invalidate_headers
  (of-object "GtkListBox")
  (c-name "gtk_list_box_invalidate_headers")
  (return-type "none")
)

(define-method set_sort_func
  (of-object "GtkListBox")
  (c-name "gtk_list_box_set_sort_func")
  (return-type "none")
  (parameters
    '("GtkListBoxSortFunc" "sort_func")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method set_activate_on_single_click
  (of-object "GtkListBox")
  (c-name "gtk_list_box_set_activate_on_single_click")
  (return-type "none")
  (parameters
    '("gboolean" "single")
  )
)

(define-method get_activate_on_single_click
  (of-object "GtkListBox")
  (c-name "gtk_list_box_get_activate_on_single_click")
  (return-type "gboolean")
)

(define-method drag_unhighlight_row
  (of-object "GtkListBox")
  (c-name "gtk_list_box_drag_unhighlight_row")
  (return-type "none")
)

(define-method drag_highlight_row
  (of-object "GtkListBox")
  (c-name "gtk_list_box_drag_highlight_row")
  (return-type "none")
  (parameters
    '("GtkListBoxRow*" "row")
  )
)

(define-function gtk_list_box_new
  (c-name "gtk_list_box_new")
  (is-constructor-of "GtkListBox")
  (return-type "GtkWidget*")
)

(define-method bind_model
  (of-object "GtkListBox")
  (c-name "gtk_list_box_bind_model")
  (return-type "none")
  (parameters
    '("GListModel*" "model")
    '("GtkListBoxCreateWidgetFunc" "create_widget_func")
    '("gpointer" "user_data")
    '("GDestroyNotify" "user_data_free_func")
  )
)



;; From gtkliststore.h

(define-function gtk_list_store_get_type
  (c-name "gtk_list_store_get_type")
  (return-type "GType")
)

(define-function gtk_list_store_new
  (c-name "gtk_list_store_new")
  (is-constructor-of "GtkListStore")
  (return-type "GtkListStore*")
  (parameters
    '("gint" "n_columns")
  )
  (varargs #t)
)

(define-function gtk_list_store_newv
  (c-name "gtk_list_store_newv")
  (return-type "GtkListStore*")
  (parameters
    '("gint" "n_columns")
    '("GType*" "types")
  )
)

(define-method set_column_types
  (of-object "GtkListStore")
  (c-name "gtk_list_store_set_column_types")
  (return-type "none")
  (parameters
    '("gint" "n_columns")
    '("GType*" "types")
  )
)

(define-method set_value
  (of-object "GtkListStore")
  (c-name "gtk_list_store_set_value")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("gint" "column")
    '("GValue*" "value")
  )
)

(define-method set
  (of-object "GtkListStore")
  (c-name "gtk_list_store_set")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
  )
  (varargs #t)
)

(define-method set_valuesv
  (of-object "GtkListStore")
  (c-name "gtk_list_store_set_valuesv")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("gint*" "columns")
    '("GValue*" "values")
    '("gint" "n_values")
  )
)

(define-method set_valist
  (of-object "GtkListStore")
  (c-name "gtk_list_store_set_valist")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("va_list" "var_args")
  )
)

(define-method remove
  (of-object "GtkListStore")
  (c-name "gtk_list_store_remove")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method insert
  (of-object "GtkListStore")
  (c-name "gtk_list_store_insert")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("gint" "position")
  )
)

(define-method insert_before
  (of-object "GtkListStore")
  (c-name "gtk_list_store_insert_before")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "sibling")
  )
)

(define-method insert_after
  (of-object "GtkListStore")
  (c-name "gtk_list_store_insert_after")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "sibling")
  )
)

(define-method insert_with_values
  (of-object "GtkListStore")
  (c-name "gtk_list_store_insert_with_values")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("gint" "position")
  )
  (varargs #t)
)

(define-method insert_with_valuesv
  (of-object "GtkListStore")
  (c-name "gtk_list_store_insert_with_valuesv")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("gint" "position")
    '("gint*" "columns")
    '("GValue*" "values")
    '("gint" "n_values")
  )
)

(define-method prepend
  (of-object "GtkListStore")
  (c-name "gtk_list_store_prepend")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method append
  (of-object "GtkListStore")
  (c-name "gtk_list_store_append")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method clear
  (of-object "GtkListStore")
  (c-name "gtk_list_store_clear")
  (return-type "none")
)

(define-method iter_is_valid
  (of-object "GtkListStore")
  (c-name "gtk_list_store_iter_is_valid")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method reorder
  (of-object "GtkListStore")
  (c-name "gtk_list_store_reorder")
  (return-type "none")
  (parameters
    '("gint*" "new_order")
  )
)

(define-method swap
  (of-object "GtkListStore")
  (c-name "gtk_list_store_swap")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "a")
    '("GtkTreeIter*" "b")
  )
)

(define-method move_after
  (of-object "GtkListStore")
  (c-name "gtk_list_store_move_after")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "position")
  )
)

(define-method move_before
  (of-object "GtkListStore")
  (c-name "gtk_list_store_move_before")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "position")
  )
)



;; From gtklockbutton.h

(define-function gtk_lock_button_get_type
  (c-name "gtk_lock_button_get_type")
  (return-type "GType")
)

(define-function gtk_lock_button_new
  (c-name "gtk_lock_button_new")
  (is-constructor-of "GtkLockButton")
  (return-type "GtkWidget*")
  (parameters
    '("GPermission*" "permission")
  )
)

(define-method get_permission
  (of-object "GtkLockButton")
  (c-name "gtk_lock_button_get_permission")
  (return-type "GPermission*")
)

(define-method set_permission
  (of-object "GtkLockButton")
  (c-name "gtk_lock_button_set_permission")
  (return-type "none")
  (parameters
    '("GPermission*" "permission")
  )
)



;; From gtkmain.h

(define-function gtk_get_major_version
  (c-name "gtk_get_major_version")
  (return-type "guint")
)

(define-function gtk_get_minor_version
  (c-name "gtk_get_minor_version")
  (return-type "guint")
)

(define-function gtk_get_micro_version
  (c-name "gtk_get_micro_version")
  (return-type "guint")
)

(define-function gtk_get_binary_age
  (c-name "gtk_get_binary_age")
  (return-type "guint")
)

(define-function gtk_get_interface_age
  (c-name "gtk_get_interface_age")
  (return-type "guint")
)

(define-function gtk_check_version
  (c-name "gtk_check_version")
  (return-type "const-gchar*")
  (parameters
    '("guint" "required_major")
    '("guint" "required_minor")
    '("guint" "required_micro")
  )
)

(define-function gtk_parse_args
  (c-name "gtk_parse_args")
  (return-type "gboolean")
  (parameters
    '("int*" "argc")
    '("char***" "argv")
  )
)

(define-function gtk_init
  (c-name "gtk_init")
  (return-type "none")
  (parameters
    '("int*" "argc")
    '("char***" "argv")
  )
)

(define-function gtk_init_check
  (c-name "gtk_init_check")
  (return-type "gboolean")
  (parameters
    '("int*" "argc")
    '("char***" "argv")
  )
)

(define-function gtk_init_with_args
  (c-name "gtk_init_with_args")
  (return-type "gboolean")
  (parameters
    '("gint*" "argc")
    '("gchar***" "argv")
    '("const-gchar*" "parameter_string")
    '("const-GOptionEntry*" "entries")
    '("const-gchar*" "translation_domain")
    '("GError**" "error")
  )
)

(define-function gtk_get_option_group
  (c-name "gtk_get_option_group")
  (return-type "GOptionGroup*")
  (parameters
    '("gboolean" "open_default_display")
  )
)

(define-function gtk_init_abi_check
  (c-name "gtk_init_abi_check")
  (return-type "none")
  (parameters
    '("int*" "argc")
    '("char***" "argv")
    '("int" "num_checks")
    '("size_t" "sizeof_GtkWindow")
    '("size_t" "sizeof_GtkBox")
  )
)

(define-function gtk_init_check_abi_check
  (c-name "gtk_init_check_abi_check")
  (return-type "gboolean")
  (parameters
    '("int*" "argc")
    '("char***" "argv")
    '("int" "num_checks")
    '("size_t" "sizeof_GtkWindow")
    '("size_t" "sizeof_GtkBox")
  )
)

(define-function gtk_disable_setlocale
  (c-name "gtk_disable_setlocale")
  (return-type "none")
)

(define-function gtk_get_default_language
  (c-name "gtk_get_default_language")
  (return-type "PangoLanguage*")
)

(define-function gtk_get_locale_direction
  (c-name "gtk_get_locale_direction")
  (return-type "GtkTextDirection")
)

(define-function gtk_events_pending
  (c-name "gtk_events_pending")
  (return-type "gboolean")
)

(define-function gtk_main_do_event
  (c-name "gtk_main_do_event")
  (return-type "none")
  (parameters
    '("GdkEvent*" "event")
  )
)

(define-function gtk_main
  (c-name "gtk_main")
  (return-type "none")
)

(define-function gtk_main_level
  (c-name "gtk_main_level")
  (return-type "guint")
)

(define-function gtk_main_quit
  (c-name "gtk_main_quit")
  (return-type "none")
)

(define-function gtk_main_iteration
  (c-name "gtk_main_iteration")
  (return-type "gboolean")
)

(define-function gtk_main_iteration_do
  (c-name "gtk_main_iteration_do")
  (return-type "gboolean")
  (parameters
    '("gboolean" "blocking")
  )
)

(define-function gtk_true
  (c-name "gtk_true")
  (return-type "gboolean")
)

(define-function gtk_false
  (c-name "gtk_false")
  (return-type "gboolean")
)

(define-function gtk_grab_add
  (c-name "gtk_grab_add")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_grab_get_current
  (c-name "gtk_grab_get_current")
  (return-type "GtkWidget*")
)

(define-function gtk_grab_remove
  (c-name "gtk_grab_remove")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_device_grab_add
  (c-name "gtk_device_grab_add")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GdkDevice*" "device")
    '("gboolean" "block_others")
  )
)

(define-function gtk_device_grab_remove
  (c-name "gtk_device_grab_remove")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GdkDevice*" "device")
  )
)

(define-function gtk_key_snooper_install
  (c-name "gtk_key_snooper_install")
  (return-type "guint")
  (parameters
    '("GtkKeySnoopFunc" "snooper")
    '("gpointer" "func_data")
  )
)

(define-function gtk_key_snooper_remove
  (c-name "gtk_key_snooper_remove")
  (return-type "none")
  (parameters
    '("guint" "snooper_handler_id")
  )
)

(define-function gtk_get_current_event
  (c-name "gtk_get_current_event")
  (return-type "GdkEvent*")
)

(define-function gtk_get_current_event_time
  (c-name "gtk_get_current_event_time")
  (return-type "guint32")
)

(define-function gtk_get_current_event_state
  (c-name "gtk_get_current_event_state")
  (return-type "gboolean")
  (parameters
    '("GdkModifierType*" "state")
  )
)

(define-function gtk_get_current_event_device
  (c-name "gtk_get_current_event_device")
  (return-type "GdkDevice*")
)

(define-function gtk_get_event_widget
  (c-name "gtk_get_event_widget")
  (return-type "GtkWidget*")
  (parameters
    '("GdkEvent*" "event")
  )
)

(define-function gtk_propagate_event
  (c-name "gtk_propagate_event")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GdkEvent*" "event")
  )
)



;; From gtkmarshalers.h



;; From gtkmenubar.h

(define-function gtk_menu_bar_get_type
  (c-name "gtk_menu_bar_get_type")
  (return-type "GType")
)

(define-function gtk_menu_bar_new
  (c-name "gtk_menu_bar_new")
  (is-constructor-of "GtkMenuBar")
  (return-type "GtkWidget*")
)

(define-function gtk_menu_bar_new_from_model
  (c-name "gtk_menu_bar_new_from_model")
  (return-type "GtkWidget*")
  (parameters
    '("GMenuModel*" "model")
  )
)

(define-method get_pack_direction
  (of-object "GtkMenuBar")
  (c-name "gtk_menu_bar_get_pack_direction")
  (return-type "GtkPackDirection")
)

(define-method set_pack_direction
  (of-object "GtkMenuBar")
  (c-name "gtk_menu_bar_set_pack_direction")
  (return-type "none")
  (parameters
    '("GtkPackDirection" "pack_dir")
  )
)

(define-method get_child_pack_direction
  (of-object "GtkMenuBar")
  (c-name "gtk_menu_bar_get_child_pack_direction")
  (return-type "GtkPackDirection")
)

(define-method set_child_pack_direction
  (of-object "GtkMenuBar")
  (c-name "gtk_menu_bar_set_child_pack_direction")
  (return-type "none")
  (parameters
    '("GtkPackDirection" "child_pack_dir")
  )
)



;; From gtkmenubutton.h

(define-function gtk_menu_button_get_type
  (c-name "gtk_menu_button_get_type")
  (return-type "GType")
)

(define-function gtk_menu_button_new
  (c-name "gtk_menu_button_new")
  (is-constructor-of "GtkMenuButton")
  (return-type "GtkWidget*")
)

(define-method set_popup
  (of-object "GtkMenuButton")
  (c-name "gtk_menu_button_set_popup")
  (return-type "none")
  (parameters
    '("GtkWidget*" "menu")
  )
)

(define-method get_popup
  (of-object "GtkMenuButton")
  (c-name "gtk_menu_button_get_popup")
  (return-type "GtkMenu*")
)

(define-method set_popover
  (of-object "GtkMenuButton")
  (c-name "gtk_menu_button_set_popover")
  (return-type "none")
  (parameters
    '("GtkWidget*" "popover")
  )
)

(define-method get_popover
  (of-object "GtkMenuButton")
  (c-name "gtk_menu_button_get_popover")
  (return-type "GtkPopover*")
)

(define-method set_direction
  (of-object "GtkMenuButton")
  (c-name "gtk_menu_button_set_direction")
  (return-type "none")
  (parameters
    '("GtkArrowType" "direction")
  )
)

(define-method get_direction
  (of-object "GtkMenuButton")
  (c-name "gtk_menu_button_get_direction")
  (return-type "GtkArrowType")
)

(define-method set_menu_model
  (of-object "GtkMenuButton")
  (c-name "gtk_menu_button_set_menu_model")
  (return-type "none")
  (parameters
    '("GMenuModel*" "menu_model")
  )
)

(define-method get_menu_model
  (of-object "GtkMenuButton")
  (c-name "gtk_menu_button_get_menu_model")
  (return-type "GMenuModel*")
)

(define-method set_align_widget
  (of-object "GtkMenuButton")
  (c-name "gtk_menu_button_set_align_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "align_widget")
  )
)

(define-method get_align_widget
  (of-object "GtkMenuButton")
  (c-name "gtk_menu_button_get_align_widget")
  (return-type "GtkWidget*")
)

(define-method set_use_popover
  (of-object "GtkMenuButton")
  (c-name "gtk_menu_button_set_use_popover")
  (return-type "none")
  (parameters
    '("gboolean" "use_popover")
  )
)

(define-method get_use_popover
  (of-object "GtkMenuButton")
  (c-name "gtk_menu_button_get_use_popover")
  (return-type "gboolean")
)



;; From gtkmenu.h

(define-function gtk_menu_get_type
  (c-name "gtk_menu_get_type")
  (return-type "GType")
)

(define-function gtk_menu_new
  (c-name "gtk_menu_new")
  (is-constructor-of "GtkMenu")
  (return-type "GtkWidget*")
)

(define-function gtk_menu_new_from_model
  (c-name "gtk_menu_new_from_model")
  (return-type "GtkWidget*")
  (parameters
    '("GMenuModel*" "model")
  )
)

(define-method popup
  (of-object "GtkMenu")
  (c-name "gtk_menu_popup")
  (return-type "none")
  (parameters
    '("GtkWidget*" "parent_menu_shell")
    '("GtkWidget*" "parent_menu_item")
    '("GtkMenuPositionFunc" "func")
    '("gpointer" "data")
    '("guint" "button")
    '("guint32" "activate_time")
  )
)

(define-method popup_for_device
  (of-object "GtkMenu")
  (c-name "gtk_menu_popup_for_device")
  (return-type "none")
  (parameters
    '("GdkDevice*" "device")
    '("GtkWidget*" "parent_menu_shell")
    '("GtkWidget*" "parent_menu_item")
    '("GtkMenuPositionFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "destroy")
    '("guint" "button")
    '("guint32" "activate_time")
  )
)

(define-method reposition
  (of-object "GtkMenu")
  (c-name "gtk_menu_reposition")
  (return-type "none")
)

(define-method popdown
  (of-object "GtkMenu")
  (c-name "gtk_menu_popdown")
  (return-type "none")
)

(define-method get_active
  (of-object "GtkMenu")
  (c-name "gtk_menu_get_active")
  (return-type "GtkWidget*")
)

(define-method set_active
  (of-object "GtkMenu")
  (c-name "gtk_menu_set_active")
  (return-type "none")
  (parameters
    '("guint" "index")
  )
)

(define-method set_accel_group
  (of-object "GtkMenu")
  (c-name "gtk_menu_set_accel_group")
  (return-type "none")
  (parameters
    '("GtkAccelGroup*" "accel_group")
  )
)

(define-method get_accel_group
  (of-object "GtkMenu")
  (c-name "gtk_menu_get_accel_group")
  (return-type "GtkAccelGroup*")
)

(define-method set_accel_path
  (of-object "GtkMenu")
  (c-name "gtk_menu_set_accel_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "accel_path")
  )
)

(define-method get_accel_path
  (of-object "GtkMenu")
  (c-name "gtk_menu_get_accel_path")
  (return-type "const-gchar*")
)

(define-method attach_to_widget
  (of-object "GtkMenu")
  (c-name "gtk_menu_attach_to_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "attach_widget")
    '("GtkMenuDetachFunc" "detacher")
  )
)

(define-method detach
  (of-object "GtkMenu")
  (c-name "gtk_menu_detach")
  (return-type "none")
)

(define-method get_attach_widget
  (of-object "GtkMenu")
  (c-name "gtk_menu_get_attach_widget")
  (return-type "GtkWidget*")
)

(define-method set_tearoff_state
  (of-object "GtkMenu")
  (c-name "gtk_menu_set_tearoff_state")
  (return-type "none")
  (parameters
    '("gboolean" "torn_off")
  )
)

(define-method get_tearoff_state
  (of-object "GtkMenu")
  (c-name "gtk_menu_get_tearoff_state")
  (return-type "gboolean")
)

(define-method set_title
  (of-object "GtkMenu")
  (c-name "gtk_menu_set_title")
  (return-type "none")
  (parameters
    '("const-gchar*" "title")
  )
)

(define-method get_title
  (of-object "GtkMenu")
  (c-name "gtk_menu_get_title")
  (return-type "const-gchar*")
)

(define-method reorder_child
  (of-object "GtkMenu")
  (c-name "gtk_menu_reorder_child")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gint" "position")
  )
)

(define-method set_screen
  (of-object "GtkMenu")
  (c-name "gtk_menu_set_screen")
  (return-type "none")
  (parameters
    '("GdkScreen*" "screen")
  )
)

(define-method attach
  (of-object "GtkMenu")
  (c-name "gtk_menu_attach")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("guint" "left_attach")
    '("guint" "right_attach")
    '("guint" "top_attach")
    '("guint" "bottom_attach")
  )
)

(define-method set_monitor
  (of-object "GtkMenu")
  (c-name "gtk_menu_set_monitor")
  (return-type "none")
  (parameters
    '("gint" "monitor_num")
  )
)

(define-method get_monitor
  (of-object "GtkMenu")
  (c-name "gtk_menu_get_monitor")
  (return-type "gint")
)

(define-function gtk_menu_get_for_attach_widget
  (c-name "gtk_menu_get_for_attach_widget")
  (return-type "GList*")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method set_reserve_toggle_size
  (of-object "GtkMenu")
  (c-name "gtk_menu_set_reserve_toggle_size")
  (return-type "none")
  (parameters
    '("gboolean" "reserve_toggle_size")
  )
)

(define-method get_reserve_toggle_size
  (of-object "GtkMenu")
  (c-name "gtk_menu_get_reserve_toggle_size")
  (return-type "gboolean")
)



;; From gtkmenuitem.h

(define-function gtk_menu_item_get_type
  (c-name "gtk_menu_item_get_type")
  (return-type "GType")
)

(define-function gtk_menu_item_new
  (c-name "gtk_menu_item_new")
  (is-constructor-of "GtkMenuItem")
  (return-type "GtkWidget*")
)

(define-function gtk_menu_item_new_with_label
  (c-name "gtk_menu_item_new_with_label")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-function gtk_menu_item_new_with_mnemonic
  (c-name "gtk_menu_item_new_with_mnemonic")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method set_submenu
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_set_submenu")
  (return-type "none")
  (parameters
    '("GtkWidget*" "submenu")
  )
)

(define-method get_submenu
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_get_submenu")
  (return-type "GtkWidget*")
)

(define-method select
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_select")
  (return-type "none")
)

(define-method deselect
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_deselect")
  (return-type "none")
)

(define-method activate
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_activate")
  (return-type "none")
)

(define-method toggle_size_request
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_toggle_size_request")
  (return-type "none")
  (parameters
    '("gint*" "requisition")
  )
)

(define-method toggle_size_allocate
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_toggle_size_allocate")
  (return-type "none")
  (parameters
    '("gint" "allocation")
  )
)

(define-method set_right_justified
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_set_right_justified")
  (return-type "none")
  (parameters
    '("gboolean" "right_justified")
  )
)

(define-method get_right_justified
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_get_right_justified")
  (return-type "gboolean")
)

(define-method set_accel_path
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_set_accel_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "accel_path")
  )
)

(define-method get_accel_path
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_get_accel_path")
  (return-type "const-gchar*")
)

(define-method set_label
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_set_label")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method get_label
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_get_label")
  (return-type "const-gchar*")
)

(define-method set_use_underline
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_set_use_underline")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_use_underline
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_get_use_underline")
  (return-type "gboolean")
)

(define-method set_reserve_indicator
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_set_reserve_indicator")
  (return-type "none")
  (parameters
    '("gboolean" "reserve")
  )
)

(define-method get_reserve_indicator
  (of-object "GtkMenuItem")
  (c-name "gtk_menu_item_get_reserve_indicator")
  (return-type "gboolean")
)



;; From gtkmenusectionbox.h

(define-function gtk_menu_section_box_get_type
  (c-name "gtk_menu_section_box_get_type")
  (return-type "GType")
)

(define-function gtk_menu_section_box_new_toplevel
  (c-name "gtk_menu_section_box_new_toplevel")
  (return-type "none")
  (parameters
    '("GtkStack*" "stack")
    '("GMenuModel*" "model")
    '("const-gchar*" "action_namespace")
    '("GtkPopover*" "popover")
  )
)



;; From gtkmenushell.h

(define-function gtk_menu_shell_get_type
  (c-name "gtk_menu_shell_get_type")
  (return-type "GType")
)

(define-method append
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_append")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method prepend
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_prepend")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method insert
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_insert")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gint" "position")
  )
)

(define-method deactivate
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_deactivate")
  (return-type "none")
)

(define-method select_item
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_select_item")
  (return-type "none")
  (parameters
    '("GtkWidget*" "menu_item")
  )
)

(define-method deselect
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_deselect")
  (return-type "none")
)

(define-method activate_item
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_activate_item")
  (return-type "none")
  (parameters
    '("GtkWidget*" "menu_item")
    '("gboolean" "force_deactivate")
  )
)

(define-method select_first
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_select_first")
  (return-type "none")
  (parameters
    '("gboolean" "search_sensitive")
  )
)

(define-method cancel
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_cancel")
  (return-type "none")
)

(define-method get_take_focus
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_get_take_focus")
  (return-type "gboolean")
)

(define-method set_take_focus
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_set_take_focus")
  (return-type "none")
  (parameters
    '("gboolean" "take_focus")
  )
)

(define-method get_selected_item
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_get_selected_item")
  (return-type "GtkWidget*")
)

(define-method get_parent_shell
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_get_parent_shell")
  (return-type "GtkWidget*")
)

(define-method bind_model
  (of-object "GtkMenuShell")
  (c-name "gtk_menu_shell_bind_model")
  (return-type "none")
  (parameters
    '("GMenuModel*" "model")
    '("const-gchar*" "action_namespace")
    '("gboolean" "with_separators")
  )
)



;; From gtkmenutoolbutton.h

(define-function gtk_menu_tool_button_get_type
  (c-name "gtk_menu_tool_button_get_type")
  (return-type "GType")
)

(define-function gtk_menu_tool_button_new
  (c-name "gtk_menu_tool_button_new")
  (is-constructor-of "GtkMenuToolButton")
  (return-type "GtkToolItem*")
  (parameters
    '("GtkWidget*" "icon_widget")
    '("const-gchar*" "label")
  )
)

(define-function gtk_menu_tool_button_new_from_stock
  (c-name "gtk_menu_tool_button_new_from_stock")
  (return-type "GtkToolItem*")
  (parameters
    '("const-gchar*" "stock_id")
  )
)

(define-method set_menu
  (of-object "GtkMenuToolButton")
  (c-name "gtk_menu_tool_button_set_menu")
  (return-type "none")
  (parameters
    '("GtkWidget*" "menu")
  )
)

(define-method get_menu
  (of-object "GtkMenuToolButton")
  (c-name "gtk_menu_tool_button_get_menu")
  (return-type "GtkWidget*")
)

(define-method set_arrow_tooltip_text
  (of-object "GtkMenuToolButton")
  (c-name "gtk_menu_tool_button_set_arrow_tooltip_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method set_arrow_tooltip_markup
  (of-object "GtkMenuToolButton")
  (c-name "gtk_menu_tool_button_set_arrow_tooltip_markup")
  (return-type "none")
  (parameters
    '("const-gchar*" "markup")
  )
)



;; From gtkmenutracker.h

(define-function gtk_menu_tracker_new
  (c-name "gtk_menu_tracker_new")
  (is-constructor-of "GtkMenuTracker")
  (return-type "GtkMenuTracker*")
  (parameters
    '("GtkActionObservable*" "observer")
    '("GMenuModel*" "model")
    '("gboolean" "with_separators")
    '("gboolean" "merge_sections")
    '("gboolean" "mac_os_mode")
    '("const-gchar*" "action_namespace")
    '("GtkMenuTrackerInsertFunc" "insert_func")
    '("GtkMenuTrackerRemoveFunc" "remove_func")
    '("gpointer" "user_data")
  )
)

(define-function gtk_menu_tracker_new_for_item_link
  (c-name "gtk_menu_tracker_new_for_item_link")
  (return-type "GtkMenuTracker*")
  (parameters
    '("GtkMenuTrackerItem*" "item")
    '("const-gchar*" "link_name")
    '("gboolean" "merge_sections")
    '("gboolean" "mac_os_mode")
    '("GtkMenuTrackerInsertFunc" "insert_func")
    '("GtkMenuTrackerRemoveFunc" "remove_func")
    '("gpointer" "user_data")
  )
)

(define-method free
  (of-object "GtkMenuTracker")
  (c-name "gtk_menu_tracker_free")
  (return-type "none")
)



;; From gtkmenutrackeritem.h

(define-function gtk_menu_tracker_item_get_type
  (c-name "gtk_menu_tracker_item_get_type")
  (return-type "GType")
)

(define-function gtk_menu_tracker_item_role_get_type
  (c-name "gtk_menu_tracker_item_role_get_type")
  (return-type "GType")
)

(define-method get_special
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_special")
  (return-type "const-gchar*")
)

(define-method get_display_hint
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_display_hint")
  (return-type "const-gchar*")
)

(define-method get_is_separator
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_is_separator")
  (return-type "gboolean")
)

(define-method get_has_link
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_has_link")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "link_name")
  )
)

(define-method get_label
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_label")
  (return-type "const-gchar*")
)

(define-method get_icon
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_icon")
  (return-type "GIcon*")
)

(define-method get_verb_icon
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_verb_icon")
  (return-type "GIcon*")
)

(define-method get_sensitive
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_sensitive")
  (return-type "gboolean")
)

(define-method get_role
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_role")
  (return-type "GtkMenuTrackerItemRole")
)

(define-method get_toggled
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_toggled")
  (return-type "gboolean")
)

(define-method get_accel
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_accel")
  (return-type "const-gchar*")
)

(define-method may_disappear
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_may_disappear")
  (return-type "gboolean")
)

(define-method get_is_visible
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_is_visible")
  (return-type "gboolean")
)

(define-method get_should_request_show
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_should_request_show")
  (return-type "gboolean")
)

(define-method activated
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_activated")
  (return-type "none")
)

(define-method request_submenu_shown
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_request_submenu_shown")
  (return-type "none")
  (parameters
    '("gboolean" "shown")
  )
)

(define-method get_submenu_shown
  (of-object "GtkMenuTrackerItem")
  (c-name "gtk_menu_tracker_item_get_submenu_shown")
  (return-type "gboolean")
)



;; From gtkmessagedialog.h

(define-function gtk_message_dialog_get_type
  (c-name "gtk_message_dialog_get_type")
  (return-type "GType")
)

(define-function gtk_message_dialog_new
  (c-name "gtk_message_dialog_new")
  (is-constructor-of "GtkMessageDialog")
  (return-type "GtkWidget*")
  (parameters
    '("GtkWindow*" "parent")
    '("GtkDialogFlags" "flags")
    '("GtkMessageType" "type")
    '("GtkButtonsType" "buttons")
    '("const-gchar*" "message_format")
  )
  (varargs #t)
)

(define-function gtk_message_dialog_new_with_markup
  (c-name "gtk_message_dialog_new_with_markup")
  (return-type "GtkWidget*")
  (parameters
    '("GtkWindow*" "parent")
    '("GtkDialogFlags" "flags")
    '("GtkMessageType" "type")
    '("GtkButtonsType" "buttons")
    '("const-gchar*" "message_format")
  )
  (varargs #t)
)

(define-method set_image
  (of-object "GtkMessageDialog")
  (c-name "gtk_message_dialog_set_image")
  (return-type "none")
  (parameters
    '("GtkWidget*" "image")
  )
)

(define-method get_image
  (of-object "GtkMessageDialog")
  (c-name "gtk_message_dialog_get_image")
  (return-type "GtkWidget*")
)

(define-method set_markup
  (of-object "GtkMessageDialog")
  (c-name "gtk_message_dialog_set_markup")
  (return-type "none")
  (parameters
    '("const-gchar*" "str")
  )
)

(define-method format_secondary_text
  (of-object "GtkMessageDialog")
  (c-name "gtk_message_dialog_format_secondary_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "message_format")
  )
  (varargs #t)
)

(define-method format_secondary_markup
  (of-object "GtkMessageDialog")
  (c-name "gtk_message_dialog_format_secondary_markup")
  (return-type "none")
  (parameters
    '("const-gchar*" "message_format")
  )
  (varargs #t)
)

(define-method get_message_area
  (of-object "GtkMessageDialog")
  (c-name "gtk_message_dialog_get_message_area")
  (return-type "GtkWidget*")
)



;; From gtkmnemonichash.h



;; From gtkmodelbutton.h

(define-function gtk_model_button_get_type
  (c-name "gtk_model_button_get_type")
  (return-type "GType")
)

(define-function gtk_model_button_new
  (c-name "gtk_model_button_new")
  (is-constructor-of "GtkModelButton")
  (return-type "GtkWidget*")
)



;; From gtkmodelmenuitem.h



;; From gtkmodifierstyle.h



;; From gtkmodules.h



;; From gtkmountoperation.h

(define-function gtk_mount_operation_get_type
  (c-name "gtk_mount_operation_get_type")
  (return-type "GType")
)

(define-function gtk_mount_operation_new
  (c-name "gtk_mount_operation_new")
  (is-constructor-of "GtkMountOperation")
  (return-type "GMountOperation*")
  (parameters
    '("GtkWindow*" "parent")
  )
)

(define-method is_showing
  (of-object "GtkMountOperation")
  (c-name "gtk_mount_operation_is_showing")
  (return-type "gboolean")
)

(define-method set_parent
  (of-object "GtkMountOperation")
  (c-name "gtk_mount_operation_set_parent")
  (return-type "none")
  (parameters
    '("GtkWindow*" "parent")
  )
)

(define-method get_parent
  (of-object "GtkMountOperation")
  (c-name "gtk_mount_operation_get_parent")
  (return-type "GtkWindow*")
)

(define-method set_screen
  (of-object "GtkMountOperation")
  (c-name "gtk_mount_operation_set_screen")
  (return-type "none")
  (parameters
    '("GdkScreen*" "screen")
  )
)

(define-method get_screen
  (of-object "GtkMountOperation")
  (c-name "gtk_mount_operation_get_screen")
  (return-type "GdkScreen*")
)



;; From gtknotebook.h

(define-function gtk_notebook_get_type
  (c-name "gtk_notebook_get_type")
  (return-type "GType")
)

(define-function gtk_notebook_new
  (c-name "gtk_notebook_new")
  (is-constructor-of "GtkNotebook")
  (return-type "GtkWidget*")
)

(define-method append_page
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_append_page")
  (return-type "gint")
  (parameters
    '("GtkWidget*" "child")
    '("GtkWidget*" "tab_label")
  )
)

(define-method append_page_menu
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_append_page_menu")
  (return-type "gint")
  (parameters
    '("GtkWidget*" "child")
    '("GtkWidget*" "tab_label")
    '("GtkWidget*" "menu_label")
  )
)

(define-method prepend_page
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_prepend_page")
  (return-type "gint")
  (parameters
    '("GtkWidget*" "child")
    '("GtkWidget*" "tab_label")
  )
)

(define-method prepend_page_menu
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_prepend_page_menu")
  (return-type "gint")
  (parameters
    '("GtkWidget*" "child")
    '("GtkWidget*" "tab_label")
    '("GtkWidget*" "menu_label")
  )
)

(define-method insert_page
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_insert_page")
  (return-type "gint")
  (parameters
    '("GtkWidget*" "child")
    '("GtkWidget*" "tab_label")
    '("gint" "position")
  )
)

(define-method insert_page_menu
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_insert_page_menu")
  (return-type "gint")
  (parameters
    '("GtkWidget*" "child")
    '("GtkWidget*" "tab_label")
    '("GtkWidget*" "menu_label")
    '("gint" "position")
  )
)

(define-method remove_page
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_remove_page")
  (return-type "none")
  (parameters
    '("gint" "page_num")
  )
)

(define-method set_group_name
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_set_group_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "group_name")
  )
)

(define-method get_group_name
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_group_name")
  (return-type "const-gchar*")
)

(define-method get_current_page
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_current_page")
  (return-type "gint")
)

(define-method get_nth_page
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_nth_page")
  (return-type "GtkWidget*")
  (parameters
    '("gint" "page_num")
  )
)

(define-method get_n_pages
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_n_pages")
  (return-type "gint")
)

(define-method page_num
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_page_num")
  (return-type "gint")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method set_current_page
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_set_current_page")
  (return-type "none")
  (parameters
    '("gint" "page_num")
  )
)

(define-method next_page
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_next_page")
  (return-type "none")
)

(define-method prev_page
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_prev_page")
  (return-type "none")
)

(define-method set_show_border
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_set_show_border")
  (return-type "none")
  (parameters
    '("gboolean" "show_border")
  )
)

(define-method get_show_border
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_show_border")
  (return-type "gboolean")
)

(define-method set_show_tabs
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_set_show_tabs")
  (return-type "none")
  (parameters
    '("gboolean" "show_tabs")
  )
)

(define-method get_show_tabs
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_show_tabs")
  (return-type "gboolean")
)

(define-method set_tab_pos
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_set_tab_pos")
  (return-type "none")
  (parameters
    '("GtkPositionType" "pos")
  )
)

(define-method get_tab_pos
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_tab_pos")
  (return-type "GtkPositionType")
)

(define-method set_scrollable
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_set_scrollable")
  (return-type "none")
  (parameters
    '("gboolean" "scrollable")
  )
)

(define-method get_scrollable
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_scrollable")
  (return-type "gboolean")
)

(define-method get_tab_hborder
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_tab_hborder")
  (return-type "guint16")
)

(define-method get_tab_vborder
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_tab_vborder")
  (return-type "guint16")
)

(define-method popup_enable
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_popup_enable")
  (return-type "none")
)

(define-method popup_disable
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_popup_disable")
  (return-type "none")
)

(define-method get_tab_label
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_tab_label")
  (return-type "GtkWidget*")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method set_tab_label
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_set_tab_label")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("GtkWidget*" "tab_label")
  )
)

(define-method set_tab_label_text
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_set_tab_label_text")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("const-gchar*" "tab_text")
  )
)

(define-method get_tab_label_text
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_tab_label_text")
  (return-type "const-gchar*")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method get_menu_label
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_menu_label")
  (return-type "GtkWidget*")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method set_menu_label
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_set_menu_label")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("GtkWidget*" "menu_label")
  )
)

(define-method set_menu_label_text
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_set_menu_label_text")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("const-gchar*" "menu_text")
  )
)

(define-method get_menu_label_text
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_menu_label_text")
  (return-type "const-gchar*")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method reorder_child
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_reorder_child")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gint" "position")
  )
)

(define-method get_tab_reorderable
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_tab_reorderable")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method set_tab_reorderable
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_set_tab_reorderable")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gboolean" "reorderable")
  )
)

(define-method get_tab_detachable
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_tab_detachable")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method set_tab_detachable
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_set_tab_detachable")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gboolean" "detachable")
  )
)

(define-method detach_tab
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_detach_tab")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method get_action_widget
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_get_action_widget")
  (return-type "GtkWidget*")
  (parameters
    '("GtkPackType" "pack_type")
  )
)

(define-method set_action_widget
  (of-object "GtkNotebook")
  (c-name "gtk_notebook_set_action_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GtkPackType" "pack_type")
  )
)



;; From gtkoffscreenwindow.h

(define-function gtk_offscreen_window_get_type
  (c-name "gtk_offscreen_window_get_type")
  (return-type "GType")
)

(define-function gtk_offscreen_window_new
  (c-name "gtk_offscreen_window_new")
  (is-constructor-of "GtkOffscreenWindow")
  (return-type "GtkWidget*")
)

(define-method get_surface
  (of-object "GtkOffscreenWindow")
  (c-name "gtk_offscreen_window_get_surface")
  (return-type "cairo_surface_t*")
)

(define-method get_pixbuf
  (of-object "GtkOffscreenWindow")
  (c-name "gtk_offscreen_window_get_pixbuf")
  (return-type "GdkPixbuf*")
)



;; From gtkorientable.h

(define-function gtk_orientable_get_type
  (c-name "gtk_orientable_get_type")
  (return-type "GType")
)

(define-method set_orientation
  (of-object "GtkOrientable")
  (c-name "gtk_orientable_set_orientation")
  (return-type "none")
  (parameters
    '("GtkOrientation" "orientation")
  )
)

(define-method get_orientation
  (of-object "GtkOrientable")
  (c-name "gtk_orientable_get_orientation")
  (return-type "GtkOrientation")
)



;; From gtkoverlay.h

(define-function gtk_overlay_get_type
  (c-name "gtk_overlay_get_type")
  (return-type "GType")
)

(define-function gtk_overlay_new
  (c-name "gtk_overlay_new")
  (is-constructor-of "GtkOverlay")
  (return-type "GtkWidget*")
)

(define-method add_overlay
  (of-object "GtkOverlay")
  (c-name "gtk_overlay_add_overlay")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method reorder_overlay
  (of-object "GtkOverlay")
  (c-name "gtk_overlay_reorder_overlay")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gint" "position")
  )
)

(define-method get_overlay_pass_through
  (of-object "GtkOverlay")
  (c-name "gtk_overlay_get_overlay_pass_through")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method set_overlay_pass_through
  (of-object "GtkOverlay")
  (c-name "gtk_overlay_set_overlay_pass_through")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("gboolean" "pass_through")
  )
)



;; From gtkpagesetup.h

(define-function gtk_page_setup_get_type
  (c-name "gtk_page_setup_get_type")
  (return-type "GType")
)

(define-function gtk_page_setup_new
  (c-name "gtk_page_setup_new")
  (is-constructor-of "GtkPageSetup")
  (return-type "GtkPageSetup*")
)

(define-method copy
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_copy")
  (return-type "GtkPageSetup*")
)

(define-method get_orientation
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_get_orientation")
  (return-type "GtkPageOrientation")
)

(define-method set_orientation
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_set_orientation")
  (return-type "none")
  (parameters
    '("GtkPageOrientation" "orientation")
  )
)

(define-method get_paper_size
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_get_paper_size")
  (return-type "GtkPaperSize*")
)

(define-method set_paper_size
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_set_paper_size")
  (return-type "none")
  (parameters
    '("GtkPaperSize*" "size")
  )
)

(define-method get_top_margin
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_get_top_margin")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method set_top_margin
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_set_top_margin")
  (return-type "none")
  (parameters
    '("gdouble" "margin")
    '("GtkUnit" "unit")
  )
)

(define-method get_bottom_margin
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_get_bottom_margin")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method set_bottom_margin
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_set_bottom_margin")
  (return-type "none")
  (parameters
    '("gdouble" "margin")
    '("GtkUnit" "unit")
  )
)

(define-method get_left_margin
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_get_left_margin")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method set_left_margin
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_set_left_margin")
  (return-type "none")
  (parameters
    '("gdouble" "margin")
    '("GtkUnit" "unit")
  )
)

(define-method get_right_margin
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_get_right_margin")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method set_right_margin
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_set_right_margin")
  (return-type "none")
  (parameters
    '("gdouble" "margin")
    '("GtkUnit" "unit")
  )
)

(define-method set_paper_size_and_default_margins
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_set_paper_size_and_default_margins")
  (return-type "none")
  (parameters
    '("GtkPaperSize*" "size")
  )
)

(define-method get_paper_width
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_get_paper_width")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method get_paper_height
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_get_paper_height")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method get_page_width
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_get_page_width")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method get_page_height
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_get_page_height")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-function gtk_page_setup_new_from_file
  (c-name "gtk_page_setup_new_from_file")
  (return-type "GtkPageSetup*")
  (parameters
    '("const-gchar*" "file_name")
    '("GError**" "error")
  )
)

(define-method load_file
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_load_file")
  (return-type "gboolean")
  (parameters
    '("const-char*" "file_name")
    '("GError**" "error")
  )
)

(define-method to_file
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_to_file")
  (return-type "gboolean")
  (parameters
    '("const-char*" "file_name")
    '("GError**" "error")
  )
)

(define-function gtk_page_setup_new_from_key_file
  (c-name "gtk_page_setup_new_from_key_file")
  (return-type "GtkPageSetup*")
  (parameters
    '("GKeyFile*" "key_file")
    '("const-gchar*" "group_name")
    '("GError**" "error")
  )
)

(define-method load_key_file
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_load_key_file")
  (return-type "gboolean")
  (parameters
    '("GKeyFile*" "key_file")
    '("const-gchar*" "group_name")
    '("GError**" "error")
  )
)

(define-method to_key_file
  (of-object "GtkPageSetup")
  (c-name "gtk_page_setup_to_key_file")
  (return-type "none")
  (parameters
    '("GKeyFile*" "key_file")
    '("const-gchar*" "group_name")
  )
)



;; From gtkpagesetupunixdialog.h

(define-function gtk_page_setup_unix_dialog_get_type
  (c-name "gtk_page_setup_unix_dialog_get_type")
  (return-type "GType")
)

(define-function gtk_page_setup_unix_dialog_new
  (c-name "gtk_page_setup_unix_dialog_new")
  (is-constructor-of "GtkPageSetupUnixDialog")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "title")
    '("GtkWindow*" "parent")
  )
)

(define-method set_page_setup
  (of-object "GtkPageSetupUnixDialog")
  (c-name "gtk_page_setup_unix_dialog_set_page_setup")
  (return-type "none")
  (parameters
    '("GtkPageSetup*" "page_setup")
  )
)

(define-method get_page_setup
  (of-object "GtkPageSetupUnixDialog")
  (c-name "gtk_page_setup_unix_dialog_get_page_setup")
  (return-type "GtkPageSetup*")
)

(define-method set_print_settings
  (of-object "GtkPageSetupUnixDialog")
  (c-name "gtk_page_setup_unix_dialog_set_print_settings")
  (return-type "none")
  (parameters
    '("GtkPrintSettings*" "print_settings")
  )
)

(define-method get_print_settings
  (of-object "GtkPageSetupUnixDialog")
  (c-name "gtk_page_setup_unix_dialog_get_print_settings")
  (return-type "GtkPrintSettings*")
)



;; From gtkpaned.h

(define-function gtk_paned_get_type
  (c-name "gtk_paned_get_type")
  (return-type "GType")
)

(define-function gtk_paned_new
  (c-name "gtk_paned_new")
  (is-constructor-of "GtkPaned")
  (return-type "GtkWidget*")
  (parameters
    '("GtkOrientation" "orientation")
  )
)

(define-method add1
  (of-object "GtkPaned")
  (c-name "gtk_paned_add1")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method add2
  (of-object "GtkPaned")
  (c-name "gtk_paned_add2")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method pack1
  (of-object "GtkPaned")
  (c-name "gtk_paned_pack1")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gboolean" "resize")
    '("gboolean" "shrink")
  )
)

(define-method pack2
  (of-object "GtkPaned")
  (c-name "gtk_paned_pack2")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gboolean" "resize")
    '("gboolean" "shrink")
  )
)

(define-method get_position
  (of-object "GtkPaned")
  (c-name "gtk_paned_get_position")
  (return-type "gint")
)

(define-method set_position
  (of-object "GtkPaned")
  (c-name "gtk_paned_set_position")
  (return-type "none")
  (parameters
    '("gint" "position")
  )
)

(define-method get_child1
  (of-object "GtkPaned")
  (c-name "gtk_paned_get_child1")
  (return-type "GtkWidget*")
)

(define-method get_child2
  (of-object "GtkPaned")
  (c-name "gtk_paned_get_child2")
  (return-type "GtkWidget*")
)

(define-method get_handle_window
  (of-object "GtkPaned")
  (c-name "gtk_paned_get_handle_window")
  (return-type "GdkWindow*")
)

(define-method set_wide_handle
  (of-object "GtkPaned")
  (c-name "gtk_paned_set_wide_handle")
  (return-type "none")
  (parameters
    '("gboolean" "wide")
  )
)

(define-method get_wide_handle
  (of-object "GtkPaned")
  (c-name "gtk_paned_get_wide_handle")
  (return-type "gboolean")
)



;; From gtkpango.h



;; From gtkpapersize.h

(define-function gtk_paper_size_get_type
  (c-name "gtk_paper_size_get_type")
  (return-type "GType")
)

(define-function gtk_paper_size_new
  (c-name "gtk_paper_size_new")
  (is-constructor-of "GtkPaperSize")
  (return-type "GtkPaperSize*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-function gtk_paper_size_new_from_ppd
  (c-name "gtk_paper_size_new_from_ppd")
  (return-type "GtkPaperSize*")
  (parameters
    '("const-gchar*" "ppd_name")
    '("const-gchar*" "ppd_display_name")
    '("gdouble" "width")
    '("gdouble" "height")
  )
)

(define-function gtk_paper_size_new_from_ipp
  (c-name "gtk_paper_size_new_from_ipp")
  (return-type "GtkPaperSize*")
  (parameters
    '("const-gchar*" "ipp_name")
    '("gdouble" "width")
    '("gdouble" "height")
  )
)

(define-function gtk_paper_size_new_custom
  (c-name "gtk_paper_size_new_custom")
  (return-type "GtkPaperSize*")
  (parameters
    '("const-gchar*" "name")
    '("const-gchar*" "display_name")
    '("gdouble" "width")
    '("gdouble" "height")
    '("GtkUnit" "unit")
  )
)

(define-method copy
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_copy")
  (return-type "GtkPaperSize*")
)

(define-method free
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_free")
  (return-type "none")
)

(define-method is_equal
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_is_equal")
  (return-type "gboolean")
  (parameters
    '("GtkPaperSize*" "size2")
  )
)

(define-function gtk_paper_size_get_paper_sizes
  (c-name "gtk_paper_size_get_paper_sizes")
  (return-type "GList*")
  (parameters
    '("gboolean" "include_custom")
  )
)

(define-method get_name
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_get_name")
  (return-type "const-gchar*")
)

(define-method get_display_name
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_get_display_name")
  (return-type "const-gchar*")
)

(define-method get_ppd_name
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_get_ppd_name")
  (return-type "const-gchar*")
)

(define-method get_width
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_get_width")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method get_height
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_get_height")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method is_custom
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_is_custom")
  (return-type "gboolean")
)

(define-method is_ipp
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_is_ipp")
  (return-type "gboolean")
)

(define-method set_size
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_set_size")
  (return-type "none")
  (parameters
    '("gdouble" "width")
    '("gdouble" "height")
    '("GtkUnit" "unit")
  )
)

(define-method get_default_top_margin
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_get_default_top_margin")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method get_default_bottom_margin
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_get_default_bottom_margin")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method get_default_left_margin
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_get_default_left_margin")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method get_default_right_margin
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_get_default_right_margin")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-function gtk_paper_size_get_default
  (c-name "gtk_paper_size_get_default")
  (return-type "const-gchar*")
)

(define-function gtk_paper_size_new_from_key_file
  (c-name "gtk_paper_size_new_from_key_file")
  (return-type "GtkPaperSize*")
  (parameters
    '("GKeyFile*" "key_file")
    '("const-gchar*" "group_name")
    '("GError**" "error")
  )
)

(define-method to_key_file
  (of-object "GtkPaperSize")
  (c-name "gtk_paper_size_to_key_file")
  (return-type "none")
  (parameters
    '("GKeyFile*" "key_file")
    '("const-gchar*" "group_name")
  )
)



;; From gtkpathbar.h

(define-function gtk_path_bar_get_type
  (c-name "gtk_path_bar_get_type")
  (return-type "GType")
)



;; From gtkplacessidebar.h

(define-function gtk_places_sidebar_get_type
  (c-name "gtk_places_sidebar_get_type")
  (return-type "GType")
)

(define-function gtk_places_sidebar_new
  (c-name "gtk_places_sidebar_new")
  (is-constructor-of "GtkPlacesSidebar")
  (return-type "GtkWidget*")
)

(define-method get_open_flags
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_get_open_flags")
  (return-type "GtkPlacesOpenFlags")
)

(define-method set_open_flags
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_set_open_flags")
  (return-type "none")
  (parameters
    '("GtkPlacesOpenFlags" "flags")
  )
)

(define-method get_location
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_get_location")
  (return-type "GFile*")
)

(define-method set_location
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_set_location")
  (return-type "none")
  (parameters
    '("GFile*" "location")
  )
)

(define-method get_show_recent
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_get_show_recent")
  (return-type "gboolean")
)

(define-method set_show_recent
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_set_show_recent")
  (return-type "none")
  (parameters
    '("gboolean" "show_recent")
  )
)

(define-method get_show_desktop
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_get_show_desktop")
  (return-type "gboolean")
)

(define-method set_show_desktop
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_set_show_desktop")
  (return-type "none")
  (parameters
    '("gboolean" "show_desktop")
  )
)

(define-method get_show_connect_to_server
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_get_show_connect_to_server")
  (return-type "gboolean")
)

(define-method set_show_connect_to_server
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_set_show_connect_to_server")
  (return-type "none")
  (parameters
    '("gboolean" "show_connect_to_server")
  )
)

(define-method get_show_enter_location
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_get_show_enter_location")
  (return-type "gboolean")
)

(define-method set_show_enter_location
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_set_show_enter_location")
  (return-type "none")
  (parameters
    '("gboolean" "show_enter_location")
  )
)

(define-method set_local_only
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_set_local_only")
  (return-type "none")
  (parameters
    '("gboolean" "local_only")
  )
)

(define-method get_local_only
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_get_local_only")
  (return-type "gboolean")
)

(define-method add_shortcut
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_add_shortcut")
  (return-type "none")
  (parameters
    '("GFile*" "location")
  )
)

(define-method remove_shortcut
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_remove_shortcut")
  (return-type "none")
  (parameters
    '("GFile*" "location")
  )
)

(define-method list_shortcuts
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_list_shortcuts")
  (return-type "GSList*")
)

(define-method get_nth_bookmark
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_get_nth_bookmark")
  (return-type "GFile*")
  (parameters
    '("gint" "n")
  )
)

(define-method set_drop_targets_visible
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_set_drop_targets_visible")
  (return-type "none")
  (parameters
    '("gboolean" "visible")
    '("GdkDragContext*" "context")
  )
)

(define-method get_show_trash
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_get_show_trash")
  (return-type "gboolean")
)

(define-method set_show_trash
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_set_show_trash")
  (return-type "none")
  (parameters
    '("gboolean" "show_trash")
  )
)

(define-method set_show_other_locations
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_set_show_other_locations")
  (return-type "none")
  (parameters
    '("gboolean" "show_other_locations")
  )
)

(define-method get_show_other_locations
  (of-object "GtkPlacesSidebar")
  (c-name "gtk_places_sidebar_get_show_other_locations")
  (return-type "gboolean")
)



;; From gtkplug.h

(define-function gtk_plug_get_type
  (c-name "gtk_plug_get_type")
  (return-type "GType")
)

(define-method construct
  (of-object "GtkPlug")
  (c-name "gtk_plug_construct")
  (return-type "none")
  (parameters
    '("Window" "socket_id")
  )
)

(define-function gtk_plug_new
  (c-name "gtk_plug_new")
  (is-constructor-of "GtkPlug")
  (return-type "GtkWidget*")
  (parameters
    '("Window" "socket_id")
  )
)

(define-method construct_for_display
  (of-object "GtkPlug")
  (c-name "gtk_plug_construct_for_display")
  (return-type "none")
  (parameters
    '("GdkDisplay*" "display")
    '("Window" "socket_id")
  )
)

(define-function gtk_plug_new_for_display
  (c-name "gtk_plug_new_for_display")
  (return-type "GtkWidget*")
  (parameters
    '("GdkDisplay*" "display")
    '("Window" "socket_id")
  )
)

(define-method get_id
  (of-object "GtkPlug")
  (c-name "gtk_plug_get_id")
  (return-type "Window")
)

(define-method get_embedded
  (of-object "GtkPlug")
  (c-name "gtk_plug_get_embedded")
  (return-type "gboolean")
)

(define-method get_socket_window
  (of-object "GtkPlug")
  (c-name "gtk_plug_get_socket_window")
  (return-type "GdkWindow*")
)



;; From gtkpopover.h

(define-function gtk_popover_get_type
  (c-name "gtk_popover_get_type")
  (return-type "GType")
)

(define-function gtk_popover_new
  (c-name "gtk_popover_new")
  (is-constructor-of "GtkPopover")
  (return-type "GtkWidget*")
  (parameters
    '("GtkWidget*" "relative_to")
  )
)

(define-function gtk_popover_new_from_model
  (c-name "gtk_popover_new_from_model")
  (return-type "GtkWidget*")
  (parameters
    '("GtkWidget*" "relative_to")
    '("GMenuModel*" "model")
  )
)

(define-method set_relative_to
  (of-object "GtkPopover")
  (c-name "gtk_popover_set_relative_to")
  (return-type "none")
  (parameters
    '("GtkWidget*" "relative_to")
  )
)

(define-method get_relative_to
  (of-object "GtkPopover")
  (c-name "gtk_popover_get_relative_to")
  (return-type "GtkWidget*")
)

(define-method set_pointing_to
  (of-object "GtkPopover")
  (c-name "gtk_popover_set_pointing_to")
  (return-type "none")
  (parameters
    '("const-GdkRectangle*" "rect")
  )
)

(define-method get_pointing_to
  (of-object "GtkPopover")
  (c-name "gtk_popover_get_pointing_to")
  (return-type "gboolean")
  (parameters
    '("GdkRectangle*" "rect")
  )
)

(define-method set_position
  (of-object "GtkPopover")
  (c-name "gtk_popover_set_position")
  (return-type "none")
  (parameters
    '("GtkPositionType" "position")
  )
)

(define-method get_position
  (of-object "GtkPopover")
  (c-name "gtk_popover_get_position")
  (return-type "GtkPositionType")
)

(define-method set_modal
  (of-object "GtkPopover")
  (c-name "gtk_popover_set_modal")
  (return-type "none")
  (parameters
    '("gboolean" "modal")
  )
)

(define-method get_modal
  (of-object "GtkPopover")
  (c-name "gtk_popover_get_modal")
  (return-type "gboolean")
)

(define-method bind_model
  (of-object "GtkPopover")
  (c-name "gtk_popover_bind_model")
  (return-type "none")
  (parameters
    '("GMenuModel*" "model")
    '("const-gchar*" "action_namespace")
  )
)

(define-method set_transitions_enabled
  (of-object "GtkPopover")
  (c-name "gtk_popover_set_transitions_enabled")
  (return-type "none")
  (parameters
    '("gboolean" "transitions_enabled")
  )
)

(define-method get_transitions_enabled
  (of-object "GtkPopover")
  (c-name "gtk_popover_get_transitions_enabled")
  (return-type "gboolean")
)

(define-method set_default_widget
  (of-object "GtkPopover")
  (c-name "gtk_popover_set_default_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method get_default_widget
  (of-object "GtkPopover")
  (c-name "gtk_popover_get_default_widget")
  (return-type "GtkWidget*")
)



;; From gtkpopovermenu.h

(define-function gtk_popover_menu_get_type
  (c-name "gtk_popover_menu_get_type")
  (return-type "GType")
)

(define-function gtk_popover_menu_new
  (c-name "gtk_popover_menu_new")
  (is-constructor-of "GtkPopoverMenu")
  (return-type "GtkWidget*")
)

(define-method open_submenu
  (of-object "GtkPopoverMenu")
  (c-name "gtk_popover_menu_open_submenu")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)



;; From gtkprintbackend.h

(define-function gtk_print_backend_error_quark
  (c-name "gtk_print_backend_error_quark")
  (return-type "GQuark")
)

(define-function gtk_print_backend_get_type
  (c-name "gtk_print_backend_get_type")
  (return-type "GType")
)

(define-method get_printer_list
  (of-object "GtkPrintBackend")
  (c-name "gtk_print_backend_get_printer_list")
  (return-type "GList*")
)

(define-method printer_list_is_done
  (of-object "GtkPrintBackend")
  (c-name "gtk_print_backend_printer_list_is_done")
  (return-type "gboolean")
)

(define-method find_printer
  (of-object "GtkPrintBackend")
  (c-name "gtk_print_backend_find_printer")
  (return-type "GtkPrinter*")
  (parameters
    '("const-gchar*" "printer_name")
  )
)

(define-method print_stream
  (of-object "GtkPrintBackend")
  (c-name "gtk_print_backend_print_stream")
  (return-type "none")
  (parameters
    '("GtkPrintJob*" "job")
    '("GIOChannel*" "data_io")
    '("GtkPrintJobCompleteFunc" "callback")
    '("gpointer" "user_data")
    '("GDestroyNotify" "dnotify")
  )
)

(define-function gtk_print_backend_load_modules
  (c-name "gtk_print_backend_load_modules")
  (return-type "GList*")
)

(define-method destroy
  (of-object "GtkPrintBackend")
  (c-name "gtk_print_backend_destroy")
  (return-type "none")
)

(define-method set_password
  (of-object "GtkPrintBackend")
  (c-name "gtk_print_backend_set_password")
  (return-type "none")
  (parameters
    '("gchar**" "auth_info_required")
    '("gchar**" "auth_info")
    '("gboolean" "can_store_auth_info")
  )
)

(define-method add_printer
  (of-object "GtkPrintBackend")
  (c-name "gtk_print_backend_add_printer")
  (return-type "none")
  (parameters
    '("GtkPrinter*" "printer")
  )
)

(define-method remove_printer
  (of-object "GtkPrintBackend")
  (c-name "gtk_print_backend_remove_printer")
  (return-type "none")
  (parameters
    '("GtkPrinter*" "printer")
  )
)

(define-method set_list_done
  (of-object "GtkPrintBackend")
  (c-name "gtk_print_backend_set_list_done")
  (return-type "none")
)

(define-method is_new
  (of-object "GtkPrinter")
  (c-name "gtk_printer_is_new")
  (return-type "gboolean")
)

(define-method set_accepts_pdf
  (of-object "GtkPrinter")
  (c-name "gtk_printer_set_accepts_pdf")
  (return-type "none")
  (parameters
    '("gboolean" "val")
  )
)

(define-method set_accepts_ps
  (of-object "GtkPrinter")
  (c-name "gtk_printer_set_accepts_ps")
  (return-type "none")
  (parameters
    '("gboolean" "val")
  )
)

(define-method set_is_new
  (of-object "GtkPrinter")
  (c-name "gtk_printer_set_is_new")
  (return-type "none")
  (parameters
    '("gboolean" "val")
  )
)

(define-method set_is_active
  (of-object "GtkPrinter")
  (c-name "gtk_printer_set_is_active")
  (return-type "none")
  (parameters
    '("gboolean" "val")
  )
)

(define-method set_is_paused
  (of-object "GtkPrinter")
  (c-name "gtk_printer_set_is_paused")
  (return-type "gboolean")
  (parameters
    '("gboolean" "val")
  )
)

(define-method set_is_accepting_jobs
  (of-object "GtkPrinter")
  (c-name "gtk_printer_set_is_accepting_jobs")
  (return-type "gboolean")
  (parameters
    '("gboolean" "val")
  )
)

(define-method set_has_details
  (of-object "GtkPrinter")
  (c-name "gtk_printer_set_has_details")
  (return-type "none")
  (parameters
    '("gboolean" "val")
  )
)

(define-method set_is_default
  (of-object "GtkPrinter")
  (c-name "gtk_printer_set_is_default")
  (return-type "none")
  (parameters
    '("gboolean" "val")
  )
)

(define-method set_icon_name
  (of-object "GtkPrinter")
  (c-name "gtk_printer_set_icon_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "icon")
  )
)

(define-method set_job_count
  (of-object "GtkPrinter")
  (c-name "gtk_printer_set_job_count")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method set_location
  (of-object "GtkPrinter")
  (c-name "gtk_printer_set_location")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "location")
  )
)

(define-method set_description
  (of-object "GtkPrinter")
  (c-name "gtk_printer_set_description")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "description")
  )
)

(define-method set_state_message
  (of-object "GtkPrinter")
  (c-name "gtk_printer_set_state_message")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "message")
  )
)



;; From gtkprintcontext.h

(define-function gtk_print_context_get_type
  (c-name "gtk_print_context_get_type")
  (return-type "GType")
)

(define-method get_cairo_context
  (of-object "GtkPrintContext")
  (c-name "gtk_print_context_get_cairo_context")
  (return-type "cairo_t*")
)

(define-method get_page_setup
  (of-object "GtkPrintContext")
  (c-name "gtk_print_context_get_page_setup")
  (return-type "GtkPageSetup*")
)

(define-method get_width
  (of-object "GtkPrintContext")
  (c-name "gtk_print_context_get_width")
  (return-type "gdouble")
)

(define-method get_height
  (of-object "GtkPrintContext")
  (c-name "gtk_print_context_get_height")
  (return-type "gdouble")
)

(define-method get_dpi_x
  (of-object "GtkPrintContext")
  (c-name "gtk_print_context_get_dpi_x")
  (return-type "gdouble")
)

(define-method get_dpi_y
  (of-object "GtkPrintContext")
  (c-name "gtk_print_context_get_dpi_y")
  (return-type "gdouble")
)

(define-method get_hard_margins
  (of-object "GtkPrintContext")
  (c-name "gtk_print_context_get_hard_margins")
  (return-type "gboolean")
  (parameters
    '("gdouble*" "top")
    '("gdouble*" "bottom")
    '("gdouble*" "left")
    '("gdouble*" "right")
  )
)

(define-method get_pango_fontmap
  (of-object "GtkPrintContext")
  (c-name "gtk_print_context_get_pango_fontmap")
  (return-type "PangoFontMap*")
)

(define-method create_pango_context
  (of-object "GtkPrintContext")
  (c-name "gtk_print_context_create_pango_context")
  (return-type "PangoContext*")
)

(define-method create_pango_layout
  (of-object "GtkPrintContext")
  (c-name "gtk_print_context_create_pango_layout")
  (return-type "PangoLayout*")
)

(define-method set_cairo_context
  (of-object "GtkPrintContext")
  (c-name "gtk_print_context_set_cairo_context")
  (return-type "none")
  (parameters
    '("cairo_t*" "cr")
    '("double" "dpi_x")
    '("double" "dpi_y")
  )
)



;; From gtkprinter.h

(define-function gtk_print_capabilities_get_type
  (c-name "gtk_print_capabilities_get_type")
  (return-type "GType")
)

(define-function gtk_printer_get_type
  (c-name "gtk_printer_get_type")
  (return-type "GType")
)

(define-function gtk_printer_new
  (c-name "gtk_printer_new")
  (is-constructor-of "GtkPrinter")
  (return-type "GtkPrinter*")
  (parameters
    '("const-gchar*" "name")
    '("GtkPrintBackend*" "backend")
    '("gboolean" "virtual_")
  )
)

(define-method get_backend
  (of-object "GtkPrinter")
  (c-name "gtk_printer_get_backend")
  (return-type "GtkPrintBackend*")
)

(define-method get_name
  (of-object "GtkPrinter")
  (c-name "gtk_printer_get_name")
  (return-type "const-gchar*")
)

(define-method get_state_message
  (of-object "GtkPrinter")
  (c-name "gtk_printer_get_state_message")
  (return-type "const-gchar*")
)

(define-method get_description
  (of-object "GtkPrinter")
  (c-name "gtk_printer_get_description")
  (return-type "const-gchar*")
)

(define-method get_location
  (of-object "GtkPrinter")
  (c-name "gtk_printer_get_location")
  (return-type "const-gchar*")
)

(define-method get_icon_name
  (of-object "GtkPrinter")
  (c-name "gtk_printer_get_icon_name")
  (return-type "const-gchar*")
)

(define-method get_job_count
  (of-object "GtkPrinter")
  (c-name "gtk_printer_get_job_count")
  (return-type "gint")
)

(define-method is_active
  (of-object "GtkPrinter")
  (c-name "gtk_printer_is_active")
  (return-type "gboolean")
)

(define-method is_paused
  (of-object "GtkPrinter")
  (c-name "gtk_printer_is_paused")
  (return-type "gboolean")
)

(define-method is_accepting_jobs
  (of-object "GtkPrinter")
  (c-name "gtk_printer_is_accepting_jobs")
  (return-type "gboolean")
)

(define-method is_virtual
  (of-object "GtkPrinter")
  (c-name "gtk_printer_is_virtual")
  (return-type "gboolean")
)

(define-method is_default
  (of-object "GtkPrinter")
  (c-name "gtk_printer_is_default")
  (return-type "gboolean")
)

(define-method accepts_pdf
  (of-object "GtkPrinter")
  (c-name "gtk_printer_accepts_pdf")
  (return-type "gboolean")
)

(define-method accepts_ps
  (of-object "GtkPrinter")
  (c-name "gtk_printer_accepts_ps")
  (return-type "gboolean")
)

(define-method list_papers
  (of-object "GtkPrinter")
  (c-name "gtk_printer_list_papers")
  (return-type "GList*")
)

(define-method get_default_page_size
  (of-object "GtkPrinter")
  (c-name "gtk_printer_get_default_page_size")
  (return-type "GtkPageSetup*")
)

(define-method compare
  (of-object "GtkPrinter")
  (c-name "gtk_printer_compare")
  (return-type "gint")
  (parameters
    '("GtkPrinter*" "b")
  )
)

(define-method has_details
  (of-object "GtkPrinter")
  (c-name "gtk_printer_has_details")
  (return-type "gboolean")
)

(define-method request_details
  (of-object "GtkPrinter")
  (c-name "gtk_printer_request_details")
  (return-type "none")
)

(define-method get_capabilities
  (of-object "GtkPrinter")
  (c-name "gtk_printer_get_capabilities")
  (return-type "GtkPrintCapabilities")
)

(define-method get_hard_margins
  (of-object "GtkPrinter")
  (c-name "gtk_printer_get_hard_margins")
  (return-type "gboolean")
  (parameters
    '("gdouble*" "top")
    '("gdouble*" "bottom")
    '("gdouble*" "left")
    '("gdouble*" "right")
  )
)

(define-function gtk_enumerate_printers
  (c-name "gtk_enumerate_printers")
  (return-type "none")
  (parameters
    '("GtkPrinterFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "destroy")
    '("gboolean" "wait")
  )
)



;; From gtkprinteroption.h

(define-function gtk_printer_option_get_type
  (c-name "gtk_printer_option_get_type")
  (return-type "GType")
)

(define-function gtk_printer_option_new
  (c-name "gtk_printer_option_new")
  (is-constructor-of "GtkPrinterOption")
  (return-type "GtkPrinterOption*")
  (parameters
    '("const-char*" "name")
    '("const-char*" "display_text")
    '("GtkPrinterOptionType" "type")
  )
)

(define-method set
  (of-object "GtkPrinterOption")
  (c-name "gtk_printer_option_set")
  (return-type "none")
  (parameters
    '("const-char*" "value")
  )
)

(define-method set_has_conflict
  (of-object "GtkPrinterOption")
  (c-name "gtk_printer_option_set_has_conflict")
  (return-type "none")
  (parameters
    '("gboolean" "has_conflict")
  )
)

(define-method clear_has_conflict
  (of-object "GtkPrinterOption")
  (c-name "gtk_printer_option_clear_has_conflict")
  (return-type "none")
)

(define-method set_boolean
  (of-object "GtkPrinterOption")
  (c-name "gtk_printer_option_set_boolean")
  (return-type "none")
  (parameters
    '("gboolean" "value")
  )
)

(define-method allocate_choices
  (of-object "GtkPrinterOption")
  (c-name "gtk_printer_option_allocate_choices")
  (return-type "none")
  (parameters
    '("int" "num")
  )
)

(define-method choices_from_array
  (of-object "GtkPrinterOption")
  (c-name "gtk_printer_option_choices_from_array")
  (return-type "none")
  (parameters
    '("int" "num_choices")
    '("char*[]" "choices")
    '("char*[]" "choices_display")
  )
)

(define-method has_choice
  (of-object "GtkPrinterOption")
  (c-name "gtk_printer_option_has_choice")
  (return-type "gboolean")
  (parameters
    '("const-char*" "choice")
  )
)

(define-method set_activates_default
  (of-object "GtkPrinterOption")
  (c-name "gtk_printer_option_set_activates_default")
  (return-type "none")
  (parameters
    '("gboolean" "activates")
  )
)

(define-method get_activates_default
  (of-object "GtkPrinterOption")
  (c-name "gtk_printer_option_get_activates_default")
  (return-type "gboolean")
)



;; From gtkprinteroptionset.h

(define-function gtk_printer_option_set_get_type
  (c-name "gtk_printer_option_set_get_type")
  (return-type "GType")
)

(define-function gtk_printer_option_set_new
  (c-name "gtk_printer_option_set_new")
  (is-constructor-of "GtkPrinterOptionSet")
  (return-type "GtkPrinterOptionSet*")
)

(define-method add
  (of-object "GtkPrinterOptionSet")
  (c-name "gtk_printer_option_set_add")
  (return-type "none")
  (parameters
    '("GtkPrinterOption*" "option")
  )
)

(define-method remove
  (of-object "GtkPrinterOptionSet")
  (c-name "gtk_printer_option_set_remove")
  (return-type "none")
  (parameters
    '("GtkPrinterOption*" "option")
  )
)

(define-method lookup
  (of-object "GtkPrinterOptionSet")
  (c-name "gtk_printer_option_set_lookup")
  (return-type "GtkPrinterOption*")
  (parameters
    '("const-char*" "name")
  )
)

(define-method foreach
  (of-object "GtkPrinterOptionSet")
  (c-name "gtk_printer_option_set_foreach")
  (return-type "none")
  (parameters
    '("GtkPrinterOptionSetFunc" "func")
    '("gpointer" "user_data")
  )
)

(define-method clear_conflicts
  (of-object "GtkPrinterOptionSet")
  (c-name "gtk_printer_option_set_clear_conflicts")
  (return-type "none")
)

(define-method get_groups
  (of-object "GtkPrinterOptionSet")
  (c-name "gtk_printer_option_set_get_groups")
  (return-type "GList*")
)

(define-method foreach_in_group
  (of-object "GtkPrinterOptionSet")
  (c-name "gtk_printer_option_set_foreach_in_group")
  (return-type "none")
  (parameters
    '("const-char*" "group")
    '("GtkPrinterOptionSetFunc" "func")
    '("gpointer" "user_data")
  )
)



;; From gtkprinteroptionwidget.h

(define-function gtk_printer_option_widget_get_type
  (c-name "gtk_printer_option_widget_get_type")
  (return-type "GType")
)

(define-method widget_new
  (of-object "GtkPrinterOption")
  (c-name "gtk_printer_option_widget_new")
  (return-type "GtkWidget*")
)

(define-method set_source
  (of-object "GtkPrinterOptionWidget")
  (c-name "gtk_printer_option_widget_set_source")
  (return-type "none")
  (parameters
    '("GtkPrinterOption*" "source")
  )
)

(define-method has_external_label
  (of-object "GtkPrinterOptionWidget")
  (c-name "gtk_printer_option_widget_has_external_label")
  (return-type "gboolean")
)

(define-method get_external_label
  (of-object "GtkPrinterOptionWidget")
  (c-name "gtk_printer_option_widget_get_external_label")
  (return-type "GtkWidget*")
)

(define-method get_value
  (of-object "GtkPrinterOptionWidget")
  (c-name "gtk_printer_option_widget_get_value")
  (return-type "const-gchar*")
)



;; From gtkprintjob.h

(define-function gtk_print_job_get_type
  (c-name "gtk_print_job_get_type")
  (return-type "GType")
)

(define-function gtk_print_job_new
  (c-name "gtk_print_job_new")
  (is-constructor-of "GtkPrintJob")
  (return-type "GtkPrintJob*")
  (parameters
    '("const-gchar*" "title")
    '("GtkPrinter*" "printer")
    '("GtkPrintSettings*" "settings")
    '("GtkPageSetup*" "page_setup")
  )
)

(define-method get_settings
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_settings")
  (return-type "GtkPrintSettings*")
)

(define-method get_printer
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_printer")
  (return-type "GtkPrinter*")
)

(define-method get_title
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_title")
  (return-type "const-gchar*")
)

(define-method get_status
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_status")
  (return-type "GtkPrintStatus")
)

(define-method set_source_file
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_set_source_file")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "filename")
    '("GError**" "error")
  )
)

(define-method get_surface
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_surface")
  (return-type "cairo_surface_t*")
  (parameters
    '("GError**" "error")
  )
)

(define-method set_track_print_status
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_set_track_print_status")
  (return-type "none")
  (parameters
    '("gboolean" "track_status")
  )
)

(define-method get_track_print_status
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_track_print_status")
  (return-type "gboolean")
)

(define-method send
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_send")
  (return-type "none")
  (parameters
    '("GtkPrintJobCompleteFunc" "callback")
    '("gpointer" "user_data")
    '("GDestroyNotify" "dnotify")
  )
)

(define-method get_pages
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_pages")
  (return-type "GtkPrintPages")
)

(define-method set_pages
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_set_pages")
  (return-type "none")
  (parameters
    '("GtkPrintPages" "pages")
  )
)

(define-method get_page_ranges
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_page_ranges")
  (return-type "GtkPageRange*")
  (parameters
    '("gint*" "n_ranges")
  )
)

(define-method set_page_ranges
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_set_page_ranges")
  (return-type "none")
  (parameters
    '("GtkPageRange*" "ranges")
    '("gint" "n_ranges")
  )
)

(define-method get_page_set
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_page_set")
  (return-type "GtkPageSet")
)

(define-method set_page_set
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_set_page_set")
  (return-type "none")
  (parameters
    '("GtkPageSet" "page_set")
  )
)

(define-method get_num_copies
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_num_copies")
  (return-type "gint")
)

(define-method set_num_copies
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_set_num_copies")
  (return-type "none")
  (parameters
    '("gint" "num_copies")
  )
)

(define-method get_scale
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_scale")
  (return-type "gdouble")
)

(define-method set_scale
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_set_scale")
  (return-type "none")
  (parameters
    '("gdouble" "scale")
  )
)

(define-method get_n_up
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_n_up")
  (return-type "guint")
)

(define-method set_n_up
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_set_n_up")
  (return-type "none")
  (parameters
    '("guint" "n_up")
  )
)

(define-method get_n_up_layout
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_n_up_layout")
  (return-type "GtkNumberUpLayout")
)

(define-method set_n_up_layout
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_set_n_up_layout")
  (return-type "none")
  (parameters
    '("GtkNumberUpLayout" "layout")
  )
)

(define-method get_rotate
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_rotate")
  (return-type "gboolean")
)

(define-method set_rotate
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_set_rotate")
  (return-type "none")
  (parameters
    '("gboolean" "rotate")
  )
)

(define-method get_collate
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_collate")
  (return-type "gboolean")
)

(define-method set_collate
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_set_collate")
  (return-type "none")
  (parameters
    '("gboolean" "collate")
  )
)

(define-method get_reverse
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_get_reverse")
  (return-type "gboolean")
)

(define-method set_reverse
  (of-object "GtkPrintJob")
  (c-name "gtk_print_job_set_reverse")
  (return-type "none")
  (parameters
    '("gboolean" "reverse")
  )
)



;; From gtkprintoperation.h

(define-function gtk_print_error_quark
  (c-name "gtk_print_error_quark")
  (return-type "GQuark")
)

(define-function gtk_print_operation_get_type
  (c-name "gtk_print_operation_get_type")
  (return-type "GType")
)

(define-function gtk_print_operation_new
  (c-name "gtk_print_operation_new")
  (is-constructor-of "GtkPrintOperation")
  (return-type "GtkPrintOperation*")
)

(define-method set_default_page_setup
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_default_page_setup")
  (return-type "none")
  (parameters
    '("GtkPageSetup*" "default_page_setup")
  )
)

(define-method get_default_page_setup
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_get_default_page_setup")
  (return-type "GtkPageSetup*")
)

(define-method set_print_settings
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_print_settings")
  (return-type "none")
  (parameters
    '("GtkPrintSettings*" "print_settings")
  )
)

(define-method get_print_settings
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_get_print_settings")
  (return-type "GtkPrintSettings*")
)

(define-method set_job_name
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_job_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "job_name")
  )
)

(define-method set_n_pages
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_n_pages")
  (return-type "none")
  (parameters
    '("gint" "n_pages")
  )
)

(define-method set_current_page
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_current_page")
  (return-type "none")
  (parameters
    '("gint" "current_page")
  )
)

(define-method set_use_full_page
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_use_full_page")
  (return-type "none")
  (parameters
    '("gboolean" "full_page")
  )
)

(define-method set_unit
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_unit")
  (return-type "none")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method set_export_filename
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_export_filename")
  (return-type "none")
  (parameters
    '("const-gchar*" "filename")
  )
)

(define-method set_track_print_status
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_track_print_status")
  (return-type "none")
  (parameters
    '("gboolean" "track_status")
  )
)

(define-method set_show_progress
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_show_progress")
  (return-type "none")
  (parameters
    '("gboolean" "show_progress")
  )
)

(define-method set_allow_async
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_allow_async")
  (return-type "none")
  (parameters
    '("gboolean" "allow_async")
  )
)

(define-method set_custom_tab_label
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_custom_tab_label")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method run
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_run")
  (return-type "GtkPrintOperationResult")
  (parameters
    '("GtkPrintOperationAction" "action")
    '("GtkWindow*" "parent")
    '("GError**" "error")
  )
)

(define-method get_error
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_get_error")
  (return-type "none")
  (parameters
    '("GError**" "error")
  )
)

(define-method get_status
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_get_status")
  (return-type "GtkPrintStatus")
)

(define-method get_status_string
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_get_status_string")
  (return-type "const-gchar*")
)

(define-method is_finished
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_is_finished")
  (return-type "gboolean")
)

(define-method cancel
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_cancel")
  (return-type "none")
)

(define-method draw_page_finish
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_draw_page_finish")
  (return-type "none")
)

(define-method set_defer_drawing
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_defer_drawing")
  (return-type "none")
)

(define-method set_support_selection
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_support_selection")
  (return-type "none")
  (parameters
    '("gboolean" "support_selection")
  )
)

(define-method get_support_selection
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_get_support_selection")
  (return-type "gboolean")
)

(define-method set_has_selection
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_has_selection")
  (return-type "none")
  (parameters
    '("gboolean" "has_selection")
  )
)

(define-method get_has_selection
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_get_has_selection")
  (return-type "gboolean")
)

(define-method set_embed_page_setup
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_set_embed_page_setup")
  (return-type "none")
  (parameters
    '("gboolean" "embed")
  )
)

(define-method get_embed_page_setup
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_get_embed_page_setup")
  (return-type "gboolean")
)

(define-method get_n_pages_to_print
  (of-object "GtkPrintOperation")
  (c-name "gtk_print_operation_get_n_pages_to_print")
  (return-type "gint")
)

(define-function gtk_print_run_page_setup_dialog
  (c-name "gtk_print_run_page_setup_dialog")
  (return-type "GtkPageSetup*")
  (parameters
    '("GtkWindow*" "parent")
    '("GtkPageSetup*" "page_setup")
    '("GtkPrintSettings*" "settings")
  )
)

(define-function gtk_print_run_page_setup_dialog_async
  (c-name "gtk_print_run_page_setup_dialog_async")
  (return-type "none")
  (parameters
    '("GtkWindow*" "parent")
    '("GtkPageSetup*" "page_setup")
    '("GtkPrintSettings*" "settings")
    '("GtkPageSetupDoneFunc" "done_cb")
    '("gpointer" "data")
  )
)



;; From gtkprintoperationpreview.h

(define-function gtk_print_operation_preview_get_type
  (c-name "gtk_print_operation_preview_get_type")
  (return-type "GType")
)

(define-method render_page
  (of-object "GtkPrintOperationPreview")
  (c-name "gtk_print_operation_preview_render_page")
  (return-type "none")
  (parameters
    '("gint" "page_nr")
  )
)

(define-method end_preview
  (of-object "GtkPrintOperationPreview")
  (c-name "gtk_print_operation_preview_end_preview")
  (return-type "none")
)

(define-method is_selected
  (of-object "GtkPrintOperationPreview")
  (c-name "gtk_print_operation_preview_is_selected")
  (return-type "gboolean")
  (parameters
    '("gint" "page_nr")
  )
)



;; From gtkprintsettings.h

(define-function gtk_print_settings_get_type
  (c-name "gtk_print_settings_get_type")
  (return-type "GType")
)

(define-function gtk_print_settings_new
  (c-name "gtk_print_settings_new")
  (is-constructor-of "GtkPrintSettings")
  (return-type "GtkPrintSettings*")
)

(define-method copy
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_copy")
  (return-type "GtkPrintSettings*")
)

(define-function gtk_print_settings_new_from_file
  (c-name "gtk_print_settings_new_from_file")
  (return-type "GtkPrintSettings*")
  (parameters
    '("const-gchar*" "file_name")
    '("GError**" "error")
  )
)

(define-method load_file
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_load_file")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "file_name")
    '("GError**" "error")
  )
)

(define-method to_file
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_to_file")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "file_name")
    '("GError**" "error")
  )
)

(define-function gtk_print_settings_new_from_key_file
  (c-name "gtk_print_settings_new_from_key_file")
  (return-type "GtkPrintSettings*")
  (parameters
    '("GKeyFile*" "key_file")
    '("const-gchar*" "group_name")
    '("GError**" "error")
  )
)

(define-method load_key_file
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_load_key_file")
  (return-type "gboolean")
  (parameters
    '("GKeyFile*" "key_file")
    '("const-gchar*" "group_name")
    '("GError**" "error")
  )
)

(define-method to_key_file
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_to_key_file")
  (return-type "none")
  (parameters
    '("GKeyFile*" "key_file")
    '("const-gchar*" "group_name")
  )
)

(define-method has_key
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_has_key")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get")
  (return-type "const-gchar*")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method set
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("const-gchar*" "value")
  )
)

(define-method unset
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_unset")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method foreach
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_foreach")
  (return-type "none")
  (parameters
    '("GtkPrintSettingsFunc" "func")
    '("gpointer" "user_data")
  )
)

(define-method get_bool
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_bool")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method set_bool
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_bool")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("gboolean" "value")
  )
)

(define-method get_double
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_double")
  (return-type "gdouble")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_double_with_default
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_double_with_default")
  (return-type "gdouble")
  (parameters
    '("const-gchar*" "key")
    '("gdouble" "def")
  )
)

(define-method set_double
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_double")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("gdouble" "value")
  )
)

(define-method get_length
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_length")
  (return-type "gdouble")
  (parameters
    '("const-gchar*" "key")
    '("GtkUnit" "unit")
  )
)

(define-method set_length
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_length")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("gdouble" "value")
    '("GtkUnit" "unit")
  )
)

(define-method get_int
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_int")
  (return-type "gint")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_int_with_default
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_int_with_default")
  (return-type "gint")
  (parameters
    '("const-gchar*" "key")
    '("gint" "def")
  )
)

(define-method set_int
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_int")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("gint" "value")
  )
)

(define-method get_printer
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_printer")
  (return-type "const-gchar*")
)

(define-method set_printer
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_printer")
  (return-type "none")
  (parameters
    '("const-gchar*" "printer")
  )
)

(define-method get_orientation
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_orientation")
  (return-type "GtkPageOrientation")
)

(define-method set_orientation
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_orientation")
  (return-type "none")
  (parameters
    '("GtkPageOrientation" "orientation")
  )
)

(define-method get_paper_size
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_paper_size")
  (return-type "GtkPaperSize*")
)

(define-method set_paper_size
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_paper_size")
  (return-type "none")
  (parameters
    '("GtkPaperSize*" "paper_size")
  )
)

(define-method get_paper_width
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_paper_width")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method set_paper_width
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_paper_width")
  (return-type "none")
  (parameters
    '("gdouble" "width")
    '("GtkUnit" "unit")
  )
)

(define-method get_paper_height
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_paper_height")
  (return-type "gdouble")
  (parameters
    '("GtkUnit" "unit")
  )
)

(define-method set_paper_height
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_paper_height")
  (return-type "none")
  (parameters
    '("gdouble" "height")
    '("GtkUnit" "unit")
  )
)

(define-method get_use_color
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_use_color")
  (return-type "gboolean")
)

(define-method set_use_color
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_use_color")
  (return-type "none")
  (parameters
    '("gboolean" "use_color")
  )
)

(define-method get_collate
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_collate")
  (return-type "gboolean")
)

(define-method set_collate
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_collate")
  (return-type "none")
  (parameters
    '("gboolean" "collate")
  )
)

(define-method get_reverse
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_reverse")
  (return-type "gboolean")
)

(define-method set_reverse
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_reverse")
  (return-type "none")
  (parameters
    '("gboolean" "reverse")
  )
)

(define-method get_duplex
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_duplex")
  (return-type "GtkPrintDuplex")
)

(define-method set_duplex
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_duplex")
  (return-type "none")
  (parameters
    '("GtkPrintDuplex" "duplex")
  )
)

(define-method get_quality
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_quality")
  (return-type "GtkPrintQuality")
)

(define-method set_quality
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_quality")
  (return-type "none")
  (parameters
    '("GtkPrintQuality" "quality")
  )
)

(define-method get_n_copies
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_n_copies")
  (return-type "gint")
)

(define-method set_n_copies
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_n_copies")
  (return-type "none")
  (parameters
    '("gint" "num_copies")
  )
)

(define-method get_number_up
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_number_up")
  (return-type "gint")
)

(define-method set_number_up
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_number_up")
  (return-type "none")
  (parameters
    '("gint" "number_up")
  )
)

(define-method get_number_up_layout
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_number_up_layout")
  (return-type "GtkNumberUpLayout")
)

(define-method set_number_up_layout
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_number_up_layout")
  (return-type "none")
  (parameters
    '("GtkNumberUpLayout" "number_up_layout")
  )
)

(define-method get_resolution
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_resolution")
  (return-type "gint")
)

(define-method set_resolution
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_resolution")
  (return-type "none")
  (parameters
    '("gint" "resolution")
  )
)

(define-method get_resolution_x
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_resolution_x")
  (return-type "gint")
)

(define-method get_resolution_y
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_resolution_y")
  (return-type "gint")
)

(define-method set_resolution_xy
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_resolution_xy")
  (return-type "none")
  (parameters
    '("gint" "resolution_x")
    '("gint" "resolution_y")
  )
)

(define-method get_printer_lpi
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_printer_lpi")
  (return-type "gdouble")
)

(define-method set_printer_lpi
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_printer_lpi")
  (return-type "none")
  (parameters
    '("gdouble" "lpi")
  )
)

(define-method get_scale
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_scale")
  (return-type "gdouble")
)

(define-method set_scale
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_scale")
  (return-type "none")
  (parameters
    '("gdouble" "scale")
  )
)

(define-method get_print_pages
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_print_pages")
  (return-type "GtkPrintPages")
)

(define-method set_print_pages
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_print_pages")
  (return-type "none")
  (parameters
    '("GtkPrintPages" "pages")
  )
)

(define-method get_page_ranges
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_page_ranges")
  (return-type "GtkPageRange*")
  (parameters
    '("gint*" "num_ranges")
  )
)

(define-method set_page_ranges
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_page_ranges")
  (return-type "none")
  (parameters
    '("GtkPageRange*" "page_ranges")
    '("gint" "num_ranges")
  )
)

(define-method get_page_set
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_page_set")
  (return-type "GtkPageSet")
)

(define-method set_page_set
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_page_set")
  (return-type "none")
  (parameters
    '("GtkPageSet" "page_set")
  )
)

(define-method get_default_source
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_default_source")
  (return-type "const-gchar*")
)

(define-method set_default_source
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_default_source")
  (return-type "none")
  (parameters
    '("const-gchar*" "default_source")
  )
)

(define-method get_media_type
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_media_type")
  (return-type "const-gchar*")
)

(define-method set_media_type
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_media_type")
  (return-type "none")
  (parameters
    '("const-gchar*" "media_type")
  )
)

(define-method get_dither
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_dither")
  (return-type "const-gchar*")
)

(define-method set_dither
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_dither")
  (return-type "none")
  (parameters
    '("const-gchar*" "dither")
  )
)

(define-method get_finishings
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_finishings")
  (return-type "const-gchar*")
)

(define-method set_finishings
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_finishings")
  (return-type "none")
  (parameters
    '("const-gchar*" "finishings")
  )
)

(define-method get_output_bin
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_get_output_bin")
  (return-type "const-gchar*")
)

(define-method set_output_bin
  (of-object "GtkPrintSettings")
  (c-name "gtk_print_settings_set_output_bin")
  (return-type "none")
  (parameters
    '("const-gchar*" "output_bin")
  )
)



;; From gtkprintunixdialog.h

(define-function gtk_print_unix_dialog_get_type
  (c-name "gtk_print_unix_dialog_get_type")
  (return-type "GType")
)

(define-function gtk_print_unix_dialog_new
  (c-name "gtk_print_unix_dialog_new")
  (is-constructor-of "GtkPrintUnixDialog")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "title")
    '("GtkWindow*" "parent")
  )
)

(define-method set_page_setup
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_set_page_setup")
  (return-type "none")
  (parameters
    '("GtkPageSetup*" "page_setup")
  )
)

(define-method get_page_setup
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_get_page_setup")
  (return-type "GtkPageSetup*")
)

(define-method set_current_page
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_set_current_page")
  (return-type "none")
  (parameters
    '("gint" "current_page")
  )
)

(define-method get_current_page
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_get_current_page")
  (return-type "gint")
)

(define-method set_settings
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_set_settings")
  (return-type "none")
  (parameters
    '("GtkPrintSettings*" "settings")
  )
)

(define-method get_settings
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_get_settings")
  (return-type "GtkPrintSettings*")
)

(define-method get_selected_printer
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_get_selected_printer")
  (return-type "GtkPrinter*")
)

(define-method add_custom_tab
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_add_custom_tab")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("GtkWidget*" "tab_label")
  )
)

(define-method set_manual_capabilities
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_set_manual_capabilities")
  (return-type "none")
  (parameters
    '("GtkPrintCapabilities" "capabilities")
  )
)

(define-method get_manual_capabilities
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_get_manual_capabilities")
  (return-type "GtkPrintCapabilities")
)

(define-method set_support_selection
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_set_support_selection")
  (return-type "none")
  (parameters
    '("gboolean" "support_selection")
  )
)

(define-method get_support_selection
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_get_support_selection")
  (return-type "gboolean")
)

(define-method set_has_selection
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_set_has_selection")
  (return-type "none")
  (parameters
    '("gboolean" "has_selection")
  )
)

(define-method get_has_selection
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_get_has_selection")
  (return-type "gboolean")
)

(define-method set_embed_page_setup
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_set_embed_page_setup")
  (return-type "none")
  (parameters
    '("gboolean" "embed")
  )
)

(define-method get_embed_page_setup
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_get_embed_page_setup")
  (return-type "gboolean")
)

(define-method get_page_setup_set
  (of-object "GtkPrintUnixDialog")
  (c-name "gtk_print_unix_dialog_get_page_setup_set")
  (return-type "gboolean")
)



;; From gtkprintutils.h



;; From gtkprint-win32.h

(define-method free
  (of-object "GtkPrintWin32Devnames")
  (c-name "gtk_print_win32_devnames_free")
  (return-type "none")
)

(define-function gtk_print_win32_devnames_from_win32
  (c-name "gtk_print_win32_devnames_from_win32")
  (return-type "GtkPrintWin32Devnames*")
  (parameters
    '("HGLOBAL" "global")
  )
)

(define-function gtk_print_win32_devnames_from_printer_name
  (c-name "gtk_print_win32_devnames_from_printer_name")
  (return-type "GtkPrintWin32Devnames*")
  (parameters
    '("const-char*" "printer")
  )
)

(define-method to_win32
  (of-object "GtkPrintWin32Devnames")
  (c-name "gtk_print_win32_devnames_to_win32")
  (return-type "HGLOBAL")
)

(define-function gtk_print_win32_devnames_to_win32_from_printer_name
  (c-name "gtk_print_win32_devnames_to_win32_from_printer_name")
  (return-type "HGLOBAL")
  (parameters
    '("const-char*" "printer")
  )
)



;; From gtkprivatetypebuiltins.h



;; From gtkprogressbar.h

(define-function gtk_progress_bar_get_type
  (c-name "gtk_progress_bar_get_type")
  (return-type "GType")
)

(define-function gtk_progress_bar_new
  (c-name "gtk_progress_bar_new")
  (is-constructor-of "GtkProgressBar")
  (return-type "GtkWidget*")
)

(define-method pulse
  (of-object "GtkProgressBar")
  (c-name "gtk_progress_bar_pulse")
  (return-type "none")
)

(define-method set_text
  (of-object "GtkProgressBar")
  (c-name "gtk_progress_bar_set_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method set_fraction
  (of-object "GtkProgressBar")
  (c-name "gtk_progress_bar_set_fraction")
  (return-type "none")
  (parameters
    '("gdouble" "fraction")
  )
)

(define-method set_pulse_step
  (of-object "GtkProgressBar")
  (c-name "gtk_progress_bar_set_pulse_step")
  (return-type "none")
  (parameters
    '("gdouble" "fraction")
  )
)

(define-method set_inverted
  (of-object "GtkProgressBar")
  (c-name "gtk_progress_bar_set_inverted")
  (return-type "none")
  (parameters
    '("gboolean" "inverted")
  )
)

(define-method get_text
  (of-object "GtkProgressBar")
  (c-name "gtk_progress_bar_get_text")
  (return-type "const-gchar*")
)

(define-method get_fraction
  (of-object "GtkProgressBar")
  (c-name "gtk_progress_bar_get_fraction")
  (return-type "gdouble")
)

(define-method get_pulse_step
  (of-object "GtkProgressBar")
  (c-name "gtk_progress_bar_get_pulse_step")
  (return-type "gdouble")
)

(define-method get_inverted
  (of-object "GtkProgressBar")
  (c-name "gtk_progress_bar_get_inverted")
  (return-type "gboolean")
)

(define-method set_ellipsize
  (of-object "GtkProgressBar")
  (c-name "gtk_progress_bar_set_ellipsize")
  (return-type "none")
  (parameters
    '("PangoEllipsizeMode" "mode")
  )
)

(define-method get_ellipsize
  (of-object "GtkProgressBar")
  (c-name "gtk_progress_bar_get_ellipsize")
  (return-type "PangoEllipsizeMode")
)

(define-method set_show_text
  (of-object "GtkProgressBar")
  (c-name "gtk_progress_bar_set_show_text")
  (return-type "none")
  (parameters
    '("gboolean" "show_text")
  )
)

(define-method get_show_text
  (of-object "GtkProgressBar")
  (c-name "gtk_progress_bar_get_show_text")
  (return-type "gboolean")
)



;; From gtkquartz.h



;; From gtkquery.h

(define-function gtk_query_get_type
  (c-name "gtk_query_get_type")
  (return-type "GType")
)

(define-function gtk_query_new
  (c-name "gtk_query_new")
  (is-constructor-of "GtkQuery")
  (return-type "GtkQuery*")
)

(define-method get_text
  (of-object "GtkQuery")
  (c-name "gtk_query_get_text")
  (return-type "const-gchar*")
)

(define-method set_text
  (of-object "GtkQuery")
  (c-name "gtk_query_set_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method get_location
  (of-object "GtkQuery")
  (c-name "gtk_query_get_location")
  (return-type "GFile*")
)

(define-method set_location
  (of-object "GtkQuery")
  (c-name "gtk_query_set_location")
  (return-type "none")
  (parameters
    '("GFile*" "file")
  )
)

(define-method matches_string
  (of-object "GtkQuery")
  (c-name "gtk_query_matches_string")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "string")
  )
)



;; From gtkradiobutton.h

(define-function gtk_radio_button_get_type
  (c-name "gtk_radio_button_get_type")
  (return-type "GType")
)

(define-function gtk_radio_button_new
  (c-name "gtk_radio_button_new")
  (is-constructor-of "GtkRadioButton")
  (return-type "GtkWidget*")
  (parameters
    '("GSList*" "group")
  )
)

(define-method new_from_widget
  (of-object "GtkRadioButton")
  (c-name "gtk_radio_button_new_from_widget")
  (return-type "GtkWidget*")
)

(define-function gtk_radio_button_new_with_label
  (c-name "gtk_radio_button_new_with_label")
  (return-type "GtkWidget*")
  (parameters
    '("GSList*" "group")
    '("const-gchar*" "label")
  )
)

(define-method new_with_label_from_widget
  (of-object "GtkRadioButton")
  (c-name "gtk_radio_button_new_with_label_from_widget")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-function gtk_radio_button_new_with_mnemonic
  (c-name "gtk_radio_button_new_with_mnemonic")
  (return-type "GtkWidget*")
  (parameters
    '("GSList*" "group")
    '("const-gchar*" "label")
  )
)

(define-method new_with_mnemonic_from_widget
  (of-object "GtkRadioButton")
  (c-name "gtk_radio_button_new_with_mnemonic_from_widget")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method get_group
  (of-object "GtkRadioButton")
  (c-name "gtk_radio_button_get_group")
  (return-type "GSList*")
)

(define-method set_group
  (of-object "GtkRadioButton")
  (c-name "gtk_radio_button_set_group")
  (return-type "none")
  (parameters
    '("GSList*" "group")
  )
)

(define-method join_group
  (of-object "GtkRadioButton")
  (c-name "gtk_radio_button_join_group")
  (return-type "none")
  (parameters
    '("GtkRadioButton*" "group_source")
  )
)



;; From gtkradiomenuitem.h

(define-function gtk_radio_menu_item_get_type
  (c-name "gtk_radio_menu_item_get_type")
  (return-type "GType")
)

(define-function gtk_radio_menu_item_new
  (c-name "gtk_radio_menu_item_new")
  (is-constructor-of "GtkRadioMenuItem")
  (return-type "GtkWidget*")
  (parameters
    '("GSList*" "group")
  )
)

(define-function gtk_radio_menu_item_new_with_label
  (c-name "gtk_radio_menu_item_new_with_label")
  (return-type "GtkWidget*")
  (parameters
    '("GSList*" "group")
    '("const-gchar*" "label")
  )
)

(define-function gtk_radio_menu_item_new_with_mnemonic
  (c-name "gtk_radio_menu_item_new_with_mnemonic")
  (return-type "GtkWidget*")
  (parameters
    '("GSList*" "group")
    '("const-gchar*" "label")
  )
)

(define-method new_from_widget
  (of-object "GtkRadioMenuItem")
  (c-name "gtk_radio_menu_item_new_from_widget")
  (return-type "GtkWidget*")
)

(define-method new_with_mnemonic_from_widget
  (of-object "GtkRadioMenuItem")
  (c-name "gtk_radio_menu_item_new_with_mnemonic_from_widget")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method new_with_label_from_widget
  (of-object "GtkRadioMenuItem")
  (c-name "gtk_radio_menu_item_new_with_label_from_widget")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method get_group
  (of-object "GtkRadioMenuItem")
  (c-name "gtk_radio_menu_item_get_group")
  (return-type "GSList*")
)

(define-method set_group
  (of-object "GtkRadioMenuItem")
  (c-name "gtk_radio_menu_item_set_group")
  (return-type "none")
  (parameters
    '("GSList*" "group")
  )
)

(define-method join_group
  (of-object "GtkRadioMenuItem")
  (c-name "gtk_radio_menu_item_join_group")
  (return-type "none")
  (parameters
    '("GtkRadioMenuItem*" "group_source")
  )
)



;; From gtkradiotoolbutton.h

(define-function gtk_radio_tool_button_get_type
  (c-name "gtk_radio_tool_button_get_type")
  (return-type "GType")
)

(define-function gtk_radio_tool_button_new
  (c-name "gtk_radio_tool_button_new")
  (is-constructor-of "GtkRadioToolButton")
  (return-type "GtkToolItem*")
  (parameters
    '("GSList*" "group")
  )
)

(define-function gtk_radio_tool_button_new_from_stock
  (c-name "gtk_radio_tool_button_new_from_stock")
  (return-type "GtkToolItem*")
  (parameters
    '("GSList*" "group")
    '("const-gchar*" "stock_id")
  )
)

(define-method new_from_widget
  (of-object "GtkRadioToolButton")
  (c-name "gtk_radio_tool_button_new_from_widget")
  (return-type "GtkToolItem*")
)

(define-method new_with_stock_from_widget
  (of-object "GtkRadioToolButton")
  (c-name "gtk_radio_tool_button_new_with_stock_from_widget")
  (return-type "GtkToolItem*")
  (parameters
    '("const-gchar*" "stock_id")
  )
)

(define-method get_group
  (of-object "GtkRadioToolButton")
  (c-name "gtk_radio_tool_button_get_group")
  (return-type "GSList*")
)

(define-method set_group
  (of-object "GtkRadioToolButton")
  (c-name "gtk_radio_tool_button_set_group")
  (return-type "none")
  (parameters
    '("GSList*" "group")
  )
)



;; From gtkrange.h

(define-function gtk_range_get_type
  (c-name "gtk_range_get_type")
  (return-type "GType")
)

(define-method set_adjustment
  (of-object "GtkRange")
  (c-name "gtk_range_set_adjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method get_adjustment
  (of-object "GtkRange")
  (c-name "gtk_range_get_adjustment")
  (return-type "GtkAdjustment*")
)

(define-method set_inverted
  (of-object "GtkRange")
  (c-name "gtk_range_set_inverted")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_inverted
  (of-object "GtkRange")
  (c-name "gtk_range_get_inverted")
  (return-type "gboolean")
)

(define-method set_flippable
  (of-object "GtkRange")
  (c-name "gtk_range_set_flippable")
  (return-type "none")
  (parameters
    '("gboolean" "flippable")
  )
)

(define-method get_flippable
  (of-object "GtkRange")
  (c-name "gtk_range_get_flippable")
  (return-type "gboolean")
)

(define-method set_slider_size_fixed
  (of-object "GtkRange")
  (c-name "gtk_range_set_slider_size_fixed")
  (return-type "none")
  (parameters
    '("gboolean" "size_fixed")
  )
)

(define-method get_slider_size_fixed
  (of-object "GtkRange")
  (c-name "gtk_range_get_slider_size_fixed")
  (return-type "gboolean")
)

(define-method set_min_slider_size
  (of-object "GtkRange")
  (c-name "gtk_range_set_min_slider_size")
  (return-type "none")
  (parameters
    '("gint" "min_size")
  )
)

(define-method get_min_slider_size
  (of-object "GtkRange")
  (c-name "gtk_range_get_min_slider_size")
  (return-type "gint")
)

(define-method get_range_rect
  (of-object "GtkRange")
  (c-name "gtk_range_get_range_rect")
  (return-type "none")
  (parameters
    '("GdkRectangle*" "range_rect")
  )
)

(define-method get_slider_range
  (of-object "GtkRange")
  (c-name "gtk_range_get_slider_range")
  (return-type "none")
  (parameters
    '("gint*" "slider_start")
    '("gint*" "slider_end")
  )
)

(define-method set_lower_stepper_sensitivity
  (of-object "GtkRange")
  (c-name "gtk_range_set_lower_stepper_sensitivity")
  (return-type "none")
  (parameters
    '("GtkSensitivityType" "sensitivity")
  )
)

(define-method get_lower_stepper_sensitivity
  (of-object "GtkRange")
  (c-name "gtk_range_get_lower_stepper_sensitivity")
  (return-type "GtkSensitivityType")
)

(define-method set_upper_stepper_sensitivity
  (of-object "GtkRange")
  (c-name "gtk_range_set_upper_stepper_sensitivity")
  (return-type "none")
  (parameters
    '("GtkSensitivityType" "sensitivity")
  )
)

(define-method get_upper_stepper_sensitivity
  (of-object "GtkRange")
  (c-name "gtk_range_get_upper_stepper_sensitivity")
  (return-type "GtkSensitivityType")
)

(define-method set_increments
  (of-object "GtkRange")
  (c-name "gtk_range_set_increments")
  (return-type "none")
  (parameters
    '("gdouble" "step")
    '("gdouble" "page")
  )
)

(define-method set_range
  (of-object "GtkRange")
  (c-name "gtk_range_set_range")
  (return-type "none")
  (parameters
    '("gdouble" "min")
    '("gdouble" "max")
  )
)

(define-method set_value
  (of-object "GtkRange")
  (c-name "gtk_range_set_value")
  (return-type "none")
  (parameters
    '("gdouble" "value")
  )
)

(define-method get_value
  (of-object "GtkRange")
  (c-name "gtk_range_get_value")
  (return-type "gdouble")
)

(define-method set_show_fill_level
  (of-object "GtkRange")
  (c-name "gtk_range_set_show_fill_level")
  (return-type "none")
  (parameters
    '("gboolean" "show_fill_level")
  )
)

(define-method get_show_fill_level
  (of-object "GtkRange")
  (c-name "gtk_range_get_show_fill_level")
  (return-type "gboolean")
)

(define-method set_restrict_to_fill_level
  (of-object "GtkRange")
  (c-name "gtk_range_set_restrict_to_fill_level")
  (return-type "none")
  (parameters
    '("gboolean" "restrict_to_fill_level")
  )
)

(define-method get_restrict_to_fill_level
  (of-object "GtkRange")
  (c-name "gtk_range_get_restrict_to_fill_level")
  (return-type "gboolean")
)

(define-method set_fill_level
  (of-object "GtkRange")
  (c-name "gtk_range_set_fill_level")
  (return-type "none")
  (parameters
    '("gdouble" "fill_level")
  )
)

(define-method get_fill_level
  (of-object "GtkRange")
  (c-name "gtk_range_get_fill_level")
  (return-type "gdouble")
)

(define-method set_round_digits
  (of-object "GtkRange")
  (c-name "gtk_range_set_round_digits")
  (return-type "none")
  (parameters
    '("gint" "round_digits")
  )
)

(define-method get_round_digits
  (of-object "GtkRange")
  (c-name "gtk_range_get_round_digits")
  (return-type "gint")
)



;; From gtkrbtree.h



;; From gtkrecentchooserdefault.h



;; From gtkrecentchooserdialog.h

(define-function gtk_recent_chooser_dialog_get_type
  (c-name "gtk_recent_chooser_dialog_get_type")
  (return-type "GType")
)

(define-function gtk_recent_chooser_dialog_new
  (c-name "gtk_recent_chooser_dialog_new")
  (is-constructor-of "GtkRecentChooserDialog")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "title")
    '("GtkWindow*" "parent")
    '("const-gchar*" "first_button_text")
  )
  (varargs #t)
)

(define-function gtk_recent_chooser_dialog_new_for_manager
  (c-name "gtk_recent_chooser_dialog_new_for_manager")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "title")
    '("GtkWindow*" "parent")
    '("GtkRecentManager*" "manager")
    '("const-gchar*" "first_button_text")
  )
  (varargs #t)
)



;; From gtkrecentchooser.h

(define-function gtk_recent_chooser_error_quark
  (c-name "gtk_recent_chooser_error_quark")
  (return-type "GQuark")
)

(define-function gtk_recent_chooser_get_type
  (c-name "gtk_recent_chooser_get_type")
  (return-type "GType")
)

(define-method set_show_private
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_set_show_private")
  (return-type "none")
  (parameters
    '("gboolean" "show_private")
  )
)

(define-method get_show_private
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_get_show_private")
  (return-type "gboolean")
)

(define-method set_show_not_found
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_set_show_not_found")
  (return-type "none")
  (parameters
    '("gboolean" "show_not_found")
  )
)

(define-method get_show_not_found
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_get_show_not_found")
  (return-type "gboolean")
)

(define-method set_select_multiple
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_set_select_multiple")
  (return-type "none")
  (parameters
    '("gboolean" "select_multiple")
  )
)

(define-method get_select_multiple
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_get_select_multiple")
  (return-type "gboolean")
)

(define-method set_limit
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_set_limit")
  (return-type "none")
  (parameters
    '("gint" "limit")
  )
)

(define-method get_limit
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_get_limit")
  (return-type "gint")
)

(define-method set_local_only
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_set_local_only")
  (return-type "none")
  (parameters
    '("gboolean" "local_only")
  )
)

(define-method get_local_only
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_get_local_only")
  (return-type "gboolean")
)

(define-method set_show_tips
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_set_show_tips")
  (return-type "none")
  (parameters
    '("gboolean" "show_tips")
  )
)

(define-method get_show_tips
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_get_show_tips")
  (return-type "gboolean")
)

(define-method set_show_icons
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_set_show_icons")
  (return-type "none")
  (parameters
    '("gboolean" "show_icons")
  )
)

(define-method get_show_icons
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_get_show_icons")
  (return-type "gboolean")
)

(define-method set_sort_type
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_set_sort_type")
  (return-type "none")
  (parameters
    '("GtkRecentSortType" "sort_type")
  )
)

(define-method get_sort_type
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_get_sort_type")
  (return-type "GtkRecentSortType")
)

(define-method set_sort_func
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_set_sort_func")
  (return-type "none")
  (parameters
    '("GtkRecentSortFunc" "sort_func")
    '("gpointer" "sort_data")
    '("GDestroyNotify" "data_destroy")
  )
)

(define-method set_current_uri
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_set_current_uri")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "uri")
    '("GError**" "error")
  )
)

(define-method get_current_uri
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_get_current_uri")
  (return-type "gchar*")
)

(define-method get_current_item
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_get_current_item")
  (return-type "GtkRecentInfo*")
)

(define-method select_uri
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_select_uri")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "uri")
    '("GError**" "error")
  )
)

(define-method unselect_uri
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_unselect_uri")
  (return-type "none")
  (parameters
    '("const-gchar*" "uri")
  )
)

(define-method select_all
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_select_all")
  (return-type "none")
)

(define-method unselect_all
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_unselect_all")
  (return-type "none")
)

(define-method get_items
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_get_items")
  (return-type "GList*")
)

(define-method get_uris
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_get_uris")
  (return-type "gchar**")
  (parameters
    '("gsize*" "length")
  )
)

(define-method add_filter
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_add_filter")
  (return-type "none")
  (parameters
    '("GtkRecentFilter*" "filter")
  )
)

(define-method remove_filter
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_remove_filter")
  (return-type "none")
  (parameters
    '("GtkRecentFilter*" "filter")
  )
)

(define-method list_filters
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_list_filters")
  (return-type "GSList*")
)

(define-method set_filter
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_set_filter")
  (return-type "none")
  (parameters
    '("GtkRecentFilter*" "filter")
  )
)

(define-method get_filter
  (of-object "GtkRecentChooser")
  (c-name "gtk_recent_chooser_get_filter")
  (return-type "GtkRecentFilter*")
)



;; From gtkrecentchoosermenu.h

(define-function gtk_recent_chooser_menu_get_type
  (c-name "gtk_recent_chooser_menu_get_type")
  (return-type "GType")
)

(define-function gtk_recent_chooser_menu_new
  (c-name "gtk_recent_chooser_menu_new")
  (is-constructor-of "GtkRecentChooserMenu")
  (return-type "GtkWidget*")
)

(define-function gtk_recent_chooser_menu_new_for_manager
  (c-name "gtk_recent_chooser_menu_new_for_manager")
  (return-type "GtkWidget*")
  (parameters
    '("GtkRecentManager*" "manager")
  )
)

(define-method get_show_numbers
  (of-object "GtkRecentChooserMenu")
  (c-name "gtk_recent_chooser_menu_get_show_numbers")
  (return-type "gboolean")
)

(define-method set_show_numbers
  (of-object "GtkRecentChooserMenu")
  (c-name "gtk_recent_chooser_menu_set_show_numbers")
  (return-type "none")
  (parameters
    '("gboolean" "show_numbers")
  )
)



;; From gtkrecentchooserutils.h



;; From gtkrecentchooserwidget.h

(define-function gtk_recent_chooser_widget_get_type
  (c-name "gtk_recent_chooser_widget_get_type")
  (return-type "GType")
)

(define-function gtk_recent_chooser_widget_new
  (c-name "gtk_recent_chooser_widget_new")
  (is-constructor-of "GtkRecentChooserWidget")
  (return-type "GtkWidget*")
)

(define-function gtk_recent_chooser_widget_new_for_manager
  (c-name "gtk_recent_chooser_widget_new_for_manager")
  (return-type "GtkWidget*")
  (parameters
    '("GtkRecentManager*" "manager")
  )
)



;; From gtkrecentfilter.h

(define-function gtk_recent_filter_get_type
  (c-name "gtk_recent_filter_get_type")
  (return-type "GType")
)

(define-function gtk_recent_filter_new
  (c-name "gtk_recent_filter_new")
  (is-constructor-of "GtkRecentFilter")
  (return-type "GtkRecentFilter*")
)

(define-method set_name
  (of-object "GtkRecentFilter")
  (c-name "gtk_recent_filter_set_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_name
  (of-object "GtkRecentFilter")
  (c-name "gtk_recent_filter_get_name")
  (return-type "const-gchar*")
)

(define-method add_mime_type
  (of-object "GtkRecentFilter")
  (c-name "gtk_recent_filter_add_mime_type")
  (return-type "none")
  (parameters
    '("const-gchar*" "mime_type")
  )
)

(define-method add_pattern
  (of-object "GtkRecentFilter")
  (c-name "gtk_recent_filter_add_pattern")
  (return-type "none")
  (parameters
    '("const-gchar*" "pattern")
  )
)

(define-method add_pixbuf_formats
  (of-object "GtkRecentFilter")
  (c-name "gtk_recent_filter_add_pixbuf_formats")
  (return-type "none")
)

(define-method add_application
  (of-object "GtkRecentFilter")
  (c-name "gtk_recent_filter_add_application")
  (return-type "none")
  (parameters
    '("const-gchar*" "application")
  )
)

(define-method add_group
  (of-object "GtkRecentFilter")
  (c-name "gtk_recent_filter_add_group")
  (return-type "none")
  (parameters
    '("const-gchar*" "group")
  )
)

(define-method add_age
  (of-object "GtkRecentFilter")
  (c-name "gtk_recent_filter_add_age")
  (return-type "none")
  (parameters
    '("gint" "days")
  )
)

(define-method add_custom
  (of-object "GtkRecentFilter")
  (c-name "gtk_recent_filter_add_custom")
  (return-type "none")
  (parameters
    '("GtkRecentFilterFlags" "needed")
    '("GtkRecentFilterFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "data_destroy")
  )
)

(define-method get_needed
  (of-object "GtkRecentFilter")
  (c-name "gtk_recent_filter_get_needed")
  (return-type "GtkRecentFilterFlags")
)

(define-method filter
  (of-object "GtkRecentFilter")
  (c-name "gtk_recent_filter_filter")
  (return-type "gboolean")
  (parameters
    '("const-GtkRecentFilterInfo*" "filter_info")
  )
)



;; From gtkrecentmanager.h

(define-function gtk_recent_manager_error_quark
  (c-name "gtk_recent_manager_error_quark")
  (return-type "GQuark")
)

(define-function gtk_recent_manager_get_type
  (c-name "gtk_recent_manager_get_type")
  (return-type "GType")
)

(define-function gtk_recent_manager_new
  (c-name "gtk_recent_manager_new")
  (is-constructor-of "GtkRecentManager")
  (return-type "GtkRecentManager*")
)

(define-function gtk_recent_manager_get_default
  (c-name "gtk_recent_manager_get_default")
  (return-type "GtkRecentManager*")
)

(define-method add_item
  (of-object "GtkRecentManager")
  (c-name "gtk_recent_manager_add_item")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "uri")
  )
)

(define-method add_full
  (of-object "GtkRecentManager")
  (c-name "gtk_recent_manager_add_full")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "uri")
    '("const-GtkRecentData*" "recent_data")
  )
)

(define-method remove_item
  (of-object "GtkRecentManager")
  (c-name "gtk_recent_manager_remove_item")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "uri")
    '("GError**" "error")
  )
)

(define-method lookup_item
  (of-object "GtkRecentManager")
  (c-name "gtk_recent_manager_lookup_item")
  (return-type "GtkRecentInfo*")
  (parameters
    '("const-gchar*" "uri")
    '("GError**" "error")
  )
)

(define-method has_item
  (of-object "GtkRecentManager")
  (c-name "gtk_recent_manager_has_item")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "uri")
  )
)

(define-method move_item
  (of-object "GtkRecentManager")
  (c-name "gtk_recent_manager_move_item")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "uri")
    '("const-gchar*" "new_uri")
    '("GError**" "error")
  )
)

(define-method get_items
  (of-object "GtkRecentManager")
  (c-name "gtk_recent_manager_get_items")
  (return-type "GList*")
)

(define-method purge_items
  (of-object "GtkRecentManager")
  (c-name "gtk_recent_manager_purge_items")
  (return-type "gint")
  (parameters
    '("GError**" "error")
  )
)

(define-function gtk_recent_info_get_type
  (c-name "gtk_recent_info_get_type")
  (return-type "GType")
)

(define-method ref
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_ref")
  (return-type "GtkRecentInfo*")
)

(define-method unref
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_unref")
  (return-type "none")
)

(define-method get_uri
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_uri")
  (return-type "const-gchar*")
)

(define-method get_display_name
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_display_name")
  (return-type "const-gchar*")
)

(define-method get_description
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_description")
  (return-type "const-gchar*")
)

(define-method get_mime_type
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_mime_type")
  (return-type "const-gchar*")
)

(define-method get_added
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_added")
  (return-type "time_t")
)

(define-method get_modified
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_modified")
  (return-type "time_t")
)

(define-method get_visited
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_visited")
  (return-type "time_t")
)

(define-method get_private_hint
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_private_hint")
  (return-type "gboolean")
)

(define-method get_application_info
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_application_info")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "app_name")
    '("const-gchar**" "app_exec")
    '("guint*" "count")
    '("time_t*" "time_")
  )
)

(define-method create_app_info
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_create_app_info")
  (return-type "GAppInfo*")
  (parameters
    '("const-gchar*" "app_name")
    '("GError**" "error")
  )
)

(define-method get_applications
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_applications")
  (return-type "gchar**")
  (parameters
    '("gsize*" "length")
  )
)

(define-method last_application
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_last_application")
  (return-type "gchar*")
)

(define-method has_application
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_has_application")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "app_name")
  )
)

(define-method get_groups
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_groups")
  (return-type "gchar**")
  (parameters
    '("gsize*" "length")
  )
)

(define-method has_group
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_has_group")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "group_name")
  )
)

(define-method get_icon
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_icon")
  (return-type "GdkPixbuf*")
  (parameters
    '("gint" "size")
  )
)

(define-method get_gicon
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_gicon")
  (return-type "GIcon*")
)

(define-method get_short_name
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_short_name")
  (return-type "gchar*")
)

(define-method get_uri_display
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_uri_display")
  (return-type "gchar*")
)

(define-method get_age
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_get_age")
  (return-type "gint")
)

(define-method is_local
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_is_local")
  (return-type "gboolean")
)

(define-method exists
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_exists")
  (return-type "gboolean")
)

(define-method match
  (of-object "GtkRecentInfo")
  (c-name "gtk_recent_info_match")
  (return-type "gboolean")
  (parameters
    '("GtkRecentInfo*" "info_b")
  )
)



;; From gtkrender.h

(define-function gtk_render_check
  (c-name "gtk_render_check")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x")
    '("gdouble" "y")
    '("gdouble" "width")
    '("gdouble" "height")
  )
)

(define-function gtk_render_option
  (c-name "gtk_render_option")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x")
    '("gdouble" "y")
    '("gdouble" "width")
    '("gdouble" "height")
  )
)

(define-function gtk_render_arrow
  (c-name "gtk_render_arrow")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "angle")
    '("gdouble" "x")
    '("gdouble" "y")
    '("gdouble" "size")
  )
)

(define-function gtk_render_background
  (c-name "gtk_render_background")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x")
    '("gdouble" "y")
    '("gdouble" "width")
    '("gdouble" "height")
  )
)

(define-function gtk_render_frame
  (c-name "gtk_render_frame")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x")
    '("gdouble" "y")
    '("gdouble" "width")
    '("gdouble" "height")
  )
)

(define-function gtk_render_expander
  (c-name "gtk_render_expander")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x")
    '("gdouble" "y")
    '("gdouble" "width")
    '("gdouble" "height")
  )
)

(define-function gtk_render_focus
  (c-name "gtk_render_focus")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x")
    '("gdouble" "y")
    '("gdouble" "width")
    '("gdouble" "height")
  )
)

(define-function gtk_render_layout
  (c-name "gtk_render_layout")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x")
    '("gdouble" "y")
    '("PangoLayout*" "layout")
  )
)

(define-function gtk_render_line
  (c-name "gtk_render_line")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x0")
    '("gdouble" "y0")
    '("gdouble" "x1")
    '("gdouble" "y1")
  )
)

(define-function gtk_render_slider
  (c-name "gtk_render_slider")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x")
    '("gdouble" "y")
    '("gdouble" "width")
    '("gdouble" "height")
    '("GtkOrientation" "orientation")
  )
)

(define-function gtk_render_frame_gap
  (c-name "gtk_render_frame_gap")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x")
    '("gdouble" "y")
    '("gdouble" "width")
    '("gdouble" "height")
    '("GtkPositionType" "gap_side")
    '("gdouble" "xy0_gap")
    '("gdouble" "xy1_gap")
  )
)

(define-function gtk_render_extension
  (c-name "gtk_render_extension")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x")
    '("gdouble" "y")
    '("gdouble" "width")
    '("gdouble" "height")
    '("GtkPositionType" "gap_side")
  )
)

(define-function gtk_render_handle
  (c-name "gtk_render_handle")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x")
    '("gdouble" "y")
    '("gdouble" "width")
    '("gdouble" "height")
  )
)

(define-function gtk_render_activity
  (c-name "gtk_render_activity")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x")
    '("gdouble" "y")
    '("gdouble" "width")
    '("gdouble" "height")
  )
)

(define-function gtk_render_icon_pixbuf
  (c-name "gtk_render_icon_pixbuf")
  (return-type "GdkPixbuf*")
  (parameters
    '("GtkStyleContext*" "context")
    '("const-GtkIconSource*" "source")
    '("GtkIconSize" "size")
  )
)

(define-function gtk_render_icon
  (c-name "gtk_render_icon")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("GdkPixbuf*" "pixbuf")
    '("gdouble" "x")
    '("gdouble" "y")
  )
)

(define-function gtk_render_icon_surface
  (c-name "gtk_render_icon_surface")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("cairo_surface_t*" "surface")
    '("gdouble" "x")
    '("gdouble" "y")
  )
)



;; From gtkresources.h



;; From gtkrevealer.h

(define-function gtk_revealer_get_type
  (c-name "gtk_revealer_get_type")
  (return-type "GType")
)

(define-function gtk_revealer_new
  (c-name "gtk_revealer_new")
  (is-constructor-of "GtkRevealer")
  (return-type "GtkWidget*")
)

(define-method get_reveal_child
  (of-object "GtkRevealer")
  (c-name "gtk_revealer_get_reveal_child")
  (return-type "gboolean")
)

(define-method set_reveal_child
  (of-object "GtkRevealer")
  (c-name "gtk_revealer_set_reveal_child")
  (return-type "none")
  (parameters
    '("gboolean" "reveal_child")
  )
)

(define-method get_child_revealed
  (of-object "GtkRevealer")
  (c-name "gtk_revealer_get_child_revealed")
  (return-type "gboolean")
)

(define-method get_transition_duration
  (of-object "GtkRevealer")
  (c-name "gtk_revealer_get_transition_duration")
  (return-type "guint")
)

(define-method set_transition_duration
  (of-object "GtkRevealer")
  (c-name "gtk_revealer_set_transition_duration")
  (return-type "none")
  (parameters
    '("guint" "duration")
  )
)

(define-method set_transition_type
  (of-object "GtkRevealer")
  (c-name "gtk_revealer_set_transition_type")
  (return-type "none")
  (parameters
    '("GtkRevealerTransitionType" "transition")
  )
)

(define-method get_transition_type
  (of-object "GtkRevealer")
  (c-name "gtk_revealer_get_transition_type")
  (return-type "GtkRevealerTransitionType")
)



;; From gtkscalebutton.h

(define-function gtk_scale_button_get_type
  (c-name "gtk_scale_button_get_type")
  (return-type "GType")
)

(define-function gtk_scale_button_new
  (c-name "gtk_scale_button_new")
  (is-constructor-of "GtkScaleButton")
  (return-type "GtkWidget*")
  (parameters
    '("GtkIconSize" "size")
    '("gdouble" "min")
    '("gdouble" "max")
    '("gdouble" "step")
    '("const-gchar**" "icons")
  )
)

(define-method set_icons
  (of-object "GtkScaleButton")
  (c-name "gtk_scale_button_set_icons")
  (return-type "none")
  (parameters
    '("const-gchar**" "icons")
  )
)

(define-method get_value
  (of-object "GtkScaleButton")
  (c-name "gtk_scale_button_get_value")
  (return-type "gdouble")
)

(define-method set_value
  (of-object "GtkScaleButton")
  (c-name "gtk_scale_button_set_value")
  (return-type "none")
  (parameters
    '("gdouble" "value")
  )
)

(define-method get_adjustment
  (of-object "GtkScaleButton")
  (c-name "gtk_scale_button_get_adjustment")
  (return-type "GtkAdjustment*")
)

(define-method set_adjustment
  (of-object "GtkScaleButton")
  (c-name "gtk_scale_button_set_adjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method get_plus_button
  (of-object "GtkScaleButton")
  (c-name "gtk_scale_button_get_plus_button")
  (return-type "GtkWidget*")
)

(define-method get_minus_button
  (of-object "GtkScaleButton")
  (c-name "gtk_scale_button_get_minus_button")
  (return-type "GtkWidget*")
)

(define-method get_popup
  (of-object "GtkScaleButton")
  (c-name "gtk_scale_button_get_popup")
  (return-type "GtkWidget*")
)



;; From gtkscale.h

(define-function gtk_scale_get_type
  (c-name "gtk_scale_get_type")
  (return-type "GType")
)

(define-function gtk_scale_new
  (c-name "gtk_scale_new")
  (is-constructor-of "GtkScale")
  (return-type "GtkWidget*")
  (parameters
    '("GtkOrientation" "orientation")
    '("GtkAdjustment*" "adjustment")
  )
)

(define-function gtk_scale_new_with_range
  (c-name "gtk_scale_new_with_range")
  (return-type "GtkWidget*")
  (parameters
    '("GtkOrientation" "orientation")
    '("gdouble" "min")
    '("gdouble" "max")
    '("gdouble" "step")
  )
)

(define-method set_digits
  (of-object "GtkScale")
  (c-name "gtk_scale_set_digits")
  (return-type "none")
  (parameters
    '("gint" "digits")
  )
)

(define-method get_digits
  (of-object "GtkScale")
  (c-name "gtk_scale_get_digits")
  (return-type "gint")
)

(define-method set_draw_value
  (of-object "GtkScale")
  (c-name "gtk_scale_set_draw_value")
  (return-type "none")
  (parameters
    '("gboolean" "draw_value")
  )
)

(define-method get_draw_value
  (of-object "GtkScale")
  (c-name "gtk_scale_get_draw_value")
  (return-type "gboolean")
)

(define-method set_has_origin
  (of-object "GtkScale")
  (c-name "gtk_scale_set_has_origin")
  (return-type "none")
  (parameters
    '("gboolean" "has_origin")
  )
)

(define-method get_has_origin
  (of-object "GtkScale")
  (c-name "gtk_scale_get_has_origin")
  (return-type "gboolean")
)

(define-method set_value_pos
  (of-object "GtkScale")
  (c-name "gtk_scale_set_value_pos")
  (return-type "none")
  (parameters
    '("GtkPositionType" "pos")
  )
)

(define-method get_value_pos
  (of-object "GtkScale")
  (c-name "gtk_scale_get_value_pos")
  (return-type "GtkPositionType")
)

(define-method get_layout
  (of-object "GtkScale")
  (c-name "gtk_scale_get_layout")
  (return-type "PangoLayout*")
)

(define-method get_layout_offsets
  (of-object "GtkScale")
  (c-name "gtk_scale_get_layout_offsets")
  (return-type "none")
  (parameters
    '("gint*" "x")
    '("gint*" "y")
  )
)

(define-method add_mark
  (of-object "GtkScale")
  (c-name "gtk_scale_add_mark")
  (return-type "none")
  (parameters
    '("gdouble" "value")
    '("GtkPositionType" "position")
    '("const-gchar*" "markup")
  )
)

(define-method clear_marks
  (of-object "GtkScale")
  (c-name "gtk_scale_clear_marks")
  (return-type "none")
)



;; From gtkscrollable.h

(define-function gtk_scrollable_get_type
  (c-name "gtk_scrollable_get_type")
  (return-type "GType")
)

(define-method get_hadjustment
  (of-object "GtkScrollable")
  (c-name "gtk_scrollable_get_hadjustment")
  (return-type "GtkAdjustment*")
)

(define-method set_hadjustment
  (of-object "GtkScrollable")
  (c-name "gtk_scrollable_set_hadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "hadjustment")
  )
)

(define-method get_vadjustment
  (of-object "GtkScrollable")
  (c-name "gtk_scrollable_get_vadjustment")
  (return-type "GtkAdjustment*")
)

(define-method set_vadjustment
  (of-object "GtkScrollable")
  (c-name "gtk_scrollable_set_vadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "vadjustment")
  )
)

(define-method get_hscroll_policy
  (of-object "GtkScrollable")
  (c-name "gtk_scrollable_get_hscroll_policy")
  (return-type "GtkScrollablePolicy")
)

(define-method set_hscroll_policy
  (of-object "GtkScrollable")
  (c-name "gtk_scrollable_set_hscroll_policy")
  (return-type "none")
  (parameters
    '("GtkScrollablePolicy" "policy")
  )
)

(define-method get_vscroll_policy
  (of-object "GtkScrollable")
  (c-name "gtk_scrollable_get_vscroll_policy")
  (return-type "GtkScrollablePolicy")
)

(define-method set_vscroll_policy
  (of-object "GtkScrollable")
  (c-name "gtk_scrollable_set_vscroll_policy")
  (return-type "none")
  (parameters
    '("GtkScrollablePolicy" "policy")
  )
)

(define-method get_border
  (of-object "GtkScrollable")
  (c-name "gtk_scrollable_get_border")
  (return-type "gboolean")
  (parameters
    '("GtkBorder*" "border")
  )
)



;; From gtkscrollbar.h

(define-function gtk_scrollbar_get_type
  (c-name "gtk_scrollbar_get_type")
  (return-type "GType")
)

(define-function gtk_scrollbar_new
  (c-name "gtk_scrollbar_new")
  (is-constructor-of "GtkScrollbar")
  (return-type "GtkWidget*")
  (parameters
    '("GtkOrientation" "orientation")
    '("GtkAdjustment*" "adjustment")
  )
)



;; From gtkscrolledwindow.h

(define-function gtk_scrolled_window_get_type
  (c-name "gtk_scrolled_window_get_type")
  (return-type "GType")
)

(define-function gtk_scrolled_window_new
  (c-name "gtk_scrolled_window_new")
  (is-constructor-of "GtkScrolledWindow")
  (return-type "GtkWidget*")
  (parameters
    '("GtkAdjustment*" "hadjustment")
    '("GtkAdjustment*" "vadjustment")
  )
)

(define-method set_hadjustment
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_set_hadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "hadjustment")
  )
)

(define-method set_vadjustment
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_set_vadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "vadjustment")
  )
)

(define-method get_hadjustment
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_get_hadjustment")
  (return-type "GtkAdjustment*")
)

(define-method get_vadjustment
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_get_vadjustment")
  (return-type "GtkAdjustment*")
)

(define-method get_hscrollbar
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_get_hscrollbar")
  (return-type "GtkWidget*")
)

(define-method get_vscrollbar
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_get_vscrollbar")
  (return-type "GtkWidget*")
)

(define-method set_policy
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_set_policy")
  (return-type "none")
  (parameters
    '("GtkPolicyType" "hscrollbar_policy")
    '("GtkPolicyType" "vscrollbar_policy")
  )
)

(define-method get_policy
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_get_policy")
  (return-type "none")
  (parameters
    '("GtkPolicyType*" "hscrollbar_policy")
    '("GtkPolicyType*" "vscrollbar_policy")
  )
)

(define-method set_placement
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_set_placement")
  (return-type "none")
  (parameters
    '("GtkCornerType" "window_placement")
  )
)

(define-method unset_placement
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_unset_placement")
  (return-type "none")
)

(define-method get_placement
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_get_placement")
  (return-type "GtkCornerType")
)

(define-method set_shadow_type
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_set_shadow_type")
  (return-type "none")
  (parameters
    '("GtkShadowType" "type")
  )
)

(define-method get_shadow_type
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_get_shadow_type")
  (return-type "GtkShadowType")
)

(define-method add_with_viewport
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_add_with_viewport")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method get_min_content_width
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_get_min_content_width")
  (return-type "gint")
)

(define-method set_min_content_width
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_set_min_content_width")
  (return-type "none")
  (parameters
    '("gint" "width")
  )
)

(define-method get_min_content_height
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_get_min_content_height")
  (return-type "gint")
)

(define-method set_min_content_height
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_set_min_content_height")
  (return-type "none")
  (parameters
    '("gint" "height")
  )
)

(define-method set_kinetic_scrolling
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_set_kinetic_scrolling")
  (return-type "none")
  (parameters
    '("gboolean" "kinetic_scrolling")
  )
)

(define-method get_kinetic_scrolling
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_get_kinetic_scrolling")
  (return-type "gboolean")
)

(define-method set_capture_button_press
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_set_capture_button_press")
  (return-type "none")
  (parameters
    '("gboolean" "capture_button_press")
  )
)

(define-method get_capture_button_press
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_get_capture_button_press")
  (return-type "gboolean")
)

(define-method set_overlay_scrolling
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_set_overlay_scrolling")
  (return-type "none")
  (parameters
    '("gboolean" "overlay_scrolling")
  )
)

(define-method get_overlay_scrolling
  (of-object "GtkScrolledWindow")
  (c-name "gtk_scrolled_window_get_overlay_scrolling")
  (return-type "gboolean")
)



;; From gtksearchbar.h

(define-function gtk_search_bar_get_type
  (c-name "gtk_search_bar_get_type")
  (return-type "GType")
)

(define-function gtk_search_bar_new
  (c-name "gtk_search_bar_new")
  (is-constructor-of "GtkSearchBar")
  (return-type "GtkWidget*")
)

(define-method connect_entry
  (of-object "GtkSearchBar")
  (c-name "gtk_search_bar_connect_entry")
  (return-type "none")
  (parameters
    '("GtkEntry*" "entry")
  )
)

(define-method get_search_mode
  (of-object "GtkSearchBar")
  (c-name "gtk_search_bar_get_search_mode")
  (return-type "gboolean")
)

(define-method set_search_mode
  (of-object "GtkSearchBar")
  (c-name "gtk_search_bar_set_search_mode")
  (return-type "none")
  (parameters
    '("gboolean" "search_mode")
  )
)

(define-method get_show_close_button
  (of-object "GtkSearchBar")
  (c-name "gtk_search_bar_get_show_close_button")
  (return-type "gboolean")
)

(define-method set_show_close_button
  (of-object "GtkSearchBar")
  (c-name "gtk_search_bar_set_show_close_button")
  (return-type "none")
  (parameters
    '("gboolean" "visible")
  )
)

(define-method handle_event
  (of-object "GtkSearchBar")
  (c-name "gtk_search_bar_handle_event")
  (return-type "gboolean")
  (parameters
    '("GdkEvent*" "event")
  )
)



;; From gtksearchengine.h



;; From gtksearchenginemodel.h



;; From gtksearchenginequartz.h



;; From gtksearchenginesimple.h



;; From gtksearchenginetracker.h



;; From gtksearchentry.h

(define-function gtk_search_entry_get_type
  (c-name "gtk_search_entry_get_type")
  (return-type "GType")
)

(define-function gtk_search_entry_new
  (c-name "gtk_search_entry_new")
  (is-constructor-of "GtkSearchEntry")
  (return-type "GtkWidget*")
)

(define-method handle_event
  (of-object "GtkSearchEntry")
  (c-name "gtk_search_entry_handle_event")
  (return-type "gboolean")
  (parameters
    '("GdkEvent*" "event")
  )
)



;; From gtkselection.h

(define-function gtk_target_list_get_type
  (c-name "gtk_target_list_get_type")
  (return-type "GType")
)

(define-function gtk_target_list_new
  (c-name "gtk_target_list_new")
  (is-constructor-of "GtkTargetList")
  (return-type "GtkTargetList*")
  (parameters
    '("const-GtkTargetEntry*" "targets")
    '("guint" "ntargets")
  )
)

(define-method ref
  (of-object "GtkTargetList")
  (c-name "gtk_target_list_ref")
  (return-type "GtkTargetList*")
)

(define-method unref
  (of-object "GtkTargetList")
  (c-name "gtk_target_list_unref")
  (return-type "none")
)

(define-method add
  (of-object "GtkTargetList")
  (c-name "gtk_target_list_add")
  (return-type "none")
  (parameters
    '("GdkAtom" "target")
    '("guint" "flags")
    '("guint" "info")
  )
)

(define-method add_text_targets
  (of-object "GtkTargetList")
  (c-name "gtk_target_list_add_text_targets")
  (return-type "none")
  (parameters
    '("guint" "info")
  )
)

(define-method add_rich_text_targets
  (of-object "GtkTargetList")
  (c-name "gtk_target_list_add_rich_text_targets")
  (return-type "none")
  (parameters
    '("guint" "info")
    '("gboolean" "deserializable")
    '("GtkTextBuffer*" "buffer")
  )
)

(define-method add_image_targets
  (of-object "GtkTargetList")
  (c-name "gtk_target_list_add_image_targets")
  (return-type "none")
  (parameters
    '("guint" "info")
    '("gboolean" "writable")
  )
)

(define-method add_uri_targets
  (of-object "GtkTargetList")
  (c-name "gtk_target_list_add_uri_targets")
  (return-type "none")
  (parameters
    '("guint" "info")
  )
)

(define-method add_table
  (of-object "GtkTargetList")
  (c-name "gtk_target_list_add_table")
  (return-type "none")
  (parameters
    '("const-GtkTargetEntry*" "targets")
    '("guint" "ntargets")
  )
)

(define-method remove
  (of-object "GtkTargetList")
  (c-name "gtk_target_list_remove")
  (return-type "none")
  (parameters
    '("GdkAtom" "target")
  )
)

(define-method find
  (of-object "GtkTargetList")
  (c-name "gtk_target_list_find")
  (return-type "gboolean")
  (parameters
    '("GdkAtom" "target")
    '("guint*" "info")
  )
)

(define-function gtk_target_table_new_from_list
  (c-name "gtk_target_table_new_from_list")
  (return-type "GtkTargetEntry*")
  (parameters
    '("GtkTargetList*" "list")
    '("gint*" "n_targets")
  )
)

(define-function gtk_target_table_free
  (c-name "gtk_target_table_free")
  (return-type "none")
  (parameters
    '("GtkTargetEntry*" "targets")
    '("gint" "n_targets")
  )
)

(define-function gtk_selection_owner_set
  (c-name "gtk_selection_owner_set")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "widget")
    '("GdkAtom" "selection")
    '("guint32" "time_")
  )
)

(define-function gtk_selection_owner_set_for_display
  (c-name "gtk_selection_owner_set_for_display")
  (return-type "gboolean")
  (parameters
    '("GdkDisplay*" "display")
    '("GtkWidget*" "widget")
    '("GdkAtom" "selection")
    '("guint32" "time_")
  )
)

(define-function gtk_selection_add_target
  (c-name "gtk_selection_add_target")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GdkAtom" "selection")
    '("GdkAtom" "target")
    '("guint" "info")
  )
)

(define-function gtk_selection_add_targets
  (c-name "gtk_selection_add_targets")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GdkAtom" "selection")
    '("const-GtkTargetEntry*" "targets")
    '("guint" "ntargets")
  )
)

(define-function gtk_selection_clear_targets
  (c-name "gtk_selection_clear_targets")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GdkAtom" "selection")
  )
)

(define-function gtk_selection_convert
  (c-name "gtk_selection_convert")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "widget")
    '("GdkAtom" "selection")
    '("GdkAtom" "target")
    '("guint32" "time_")
  )
)

(define-function gtk_selection_remove_all
  (c-name "gtk_selection_remove_all")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method get_selection
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_get_selection")
  (return-type "GdkAtom")
)

(define-method get_target
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_get_target")
  (return-type "GdkAtom")
)

(define-method get_data_type
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_get_data_type")
  (return-type "GdkAtom")
)

(define-method get_format
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_get_format")
  (return-type "gint")
)

(define-method get_data
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_get_data")
  (return-type "const-guchar*")
)

(define-method get_length
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_get_length")
  (return-type "gint")
)

(define-method get_data_with_length
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_get_data_with_length")
  (return-type "const-guchar*")
  (parameters
    '("gint*" "length")
  )
)

(define-method get_display
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_get_display")
  (return-type "GdkDisplay*")
)

(define-method set
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_set")
  (return-type "none")
  (parameters
    '("GdkAtom" "type")
    '("gint" "format")
    '("const-guchar*" "data")
    '("gint" "length")
  )
)

(define-method set_text
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_set_text")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "str")
    '("gint" "len")
  )
)

(define-method get_text
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_get_text")
  (return-type "guchar*")
)

(define-method set_pixbuf
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_set_pixbuf")
  (return-type "gboolean")
  (parameters
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-method get_pixbuf
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_get_pixbuf")
  (return-type "GdkPixbuf*")
)

(define-method set_uris
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_set_uris")
  (return-type "gboolean")
  (parameters
    '("gchar**" "uris")
  )
)

(define-method get_uris
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_get_uris")
  (return-type "gchar**")
)

(define-method get_targets
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_get_targets")
  (return-type "gboolean")
  (parameters
    '("GdkAtom**" "targets")
    '("gint*" "n_atoms")
  )
)

(define-method targets_include_text
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_targets_include_text")
  (return-type "gboolean")
)

(define-method targets_include_rich_text
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_targets_include_rich_text")
  (return-type "gboolean")
  (parameters
    '("GtkTextBuffer*" "buffer")
  )
)

(define-method targets_include_image
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_targets_include_image")
  (return-type "gboolean")
  (parameters
    '("gboolean" "writable")
  )
)

(define-method targets_include_uri
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_targets_include_uri")
  (return-type "gboolean")
)

(define-function gtk_targets_include_text
  (c-name "gtk_targets_include_text")
  (return-type "gboolean")
  (parameters
    '("GdkAtom*" "targets")
    '("gint" "n_targets")
  )
)

(define-function gtk_targets_include_rich_text
  (c-name "gtk_targets_include_rich_text")
  (return-type "gboolean")
  (parameters
    '("GdkAtom*" "targets")
    '("gint" "n_targets")
    '("GtkTextBuffer*" "buffer")
  )
)

(define-function gtk_targets_include_image
  (c-name "gtk_targets_include_image")
  (return-type "gboolean")
  (parameters
    '("GdkAtom*" "targets")
    '("gint" "n_targets")
    '("gboolean" "writable")
  )
)

(define-function gtk_targets_include_uri
  (c-name "gtk_targets_include_uri")
  (return-type "gboolean")
  (parameters
    '("GdkAtom*" "targets")
    '("gint" "n_targets")
  )
)

(define-function gtk_selection_data_get_type
  (c-name "gtk_selection_data_get_type")
  (return-type "GType")
)

(define-method copy
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_copy")
  (return-type "GtkSelectionData*")
)

(define-method free
  (of-object "GtkSelectionData")
  (c-name "gtk_selection_data_free")
  (return-type "none")
)

(define-function gtk_target_entry_get_type
  (c-name "gtk_target_entry_get_type")
  (return-type "GType")
)

(define-function gtk_target_entry_new
  (c-name "gtk_target_entry_new")
  (is-constructor-of "GtkTargetEntry")
  (return-type "GtkTargetEntry*")
  (parameters
    '("const-gchar*" "target")
    '("guint" "flags")
    '("guint" "info")
  )
)

(define-method copy
  (of-object "GtkTargetEntry")
  (c-name "gtk_target_entry_copy")
  (return-type "GtkTargetEntry*")
)

(define-method free
  (of-object "GtkTargetEntry")
  (c-name "gtk_target_entry_free")
  (return-type "none")
)



;; From gtkseparator.h

(define-function gtk_separator_get_type
  (c-name "gtk_separator_get_type")
  (return-type "GType")
)

(define-function gtk_separator_new
  (c-name "gtk_separator_new")
  (is-constructor-of "GtkSeparator")
  (return-type "GtkWidget*")
  (parameters
    '("GtkOrientation" "orientation")
  )
)



;; From gtkseparatormenuitem.h

(define-function gtk_separator_menu_item_get_type
  (c-name "gtk_separator_menu_item_get_type")
  (return-type "GType")
)

(define-function gtk_separator_menu_item_new
  (c-name "gtk_separator_menu_item_new")
  (is-constructor-of "GtkSeparatorMenuItem")
  (return-type "GtkWidget*")
)



;; From gtkseparatortoolitem.h

(define-function gtk_separator_tool_item_get_type
  (c-name "gtk_separator_tool_item_get_type")
  (return-type "GType")
)

(define-function gtk_separator_tool_item_new
  (c-name "gtk_separator_tool_item_new")
  (is-constructor-of "GtkSeparatorToolItem")
  (return-type "GtkToolItem*")
)

(define-method get_draw
  (of-object "GtkSeparatorToolItem")
  (c-name "gtk_separator_tool_item_get_draw")
  (return-type "gboolean")
)

(define-method set_draw
  (of-object "GtkSeparatorToolItem")
  (c-name "gtk_separator_tool_item_set_draw")
  (return-type "none")
  (parameters
    '("gboolean" "draw")
  )
)



;; From gtksettings.h

(define-function gtk_settings_get_type
  (c-name "gtk_settings_get_type")
  (return-type "GType")
)

(define-function gtk_settings_get_default
  (c-name "gtk_settings_get_default")
  (return-type "GtkSettings*")
)

(define-function gtk_settings_get_for_screen
  (c-name "gtk_settings_get_for_screen")
  (return-type "GtkSettings*")
  (parameters
    '("GdkScreen*" "screen")
  )
)

(define-function gtk_settings_install_property
  (c-name "gtk_settings_install_property")
  (return-type "none")
  (parameters
    '("GParamSpec*" "pspec")
  )
)

(define-function gtk_settings_install_property_parser
  (c-name "gtk_settings_install_property_parser")
  (return-type "none")
  (parameters
    '("GParamSpec*" "pspec")
    '("GtkRcPropertyParser" "parser")
  )
)

(define-function gtk_rc_property_parse_color
  (c-name "gtk_rc_property_parse_color")
  (return-type "gboolean")
  (parameters
    '("const-GParamSpec*" "pspec")
    '("const-GString*" "gstring")
    '("GValue*" "property_value")
  )
)

(define-function gtk_rc_property_parse_enum
  (c-name "gtk_rc_property_parse_enum")
  (return-type "gboolean")
  (parameters
    '("const-GParamSpec*" "pspec")
    '("const-GString*" "gstring")
    '("GValue*" "property_value")
  )
)

(define-function gtk_rc_property_parse_flags
  (c-name "gtk_rc_property_parse_flags")
  (return-type "gboolean")
  (parameters
    '("const-GParamSpec*" "pspec")
    '("const-GString*" "gstring")
    '("GValue*" "property_value")
  )
)

(define-function gtk_rc_property_parse_requisition
  (c-name "gtk_rc_property_parse_requisition")
  (return-type "gboolean")
  (parameters
    '("const-GParamSpec*" "pspec")
    '("const-GString*" "gstring")
    '("GValue*" "property_value")
  )
)

(define-function gtk_rc_property_parse_border
  (c-name "gtk_rc_property_parse_border")
  (return-type "gboolean")
  (parameters
    '("const-GParamSpec*" "pspec")
    '("const-GString*" "gstring")
    '("GValue*" "property_value")
  )
)

(define-method set_property_value
  (of-object "GtkSettings")
  (c-name "gtk_settings_set_property_value")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("const-GtkSettingsValue*" "svalue")
  )
)

(define-method set_string_property
  (of-object "GtkSettings")
  (c-name "gtk_settings_set_string_property")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("const-gchar*" "v_string")
    '("const-gchar*" "origin")
  )
)

(define-method set_long_property
  (of-object "GtkSettings")
  (c-name "gtk_settings_set_long_property")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("glong" "v_long")
    '("const-gchar*" "origin")
  )
)

(define-method set_double_property
  (of-object "GtkSettings")
  (c-name "gtk_settings_set_double_property")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("gdouble" "v_double")
    '("const-gchar*" "origin")
  )
)



;; From gtkshow.h

(define-function gtk_show_uri
  (c-name "gtk_show_uri")
  (return-type "gboolean")
  (parameters
    '("GdkScreen*" "screen")
    '("const-gchar*" "uri")
    '("guint32" "timestamp")
    '("GError**" "error")
  )
)



;; From gtksizegroup.h

(define-function gtk_size_group_get_type
  (c-name "gtk_size_group_get_type")
  (return-type "GType")
)

(define-function gtk_size_group_new
  (c-name "gtk_size_group_new")
  (is-constructor-of "GtkSizeGroup")
  (return-type "GtkSizeGroup*")
  (parameters
    '("GtkSizeGroupMode" "mode")
  )
)

(define-method set_mode
  (of-object "GtkSizeGroup")
  (c-name "gtk_size_group_set_mode")
  (return-type "none")
  (parameters
    '("GtkSizeGroupMode" "mode")
  )
)

(define-method get_mode
  (of-object "GtkSizeGroup")
  (c-name "gtk_size_group_get_mode")
  (return-type "GtkSizeGroupMode")
)

(define-method set_ignore_hidden
  (of-object "GtkSizeGroup")
  (c-name "gtk_size_group_set_ignore_hidden")
  (return-type "none")
  (parameters
    '("gboolean" "ignore_hidden")
  )
)

(define-method get_ignore_hidden
  (of-object "GtkSizeGroup")
  (c-name "gtk_size_group_get_ignore_hidden")
  (return-type "gboolean")
)

(define-method add_widget
  (of-object "GtkSizeGroup")
  (c-name "gtk_size_group_add_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method remove_widget
  (of-object "GtkSizeGroup")
  (c-name "gtk_size_group_remove_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method get_widgets
  (of-object "GtkSizeGroup")
  (c-name "gtk_size_group_get_widgets")
  (return-type "GSList*")
)



;; From gtksizerequest.h

(define-function gtk_distribute_natural_allocation
  (c-name "gtk_distribute_natural_allocation")
  (return-type "gint")
  (parameters
    '("gint" "extra_space")
    '("guint" "n_requested_sizes")
    '("GtkRequestedSize*" "sizes")
  )
)



;; From gtksocket.h

(define-function gtk_socket_get_type
  (c-name "gtk_socket_get_type")
  (return-type "GType")
)

(define-function gtk_socket_new
  (c-name "gtk_socket_new")
  (is-constructor-of "GtkSocket")
  (return-type "GtkWidget*")
)

(define-method add_id
  (of-object "GtkSocket")
  (c-name "gtk_socket_add_id")
  (return-type "none")
  (parameters
    '("Window" "window")
  )
)

(define-method get_id
  (of-object "GtkSocket")
  (c-name "gtk_socket_get_id")
  (return-type "Window")
)

(define-method get_plug_window
  (of-object "GtkSocket")
  (c-name "gtk_socket_get_plug_window")
  (return-type "GdkWindow*")
)



;; From gtkspinbutton.h

(define-function gtk_spin_button_get_type
  (c-name "gtk_spin_button_get_type")
  (return-type "GType")
)

(define-method configure
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_configure")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
    '("gdouble" "climb_rate")
    '("guint" "digits")
  )
)

(define-function gtk_spin_button_new
  (c-name "gtk_spin_button_new")
  (is-constructor-of "GtkSpinButton")
  (return-type "GtkWidget*")
  (parameters
    '("GtkAdjustment*" "adjustment")
    '("gdouble" "climb_rate")
    '("guint" "digits")
  )
)

(define-function gtk_spin_button_new_with_range
  (c-name "gtk_spin_button_new_with_range")
  (return-type "GtkWidget*")
  (parameters
    '("gdouble" "min")
    '("gdouble" "max")
    '("gdouble" "step")
  )
)

(define-method set_adjustment
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_set_adjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method get_adjustment
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_get_adjustment")
  (return-type "GtkAdjustment*")
)

(define-method set_digits
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_set_digits")
  (return-type "none")
  (parameters
    '("guint" "digits")
  )
)

(define-method get_digits
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_get_digits")
  (return-type "guint")
)

(define-method set_increments
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_set_increments")
  (return-type "none")
  (parameters
    '("gdouble" "step")
    '("gdouble" "page")
  )
)

(define-method get_increments
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_get_increments")
  (return-type "none")
  (parameters
    '("gdouble*" "step")
    '("gdouble*" "page")
  )
)

(define-method set_range
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_set_range")
  (return-type "none")
  (parameters
    '("gdouble" "min")
    '("gdouble" "max")
  )
)

(define-method get_range
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_get_range")
  (return-type "none")
  (parameters
    '("gdouble*" "min")
    '("gdouble*" "max")
  )
)

(define-method get_value
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_get_value")
  (return-type "gdouble")
)

(define-method get_value_as_int
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_get_value_as_int")
  (return-type "gint")
)

(define-method set_value
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_set_value")
  (return-type "none")
  (parameters
    '("gdouble" "value")
  )
)

(define-method set_update_policy
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_set_update_policy")
  (return-type "none")
  (parameters
    '("GtkSpinButtonUpdatePolicy" "policy")
  )
)

(define-method get_update_policy
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_get_update_policy")
  (return-type "GtkSpinButtonUpdatePolicy")
)

(define-method set_numeric
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_set_numeric")
  (return-type "none")
  (parameters
    '("gboolean" "numeric")
  )
)

(define-method get_numeric
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_get_numeric")
  (return-type "gboolean")
)

(define-method spin
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_spin")
  (return-type "none")
  (parameters
    '("GtkSpinType" "direction")
    '("gdouble" "increment")
  )
)

(define-method set_wrap
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_set_wrap")
  (return-type "none")
  (parameters
    '("gboolean" "wrap")
  )
)

(define-method get_wrap
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_get_wrap")
  (return-type "gboolean")
)

(define-method set_snap_to_ticks
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_set_snap_to_ticks")
  (return-type "none")
  (parameters
    '("gboolean" "snap_to_ticks")
  )
)

(define-method get_snap_to_ticks
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_get_snap_to_ticks")
  (return-type "gboolean")
)

(define-method update
  (of-object "GtkSpinButton")
  (c-name "gtk_spin_button_update")
  (return-type "none")
)



;; From gtkspinner.h

(define-function gtk_spinner_get_type
  (c-name "gtk_spinner_get_type")
  (return-type "GType")
)

(define-function gtk_spinner_new
  (c-name "gtk_spinner_new")
  (is-constructor-of "GtkSpinner")
  (return-type "GtkWidget*")
)

(define-method start
  (of-object "GtkSpinner")
  (c-name "gtk_spinner_start")
  (return-type "none")
)

(define-method stop
  (of-object "GtkSpinner")
  (c-name "gtk_spinner_stop")
  (return-type "none")
)



;; From gtkstack.h

(define-function gtk_stack_get_type
  (c-name "gtk_stack_get_type")
  (return-type "GType")
)

(define-function gtk_stack_new
  (c-name "gtk_stack_new")
  (is-constructor-of "GtkStack")
  (return-type "GtkWidget*")
)

(define-method add_named
  (of-object "GtkStack")
  (c-name "gtk_stack_add_named")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("const-gchar*" "name")
  )
)

(define-method add_titled
  (of-object "GtkStack")
  (c-name "gtk_stack_add_titled")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("const-gchar*" "name")
    '("const-gchar*" "title")
  )
)

(define-method get_child_by_name
  (of-object "GtkStack")
  (c-name "gtk_stack_get_child_by_name")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method set_visible_child
  (of-object "GtkStack")
  (c-name "gtk_stack_set_visible_child")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method get_visible_child
  (of-object "GtkStack")
  (c-name "gtk_stack_get_visible_child")
  (return-type "GtkWidget*")
)

(define-method set_visible_child_name
  (of-object "GtkStack")
  (c-name "gtk_stack_set_visible_child_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_visible_child_name
  (of-object "GtkStack")
  (c-name "gtk_stack_get_visible_child_name")
  (return-type "const-gchar*")
)

(define-method set_visible_child_full
  (of-object "GtkStack")
  (c-name "gtk_stack_set_visible_child_full")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("GtkStackTransitionType" "transition")
  )
)

(define-method set_homogeneous
  (of-object "GtkStack")
  (c-name "gtk_stack_set_homogeneous")
  (return-type "none")
  (parameters
    '("gboolean" "homogeneous")
  )
)

(define-method get_homogeneous
  (of-object "GtkStack")
  (c-name "gtk_stack_get_homogeneous")
  (return-type "gboolean")
)

(define-method set_hhomogeneous
  (of-object "GtkStack")
  (c-name "gtk_stack_set_hhomogeneous")
  (return-type "none")
  (parameters
    '("gboolean" "hhomogeneous")
  )
)

(define-method get_hhomogeneous
  (of-object "GtkStack")
  (c-name "gtk_stack_get_hhomogeneous")
  (return-type "gboolean")
)

(define-method set_vhomogeneous
  (of-object "GtkStack")
  (c-name "gtk_stack_set_vhomogeneous")
  (return-type "none")
  (parameters
    '("gboolean" "vhomogeneous")
  )
)

(define-method get_vhomogeneous
  (of-object "GtkStack")
  (c-name "gtk_stack_get_vhomogeneous")
  (return-type "gboolean")
)

(define-method set_transition_duration
  (of-object "GtkStack")
  (c-name "gtk_stack_set_transition_duration")
  (return-type "none")
  (parameters
    '("guint" "duration")
  )
)

(define-method get_transition_duration
  (of-object "GtkStack")
  (c-name "gtk_stack_get_transition_duration")
  (return-type "guint")
)

(define-method set_transition_type
  (of-object "GtkStack")
  (c-name "gtk_stack_set_transition_type")
  (return-type "none")
  (parameters
    '("GtkStackTransitionType" "transition")
  )
)

(define-method get_transition_type
  (of-object "GtkStack")
  (c-name "gtk_stack_get_transition_type")
  (return-type "GtkStackTransitionType")
)

(define-method get_transition_running
  (of-object "GtkStack")
  (c-name "gtk_stack_get_transition_running")
  (return-type "gboolean")
)

(define-method set_interpolate_size
  (of-object "GtkStack")
  (c-name "gtk_stack_set_interpolate_size")
  (return-type "none")
  (parameters
    '("gboolean" "interpolate_size")
  )
)

(define-method get_interpolate_size
  (of-object "GtkStack")
  (c-name "gtk_stack_get_interpolate_size")
  (return-type "gboolean")
)



;; From gtkstacksidebar.h

(define-function gtk_stack_sidebar_get_type
  (c-name "gtk_stack_sidebar_get_type")
  (return-type "GType")
)

(define-function gtk_stack_sidebar_new
  (c-name "gtk_stack_sidebar_new")
  (is-constructor-of "GtkStackSidebar")
  (return-type "GtkWidget*")
)

(define-method set_stack
  (of-object "GtkStackSidebar")
  (c-name "gtk_stack_sidebar_set_stack")
  (return-type "none")
  (parameters
    '("GtkStack*" "stack")
  )
)

(define-method get_stack
  (of-object "GtkStackSidebar")
  (c-name "gtk_stack_sidebar_get_stack")
  (return-type "GtkStack*")
)



;; From gtkstackswitcher.h

(define-function gtk_stack_switcher_get_type
  (c-name "gtk_stack_switcher_get_type")
  (return-type "GType")
)

(define-function gtk_stack_switcher_new
  (c-name "gtk_stack_switcher_new")
  (is-constructor-of "GtkStackSwitcher")
  (return-type "GtkWidget*")
)

(define-method set_stack
  (of-object "GtkStackSwitcher")
  (c-name "gtk_stack_switcher_set_stack")
  (return-type "none")
  (parameters
    '("GtkStack*" "stack")
  )
)

(define-method get_stack
  (of-object "GtkStackSwitcher")
  (c-name "gtk_stack_switcher_get_stack")
  (return-type "GtkStack*")
)



;; From gtkstatusbar.h

(define-function gtk_statusbar_get_type
  (c-name "gtk_statusbar_get_type")
  (return-type "GType")
)

(define-function gtk_statusbar_new
  (c-name "gtk_statusbar_new")
  (is-constructor-of "GtkStatusbar")
  (return-type "GtkWidget*")
)

(define-method get_context_id
  (of-object "GtkStatusbar")
  (c-name "gtk_statusbar_get_context_id")
  (return-type "guint")
  (parameters
    '("const-gchar*" "context_description")
  )
)

(define-method push
  (of-object "GtkStatusbar")
  (c-name "gtk_statusbar_push")
  (return-type "guint")
  (parameters
    '("guint" "context_id")
    '("const-gchar*" "text")
  )
)

(define-method pop
  (of-object "GtkStatusbar")
  (c-name "gtk_statusbar_pop")
  (return-type "none")
  (parameters
    '("guint" "context_id")
  )
)

(define-method remove
  (of-object "GtkStatusbar")
  (c-name "gtk_statusbar_remove")
  (return-type "none")
  (parameters
    '("guint" "context_id")
    '("guint" "message_id")
  )
)

(define-method remove_all
  (of-object "GtkStatusbar")
  (c-name "gtk_statusbar_remove_all")
  (return-type "none")
  (parameters
    '("guint" "context_id")
  )
)

(define-method get_message_area
  (of-object "GtkStatusbar")
  (c-name "gtk_statusbar_get_message_area")
  (return-type "GtkWidget*")
)



;; From gtkstylecontext.h

(define-function gtk_style_context_get_type
  (c-name "gtk_style_context_get_type")
  (return-type "GType")
)

(define-function gtk_style_context_new
  (c-name "gtk_style_context_new")
  (is-constructor-of "GtkStyleContext")
  (return-type "GtkStyleContext*")
)

(define-function gtk_style_context_add_provider_for_screen
  (c-name "gtk_style_context_add_provider_for_screen")
  (return-type "none")
  (parameters
    '("GdkScreen*" "screen")
    '("GtkStyleProvider*" "provider")
    '("guint" "priority")
  )
)

(define-function gtk_style_context_remove_provider_for_screen
  (c-name "gtk_style_context_remove_provider_for_screen")
  (return-type "none")
  (parameters
    '("GdkScreen*" "screen")
    '("GtkStyleProvider*" "provider")
  )
)

(define-method add_provider
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_add_provider")
  (return-type "none")
  (parameters
    '("GtkStyleProvider*" "provider")
    '("guint" "priority")
  )
)

(define-method remove_provider
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_remove_provider")
  (return-type "none")
  (parameters
    '("GtkStyleProvider*" "provider")
  )
)

(define-method save
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_save")
  (return-type "none")
)

(define-method restore
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_restore")
  (return-type "none")
)

(define-method get_section
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_section")
  (return-type "GtkCssSection*")
  (parameters
    '("const-gchar*" "property")
  )
)

(define-method get_property
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_property")
  (return-type "none")
  (parameters
    '("const-gchar*" "property")
    '("GtkStateFlags" "state")
    '("GValue*" "value")
  )
)

(define-method get_valist
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_valist")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("va_list" "args")
  )
)

(define-method get
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
  )
  (varargs #t)
)

(define-method set_state
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_set_state")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "flags")
  )
)

(define-method get_state
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_state")
  (return-type "GtkStateFlags")
)

(define-method set_scale
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_set_scale")
  (return-type "none")
  (parameters
    '("gint" "scale")
  )
)

(define-method get_scale
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_scale")
  (return-type "gint")
)

(define-method state_is_running
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_state_is_running")
  (return-type "gboolean")
  (parameters
    '("GtkStateType" "state")
    '("gdouble*" "progress")
  )
)

(define-method set_path
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_set_path")
  (return-type "none")
  (parameters
    '("GtkWidgetPath*" "path")
  )
)

(define-method get_path
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_path")
  (return-type "const-GtkWidgetPath*")
)

(define-method set_parent
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_set_parent")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "parent")
  )
)

(define-method get_parent
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_parent")
  (return-type "GtkStyleContext*")
)

(define-method list_classes
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_list_classes")
  (return-type "GList*")
)

(define-method add_class
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_add_class")
  (return-type "none")
  (parameters
    '("const-gchar*" "class_name")
  )
)

(define-method remove_class
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_remove_class")
  (return-type "none")
  (parameters
    '("const-gchar*" "class_name")
  )
)

(define-method has_class
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_has_class")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "class_name")
  )
)

(define-method list_regions
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_list_regions")
  (return-type "GList*")
)

(define-method add_region
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_add_region")
  (return-type "none")
  (parameters
    '("const-gchar*" "region_name")
    '("GtkRegionFlags" "flags")
  )
)

(define-method remove_region
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_remove_region")
  (return-type "none")
  (parameters
    '("const-gchar*" "region_name")
  )
)

(define-method has_region
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_has_region")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "region_name")
    '("GtkRegionFlags*" "flags_return")
  )
)

(define-method get_style_property
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_style_property")
  (return-type "none")
  (parameters
    '("const-gchar*" "property_name")
    '("GValue*" "value")
  )
)

(define-method get_style_valist
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_style_valist")
  (return-type "none")
  (parameters
    '("va_list" "args")
  )
)

(define-method get_style
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_style")
  (return-type "none")
  (parameters
  )
  (varargs #t)
)

(define-method lookup_icon_set
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_lookup_icon_set")
  (return-type "GtkIconSet*")
  (parameters
    '("const-gchar*" "stock_id")
  )
)

(define-method render_icon_pixbuf
  (of-object "GtkIconSet")
  (c-name "gtk_icon_set_render_icon_pixbuf")
  (return-type "GdkPixbuf*")
  (parameters
    '("GtkStyleContext*" "context")
    '("GtkIconSize" "size")
  )
)

(define-method render_icon_surface
  (of-object "GtkIconSet")
  (c-name "gtk_icon_set_render_icon_surface")
  (return-type "cairo_surface_t*")
  (parameters
    '("GtkStyleContext*" "context")
    '("GtkIconSize" "size")
    '("int" "scale")
    '("GdkWindow*" "for_window")
  )
)

(define-method set_screen
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_set_screen")
  (return-type "none")
  (parameters
    '("GdkScreen*" "screen")
  )
)

(define-method get_screen
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_screen")
  (return-type "GdkScreen*")
)

(define-method set_frame_clock
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_set_frame_clock")
  (return-type "none")
  (parameters
    '("GdkFrameClock*" "frame_clock")
  )
)

(define-method get_frame_clock
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_frame_clock")
  (return-type "GdkFrameClock*")
)

(define-method set_direction
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_set_direction")
  (return-type "none")
  (parameters
    '("GtkTextDirection" "direction")
  )
)

(define-method get_direction
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_direction")
  (return-type "GtkTextDirection")
)

(define-method set_junction_sides
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_set_junction_sides")
  (return-type "none")
  (parameters
    '("GtkJunctionSides" "sides")
  )
)

(define-method get_junction_sides
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_junction_sides")
  (return-type "GtkJunctionSides")
)

(define-method lookup_color
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_lookup_color")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "color_name")
    '("GdkRGBA*" "color")
  )
)

(define-method notify_state_change
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_notify_state_change")
  (return-type "none")
  (parameters
    '("GdkWindow*" "window")
    '("gpointer" "region_id")
    '("GtkStateType" "state")
    '("gboolean" "state_value")
  )
)

(define-method cancel_animations
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_cancel_animations")
  (return-type "none")
  (parameters
    '("gpointer" "region_id")
  )
)

(define-method scroll_animations
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_scroll_animations")
  (return-type "none")
  (parameters
    '("GdkWindow*" "window")
    '("gint" "dx")
    '("gint" "dy")
  )
)

(define-method push_animatable_region
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_push_animatable_region")
  (return-type "none")
  (parameters
    '("gpointer" "region_id")
  )
)

(define-method pop_animatable_region
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_pop_animatable_region")
  (return-type "none")
)

(define-method get_color
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_color")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("GdkRGBA*" "color")
  )
)

(define-method get_background_color
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_background_color")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("GdkRGBA*" "color")
  )
)

(define-method get_border_color
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_border_color")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("GdkRGBA*" "color")
  )
)

(define-method get_font
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_font")
  (return-type "const-PangoFontDescription*")
  (parameters
    '("GtkStateFlags" "state")
  )
)

(define-method get_border
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_border")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("GtkBorder*" "border")
  )
)

(define-method get_padding
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_padding")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("GtkBorder*" "padding")
  )
)

(define-method get_margin
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_get_margin")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("GtkBorder*" "margin")
  )
)

(define-method invalidate
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_invalidate")
  (return-type "none")
)

(define-function gtk_style_context_reset_widgets
  (c-name "gtk_style_context_reset_widgets")
  (return-type "none")
  (parameters
    '("GdkScreen*" "screen")
  )
)

(define-method set_background
  (of-object "GtkStyleContext")
  (c-name "gtk_style_context_set_background")
  (return-type "none")
  (parameters
    '("GdkWindow*" "window")
  )
)

(define-function gtk_render_insertion_cursor
  (c-name "gtk_render_insertion_cursor")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "context")
    '("cairo_t*" "cr")
    '("gdouble" "x")
    '("gdouble" "y")
    '("PangoLayout*" "layout")
    '("int" "index")
    '("PangoDirection" "direction")
  )
)

(define-function gtk_draw_insertion_cursor
  (c-name "gtk_draw_insertion_cursor")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("cairo_t*" "cr")
    '("const-GdkRectangle*" "location")
    '("gboolean" "is_primary")
    '("GtkTextDirection" "direction")
    '("gboolean" "draw_arrow")
  )
)



;; From gtkstyleprovider.h

(define-function gtk_style_provider_get_type
  (c-name "gtk_style_provider_get_type")
  (return-type "GType")
)

(define-method get_style
  (of-object "GtkStyleProvider")
  (c-name "gtk_style_provider_get_style")
  (return-type "GtkStyleProperties*")
  (parameters
    '("GtkWidgetPath*" "path")
  )
)

(define-method get_style_property
  (of-object "GtkStyleProvider")
  (c-name "gtk_style_provider_get_style_property")
  (return-type "gboolean")
  (parameters
    '("GtkWidgetPath*" "path")
    '("GtkStateFlags" "state")
    '("GParamSpec*" "pspec")
    '("GValue*" "value")
  )
)

(define-method get_icon_factory
  (of-object "GtkStyleProvider")
  (c-name "gtk_style_provider_get_icon_factory")
  (return-type "GtkIconFactory*")
  (parameters
    '("GtkWidgetPath*" "path")
  )
)



;; From gtkswitch.h

(define-function gtk_switch_get_type
  (c-name "gtk_switch_get_type")
  (return-type "GType")
)

(define-function gtk_switch_new
  (c-name "gtk_switch_new")
  (is-constructor-of "GtkSwitch")
  (return-type "GtkWidget*")
)

(define-method set_active
  (of-object "GtkSwitch")
  (c-name "gtk_switch_set_active")
  (return-type "none")
  (parameters
    '("gboolean" "is_active")
  )
)

(define-method get_active
  (of-object "GtkSwitch")
  (c-name "gtk_switch_get_active")
  (return-type "gboolean")
)

(define-method set_state
  (of-object "GtkSwitch")
  (c-name "gtk_switch_set_state")
  (return-type "none")
  (parameters
    '("gboolean" "state")
  )
)

(define-method get_state
  (of-object "GtkSwitch")
  (c-name "gtk_switch_get_state")
  (return-type "gboolean")
)



;; From gtktestutils.h

(define-function gtk_test_init
  (c-name "gtk_test_init")
  (return-type "none")
  (parameters
    '("int*" "argcp")
    '("char***" "argvp")
  )
  (varargs #t)
)

(define-function gtk_test_register_all_types
  (c-name "gtk_test_register_all_types")
  (return-type "none")
)

(define-function gtk_test_list_all_types
  (c-name "gtk_test_list_all_types")
  (return-type "const-GType*")
  (parameters
    '("guint*" "n_types")
  )
)

(define-function gtk_test_find_widget
  (c-name "gtk_test_find_widget")
  (return-type "GtkWidget*")
  (parameters
    '("GtkWidget*" "widget")
    '("const-gchar*" "label_pattern")
    '("GType" "widget_type")
  )
)

(define-function gtk_test_create_widget
  (c-name "gtk_test_create_widget")
  (return-type "GtkWidget*")
  (parameters
    '("GType" "widget_type")
    '("const-gchar*" "first_property_name")
  )
  (varargs #t)
)

(define-function gtk_test_create_simple_window
  (c-name "gtk_test_create_simple_window")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "window_title")
    '("const-gchar*" "dialog_text")
  )
)

(define-function gtk_test_display_button_window
  (c-name "gtk_test_display_button_window")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "window_title")
    '("const-gchar*" "dialog_text")
  )
  (varargs #t)
)

(define-function gtk_test_slider_set_perc
  (c-name "gtk_test_slider_set_perc")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("double" "percentage")
  )
)

(define-function gtk_test_slider_get_value
  (c-name "gtk_test_slider_get_value")
  (return-type "double")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_test_spin_button_click
  (c-name "gtk_test_spin_button_click")
  (return-type "gboolean")
  (parameters
    '("GtkSpinButton*" "spinner")
    '("guint" "button")
    '("gboolean" "upwards")
  )
)

(define-function gtk_test_widget_wait_for_draw
  (c-name "gtk_test_widget_wait_for_draw")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_test_widget_click
  (c-name "gtk_test_widget_click")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "widget")
    '("guint" "button")
    '("GdkModifierType" "modifiers")
  )
)

(define-function gtk_test_widget_send_key
  (c-name "gtk_test_widget_send_key")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "widget")
    '("guint" "keyval")
    '("GdkModifierType" "modifiers")
  )
)

(define-function gtk_test_text_set
  (c-name "gtk_test_text_set")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("const-gchar*" "string")
  )
)

(define-function gtk_test_text_get
  (c-name "gtk_test_text_get")
  (return-type "gchar*")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_test_find_sibling
  (c-name "gtk_test_find_sibling")
  (return-type "GtkWidget*")
  (parameters
    '("GtkWidget*" "base_widget")
    '("GType" "widget_type")
  )
)

(define-function gtk_test_find_label
  (c-name "gtk_test_find_label")
  (return-type "GtkWidget*")
  (parameters
    '("GtkWidget*" "widget")
    '("const-gchar*" "label_pattern")
  )
)



;; From gtktextattributes.h

(define-function gtk_text_attributes_new
  (c-name "gtk_text_attributes_new")
  (is-constructor-of "GtkTextAttributes")
  (return-type "GtkTextAttributes*")
)

(define-method copy
  (of-object "GtkTextAttributes")
  (c-name "gtk_text_attributes_copy")
  (return-type "GtkTextAttributes*")
)

(define-method copy_values
  (of-object "GtkTextAttributes")
  (c-name "gtk_text_attributes_copy_values")
  (return-type "none")
  (parameters
    '("GtkTextAttributes*" "dest")
  )
)

(define-method unref
  (of-object "GtkTextAttributes")
  (c-name "gtk_text_attributes_unref")
  (return-type "none")
)

(define-method ref
  (of-object "GtkTextAttributes")
  (c-name "gtk_text_attributes_ref")
  (return-type "GtkTextAttributes*")
)

(define-function gtk_text_attributes_get_type
  (c-name "gtk_text_attributes_get_type")
  (return-type "GType")
)



;; From gtktextbtree.h



;; From gtktextbuffer.h

(define-function gtk_text_buffer_get_type
  (c-name "gtk_text_buffer_get_type")
  (return-type "GType")
)

(define-function gtk_text_buffer_new
  (c-name "gtk_text_buffer_new")
  (is-constructor-of "GtkTextBuffer")
  (return-type "GtkTextBuffer*")
  (parameters
    '("GtkTextTagTable*" "table")
  )
)

(define-method get_line_count
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_line_count")
  (return-type "gint")
)

(define-method get_char_count
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_char_count")
  (return-type "gint")
)

(define-method get_tag_table
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_tag_table")
  (return-type "GtkTextTagTable*")
)

(define-method set_text
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_set_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
    '("gint" "len")
  )
)

(define-method insert
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_insert")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("const-gchar*" "text")
    '("gint" "len")
  )
)

(define-method insert_at_cursor
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_insert_at_cursor")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
    '("gint" "len")
  )
)

(define-method insert_interactive
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_insert_interactive")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
    '("const-gchar*" "text")
    '("gint" "len")
    '("gboolean" "default_editable")
  )
)

(define-method insert_interactive_at_cursor
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_insert_interactive_at_cursor")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "text")
    '("gint" "len")
    '("gboolean" "default_editable")
  )
)

(define-method insert_range
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_insert_range")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("const-GtkTextIter*" "start")
    '("const-GtkTextIter*" "end")
  )
)

(define-method insert_range_interactive
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_insert_range_interactive")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
    '("const-GtkTextIter*" "start")
    '("const-GtkTextIter*" "end")
    '("gboolean" "default_editable")
  )
)

(define-method insert_with_tags
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_insert_with_tags")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("const-gchar*" "text")
    '("gint" "len")
    '("GtkTextTag*" "first_tag")
  )
  (varargs #t)
)

(define-method insert_with_tags_by_name
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_insert_with_tags_by_name")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("const-gchar*" "text")
    '("gint" "len")
    '("const-gchar*" "first_tag_name")
  )
  (varargs #t)
)

(define-method insert_markup
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_insert_markup")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("const-gchar*" "markup")
    '("gint" "len")
  )
)

(define-method delete
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_delete")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "start")
    '("GtkTextIter*" "end")
  )
)

(define-method delete_interactive
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_delete_interactive")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "start_iter")
    '("GtkTextIter*" "end_iter")
    '("gboolean" "default_editable")
  )
)

(define-method backspace
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_backspace")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
    '("gboolean" "interactive")
    '("gboolean" "default_editable")
  )
)

(define-method get_text
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_text")
  (return-type "gchar*")
  (parameters
    '("const-GtkTextIter*" "start")
    '("const-GtkTextIter*" "end")
    '("gboolean" "include_hidden_chars")
  )
)

(define-method get_slice
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_slice")
  (return-type "gchar*")
  (parameters
    '("const-GtkTextIter*" "start")
    '("const-GtkTextIter*" "end")
    '("gboolean" "include_hidden_chars")
  )
)

(define-method insert_pixbuf
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_insert_pixbuf")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-method insert_child_anchor
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_insert_child_anchor")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("GtkTextChildAnchor*" "anchor")
  )
)

(define-method create_child_anchor
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_create_child_anchor")
  (return-type "GtkTextChildAnchor*")
  (parameters
    '("GtkTextIter*" "iter")
  )
)

(define-method add_mark
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_add_mark")
  (return-type "none")
  (parameters
    '("GtkTextMark*" "mark")
    '("const-GtkTextIter*" "where")
  )
)

(define-method create_mark
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_create_mark")
  (return-type "GtkTextMark*")
  (parameters
    '("const-gchar*" "mark_name")
    '("const-GtkTextIter*" "where")
    '("gboolean" "left_gravity")
  )
)

(define-method move_mark
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_move_mark")
  (return-type "none")
  (parameters
    '("GtkTextMark*" "mark")
    '("const-GtkTextIter*" "where")
  )
)

(define-method delete_mark
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_delete_mark")
  (return-type "none")
  (parameters
    '("GtkTextMark*" "mark")
  )
)

(define-method get_mark
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_mark")
  (return-type "GtkTextMark*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method move_mark_by_name
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_move_mark_by_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("const-GtkTextIter*" "where")
  )
)

(define-method delete_mark_by_name
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_delete_mark_by_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_insert
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_insert")
  (return-type "GtkTextMark*")
)

(define-method get_selection_bound
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_selection_bound")
  (return-type "GtkTextMark*")
)

(define-method place_cursor
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_place_cursor")
  (return-type "none")
  (parameters
    '("const-GtkTextIter*" "where")
  )
)

(define-method select_range
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_select_range")
  (return-type "none")
  (parameters
    '("const-GtkTextIter*" "ins")
    '("const-GtkTextIter*" "bound")
  )
)

(define-method apply_tag
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_apply_tag")
  (return-type "none")
  (parameters
    '("GtkTextTag*" "tag")
    '("const-GtkTextIter*" "start")
    '("const-GtkTextIter*" "end")
  )
)

(define-method remove_tag
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_remove_tag")
  (return-type "none")
  (parameters
    '("GtkTextTag*" "tag")
    '("const-GtkTextIter*" "start")
    '("const-GtkTextIter*" "end")
  )
)

(define-method apply_tag_by_name
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_apply_tag_by_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("const-GtkTextIter*" "start")
    '("const-GtkTextIter*" "end")
  )
)

(define-method remove_tag_by_name
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_remove_tag_by_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("const-GtkTextIter*" "start")
    '("const-GtkTextIter*" "end")
  )
)

(define-method remove_all_tags
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_remove_all_tags")
  (return-type "none")
  (parameters
    '("const-GtkTextIter*" "start")
    '("const-GtkTextIter*" "end")
  )
)

(define-method create_tag
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_create_tag")
  (return-type "GtkTextTag*")
  (parameters
    '("const-gchar*" "tag_name")
    '("const-gchar*" "first_property_name")
  )
  (varargs #t)
)

(define-method get_iter_at_line_offset
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_iter_at_line_offset")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("gint" "line_number")
    '("gint" "char_offset")
  )
)

(define-method get_iter_at_line_index
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_iter_at_line_index")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("gint" "line_number")
    '("gint" "byte_index")
  )
)

(define-method get_iter_at_offset
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_iter_at_offset")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("gint" "char_offset")
  )
)

(define-method get_iter_at_line
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_iter_at_line")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("gint" "line_number")
  )
)

(define-method get_start_iter
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_start_iter")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
  )
)

(define-method get_end_iter
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_end_iter")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
  )
)

(define-method get_bounds
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_bounds")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "start")
    '("GtkTextIter*" "end")
  )
)

(define-method get_iter_at_mark
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_iter_at_mark")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("GtkTextMark*" "mark")
  )
)

(define-method get_iter_at_child_anchor
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_iter_at_child_anchor")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("GtkTextChildAnchor*" "anchor")
  )
)

(define-method get_modified
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_modified")
  (return-type "gboolean")
)

(define-method set_modified
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_set_modified")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_has_selection
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_has_selection")
  (return-type "gboolean")
)

(define-method add_selection_clipboard
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_add_selection_clipboard")
  (return-type "none")
  (parameters
    '("GtkClipboard*" "clipboard")
  )
)

(define-method remove_selection_clipboard
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_remove_selection_clipboard")
  (return-type "none")
  (parameters
    '("GtkClipboard*" "clipboard")
  )
)

(define-method cut_clipboard
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_cut_clipboard")
  (return-type "none")
  (parameters
    '("GtkClipboard*" "clipboard")
    '("gboolean" "default_editable")
  )
)

(define-method copy_clipboard
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_copy_clipboard")
  (return-type "none")
  (parameters
    '("GtkClipboard*" "clipboard")
  )
)

(define-method paste_clipboard
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_paste_clipboard")
  (return-type "none")
  (parameters
    '("GtkClipboard*" "clipboard")
    '("GtkTextIter*" "override_location")
    '("gboolean" "default_editable")
  )
)

(define-method get_selection_bounds
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_selection_bounds")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "start")
    '("GtkTextIter*" "end")
  )
)

(define-method delete_selection
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_delete_selection")
  (return-type "gboolean")
  (parameters
    '("gboolean" "interactive")
    '("gboolean" "default_editable")
  )
)

(define-method begin_user_action
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_begin_user_action")
  (return-type "none")
)

(define-method end_user_action
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_end_user_action")
  (return-type "none")
)

(define-method get_copy_target_list
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_copy_target_list")
  (return-type "GtkTargetList*")
)

(define-method get_paste_target_list
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_paste_target_list")
  (return-type "GtkTargetList*")
)



;; From gtktextbufferrichtext.h

(define-method register_serialize_format
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_register_serialize_format")
  (return-type "GdkAtom")
  (parameters
    '("const-gchar*" "mime_type")
    '("GtkTextBufferSerializeFunc" "function")
    '("gpointer" "user_data")
    '("GDestroyNotify" "user_data_destroy")
  )
)

(define-method register_serialize_tagset
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_register_serialize_tagset")
  (return-type "GdkAtom")
  (parameters
    '("const-gchar*" "tagset_name")
  )
)

(define-method register_deserialize_format
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_register_deserialize_format")
  (return-type "GdkAtom")
  (parameters
    '("const-gchar*" "mime_type")
    '("GtkTextBufferDeserializeFunc" "function")
    '("gpointer" "user_data")
    '("GDestroyNotify" "user_data_destroy")
  )
)

(define-method register_deserialize_tagset
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_register_deserialize_tagset")
  (return-type "GdkAtom")
  (parameters
    '("const-gchar*" "tagset_name")
  )
)

(define-method unregister_serialize_format
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_unregister_serialize_format")
  (return-type "none")
  (parameters
    '("GdkAtom" "format")
  )
)

(define-method unregister_deserialize_format
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_unregister_deserialize_format")
  (return-type "none")
  (parameters
    '("GdkAtom" "format")
  )
)

(define-method deserialize_set_can_create_tags
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_deserialize_set_can_create_tags")
  (return-type "none")
  (parameters
    '("GdkAtom" "format")
    '("gboolean" "can_create_tags")
  )
)

(define-method deserialize_get_can_create_tags
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_deserialize_get_can_create_tags")
  (return-type "gboolean")
  (parameters
    '("GdkAtom" "format")
  )
)

(define-method get_serialize_formats
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_serialize_formats")
  (return-type "GdkAtom*")
  (parameters
    '("gint*" "n_formats")
  )
)

(define-method get_deserialize_formats
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_get_deserialize_formats")
  (return-type "GdkAtom*")
  (parameters
    '("gint*" "n_formats")
  )
)

(define-method serialize
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_serialize")
  (return-type "guint8*")
  (parameters
    '("GtkTextBuffer*" "content_buffer")
    '("GdkAtom" "format")
    '("const-GtkTextIter*" "start")
    '("const-GtkTextIter*" "end")
    '("gsize*" "length")
  )
)

(define-method deserialize
  (of-object "GtkTextBuffer")
  (c-name "gtk_text_buffer_deserialize")
  (return-type "gboolean")
  (parameters
    '("GtkTextBuffer*" "content_buffer")
    '("GdkAtom" "format")
    '("GtkTextIter*" "iter")
    '("const-guint8*" "data")
    '("gsize" "length")
    '("GError**" "error")
  )
)



;; From gtktextbufferserialize.h



;; From gtktextchild.h

(define-function gtk_text_child_anchor_get_type
  (c-name "gtk_text_child_anchor_get_type")
  (return-type "GType")
)

(define-function gtk_text_child_anchor_new
  (c-name "gtk_text_child_anchor_new")
  (is-constructor-of "GtkTextChildAnchor")
  (return-type "GtkTextChildAnchor*")
)

(define-method get_widgets
  (of-object "GtkTextChildAnchor")
  (c-name "gtk_text_child_anchor_get_widgets")
  (return-type "GList*")
)

(define-method get_deleted
  (of-object "GtkTextChildAnchor")
  (c-name "gtk_text_child_anchor_get_deleted")
  (return-type "gboolean")
)



;; From gtktextdisplay.h

(define-method draw
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_draw")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("cairo_t*" "cr")
    '("GList**" "widgets")
  )
)



;; From gtktextiter.h

(define-method get_buffer
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_buffer")
  (return-type "GtkTextBuffer*")
)

(define-method copy
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_copy")
  (return-type "GtkTextIter*")
)

(define-method free
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_free")
  (return-type "none")
)

(define-method assign
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_assign")
  (return-type "none")
  (parameters
    '("const-GtkTextIter*" "other")
  )
)

(define-function gtk_text_iter_get_type
  (c-name "gtk_text_iter_get_type")
  (return-type "GType")
)

(define-method get_offset
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_offset")
  (return-type "gint")
)

(define-method get_line
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_line")
  (return-type "gint")
)

(define-method get_line_offset
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_line_offset")
  (return-type "gint")
)

(define-method get_line_index
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_line_index")
  (return-type "gint")
)

(define-method get_visible_line_offset
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_visible_line_offset")
  (return-type "gint")
)

(define-method get_visible_line_index
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_visible_line_index")
  (return-type "gint")
)

(define-method get_char
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_char")
  (return-type "gunichar")
)

(define-method get_slice
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_slice")
  (return-type "gchar*")
  (parameters
    '("const-GtkTextIter*" "end")
  )
)

(define-method get_text
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_text")
  (return-type "gchar*")
  (parameters
    '("const-GtkTextIter*" "end")
  )
)

(define-method get_visible_slice
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_visible_slice")
  (return-type "gchar*")
  (parameters
    '("const-GtkTextIter*" "end")
  )
)

(define-method get_visible_text
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_visible_text")
  (return-type "gchar*")
  (parameters
    '("const-GtkTextIter*" "end")
  )
)

(define-method get_pixbuf
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_pixbuf")
  (return-type "GdkPixbuf*")
)

(define-method get_marks
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_marks")
  (return-type "GSList*")
)

(define-method get_child_anchor
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_child_anchor")
  (return-type "GtkTextChildAnchor*")
)

(define-method get_toggled_tags
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_toggled_tags")
  (return-type "GSList*")
  (parameters
    '("gboolean" "toggled_on")
  )
)

(define-method begins_tag
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_begins_tag")
  (return-type "gboolean")
  (parameters
    '("GtkTextTag*" "tag")
  )
)

(define-method ends_tag
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_ends_tag")
  (return-type "gboolean")
  (parameters
    '("GtkTextTag*" "tag")
  )
)

(define-method toggles_tag
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_toggles_tag")
  (return-type "gboolean")
  (parameters
    '("GtkTextTag*" "tag")
  )
)

(define-method has_tag
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_has_tag")
  (return-type "gboolean")
  (parameters
    '("GtkTextTag*" "tag")
  )
)

(define-method get_tags
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_tags")
  (return-type "GSList*")
)

(define-method editable
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_editable")
  (return-type "gboolean")
  (parameters
    '("gboolean" "default_setting")
  )
)

(define-method can_insert
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_can_insert")
  (return-type "gboolean")
  (parameters
    '("gboolean" "default_editability")
  )
)

(define-method starts_word
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_starts_word")
  (return-type "gboolean")
)

(define-method ends_word
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_ends_word")
  (return-type "gboolean")
)

(define-method inside_word
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_inside_word")
  (return-type "gboolean")
)

(define-method starts_sentence
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_starts_sentence")
  (return-type "gboolean")
)

(define-method ends_sentence
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_ends_sentence")
  (return-type "gboolean")
)

(define-method inside_sentence
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_inside_sentence")
  (return-type "gboolean")
)

(define-method starts_line
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_starts_line")
  (return-type "gboolean")
)

(define-method ends_line
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_ends_line")
  (return-type "gboolean")
)

(define-method is_cursor_position
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_is_cursor_position")
  (return-type "gboolean")
)

(define-method get_chars_in_line
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_chars_in_line")
  (return-type "gint")
)

(define-method get_bytes_in_line
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_bytes_in_line")
  (return-type "gint")
)

(define-method get_attributes
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_attributes")
  (return-type "gboolean")
  (parameters
    '("GtkTextAttributes*" "values")
  )
)

(define-method get_language
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_get_language")
  (return-type "PangoLanguage*")
)

(define-method is_end
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_is_end")
  (return-type "gboolean")
)

(define-method is_start
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_is_start")
  (return-type "gboolean")
)

(define-method forward_char
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_char")
  (return-type "gboolean")
)

(define-method backward_char
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_char")
  (return-type "gboolean")
)

(define-method forward_chars
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_chars")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method backward_chars
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_chars")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method forward_line
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_line")
  (return-type "gboolean")
)

(define-method backward_line
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_line")
  (return-type "gboolean")
)

(define-method forward_lines
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_lines")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method backward_lines
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_lines")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method forward_word_end
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_word_end")
  (return-type "gboolean")
)

(define-method backward_word_start
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_word_start")
  (return-type "gboolean")
)

(define-method forward_word_ends
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_word_ends")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method backward_word_starts
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_word_starts")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method forward_visible_line
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_visible_line")
  (return-type "gboolean")
)

(define-method backward_visible_line
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_visible_line")
  (return-type "gboolean")
)

(define-method forward_visible_lines
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_visible_lines")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method backward_visible_lines
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_visible_lines")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method forward_visible_word_end
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_visible_word_end")
  (return-type "gboolean")
)

(define-method backward_visible_word_start
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_visible_word_start")
  (return-type "gboolean")
)

(define-method forward_visible_word_ends
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_visible_word_ends")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method backward_visible_word_starts
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_visible_word_starts")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method forward_sentence_end
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_sentence_end")
  (return-type "gboolean")
)

(define-method backward_sentence_start
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_sentence_start")
  (return-type "gboolean")
)

(define-method forward_sentence_ends
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_sentence_ends")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method backward_sentence_starts
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_sentence_starts")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method forward_cursor_position
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_cursor_position")
  (return-type "gboolean")
)

(define-method backward_cursor_position
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_cursor_position")
  (return-type "gboolean")
)

(define-method forward_cursor_positions
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_cursor_positions")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method backward_cursor_positions
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_cursor_positions")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method forward_visible_cursor_position
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_visible_cursor_position")
  (return-type "gboolean")
)

(define-method backward_visible_cursor_position
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_visible_cursor_position")
  (return-type "gboolean")
)

(define-method forward_visible_cursor_positions
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_visible_cursor_positions")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method backward_visible_cursor_positions
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_visible_cursor_positions")
  (return-type "gboolean")
  (parameters
    '("gint" "count")
  )
)

(define-method set_offset
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_set_offset")
  (return-type "none")
  (parameters
    '("gint" "char_offset")
  )
)

(define-method set_line
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_set_line")
  (return-type "none")
  (parameters
    '("gint" "line_number")
  )
)

(define-method set_line_offset
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_set_line_offset")
  (return-type "none")
  (parameters
    '("gint" "char_on_line")
  )
)

(define-method set_line_index
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_set_line_index")
  (return-type "none")
  (parameters
    '("gint" "byte_on_line")
  )
)

(define-method forward_to_end
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_to_end")
  (return-type "none")
)

(define-method forward_to_line_end
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_to_line_end")
  (return-type "gboolean")
)

(define-method set_visible_line_offset
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_set_visible_line_offset")
  (return-type "none")
  (parameters
    '("gint" "char_on_line")
  )
)

(define-method set_visible_line_index
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_set_visible_line_index")
  (return-type "none")
  (parameters
    '("gint" "byte_on_line")
  )
)

(define-method forward_to_tag_toggle
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_to_tag_toggle")
  (return-type "gboolean")
  (parameters
    '("GtkTextTag*" "tag")
  )
)

(define-method backward_to_tag_toggle
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_to_tag_toggle")
  (return-type "gboolean")
  (parameters
    '("GtkTextTag*" "tag")
  )
)

(define-method forward_find_char
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_find_char")
  (return-type "gboolean")
  (parameters
    '("GtkTextCharPredicate" "pred")
    '("gpointer" "user_data")
    '("const-GtkTextIter*" "limit")
  )
)

(define-method backward_find_char
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_find_char")
  (return-type "gboolean")
  (parameters
    '("GtkTextCharPredicate" "pred")
    '("gpointer" "user_data")
    '("const-GtkTextIter*" "limit")
  )
)

(define-method forward_search
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_forward_search")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "str")
    '("GtkTextSearchFlags" "flags")
    '("GtkTextIter*" "match_start")
    '("GtkTextIter*" "match_end")
    '("const-GtkTextIter*" "limit")
  )
)

(define-method backward_search
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_backward_search")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "str")
    '("GtkTextSearchFlags" "flags")
    '("GtkTextIter*" "match_start")
    '("GtkTextIter*" "match_end")
    '("const-GtkTextIter*" "limit")
  )
)

(define-method equal
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_equal")
  (return-type "gboolean")
  (parameters
    '("const-GtkTextIter*" "rhs")
  )
)

(define-method compare
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_compare")
  (return-type "gint")
  (parameters
    '("const-GtkTextIter*" "rhs")
  )
)

(define-method in_range
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_in_range")
  (return-type "gboolean")
  (parameters
    '("const-GtkTextIter*" "start")
    '("const-GtkTextIter*" "end")
  )
)

(define-method order
  (of-object "GtkTextIter")
  (c-name "gtk_text_iter_order")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "second")
  )
)



;; From gtktextlayout.h

(define-function gtk_text_layout_get_type
  (c-name "gtk_text_layout_get_type")
  (return-type "GType")
)

(define-function gtk_text_layout_new
  (c-name "gtk_text_layout_new")
  (is-constructor-of "GtkTextLayout")
  (return-type "GtkTextLayout*")
)

(define-method set_buffer
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_set_buffer")
  (return-type "none")
  (parameters
    '("GtkTextBuffer*" "buffer")
  )
)

(define-method get_buffer
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_get_buffer")
  (return-type "GtkTextBuffer*")
)

(define-method set_default_style
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_set_default_style")
  (return-type "none")
  (parameters
    '("GtkTextAttributes*" "values")
  )
)

(define-method set_contexts
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_set_contexts")
  (return-type "none")
  (parameters
    '("PangoContext*" "ltr_context")
    '("PangoContext*" "rtl_context")
  )
)

(define-method set_cursor_direction
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_set_cursor_direction")
  (return-type "none")
  (parameters
    '("GtkTextDirection" "direction")
  )
)

(define-method set_overwrite_mode
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_set_overwrite_mode")
  (return-type "none")
  (parameters
    '("gboolean" "overwrite")
  )
)

(define-method set_keyboard_direction
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_set_keyboard_direction")
  (return-type "none")
  (parameters
    '("GtkTextDirection" "keyboard_dir")
  )
)

(define-method default_style_changed
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_default_style_changed")
  (return-type "none")
)

(define-method set_screen_width
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_set_screen_width")
  (return-type "none")
  (parameters
    '("gint" "width")
  )
)

(define-method set_preedit_string
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_set_preedit_string")
  (return-type "none")
  (parameters
    '("const-gchar*" "preedit_string")
    '("PangoAttrList*" "preedit_attrs")
    '("gint" "cursor_pos")
  )
)

(define-method set_cursor_visible
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_set_cursor_visible")
  (return-type "none")
  (parameters
    '("gboolean" "cursor_visible")
  )
)

(define-method get_cursor_visible
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_get_cursor_visible")
  (return-type "gboolean")
)

(define-method get_size
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_get_size")
  (return-type "none")
  (parameters
    '("gint*" "width")
    '("gint*" "height")
  )
)

(define-method get_lines
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_get_lines")
  (return-type "GSList*")
  (parameters
    '("gint" "top_y")
    '("gint" "bottom_y")
    '("gint*" "first_line_y")
  )
)

(define-method wrap_loop_start
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_wrap_loop_start")
  (return-type "none")
)

(define-method wrap_loop_end
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_wrap_loop_end")
  (return-type "none")
)

(define-method get_line_display
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_get_line_display")
  (return-type "GtkTextLineDisplay*")
  (parameters
    '("GtkTextLine*" "line")
    '("gboolean" "size_only")
  )
)

(define-method free_line_display
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_free_line_display")
  (return-type "none")
  (parameters
    '("GtkTextLineDisplay*" "display")
  )
)

(define-method get_line_at_y
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_get_line_at_y")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "target_iter")
    '("gint" "y")
    '("gint*" "line_top")
  )
)

(define-method get_iter_at_pixel
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_get_iter_at_pixel")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("gint" "x")
    '("gint" "y")
  )
)

(define-method get_iter_at_position
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_get_iter_at_position")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("gint*" "trailing")
    '("gint" "x")
    '("gint" "y")
  )
)

(define-method invalidate
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_invalidate")
  (return-type "none")
  (parameters
    '("const-GtkTextIter*" "start")
    '("const-GtkTextIter*" "end")
  )
)

(define-method invalidate_cursors
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_invalidate_cursors")
  (return-type "none")
  (parameters
    '("const-GtkTextIter*" "start")
    '("const-GtkTextIter*" "end")
  )
)

(define-method free_line_data
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_free_line_data")
  (return-type "none")
  (parameters
    '("GtkTextLine*" "line")
    '("GtkTextLineData*" "line_data")
  )
)

(define-method is_valid
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_is_valid")
  (return-type "gboolean")
)

(define-method validate_yrange
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_validate_yrange")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "anchor_line")
    '("gint" "y0_")
    '("gint" "y1_")
  )
)

(define-method validate
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_validate")
  (return-type "none")
  (parameters
    '("gint" "max_pixels")
  )
)

(define-method wrap
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_wrap")
  (return-type "GtkTextLineData*")
  (parameters
    '("GtkTextLine*" "line")
    '("GtkTextLineData*" "line_data")
  )
)

(define-method changed
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_changed")
  (return-type "none")
  (parameters
    '("gint" "y")
    '("gint" "old_height")
    '("gint" "new_height")
  )
)

(define-method cursors_changed
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_cursors_changed")
  (return-type "none")
  (parameters
    '("gint" "y")
    '("gint" "old_height")
    '("gint" "new_height")
  )
)

(define-method get_iter_location
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_get_iter_location")
  (return-type "none")
  (parameters
    '("const-GtkTextIter*" "iter")
    '("GdkRectangle*" "rect")
  )
)

(define-method get_line_yrange
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_get_line_yrange")
  (return-type "none")
  (parameters
    '("const-GtkTextIter*" "iter")
    '("gint*" "y")
    '("gint*" "height")
  )
)

(define-method get_cursor_locations
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_get_cursor_locations")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("GdkRectangle*" "strong_pos")
    '("GdkRectangle*" "weak_pos")
  )
)

(define-method clamp_iter_to_vrange
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_clamp_iter_to_vrange")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
    '("gint" "top")
    '("gint" "bottom")
  )
)

(define-method move_iter_to_line_end
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_move_iter_to_line_end")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
    '("gint" "direction")
  )
)

(define-method move_iter_to_previous_line
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_move_iter_to_previous_line")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
  )
)

(define-method move_iter_to_next_line
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_move_iter_to_next_line")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
  )
)

(define-method move_iter_to_x
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_move_iter_to_x")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("gint" "x")
  )
)

(define-method move_iter_visually
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_move_iter_visually")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
    '("gint" "count")
  )
)

(define-method iter_starts_line
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_iter_starts_line")
  (return-type "gboolean")
  (parameters
    '("const-GtkTextIter*" "iter")
  )
)

(define-method get_iter_at_line
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_get_iter_at_line")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("GtkTextLine*" "line")
    '("gint" "byte_offset")
  )
)

(define-method register_child
  (of-object "GtkTextChildAnchor")
  (c-name "gtk_text_child_anchor_register_child")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("GtkTextLayout*" "layout")
  )
)

(define-method unregister_child
  (of-object "GtkTextChildAnchor")
  (c-name "gtk_text_child_anchor_unregister_child")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
  )
)

(define-method queue_resize
  (of-object "GtkTextChildAnchor")
  (c-name "gtk_text_child_anchor_queue_resize")
  (return-type "none")
  (parameters
    '("GtkTextLayout*" "layout")
  )
)

(define-function gtk_text_anchored_child_set_layout
  (c-name "gtk_text_anchored_child_set_layout")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("GtkTextLayout*" "layout")
  )
)

(define-method spew
  (of-object "GtkTextLayout")
  (c-name "gtk_text_layout_spew")
  (return-type "none")
)



;; From gtktextmark.h

(define-function gtk_text_mark_get_type
  (c-name "gtk_text_mark_get_type")
  (return-type "GType")
)

(define-function gtk_text_mark_new
  (c-name "gtk_text_mark_new")
  (is-constructor-of "GtkTextMark")
  (return-type "GtkTextMark*")
  (parameters
    '("const-gchar*" "name")
    '("gboolean" "left_gravity")
  )
)

(define-method set_visible
  (of-object "GtkTextMark")
  (c-name "gtk_text_mark_set_visible")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_visible
  (of-object "GtkTextMark")
  (c-name "gtk_text_mark_get_visible")
  (return-type "gboolean")
)

(define-method get_name
  (of-object "GtkTextMark")
  (c-name "gtk_text_mark_get_name")
  (return-type "const-gchar*")
)

(define-method get_deleted
  (of-object "GtkTextMark")
  (c-name "gtk_text_mark_get_deleted")
  (return-type "gboolean")
)

(define-method get_buffer
  (of-object "GtkTextMark")
  (c-name "gtk_text_mark_get_buffer")
  (return-type "GtkTextBuffer*")
)

(define-method get_left_gravity
  (of-object "GtkTextMark")
  (c-name "gtk_text_mark_get_left_gravity")
  (return-type "gboolean")
)



;; From gtktextsegment.h

(define-function gtk_text_line_segment_split
  (c-name "gtk_text_line_segment_split")
  (return-type "GtkTextLineSegment*")
  (parameters
    '("const-GtkTextIter*" "iter")
  )
)



;; From gtktexttag.h

(define-function gtk_text_tag_get_type
  (c-name "gtk_text_tag_get_type")
  (return-type "GType")
)

(define-function gtk_text_tag_new
  (c-name "gtk_text_tag_new")
  (is-constructor-of "GtkTextTag")
  (return-type "GtkTextTag*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_priority
  (of-object "GtkTextTag")
  (c-name "gtk_text_tag_get_priority")
  (return-type "gint")
)

(define-method set_priority
  (of-object "GtkTextTag")
  (c-name "gtk_text_tag_set_priority")
  (return-type "none")
  (parameters
    '("gint" "priority")
  )
)

(define-method event
  (of-object "GtkTextTag")
  (c-name "gtk_text_tag_event")
  (return-type "gboolean")
  (parameters
    '("GObject*" "event_object")
    '("GdkEvent*" "event")
    '("const-GtkTextIter*" "iter")
  )
)



;; From gtktexttagtable.h

(define-function gtk_text_tag_table_get_type
  (c-name "gtk_text_tag_table_get_type")
  (return-type "GType")
)

(define-function gtk_text_tag_table_new
  (c-name "gtk_text_tag_table_new")
  (is-constructor-of "GtkTextTagTable")
  (return-type "GtkTextTagTable*")
)

(define-method add
  (of-object "GtkTextTagTable")
  (c-name "gtk_text_tag_table_add")
  (return-type "gboolean")
  (parameters
    '("GtkTextTag*" "tag")
  )
)

(define-method remove
  (of-object "GtkTextTagTable")
  (c-name "gtk_text_tag_table_remove")
  (return-type "none")
  (parameters
    '("GtkTextTag*" "tag")
  )
)

(define-method lookup
  (of-object "GtkTextTagTable")
  (c-name "gtk_text_tag_table_lookup")
  (return-type "GtkTextTag*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method foreach
  (of-object "GtkTextTagTable")
  (c-name "gtk_text_tag_table_foreach")
  (return-type "none")
  (parameters
    '("GtkTextTagTableForeach" "func")
    '("gpointer" "data")
  )
)

(define-method get_size
  (of-object "GtkTextTagTable")
  (c-name "gtk_text_tag_table_get_size")
  (return-type "gint")
)



;; From gtktexttypes.h

(define-function gtk_text_unknown_char_utf8_gtk_tests_only
  (c-name "gtk_text_unknown_char_utf8_gtk_tests_only")
  (return-type "const-gchar*")
)

(define-function gtk_text_byte_begins_utf8_char
  (c-name "gtk_text_byte_begins_utf8_char")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "byte")
  )
)



;; From gtktextutil.h



;; From gtktextview.h

(define-function gtk_text_view_get_type
  (c-name "gtk_text_view_get_type")
  (return-type "GType")
)

(define-function gtk_text_view_new
  (c-name "gtk_text_view_new")
  (is-constructor-of "GtkTextView")
  (return-type "GtkWidget*")
)

(define-function gtk_text_view_new_with_buffer
  (c-name "gtk_text_view_new_with_buffer")
  (return-type "GtkWidget*")
  (parameters
    '("GtkTextBuffer*" "buffer")
  )
)

(define-method set_buffer
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_buffer")
  (return-type "none")
  (parameters
    '("GtkTextBuffer*" "buffer")
  )
)

(define-method get_buffer
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_buffer")
  (return-type "GtkTextBuffer*")
)

(define-method scroll_to_iter
  (of-object "GtkTextView")
  (c-name "gtk_text_view_scroll_to_iter")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
    '("gdouble" "within_margin")
    '("gboolean" "use_align")
    '("gdouble" "xalign")
    '("gdouble" "yalign")
  )
)

(define-method scroll_to_mark
  (of-object "GtkTextView")
  (c-name "gtk_text_view_scroll_to_mark")
  (return-type "none")
  (parameters
    '("GtkTextMark*" "mark")
    '("gdouble" "within_margin")
    '("gboolean" "use_align")
    '("gdouble" "xalign")
    '("gdouble" "yalign")
  )
)

(define-method scroll_mark_onscreen
  (of-object "GtkTextView")
  (c-name "gtk_text_view_scroll_mark_onscreen")
  (return-type "none")
  (parameters
    '("GtkTextMark*" "mark")
  )
)

(define-method move_mark_onscreen
  (of-object "GtkTextView")
  (c-name "gtk_text_view_move_mark_onscreen")
  (return-type "gboolean")
  (parameters
    '("GtkTextMark*" "mark")
  )
)

(define-method place_cursor_onscreen
  (of-object "GtkTextView")
  (c-name "gtk_text_view_place_cursor_onscreen")
  (return-type "gboolean")
)

(define-method get_visible_rect
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_visible_rect")
  (return-type "none")
  (parameters
    '("GdkRectangle*" "visible_rect")
  )
)

(define-method set_cursor_visible
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_cursor_visible")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_cursor_visible
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_cursor_visible")
  (return-type "gboolean")
)

(define-method get_cursor_locations
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_cursor_locations")
  (return-type "none")
  (parameters
    '("const-GtkTextIter*" "iter")
    '("GdkRectangle*" "strong")
    '("GdkRectangle*" "weak")
  )
)

(define-method get_iter_location
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_iter_location")
  (return-type "none")
  (parameters
    '("const-GtkTextIter*" "iter")
    '("GdkRectangle*" "location")
  )
)

(define-method get_iter_at_location
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_iter_at_location")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("gint" "x")
    '("gint" "y")
  )
)

(define-method get_iter_at_position
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_iter_at_position")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "iter")
    '("gint*" "trailing")
    '("gint" "x")
    '("gint" "y")
  )
)

(define-method get_line_yrange
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_line_yrange")
  (return-type "none")
  (parameters
    '("const-GtkTextIter*" "iter")
    '("gint*" "y")
    '("gint*" "height")
  )
)

(define-method get_line_at_y
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_line_at_y")
  (return-type "none")
  (parameters
    '("GtkTextIter*" "target_iter")
    '("gint" "y")
    '("gint*" "line_top")
  )
)

(define-method buffer_to_window_coords
  (of-object "GtkTextView")
  (c-name "gtk_text_view_buffer_to_window_coords")
  (return-type "none")
  (parameters
    '("GtkTextWindowType" "win")
    '("gint" "buffer_x")
    '("gint" "buffer_y")
    '("gint*" "window_x")
    '("gint*" "window_y")
  )
)

(define-method window_to_buffer_coords
  (of-object "GtkTextView")
  (c-name "gtk_text_view_window_to_buffer_coords")
  (return-type "none")
  (parameters
    '("GtkTextWindowType" "win")
    '("gint" "window_x")
    '("gint" "window_y")
    '("gint*" "buffer_x")
    '("gint*" "buffer_y")
  )
)

(define-method get_hadjustment
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_hadjustment")
  (return-type "GtkAdjustment*")
)

(define-method get_vadjustment
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_vadjustment")
  (return-type "GtkAdjustment*")
)

(define-method get_window
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_window")
  (return-type "GdkWindow*")
  (parameters
    '("GtkTextWindowType" "win")
  )
)

(define-method get_window_type
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_window_type")
  (return-type "GtkTextWindowType")
  (parameters
    '("GdkWindow*" "window")
  )
)

(define-method set_border_window_size
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_border_window_size")
  (return-type "none")
  (parameters
    '("GtkTextWindowType" "type")
    '("gint" "size")
  )
)

(define-method get_border_window_size
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_border_window_size")
  (return-type "gint")
  (parameters
    '("GtkTextWindowType" "type")
  )
)

(define-method forward_display_line
  (of-object "GtkTextView")
  (c-name "gtk_text_view_forward_display_line")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
  )
)

(define-method backward_display_line
  (of-object "GtkTextView")
  (c-name "gtk_text_view_backward_display_line")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
  )
)

(define-method forward_display_line_end
  (of-object "GtkTextView")
  (c-name "gtk_text_view_forward_display_line_end")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
  )
)

(define-method backward_display_line_start
  (of-object "GtkTextView")
  (c-name "gtk_text_view_backward_display_line_start")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
  )
)

(define-method starts_display_line
  (of-object "GtkTextView")
  (c-name "gtk_text_view_starts_display_line")
  (return-type "gboolean")
  (parameters
    '("const-GtkTextIter*" "iter")
  )
)

(define-method move_visually
  (of-object "GtkTextView")
  (c-name "gtk_text_view_move_visually")
  (return-type "gboolean")
  (parameters
    '("GtkTextIter*" "iter")
    '("gint" "count")
  )
)

(define-method im_context_filter_keypress
  (of-object "GtkTextView")
  (c-name "gtk_text_view_im_context_filter_keypress")
  (return-type "gboolean")
  (parameters
    '("GdkEventKey*" "event")
  )
)

(define-method reset_im_context
  (of-object "GtkTextView")
  (c-name "gtk_text_view_reset_im_context")
  (return-type "none")
)

(define-method add_child_at_anchor
  (of-object "GtkTextView")
  (c-name "gtk_text_view_add_child_at_anchor")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("GtkTextChildAnchor*" "anchor")
  )
)

(define-method add_child_in_window
  (of-object "GtkTextView")
  (c-name "gtk_text_view_add_child_in_window")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("GtkTextWindowType" "which_window")
    '("gint" "xpos")
    '("gint" "ypos")
  )
)

(define-method move_child
  (of-object "GtkTextView")
  (c-name "gtk_text_view_move_child")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("gint" "xpos")
    '("gint" "ypos")
  )
)

(define-method set_wrap_mode
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_wrap_mode")
  (return-type "none")
  (parameters
    '("GtkWrapMode" "wrap_mode")
  )
)

(define-method get_wrap_mode
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_wrap_mode")
  (return-type "GtkWrapMode")
)

(define-method set_editable
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_editable")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_editable
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_editable")
  (return-type "gboolean")
)

(define-method set_overwrite
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_overwrite")
  (return-type "none")
  (parameters
    '("gboolean" "overwrite")
  )
)

(define-method get_overwrite
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_overwrite")
  (return-type "gboolean")
)

(define-method set_accepts_tab
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_accepts_tab")
  (return-type "none")
  (parameters
    '("gboolean" "accepts_tab")
  )
)

(define-method get_accepts_tab
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_accepts_tab")
  (return-type "gboolean")
)

(define-method set_pixels_above_lines
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_pixels_above_lines")
  (return-type "none")
  (parameters
    '("gint" "pixels_above_lines")
  )
)

(define-method get_pixels_above_lines
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_pixels_above_lines")
  (return-type "gint")
)

(define-method set_pixels_below_lines
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_pixels_below_lines")
  (return-type "none")
  (parameters
    '("gint" "pixels_below_lines")
  )
)

(define-method get_pixels_below_lines
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_pixels_below_lines")
  (return-type "gint")
)

(define-method set_pixels_inside_wrap
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_pixels_inside_wrap")
  (return-type "none")
  (parameters
    '("gint" "pixels_inside_wrap")
  )
)

(define-method get_pixels_inside_wrap
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_pixels_inside_wrap")
  (return-type "gint")
)

(define-method set_justification
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_justification")
  (return-type "none")
  (parameters
    '("GtkJustification" "justification")
  )
)

(define-method get_justification
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_justification")
  (return-type "GtkJustification")
)

(define-method set_left_margin
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_left_margin")
  (return-type "none")
  (parameters
    '("gint" "left_margin")
  )
)

(define-method get_left_margin
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_left_margin")
  (return-type "gint")
)

(define-method set_right_margin
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_right_margin")
  (return-type "none")
  (parameters
    '("gint" "right_margin")
  )
)

(define-method get_right_margin
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_right_margin")
  (return-type "gint")
)

(define-method set_top_margin
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_top_margin")
  (return-type "none")
  (parameters
    '("gint" "top_margin")
  )
)

(define-method get_top_margin
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_top_margin")
  (return-type "gint")
)

(define-method set_bottom_margin
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_bottom_margin")
  (return-type "none")
  (parameters
    '("gint" "bottom_margin")
  )
)

(define-method get_bottom_margin
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_bottom_margin")
  (return-type "gint")
)

(define-method set_indent
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_indent")
  (return-type "none")
  (parameters
    '("gint" "indent")
  )
)

(define-method get_indent
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_indent")
  (return-type "gint")
)

(define-method set_tabs
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_tabs")
  (return-type "none")
  (parameters
    '("PangoTabArray*" "tabs")
  )
)

(define-method get_tabs
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_tabs")
  (return-type "PangoTabArray*")
)

(define-method get_default_attributes
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_default_attributes")
  (return-type "GtkTextAttributes*")
)

(define-method set_input_purpose
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_input_purpose")
  (return-type "none")
  (parameters
    '("GtkInputPurpose" "purpose")
  )
)

(define-method get_input_purpose
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_input_purpose")
  (return-type "GtkInputPurpose")
)

(define-method set_input_hints
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_input_hints")
  (return-type "none")
  (parameters
    '("GtkInputHints" "hints")
  )
)

(define-method get_input_hints
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_input_hints")
  (return-type "GtkInputHints")
)

(define-method set_monospace
  (of-object "GtkTextView")
  (c-name "gtk_text_view_set_monospace")
  (return-type "none")
  (parameters
    '("gboolean" "monospace")
  )
)

(define-method get_monospace
  (of-object "GtkTextView")
  (c-name "gtk_text_view_get_monospace")
  (return-type "gboolean")
)



;; From gtktogglebutton.h

(define-function gtk_toggle_button_get_type
  (c-name "gtk_toggle_button_get_type")
  (return-type "GType")
)

(define-function gtk_toggle_button_new
  (c-name "gtk_toggle_button_new")
  (is-constructor-of "GtkToggleButton")
  (return-type "GtkWidget*")
)

(define-function gtk_toggle_button_new_with_label
  (c-name "gtk_toggle_button_new_with_label")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-function gtk_toggle_button_new_with_mnemonic
  (c-name "gtk_toggle_button_new_with_mnemonic")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method set_mode
  (of-object "GtkToggleButton")
  (c-name "gtk_toggle_button_set_mode")
  (return-type "none")
  (parameters
    '("gboolean" "draw_indicator")
  )
)

(define-method get_mode
  (of-object "GtkToggleButton")
  (c-name "gtk_toggle_button_get_mode")
  (return-type "gboolean")
)

(define-method set_active
  (of-object "GtkToggleButton")
  (c-name "gtk_toggle_button_set_active")
  (return-type "none")
  (parameters
    '("gboolean" "is_active")
  )
)

(define-method get_active
  (of-object "GtkToggleButton")
  (c-name "gtk_toggle_button_get_active")
  (return-type "gboolean")
)

(define-method toggled
  (of-object "GtkToggleButton")
  (c-name "gtk_toggle_button_toggled")
  (return-type "none")
)

(define-method set_inconsistent
  (of-object "GtkToggleButton")
  (c-name "gtk_toggle_button_set_inconsistent")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_inconsistent
  (of-object "GtkToggleButton")
  (c-name "gtk_toggle_button_get_inconsistent")
  (return-type "gboolean")
)



;; From gtktoggletoolbutton.h

(define-function gtk_toggle_tool_button_get_type
  (c-name "gtk_toggle_tool_button_get_type")
  (return-type "GType")
)

(define-function gtk_toggle_tool_button_new
  (c-name "gtk_toggle_tool_button_new")
  (is-constructor-of "GtkToggleToolButton")
  (return-type "GtkToolItem*")
)

(define-function gtk_toggle_tool_button_new_from_stock
  (c-name "gtk_toggle_tool_button_new_from_stock")
  (return-type "GtkToolItem*")
  (parameters
    '("const-gchar*" "stock_id")
  )
)

(define-method set_active
  (of-object "GtkToggleToolButton")
  (c-name "gtk_toggle_tool_button_set_active")
  (return-type "none")
  (parameters
    '("gboolean" "is_active")
  )
)

(define-method get_active
  (of-object "GtkToggleToolButton")
  (c-name "gtk_toggle_tool_button_get_active")
  (return-type "gboolean")
)



;; From gtktoolbar.h

(define-function gtk_toolbar_get_type
  (c-name "gtk_toolbar_get_type")
  (return-type "GType")
)

(define-function gtk_toolbar_new
  (c-name "gtk_toolbar_new")
  (is-constructor-of "GtkToolbar")
  (return-type "GtkWidget*")
)

(define-method insert
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_insert")
  (return-type "none")
  (parameters
    '("GtkToolItem*" "item")
    '("gint" "pos")
  )
)

(define-method get_item_index
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_get_item_index")
  (return-type "gint")
  (parameters
    '("GtkToolItem*" "item")
  )
)

(define-method get_n_items
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_get_n_items")
  (return-type "gint")
)

(define-method get_nth_item
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_get_nth_item")
  (return-type "GtkToolItem*")
  (parameters
    '("gint" "n")
  )
)

(define-method get_show_arrow
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_get_show_arrow")
  (return-type "gboolean")
)

(define-method set_show_arrow
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_set_show_arrow")
  (return-type "none")
  (parameters
    '("gboolean" "show_arrow")
  )
)

(define-method get_style
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_get_style")
  (return-type "GtkToolbarStyle")
)

(define-method set_style
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_set_style")
  (return-type "none")
  (parameters
    '("GtkToolbarStyle" "style")
  )
)

(define-method unset_style
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_unset_style")
  (return-type "none")
)

(define-method get_icon_size
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_get_icon_size")
  (return-type "GtkIconSize")
)

(define-method set_icon_size
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_set_icon_size")
  (return-type "none")
  (parameters
    '("GtkIconSize" "icon_size")
  )
)

(define-method unset_icon_size
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_unset_icon_size")
  (return-type "none")
)

(define-method get_relief_style
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_get_relief_style")
  (return-type "GtkReliefStyle")
)

(define-method get_drop_index
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_get_drop_index")
  (return-type "gint")
  (parameters
    '("gint" "x")
    '("gint" "y")
  )
)

(define-method set_drop_highlight_item
  (of-object "GtkToolbar")
  (c-name "gtk_toolbar_set_drop_highlight_item")
  (return-type "none")
  (parameters
    '("GtkToolItem*" "tool_item")
    '("gint" "index_")
  )
)



;; From gtktoolbutton.h

(define-function gtk_tool_button_get_type
  (c-name "gtk_tool_button_get_type")
  (return-type "GType")
)

(define-function gtk_tool_button_new
  (c-name "gtk_tool_button_new")
  (is-constructor-of "GtkToolButton")
  (return-type "GtkToolItem*")
  (parameters
    '("GtkWidget*" "icon_widget")
    '("const-gchar*" "label")
  )
)

(define-function gtk_tool_button_new_from_stock
  (c-name "gtk_tool_button_new_from_stock")
  (return-type "GtkToolItem*")
  (parameters
    '("const-gchar*" "stock_id")
  )
)

(define-method set_label
  (of-object "GtkToolButton")
  (c-name "gtk_tool_button_set_label")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method get_label
  (of-object "GtkToolButton")
  (c-name "gtk_tool_button_get_label")
  (return-type "const-gchar*")
)

(define-method set_use_underline
  (of-object "GtkToolButton")
  (c-name "gtk_tool_button_set_use_underline")
  (return-type "none")
  (parameters
    '("gboolean" "use_underline")
  )
)

(define-method get_use_underline
  (of-object "GtkToolButton")
  (c-name "gtk_tool_button_get_use_underline")
  (return-type "gboolean")
)

(define-method set_stock_id
  (of-object "GtkToolButton")
  (c-name "gtk_tool_button_set_stock_id")
  (return-type "none")
  (parameters
    '("const-gchar*" "stock_id")
  )
)

(define-method get_stock_id
  (of-object "GtkToolButton")
  (c-name "gtk_tool_button_get_stock_id")
  (return-type "const-gchar*")
)

(define-method set_icon_name
  (of-object "GtkToolButton")
  (c-name "gtk_tool_button_set_icon_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "icon_name")
  )
)

(define-method get_icon_name
  (of-object "GtkToolButton")
  (c-name "gtk_tool_button_get_icon_name")
  (return-type "const-gchar*")
)

(define-method set_icon_widget
  (of-object "GtkToolButton")
  (c-name "gtk_tool_button_set_icon_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "icon_widget")
  )
)

(define-method get_icon_widget
  (of-object "GtkToolButton")
  (c-name "gtk_tool_button_get_icon_widget")
  (return-type "GtkWidget*")
)

(define-method set_label_widget
  (of-object "GtkToolButton")
  (c-name "gtk_tool_button_set_label_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "label_widget")
  )
)

(define-method get_label_widget
  (of-object "GtkToolButton")
  (c-name "gtk_tool_button_get_label_widget")
  (return-type "GtkWidget*")
)



;; From gtktoolitemgroup.h

(define-function gtk_tool_item_group_get_type
  (c-name "gtk_tool_item_group_get_type")
  (return-type "GType")
)

(define-function gtk_tool_item_group_new
  (c-name "gtk_tool_item_group_new")
  (is-constructor-of "GtkToolItemGroup")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method set_label
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_set_label")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method set_label_widget
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_set_label_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "label_widget")
  )
)

(define-method set_collapsed
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_set_collapsed")
  (return-type "none")
  (parameters
    '("gboolean" "collapsed")
  )
)

(define-method set_ellipsize
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_set_ellipsize")
  (return-type "none")
  (parameters
    '("PangoEllipsizeMode" "ellipsize")
  )
)

(define-method set_header_relief
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_set_header_relief")
  (return-type "none")
  (parameters
    '("GtkReliefStyle" "style")
  )
)

(define-method get_label
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_get_label")
  (return-type "const-gchar*")
)

(define-method get_label_widget
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_get_label_widget")
  (return-type "GtkWidget*")
)

(define-method get_collapsed
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_get_collapsed")
  (return-type "gboolean")
)

(define-method get_ellipsize
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_get_ellipsize")
  (return-type "PangoEllipsizeMode")
)

(define-method get_header_relief
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_get_header_relief")
  (return-type "GtkReliefStyle")
)

(define-method insert
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_insert")
  (return-type "none")
  (parameters
    '("GtkToolItem*" "item")
    '("gint" "position")
  )
)

(define-method set_item_position
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_set_item_position")
  (return-type "none")
  (parameters
    '("GtkToolItem*" "item")
    '("gint" "position")
  )
)

(define-method get_item_position
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_get_item_position")
  (return-type "gint")
  (parameters
    '("GtkToolItem*" "item")
  )
)

(define-method get_n_items
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_get_n_items")
  (return-type "guint")
)

(define-method get_nth_item
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_get_nth_item")
  (return-type "GtkToolItem*")
  (parameters
    '("guint" "index")
  )
)

(define-method get_drop_item
  (of-object "GtkToolItemGroup")
  (c-name "gtk_tool_item_group_get_drop_item")
  (return-type "GtkToolItem*")
  (parameters
    '("gint" "x")
    '("gint" "y")
  )
)



;; From gtktoolitem.h

(define-function gtk_tool_item_get_type
  (c-name "gtk_tool_item_get_type")
  (return-type "GType")
)

(define-function gtk_tool_item_new
  (c-name "gtk_tool_item_new")
  (is-constructor-of "GtkToolItem")
  (return-type "GtkToolItem*")
)

(define-method set_homogeneous
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_set_homogeneous")
  (return-type "none")
  (parameters
    '("gboolean" "homogeneous")
  )
)

(define-method get_homogeneous
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_homogeneous")
  (return-type "gboolean")
)

(define-method set_expand
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_set_expand")
  (return-type "none")
  (parameters
    '("gboolean" "expand")
  )
)

(define-method get_expand
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_expand")
  (return-type "gboolean")
)

(define-method set_tooltip_text
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_set_tooltip_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method set_tooltip_markup
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_set_tooltip_markup")
  (return-type "none")
  (parameters
    '("const-gchar*" "markup")
  )
)

(define-method set_use_drag_window
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_set_use_drag_window")
  (return-type "none")
  (parameters
    '("gboolean" "use_drag_window")
  )
)

(define-method get_use_drag_window
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_use_drag_window")
  (return-type "gboolean")
)

(define-method set_visible_horizontal
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_set_visible_horizontal")
  (return-type "none")
  (parameters
    '("gboolean" "visible_horizontal")
  )
)

(define-method get_visible_horizontal
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_visible_horizontal")
  (return-type "gboolean")
)

(define-method set_visible_vertical
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_set_visible_vertical")
  (return-type "none")
  (parameters
    '("gboolean" "visible_vertical")
  )
)

(define-method get_visible_vertical
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_visible_vertical")
  (return-type "gboolean")
)

(define-method get_is_important
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_is_important")
  (return-type "gboolean")
)

(define-method set_is_important
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_set_is_important")
  (return-type "none")
  (parameters
    '("gboolean" "is_important")
  )
)

(define-method get_ellipsize_mode
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_ellipsize_mode")
  (return-type "PangoEllipsizeMode")
)

(define-method get_icon_size
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_icon_size")
  (return-type "GtkIconSize")
)

(define-method get_orientation
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_orientation")
  (return-type "GtkOrientation")
)

(define-method get_toolbar_style
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_toolbar_style")
  (return-type "GtkToolbarStyle")
)

(define-method get_relief_style
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_relief_style")
  (return-type "GtkReliefStyle")
)

(define-method get_text_alignment
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_text_alignment")
  (return-type "gfloat")
)

(define-method get_text_orientation
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_text_orientation")
  (return-type "GtkOrientation")
)

(define-method get_text_size_group
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_text_size_group")
  (return-type "GtkSizeGroup*")
)

(define-method retrieve_proxy_menu_item
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_retrieve_proxy_menu_item")
  (return-type "GtkWidget*")
)

(define-method get_proxy_menu_item
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_get_proxy_menu_item")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "menu_item_id")
  )
)

(define-method set_proxy_menu_item
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_set_proxy_menu_item")
  (return-type "none")
  (parameters
    '("const-gchar*" "menu_item_id")
    '("GtkWidget*" "menu_item")
  )
)

(define-method rebuild_menu
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_rebuild_menu")
  (return-type "none")
)

(define-method toolbar_reconfigured
  (of-object "GtkToolItem")
  (c-name "gtk_tool_item_toolbar_reconfigured")
  (return-type "none")
)



;; From gtktoolpalette.h

(define-function gtk_tool_palette_get_type
  (c-name "gtk_tool_palette_get_type")
  (return-type "GType")
)

(define-function gtk_tool_palette_new
  (c-name "gtk_tool_palette_new")
  (is-constructor-of "GtkToolPalette")
  (return-type "GtkWidget*")
)

(define-method set_group_position
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_set_group_position")
  (return-type "none")
  (parameters
    '("GtkToolItemGroup*" "group")
    '("gint" "position")
  )
)

(define-method set_exclusive
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_set_exclusive")
  (return-type "none")
  (parameters
    '("GtkToolItemGroup*" "group")
    '("gboolean" "exclusive")
  )
)

(define-method set_expand
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_set_expand")
  (return-type "none")
  (parameters
    '("GtkToolItemGroup*" "group")
    '("gboolean" "expand")
  )
)

(define-method get_group_position
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_get_group_position")
  (return-type "gint")
  (parameters
    '("GtkToolItemGroup*" "group")
  )
)

(define-method get_exclusive
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_get_exclusive")
  (return-type "gboolean")
  (parameters
    '("GtkToolItemGroup*" "group")
  )
)

(define-method get_expand
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_get_expand")
  (return-type "gboolean")
  (parameters
    '("GtkToolItemGroup*" "group")
  )
)

(define-method set_icon_size
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_set_icon_size")
  (return-type "none")
  (parameters
    '("GtkIconSize" "icon_size")
  )
)

(define-method unset_icon_size
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_unset_icon_size")
  (return-type "none")
)

(define-method set_style
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_set_style")
  (return-type "none")
  (parameters
    '("GtkToolbarStyle" "style")
  )
)

(define-method unset_style
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_unset_style")
  (return-type "none")
)

(define-method get_icon_size
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_get_icon_size")
  (return-type "GtkIconSize")
)

(define-method get_style
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_get_style")
  (return-type "GtkToolbarStyle")
)

(define-method get_drop_item
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_get_drop_item")
  (return-type "GtkToolItem*")
  (parameters
    '("gint" "x")
    '("gint" "y")
  )
)

(define-method get_drop_group
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_get_drop_group")
  (return-type "GtkToolItemGroup*")
  (parameters
    '("gint" "x")
    '("gint" "y")
  )
)

(define-method get_drag_item
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_get_drag_item")
  (return-type "GtkWidget*")
  (parameters
    '("const-GtkSelectionData*" "selection")
  )
)

(define-method set_drag_source
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_set_drag_source")
  (return-type "none")
  (parameters
    '("GtkToolPaletteDragTargets" "targets")
  )
)

(define-method add_drag_dest
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_add_drag_dest")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("GtkDestDefaults" "flags")
    '("GtkToolPaletteDragTargets" "targets")
    '("GdkDragAction" "actions")
  )
)

(define-method get_hadjustment
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_get_hadjustment")
  (return-type "GtkAdjustment*")
)

(define-method get_vadjustment
  (of-object "GtkToolPalette")
  (c-name "gtk_tool_palette_get_vadjustment")
  (return-type "GtkAdjustment*")
)

(define-function gtk_tool_palette_get_drag_target_item
  (c-name "gtk_tool_palette_get_drag_target_item")
  (return-type "const-GtkTargetEntry*")
)

(define-function gtk_tool_palette_get_drag_target_group
  (c-name "gtk_tool_palette_get_drag_target_group")
  (return-type "const-GtkTargetEntry*")
)



;; From gtktoolshell.h

(define-function gtk_tool_shell_get_type
  (c-name "gtk_tool_shell_get_type")
  (return-type "GType")
)

(define-method get_icon_size
  (of-object "GtkToolShell")
  (c-name "gtk_tool_shell_get_icon_size")
  (return-type "GtkIconSize")
)

(define-method get_orientation
  (of-object "GtkToolShell")
  (c-name "gtk_tool_shell_get_orientation")
  (return-type "GtkOrientation")
)

(define-method get_style
  (of-object "GtkToolShell")
  (c-name "gtk_tool_shell_get_style")
  (return-type "GtkToolbarStyle")
)

(define-method get_relief_style
  (of-object "GtkToolShell")
  (c-name "gtk_tool_shell_get_relief_style")
  (return-type "GtkReliefStyle")
)

(define-method rebuild_menu
  (of-object "GtkToolShell")
  (c-name "gtk_tool_shell_rebuild_menu")
  (return-type "none")
)

(define-method get_text_orientation
  (of-object "GtkToolShell")
  (c-name "gtk_tool_shell_get_text_orientation")
  (return-type "GtkOrientation")
)

(define-method get_text_alignment
  (of-object "GtkToolShell")
  (c-name "gtk_tool_shell_get_text_alignment")
  (return-type "gfloat")
)

(define-method get_ellipsize_mode
  (of-object "GtkToolShell")
  (c-name "gtk_tool_shell_get_ellipsize_mode")
  (return-type "PangoEllipsizeMode")
)

(define-method get_text_size_group
  (of-object "GtkToolShell")
  (c-name "gtk_tool_shell_get_text_size_group")
  (return-type "GtkSizeGroup*")
)



;; From gtktooltip.h

(define-function gtk_tooltip_get_type
  (c-name "gtk_tooltip_get_type")
  (return-type "GType")
)

(define-method set_markup
  (of-object "GtkTooltip")
  (c-name "gtk_tooltip_set_markup")
  (return-type "none")
  (parameters
    '("const-gchar*" "markup")
  )
)

(define-method set_text
  (of-object "GtkTooltip")
  (c-name "gtk_tooltip_set_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method set_icon
  (of-object "GtkTooltip")
  (c-name "gtk_tooltip_set_icon")
  (return-type "none")
  (parameters
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-method set_icon_from_stock
  (of-object "GtkTooltip")
  (c-name "gtk_tooltip_set_icon_from_stock")
  (return-type "none")
  (parameters
    '("const-gchar*" "stock_id")
    '("GtkIconSize" "size")
  )
)

(define-method set_icon_from_icon_name
  (of-object "GtkTooltip")
  (c-name "gtk_tooltip_set_icon_from_icon_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "icon_name")
    '("GtkIconSize" "size")
  )
)

(define-method set_icon_from_gicon
  (of-object "GtkTooltip")
  (c-name "gtk_tooltip_set_icon_from_gicon")
  (return-type "none")
  (parameters
    '("GIcon*" "gicon")
    '("GtkIconSize" "size")
  )
)

(define-method set_custom
  (of-object "GtkTooltip")
  (c-name "gtk_tooltip_set_custom")
  (return-type "none")
  (parameters
    '("GtkWidget*" "custom_widget")
  )
)

(define-method set_tip_area
  (of-object "GtkTooltip")
  (c-name "gtk_tooltip_set_tip_area")
  (return-type "none")
  (parameters
    '("const-GdkRectangle*" "rect")
  )
)

(define-function gtk_tooltip_trigger_tooltip_query
  (c-name "gtk_tooltip_trigger_tooltip_query")
  (return-type "none")
  (parameters
    '("GdkDisplay*" "display")
  )
)



;; From gtktrashmonitor.h



;; From gtktreedatalist.h



;; From gtktreednd.h

(define-function gtk_tree_drag_source_get_type
  (c-name "gtk_tree_drag_source_get_type")
  (return-type "GType")
)

(define-method row_draggable
  (of-object "GtkTreeDragSource")
  (c-name "gtk_tree_drag_source_row_draggable")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method drag_data_delete
  (of-object "GtkTreeDragSource")
  (c-name "gtk_tree_drag_source_drag_data_delete")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method drag_data_get
  (of-object "GtkTreeDragSource")
  (c-name "gtk_tree_drag_source_drag_data_get")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkSelectionData*" "selection_data")
  )
)

(define-function gtk_tree_drag_dest_get_type
  (c-name "gtk_tree_drag_dest_get_type")
  (return-type "GType")
)

(define-method drag_data_received
  (of-object "GtkTreeDragDest")
  (c-name "gtk_tree_drag_dest_drag_data_received")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "dest")
    '("GtkSelectionData*" "selection_data")
  )
)

(define-method row_drop_possible
  (of-object "GtkTreeDragDest")
  (c-name "gtk_tree_drag_dest_row_drop_possible")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "dest_path")
    '("GtkSelectionData*" "selection_data")
  )
)

(define-function gtk_tree_set_row_drag_data
  (c-name "gtk_tree_set_row_drag_data")
  (return-type "gboolean")
  (parameters
    '("GtkSelectionData*" "selection_data")
    '("GtkTreeModel*" "tree_model")
    '("GtkTreePath*" "path")
  )
)

(define-function gtk_tree_get_row_drag_data
  (c-name "gtk_tree_get_row_drag_data")
  (return-type "gboolean")
  (parameters
    '("GtkSelectionData*" "selection_data")
    '("GtkTreeModel**" "tree_model")
    '("GtkTreePath**" "path")
  )
)



;; From gtktreemenu.h



;; From gtktreemodelfilter.h

(define-function gtk_tree_model_filter_get_type
  (c-name "gtk_tree_model_filter_get_type")
  (return-type "GType")
)

(define-method filter_new
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_filter_new")
  (return-type "GtkTreeModel*")
  (parameters
    '("GtkTreePath*" "root")
  )
)

(define-method set_visible_func
  (of-object "GtkTreeModelFilter")
  (c-name "gtk_tree_model_filter_set_visible_func")
  (return-type "none")
  (parameters
    '("GtkTreeModelFilterVisibleFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method set_modify_func
  (of-object "GtkTreeModelFilter")
  (c-name "gtk_tree_model_filter_set_modify_func")
  (return-type "none")
  (parameters
    '("gint" "n_columns")
    '("GType*" "types")
    '("GtkTreeModelFilterModifyFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method set_visible_column
  (of-object "GtkTreeModelFilter")
  (c-name "gtk_tree_model_filter_set_visible_column")
  (return-type "none")
  (parameters
    '("gint" "column")
  )
)

(define-method get_model
  (of-object "GtkTreeModelFilter")
  (c-name "gtk_tree_model_filter_get_model")
  (return-type "GtkTreeModel*")
)

(define-method convert_child_iter_to_iter
  (of-object "GtkTreeModelFilter")
  (c-name "gtk_tree_model_filter_convert_child_iter_to_iter")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "filter_iter")
    '("GtkTreeIter*" "child_iter")
  )
)

(define-method convert_iter_to_child_iter
  (of-object "GtkTreeModelFilter")
  (c-name "gtk_tree_model_filter_convert_iter_to_child_iter")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "child_iter")
    '("GtkTreeIter*" "filter_iter")
  )
)

(define-method convert_child_path_to_path
  (of-object "GtkTreeModelFilter")
  (c-name "gtk_tree_model_filter_convert_child_path_to_path")
  (return-type "GtkTreePath*")
  (parameters
    '("GtkTreePath*" "child_path")
  )
)

(define-method convert_path_to_child_path
  (of-object "GtkTreeModelFilter")
  (c-name "gtk_tree_model_filter_convert_path_to_child_path")
  (return-type "GtkTreePath*")
  (parameters
    '("GtkTreePath*" "filter_path")
  )
)

(define-method refilter
  (of-object "GtkTreeModelFilter")
  (c-name "gtk_tree_model_filter_refilter")
  (return-type "none")
)

(define-method clear_cache
  (of-object "GtkTreeModelFilter")
  (c-name "gtk_tree_model_filter_clear_cache")
  (return-type "none")
)



;; From gtktreemodel.h

(define-function gtk_tree_path_new
  (c-name "gtk_tree_path_new")
  (is-constructor-of "GtkTreePath")
  (return-type "GtkTreePath*")
)

(define-function gtk_tree_path_new_from_string
  (c-name "gtk_tree_path_new_from_string")
  (return-type "GtkTreePath*")
  (parameters
    '("const-gchar*" "path")
  )
)

(define-function gtk_tree_path_new_from_indices
  (c-name "gtk_tree_path_new_from_indices")
  (return-type "GtkTreePath*")
  (parameters
    '("gint" "first_index")
  )
  (varargs #t)
)

(define-function gtk_tree_path_new_from_indicesv
  (c-name "gtk_tree_path_new_from_indicesv")
  (return-type "GtkTreePath*")
  (parameters
    '("gint*" "indices")
    '("gsize" "length")
  )
)

(define-method to_string
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_to_string")
  (return-type "gchar*")
)

(define-function gtk_tree_path_new_first
  (c-name "gtk_tree_path_new_first")
  (return-type "GtkTreePath*")
)

(define-method append_index
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_append_index")
  (return-type "none")
  (parameters
    '("gint" "index_")
  )
)

(define-method prepend_index
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_prepend_index")
  (return-type "none")
  (parameters
    '("gint" "index_")
  )
)

(define-method get_depth
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_get_depth")
  (return-type "gint")
)

(define-method get_indices
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_get_indices")
  (return-type "gint*")
)

(define-method get_indices_with_depth
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_get_indices_with_depth")
  (return-type "gint*")
  (parameters
    '("gint*" "depth")
  )
)

(define-method free
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_free")
  (return-type "none")
)

(define-method copy
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_copy")
  (return-type "GtkTreePath*")
)

(define-function gtk_tree_path_get_type
  (c-name "gtk_tree_path_get_type")
  (return-type "GType")
)

(define-method compare
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_compare")
  (return-type "gint")
  (parameters
    '("const-GtkTreePath*" "b")
  )
)

(define-method next
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_next")
  (return-type "none")
)

(define-method prev
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_prev")
  (return-type "gboolean")
)

(define-method up
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_up")
  (return-type "gboolean")
)

(define-method down
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_down")
  (return-type "none")
)

(define-method is_ancestor
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_is_ancestor")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "descendant")
  )
)

(define-method is_descendant
  (of-object "GtkTreePath")
  (c-name "gtk_tree_path_is_descendant")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "ancestor")
  )
)

(define-function gtk_tree_row_reference_get_type
  (c-name "gtk_tree_row_reference_get_type")
  (return-type "GType")
)

(define-function gtk_tree_row_reference_new
  (c-name "gtk_tree_row_reference_new")
  (is-constructor-of "GtkTreeRowReference")
  (return-type "GtkTreeRowReference*")
  (parameters
    '("GtkTreeModel*" "model")
    '("GtkTreePath*" "path")
  )
)

(define-function gtk_tree_row_reference_new_proxy
  (c-name "gtk_tree_row_reference_new_proxy")
  (return-type "GtkTreeRowReference*")
  (parameters
    '("GObject*" "proxy")
    '("GtkTreeModel*" "model")
    '("GtkTreePath*" "path")
  )
)

(define-method get_path
  (of-object "GtkTreeRowReference")
  (c-name "gtk_tree_row_reference_get_path")
  (return-type "GtkTreePath*")
)

(define-method get_model
  (of-object "GtkTreeRowReference")
  (c-name "gtk_tree_row_reference_get_model")
  (return-type "GtkTreeModel*")
)

(define-method valid
  (of-object "GtkTreeRowReference")
  (c-name "gtk_tree_row_reference_valid")
  (return-type "gboolean")
)

(define-method copy
  (of-object "GtkTreeRowReference")
  (c-name "gtk_tree_row_reference_copy")
  (return-type "GtkTreeRowReference*")
)

(define-method free
  (of-object "GtkTreeRowReference")
  (c-name "gtk_tree_row_reference_free")
  (return-type "none")
)

(define-function gtk_tree_row_reference_inserted
  (c-name "gtk_tree_row_reference_inserted")
  (return-type "none")
  (parameters
    '("GObject*" "proxy")
    '("GtkTreePath*" "path")
  )
)

(define-function gtk_tree_row_reference_deleted
  (c-name "gtk_tree_row_reference_deleted")
  (return-type "none")
  (parameters
    '("GObject*" "proxy")
    '("GtkTreePath*" "path")
  )
)

(define-function gtk_tree_row_reference_reordered
  (c-name "gtk_tree_row_reference_reordered")
  (return-type "none")
  (parameters
    '("GObject*" "proxy")
    '("GtkTreePath*" "path")
    '("GtkTreeIter*" "iter")
    '("gint*" "new_order")
  )
)

(define-method copy
  (of-object "GtkTreeIter")
  (c-name "gtk_tree_iter_copy")
  (return-type "GtkTreeIter*")
)

(define-method free
  (of-object "GtkTreeIter")
  (c-name "gtk_tree_iter_free")
  (return-type "none")
)

(define-function gtk_tree_iter_get_type
  (c-name "gtk_tree_iter_get_type")
  (return-type "GType")
)

(define-function gtk_tree_model_get_type
  (c-name "gtk_tree_model_get_type")
  (return-type "GType")
)

(define-method get_flags
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_get_flags")
  (return-type "GtkTreeModelFlags")
)

(define-method get_n_columns
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_get_n_columns")
  (return-type "gint")
)

(define-method get_column_type
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_get_column_type")
  (return-type "GType")
  (parameters
    '("gint" "index_")
  )
)

(define-method get_iter
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_get_iter")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreePath*" "path")
  )
)

(define-method get_iter_from_string
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_get_iter_from_string")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
    '("const-gchar*" "path_string")
  )
)

(define-method get_string_from_iter
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_get_string_from_iter")
  (return-type "gchar*")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method get_iter_first
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_get_iter_first")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method get_path
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_get_path")
  (return-type "GtkTreePath*")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method get_value
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_get_value")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("gint" "column")
    '("GValue*" "value")
  )
)

(define-method iter_previous
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_iter_previous")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method iter_next
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_iter_next")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method iter_children
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_iter_children")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "parent")
  )
)

(define-method iter_has_child
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_iter_has_child")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method iter_n_children
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_iter_n_children")
  (return-type "gint")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method iter_nth_child
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_iter_nth_child")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "parent")
    '("gint" "n")
  )
)

(define-method iter_parent
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_iter_parent")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "child")
  )
)

(define-method ref_node
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_ref_node")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method unref_node
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_unref_node")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method get
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_get")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
  )
  (varargs #t)
)

(define-method get_valist
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_get_valist")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("va_list" "var_args")
  )
)

(define-method foreach
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_foreach")
  (return-type "none")
  (parameters
    '("GtkTreeModelForeachFunc" "func")
    '("gpointer" "user_data")
  )
)

(define-method row_changed
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_row_changed")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkTreeIter*" "iter")
  )
)

(define-method row_inserted
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_row_inserted")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkTreeIter*" "iter")
  )
)

(define-method row_has_child_toggled
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_row_has_child_toggled")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkTreeIter*" "iter")
  )
)

(define-method row_deleted
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_row_deleted")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method rows_reordered
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_rows_reordered")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkTreeIter*" "iter")
    '("gint*" "new_order")
  )
)

(define-method rows_reordered_with_length
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_rows_reordered_with_length")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkTreeIter*" "iter")
    '("gint*" "new_order")
    '("gint" "length")
  )
)



;; From gtktreemodelsort.h

(define-function gtk_tree_model_sort_get_type
  (c-name "gtk_tree_model_sort_get_type")
  (return-type "GType")
)

(define-method sort_new_with_model
  (of-object "GtkTreeModel")
  (c-name "gtk_tree_model_sort_new_with_model")
  (return-type "GtkTreeModel*")
)

(define-method get_model
  (of-object "GtkTreeModelSort")
  (c-name "gtk_tree_model_sort_get_model")
  (return-type "GtkTreeModel*")
)

(define-method convert_child_path_to_path
  (of-object "GtkTreeModelSort")
  (c-name "gtk_tree_model_sort_convert_child_path_to_path")
  (return-type "GtkTreePath*")
  (parameters
    '("GtkTreePath*" "child_path")
  )
)

(define-method convert_child_iter_to_iter
  (of-object "GtkTreeModelSort")
  (c-name "gtk_tree_model_sort_convert_child_iter_to_iter")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "sort_iter")
    '("GtkTreeIter*" "child_iter")
  )
)

(define-method convert_path_to_child_path
  (of-object "GtkTreeModelSort")
  (c-name "gtk_tree_model_sort_convert_path_to_child_path")
  (return-type "GtkTreePath*")
  (parameters
    '("GtkTreePath*" "sorted_path")
  )
)

(define-method convert_iter_to_child_iter
  (of-object "GtkTreeModelSort")
  (c-name "gtk_tree_model_sort_convert_iter_to_child_iter")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "child_iter")
    '("GtkTreeIter*" "sorted_iter")
  )
)

(define-method reset_default_sort_func
  (of-object "GtkTreeModelSort")
  (c-name "gtk_tree_model_sort_reset_default_sort_func")
  (return-type "none")
)

(define-method clear_cache
  (of-object "GtkTreeModelSort")
  (c-name "gtk_tree_model_sort_clear_cache")
  (return-type "none")
)

(define-method iter_is_valid
  (of-object "GtkTreeModelSort")
  (c-name "gtk_tree_model_sort_iter_is_valid")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)



;; From gtktreeselection.h

(define-function gtk_tree_selection_get_type
  (c-name "gtk_tree_selection_get_type")
  (return-type "GType")
)

(define-method set_mode
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_set_mode")
  (return-type "none")
  (parameters
    '("GtkSelectionMode" "type")
  )
)

(define-method get_mode
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_get_mode")
  (return-type "GtkSelectionMode")
)

(define-method set_select_function
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_set_select_function")
  (return-type "none")
  (parameters
    '("GtkTreeSelectionFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method get_user_data
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_get_user_data")
  (return-type "gpointer")
)

(define-method get_tree_view
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_get_tree_view")
  (return-type "GtkTreeView*")
)

(define-method get_select_function
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_get_select_function")
  (return-type "GtkTreeSelectionFunc")
)

(define-method get_selected
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_get_selected")
  (return-type "gboolean")
  (parameters
    '("GtkTreeModel**" "model")
    '("GtkTreeIter*" "iter")
  )
)

(define-method get_selected_rows
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_get_selected_rows")
  (return-type "GList*")
  (parameters
    '("GtkTreeModel**" "model")
  )
)

(define-method count_selected_rows
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_count_selected_rows")
  (return-type "gint")
)

(define-method selected_foreach
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_selected_foreach")
  (return-type "none")
  (parameters
    '("GtkTreeSelectionForeachFunc" "func")
    '("gpointer" "data")
  )
)

(define-method select_path
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_select_path")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method unselect_path
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_unselect_path")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method select_iter
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_select_iter")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method unselect_iter
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_unselect_iter")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method path_is_selected
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_path_is_selected")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method iter_is_selected
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_iter_is_selected")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method select_all
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_select_all")
  (return-type "none")
)

(define-method unselect_all
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_unselect_all")
  (return-type "none")
)

(define-method select_range
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_select_range")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "start_path")
    '("GtkTreePath*" "end_path")
  )
)

(define-method unselect_range
  (of-object "GtkTreeSelection")
  (c-name "gtk_tree_selection_unselect_range")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "start_path")
    '("GtkTreePath*" "end_path")
  )
)



;; From gtktreesortable.h

(define-function gtk_tree_sortable_get_type
  (c-name "gtk_tree_sortable_get_type")
  (return-type "GType")
)

(define-method sort_column_changed
  (of-object "GtkTreeSortable")
  (c-name "gtk_tree_sortable_sort_column_changed")
  (return-type "none")
)

(define-method get_sort_column_id
  (of-object "GtkTreeSortable")
  (c-name "gtk_tree_sortable_get_sort_column_id")
  (return-type "gboolean")
  (parameters
    '("gint*" "sort_column_id")
    '("GtkSortType*" "order")
  )
)

(define-method set_sort_column_id
  (of-object "GtkTreeSortable")
  (c-name "gtk_tree_sortable_set_sort_column_id")
  (return-type "none")
  (parameters
    '("gint" "sort_column_id")
    '("GtkSortType" "order")
  )
)

(define-method set_sort_func
  (of-object "GtkTreeSortable")
  (c-name "gtk_tree_sortable_set_sort_func")
  (return-type "none")
  (parameters
    '("gint" "sort_column_id")
    '("GtkTreeIterCompareFunc" "sort_func")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method set_default_sort_func
  (of-object "GtkTreeSortable")
  (c-name "gtk_tree_sortable_set_default_sort_func")
  (return-type "none")
  (parameters
    '("GtkTreeIterCompareFunc" "sort_func")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method has_default_sort_func
  (of-object "GtkTreeSortable")
  (c-name "gtk_tree_sortable_has_default_sort_func")
  (return-type "gboolean")
)



;; From gtktreestore.h

(define-function gtk_tree_store_get_type
  (c-name "gtk_tree_store_get_type")
  (return-type "GType")
)

(define-function gtk_tree_store_new
  (c-name "gtk_tree_store_new")
  (is-constructor-of "GtkTreeStore")
  (return-type "GtkTreeStore*")
  (parameters
    '("gint" "n_columns")
  )
  (varargs #t)
)

(define-function gtk_tree_store_newv
  (c-name "gtk_tree_store_newv")
  (return-type "GtkTreeStore*")
  (parameters
    '("gint" "n_columns")
    '("GType*" "types")
  )
)

(define-method set_column_types
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_set_column_types")
  (return-type "none")
  (parameters
    '("gint" "n_columns")
    '("GType*" "types")
  )
)

(define-method set_value
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_set_value")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("gint" "column")
    '("GValue*" "value")
  )
)

(define-method set
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_set")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
  )
  (varargs #t)
)

(define-method set_valuesv
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_set_valuesv")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("gint*" "columns")
    '("GValue*" "values")
    '("gint" "n_values")
  )
)

(define-method set_valist
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_set_valist")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("va_list" "var_args")
  )
)

(define-method remove
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_remove")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method insert
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_insert")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "parent")
    '("gint" "position")
  )
)

(define-method insert_before
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_insert_before")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "parent")
    '("GtkTreeIter*" "sibling")
  )
)

(define-method insert_after
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_insert_after")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "parent")
    '("GtkTreeIter*" "sibling")
  )
)

(define-method insert_with_values
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_insert_with_values")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "parent")
    '("gint" "position")
  )
  (varargs #t)
)

(define-method insert_with_valuesv
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_insert_with_valuesv")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "parent")
    '("gint" "position")
    '("gint*" "columns")
    '("GValue*" "values")
    '("gint" "n_values")
  )
)

(define-method prepend
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_prepend")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "parent")
  )
)

(define-method append
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_append")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "parent")
  )
)

(define-method is_ancestor
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_is_ancestor")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "descendant")
  )
)

(define-method iter_depth
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_iter_depth")
  (return-type "gint")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method clear
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_clear")
  (return-type "none")
)

(define-method iter_is_valid
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_iter_is_valid")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method reorder
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_reorder")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "parent")
    '("gint*" "new_order")
  )
)

(define-method swap
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_swap")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "a")
    '("GtkTreeIter*" "b")
  )
)

(define-method move_before
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_move_before")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "position")
  )
)

(define-method move_after
  (of-object "GtkTreeStore")
  (c-name "gtk_tree_store_move_after")
  (return-type "none")
  (parameters
    '("GtkTreeIter*" "iter")
    '("GtkTreeIter*" "position")
  )
)



;; From gtktreeviewcolumn.h

(define-function gtk_tree_view_column_get_type
  (c-name "gtk_tree_view_column_get_type")
  (return-type "GType")
)

(define-function gtk_tree_view_column_new
  (c-name "gtk_tree_view_column_new")
  (is-constructor-of "GtkTreeViewColumn")
  (return-type "GtkTreeViewColumn*")
)

(define-function gtk_tree_view_column_new_with_area
  (c-name "gtk_tree_view_column_new_with_area")
  (return-type "GtkTreeViewColumn*")
  (parameters
    '("GtkCellArea*" "area")
  )
)

(define-function gtk_tree_view_column_new_with_attributes
  (c-name "gtk_tree_view_column_new_with_attributes")
  (return-type "GtkTreeViewColumn*")
  (parameters
    '("const-gchar*" "title")
    '("GtkCellRenderer*" "cell")
  )
  (varargs #t)
)

(define-method pack_start
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_pack_start")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell")
    '("gboolean" "expand")
  )
)

(define-method pack_end
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_pack_end")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell")
    '("gboolean" "expand")
  )
)

(define-method clear
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_clear")
  (return-type "none")
)

(define-method add_attribute
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_add_attribute")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell_renderer")
    '("const-gchar*" "attribute")
    '("gint" "column")
  )
)

(define-method set_attributes
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_attributes")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell_renderer")
  )
  (varargs #t)
)

(define-method set_cell_data_func
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_cell_data_func")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell_renderer")
    '("GtkTreeCellDataFunc" "func")
    '("gpointer" "func_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method clear_attributes
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_clear_attributes")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell_renderer")
  )
)

(define-method set_spacing
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_spacing")
  (return-type "none")
  (parameters
    '("gint" "spacing")
  )
)

(define-method get_spacing
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_spacing")
  (return-type "gint")
)

(define-method set_visible
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_visible")
  (return-type "none")
  (parameters
    '("gboolean" "visible")
  )
)

(define-method get_visible
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_visible")
  (return-type "gboolean")
)

(define-method set_resizable
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_resizable")
  (return-type "none")
  (parameters
    '("gboolean" "resizable")
  )
)

(define-method get_resizable
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_resizable")
  (return-type "gboolean")
)

(define-method set_sizing
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_sizing")
  (return-type "none")
  (parameters
    '("GtkTreeViewColumnSizing" "type")
  )
)

(define-method get_sizing
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_sizing")
  (return-type "GtkTreeViewColumnSizing")
)

(define-method get_x_offset
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_x_offset")
  (return-type "gint")
)

(define-method get_width
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_width")
  (return-type "gint")
)

(define-method get_fixed_width
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_fixed_width")
  (return-type "gint")
)

(define-method set_fixed_width
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_fixed_width")
  (return-type "none")
  (parameters
    '("gint" "fixed_width")
  )
)

(define-method set_min_width
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_min_width")
  (return-type "none")
  (parameters
    '("gint" "min_width")
  )
)

(define-method get_min_width
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_min_width")
  (return-type "gint")
)

(define-method set_max_width
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_max_width")
  (return-type "none")
  (parameters
    '("gint" "max_width")
  )
)

(define-method get_max_width
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_max_width")
  (return-type "gint")
)

(define-method clicked
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_clicked")
  (return-type "none")
)

(define-method set_title
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_title")
  (return-type "none")
  (parameters
    '("const-gchar*" "title")
  )
)

(define-method get_title
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_title")
  (return-type "const-gchar*")
)

(define-method set_expand
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_expand")
  (return-type "none")
  (parameters
    '("gboolean" "expand")
  )
)

(define-method get_expand
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_expand")
  (return-type "gboolean")
)

(define-method set_clickable
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_clickable")
  (return-type "none")
  (parameters
    '("gboolean" "clickable")
  )
)

(define-method get_clickable
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_clickable")
  (return-type "gboolean")
)

(define-method set_widget
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_widget")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method get_widget
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_widget")
  (return-type "GtkWidget*")
)

(define-method set_alignment
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_alignment")
  (return-type "none")
  (parameters
    '("gfloat" "xalign")
  )
)

(define-method get_alignment
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_alignment")
  (return-type "gfloat")
)

(define-method set_reorderable
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_reorderable")
  (return-type "none")
  (parameters
    '("gboolean" "reorderable")
  )
)

(define-method get_reorderable
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_reorderable")
  (return-type "gboolean")
)

(define-method set_sort_column_id
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_sort_column_id")
  (return-type "none")
  (parameters
    '("gint" "sort_column_id")
  )
)

(define-method get_sort_column_id
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_sort_column_id")
  (return-type "gint")
)

(define-method set_sort_indicator
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_sort_indicator")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_sort_indicator
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_sort_indicator")
  (return-type "gboolean")
)

(define-method set_sort_order
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_set_sort_order")
  (return-type "none")
  (parameters
    '("GtkSortType" "order")
  )
)

(define-method get_sort_order
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_sort_order")
  (return-type "GtkSortType")
)

(define-method cell_set_cell_data
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_cell_set_cell_data")
  (return-type "none")
  (parameters
    '("GtkTreeModel*" "tree_model")
    '("GtkTreeIter*" "iter")
    '("gboolean" "is_expander")
    '("gboolean" "is_expanded")
  )
)

(define-method cell_get_size
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_cell_get_size")
  (return-type "none")
  (parameters
    '("const-GdkRectangle*" "cell_area")
    '("gint*" "x_offset")
    '("gint*" "y_offset")
    '("gint*" "width")
    '("gint*" "height")
  )
)

(define-method cell_is_visible
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_cell_is_visible")
  (return-type "gboolean")
)

(define-method focus_cell
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_focus_cell")
  (return-type "none")
  (parameters
    '("GtkCellRenderer*" "cell")
  )
)

(define-method cell_get_position
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_cell_get_position")
  (return-type "gboolean")
  (parameters
    '("GtkCellRenderer*" "cell_renderer")
    '("gint*" "x_offset")
    '("gint*" "width")
  )
)

(define-method queue_resize
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_queue_resize")
  (return-type "none")
)

(define-method get_tree_view
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_tree_view")
  (return-type "GtkWidget*")
)

(define-method get_button
  (of-object "GtkTreeViewColumn")
  (c-name "gtk_tree_view_column_get_button")
  (return-type "GtkWidget*")
)



;; From gtktreeview.h

(define-function gtk_tree_view_get_type
  (c-name "gtk_tree_view_get_type")
  (return-type "GType")
)

(define-function gtk_tree_view_new
  (c-name "gtk_tree_view_new")
  (is-constructor-of "GtkTreeView")
  (return-type "GtkWidget*")
)

(define-function gtk_tree_view_new_with_model
  (c-name "gtk_tree_view_new_with_model")
  (return-type "GtkWidget*")
  (parameters
    '("GtkTreeModel*" "model")
  )
)

(define-method get_model
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_model")
  (return-type "GtkTreeModel*")
)

(define-method set_model
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_model")
  (return-type "none")
  (parameters
    '("GtkTreeModel*" "model")
  )
)

(define-method get_selection
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_selection")
  (return-type "GtkTreeSelection*")
)

(define-method get_hadjustment
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_hadjustment")
  (return-type "GtkAdjustment*")
)

(define-method set_hadjustment
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_hadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method get_vadjustment
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_vadjustment")
  (return-type "GtkAdjustment*")
)

(define-method set_vadjustment
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_vadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method get_headers_visible
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_headers_visible")
  (return-type "gboolean")
)

(define-method set_headers_visible
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_headers_visible")
  (return-type "none")
  (parameters
    '("gboolean" "headers_visible")
  )
)

(define-method columns_autosize
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_columns_autosize")
  (return-type "none")
)

(define-method get_headers_clickable
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_headers_clickable")
  (return-type "gboolean")
)

(define-method set_headers_clickable
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_headers_clickable")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method set_rules_hint
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_rules_hint")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_rules_hint
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_rules_hint")
  (return-type "gboolean")
)

(define-method get_activate_on_single_click
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_activate_on_single_click")
  (return-type "gboolean")
)

(define-method set_activate_on_single_click
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_activate_on_single_click")
  (return-type "none")
  (parameters
    '("gboolean" "single")
  )
)

(define-method append_column
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_append_column")
  (return-type "gint")
  (parameters
    '("GtkTreeViewColumn*" "column")
  )
)

(define-method remove_column
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_remove_column")
  (return-type "gint")
  (parameters
    '("GtkTreeViewColumn*" "column")
  )
)

(define-method insert_column
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_insert_column")
  (return-type "gint")
  (parameters
    '("GtkTreeViewColumn*" "column")
    '("gint" "position")
  )
)

(define-method insert_column_with_attributes
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_insert_column_with_attributes")
  (return-type "gint")
  (parameters
    '("gint" "position")
    '("const-gchar*" "title")
    '("GtkCellRenderer*" "cell")
  )
  (varargs #t)
)

(define-method insert_column_with_data_func
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_insert_column_with_data_func")
  (return-type "gint")
  (parameters
    '("gint" "position")
    '("const-gchar*" "title")
    '("GtkCellRenderer*" "cell")
    '("GtkTreeCellDataFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "dnotify")
  )
)

(define-method get_n_columns
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_n_columns")
  (return-type "guint")
)

(define-method get_column
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_column")
  (return-type "GtkTreeViewColumn*")
  (parameters
    '("gint" "n")
  )
)

(define-method get_columns
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_columns")
  (return-type "GList*")
)

(define-method move_column_after
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_move_column_after")
  (return-type "none")
  (parameters
    '("GtkTreeViewColumn*" "column")
    '("GtkTreeViewColumn*" "base_column")
  )
)

(define-method set_expander_column
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_expander_column")
  (return-type "none")
  (parameters
    '("GtkTreeViewColumn*" "column")
  )
)

(define-method get_expander_column
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_expander_column")
  (return-type "GtkTreeViewColumn*")
)

(define-method set_column_drag_function
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_column_drag_function")
  (return-type "none")
  (parameters
    '("GtkTreeViewColumnDropFunc" "func")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method scroll_to_point
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_scroll_to_point")
  (return-type "none")
  (parameters
    '("gint" "tree_x")
    '("gint" "tree_y")
  )
)

(define-method scroll_to_cell
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_scroll_to_cell")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkTreeViewColumn*" "column")
    '("gboolean" "use_align")
    '("gfloat" "row_align")
    '("gfloat" "col_align")
  )
)

(define-method row_activated
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_row_activated")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkTreeViewColumn*" "column")
  )
)

(define-method expand_all
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_expand_all")
  (return-type "none")
)

(define-method collapse_all
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_collapse_all")
  (return-type "none")
)

(define-method expand_to_path
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_expand_to_path")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method expand_row
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_expand_row")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "path")
    '("gboolean" "open_all")
  )
)

(define-method collapse_row
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_collapse_row")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method map_expanded_rows
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_map_expanded_rows")
  (return-type "none")
  (parameters
    '("GtkTreeViewMappingFunc" "func")
    '("gpointer" "data")
  )
)

(define-method row_expanded
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_row_expanded")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method set_reorderable
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_reorderable")
  (return-type "none")
  (parameters
    '("gboolean" "reorderable")
  )
)

(define-method get_reorderable
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_reorderable")
  (return-type "gboolean")
)

(define-method set_cursor
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_cursor")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkTreeViewColumn*" "focus_column")
    '("gboolean" "start_editing")
  )
)

(define-method set_cursor_on_cell
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_cursor_on_cell")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkTreeViewColumn*" "focus_column")
    '("GtkCellRenderer*" "focus_cell")
    '("gboolean" "start_editing")
  )
)

(define-method get_cursor
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_cursor")
  (return-type "none")
  (parameters
    '("GtkTreePath**" "path")
    '("GtkTreeViewColumn**" "focus_column")
  )
)

(define-method get_bin_window
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_bin_window")
  (return-type "GdkWindow*")
)

(define-method get_path_at_pos
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_path_at_pos")
  (return-type "gboolean")
  (parameters
    '("gint" "x")
    '("gint" "y")
    '("GtkTreePath**" "path")
    '("GtkTreeViewColumn**" "column")
    '("gint*" "cell_x")
    '("gint*" "cell_y")
  )
)

(define-method get_cell_area
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_cell_area")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkTreeViewColumn*" "column")
    '("GdkRectangle*" "rect")
  )
)

(define-method get_background_area
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_background_area")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkTreeViewColumn*" "column")
    '("GdkRectangle*" "rect")
  )
)

(define-method get_visible_rect
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_visible_rect")
  (return-type "none")
  (parameters
    '("GdkRectangle*" "visible_rect")
  )
)

(define-method get_visible_range
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_visible_range")
  (return-type "gboolean")
  (parameters
    '("GtkTreePath**" "start_path")
    '("GtkTreePath**" "end_path")
  )
)

(define-method is_blank_at_pos
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_is_blank_at_pos")
  (return-type "gboolean")
  (parameters
    '("gint" "x")
    '("gint" "y")
    '("GtkTreePath**" "path")
    '("GtkTreeViewColumn**" "column")
    '("gint*" "cell_x")
    '("gint*" "cell_y")
  )
)

(define-method enable_model_drag_source
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_enable_model_drag_source")
  (return-type "none")
  (parameters
    '("GdkModifierType" "start_button_mask")
    '("const-GtkTargetEntry*" "targets")
    '("gint" "n_targets")
    '("GdkDragAction" "actions")
  )
)

(define-method enable_model_drag_dest
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_enable_model_drag_dest")
  (return-type "none")
  (parameters
    '("const-GtkTargetEntry*" "targets")
    '("gint" "n_targets")
    '("GdkDragAction" "actions")
  )
)

(define-method unset_rows_drag_source
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_unset_rows_drag_source")
  (return-type "none")
)

(define-method unset_rows_drag_dest
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_unset_rows_drag_dest")
  (return-type "none")
)

(define-method set_drag_dest_row
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_drag_dest_row")
  (return-type "none")
  (parameters
    '("GtkTreePath*" "path")
    '("GtkTreeViewDropPosition" "pos")
  )
)

(define-method get_drag_dest_row
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_drag_dest_row")
  (return-type "none")
  (parameters
    '("GtkTreePath**" "path")
    '("GtkTreeViewDropPosition*" "pos")
  )
)

(define-method get_dest_row_at_pos
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_dest_row_at_pos")
  (return-type "gboolean")
  (parameters
    '("gint" "drag_x")
    '("gint" "drag_y")
    '("GtkTreePath**" "path")
    '("GtkTreeViewDropPosition*" "pos")
  )
)

(define-method create_row_drag_icon
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_create_row_drag_icon")
  (return-type "cairo_surface_t*")
  (parameters
    '("GtkTreePath*" "path")
  )
)

(define-method set_enable_search
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_enable_search")
  (return-type "none")
  (parameters
    '("gboolean" "enable_search")
  )
)

(define-method get_enable_search
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_enable_search")
  (return-type "gboolean")
)

(define-method get_search_column
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_search_column")
  (return-type "gint")
)

(define-method set_search_column
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_search_column")
  (return-type "none")
  (parameters
    '("gint" "column")
  )
)

(define-method get_search_equal_func
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_search_equal_func")
  (return-type "GtkTreeViewSearchEqualFunc")
)

(define-method set_search_equal_func
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_search_equal_func")
  (return-type "none")
  (parameters
    '("GtkTreeViewSearchEqualFunc" "search_equal_func")
    '("gpointer" "search_user_data")
    '("GDestroyNotify" "search_destroy")
  )
)

(define-method get_search_entry
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_search_entry")
  (return-type "GtkEntry*")
)

(define-method set_search_entry
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_search_entry")
  (return-type "none")
  (parameters
    '("GtkEntry*" "entry")
  )
)

(define-method get_search_position_func
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_search_position_func")
  (return-type "GtkTreeViewSearchPositionFunc")
)

(define-method set_search_position_func
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_search_position_func")
  (return-type "none")
  (parameters
    '("GtkTreeViewSearchPositionFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method convert_widget_to_tree_coords
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_convert_widget_to_tree_coords")
  (return-type "none")
  (parameters
    '("gint" "wx")
    '("gint" "wy")
    '("gint*" "tx")
    '("gint*" "ty")
  )
)

(define-method convert_tree_to_widget_coords
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_convert_tree_to_widget_coords")
  (return-type "none")
  (parameters
    '("gint" "tx")
    '("gint" "ty")
    '("gint*" "wx")
    '("gint*" "wy")
  )
)

(define-method convert_widget_to_bin_window_coords
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_convert_widget_to_bin_window_coords")
  (return-type "none")
  (parameters
    '("gint" "wx")
    '("gint" "wy")
    '("gint*" "bx")
    '("gint*" "by")
  )
)

(define-method convert_bin_window_to_widget_coords
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_convert_bin_window_to_widget_coords")
  (return-type "none")
  (parameters
    '("gint" "bx")
    '("gint" "by")
    '("gint*" "wx")
    '("gint*" "wy")
  )
)

(define-method convert_tree_to_bin_window_coords
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_convert_tree_to_bin_window_coords")
  (return-type "none")
  (parameters
    '("gint" "tx")
    '("gint" "ty")
    '("gint*" "bx")
    '("gint*" "by")
  )
)

(define-method convert_bin_window_to_tree_coords
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_convert_bin_window_to_tree_coords")
  (return-type "none")
  (parameters
    '("gint" "bx")
    '("gint" "by")
    '("gint*" "tx")
    '("gint*" "ty")
  )
)

(define-method set_destroy_count_func
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_destroy_count_func")
  (return-type "none")
  (parameters
    '("GtkTreeDestroyCountFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method set_fixed_height_mode
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_fixed_height_mode")
  (return-type "none")
  (parameters
    '("gboolean" "enable")
  )
)

(define-method get_fixed_height_mode
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_fixed_height_mode")
  (return-type "gboolean")
)

(define-method set_hover_selection
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_hover_selection")
  (return-type "none")
  (parameters
    '("gboolean" "hover")
  )
)

(define-method get_hover_selection
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_hover_selection")
  (return-type "gboolean")
)

(define-method set_hover_expand
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_hover_expand")
  (return-type "none")
  (parameters
    '("gboolean" "expand")
  )
)

(define-method get_hover_expand
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_hover_expand")
  (return-type "gboolean")
)

(define-method set_rubber_banding
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_rubber_banding")
  (return-type "none")
  (parameters
    '("gboolean" "enable")
  )
)

(define-method get_rubber_banding
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_rubber_banding")
  (return-type "gboolean")
)

(define-method is_rubber_banding_active
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_is_rubber_banding_active")
  (return-type "gboolean")
)

(define-method get_row_separator_func
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_row_separator_func")
  (return-type "GtkTreeViewRowSeparatorFunc")
)

(define-method set_row_separator_func
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_row_separator_func")
  (return-type "none")
  (parameters
    '("GtkTreeViewRowSeparatorFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method get_grid_lines
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_grid_lines")
  (return-type "GtkTreeViewGridLines")
)

(define-method set_grid_lines
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_grid_lines")
  (return-type "none")
  (parameters
    '("GtkTreeViewGridLines" "grid_lines")
  )
)

(define-method get_enable_tree_lines
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_enable_tree_lines")
  (return-type "gboolean")
)

(define-method set_enable_tree_lines
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_enable_tree_lines")
  (return-type "none")
  (parameters
    '("gboolean" "enabled")
  )
)

(define-method set_show_expanders
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_show_expanders")
  (return-type "none")
  (parameters
    '("gboolean" "enabled")
  )
)

(define-method get_show_expanders
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_show_expanders")
  (return-type "gboolean")
)

(define-method set_level_indentation
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_level_indentation")
  (return-type "none")
  (parameters
    '("gint" "indentation")
  )
)

(define-method get_level_indentation
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_level_indentation")
  (return-type "gint")
)

(define-method set_tooltip_row
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_tooltip_row")
  (return-type "none")
  (parameters
    '("GtkTooltip*" "tooltip")
    '("GtkTreePath*" "path")
  )
)

(define-method set_tooltip_cell
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_tooltip_cell")
  (return-type "none")
  (parameters
    '("GtkTooltip*" "tooltip")
    '("GtkTreePath*" "path")
    '("GtkTreeViewColumn*" "column")
    '("GtkCellRenderer*" "cell")
  )
)

(define-method get_tooltip_context
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_tooltip_context")
  (return-type "gboolean")
  (parameters
    '("gint*" "x")
    '("gint*" "y")
    '("gboolean" "keyboard_tip")
    '("GtkTreeModel**" "model")
    '("GtkTreePath**" "path")
    '("GtkTreeIter*" "iter")
  )
)

(define-method set_tooltip_column
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_set_tooltip_column")
  (return-type "none")
  (parameters
    '("gint" "column")
  )
)

(define-method get_tooltip_column
  (of-object "GtkTreeView")
  (c-name "gtk_tree_view_get_tooltip_column")
  (return-type "gint")
)



;; From gtktypebuiltins.h

(define-function gtk_license_get_type
  (c-name "gtk_license_get_type")
  (return-type "GType")
)

(define-function gtk_accel_flags_get_type
  (c-name "gtk_accel_flags_get_type")
  (return-type "GType")
)

(define-function gtk_application_inhibit_flags_get_type
  (c-name "gtk_application_inhibit_flags_get_type")
  (return-type "GType")
)

(define-function gtk_assistant_page_type_get_type
  (c-name "gtk_assistant_page_type_get_type")
  (return-type "GType")
)

(define-function gtk_button_box_style_get_type
  (c-name "gtk_button_box_style_get_type")
  (return-type "GType")
)

(define-function gtk_builder_error_get_type
  (c-name "gtk_builder_error_get_type")
  (return-type "GType")
)

(define-function gtk_calendar_display_options_get_type
  (c-name "gtk_calendar_display_options_get_type")
  (return-type "GType")
)

(define-function gtk_cell_renderer_state_get_type
  (c-name "gtk_cell_renderer_state_get_type")
  (return-type "GType")
)

(define-function gtk_cell_renderer_mode_get_type
  (c-name "gtk_cell_renderer_mode_get_type")
  (return-type "GType")
)

(define-function gtk_cell_renderer_accel_mode_get_type
  (c-name "gtk_cell_renderer_accel_mode_get_type")
  (return-type "GType")
)

(define-function gtk_resize_mode_get_type
  (c-name "gtk_resize_mode_get_type")
  (return-type "GType")
)

(define-function gtk_css_provider_error_get_type
  (c-name "gtk_css_provider_error_get_type")
  (return-type "GType")
)

(define-function gtk_css_section_type_get_type
  (c-name "gtk_css_section_type_get_type")
  (return-type "GType")
)

(define-function gtk_debug_flag_get_type
  (c-name "gtk_debug_flag_get_type")
  (return-type "GType")
)

(define-function gtk_dialog_flags_get_type
  (c-name "gtk_dialog_flags_get_type")
  (return-type "GType")
)

(define-function gtk_response_type_get_type
  (c-name "gtk_response_type_get_type")
  (return-type "GType")
)

(define-function gtk_dest_defaults_get_type
  (c-name "gtk_dest_defaults_get_type")
  (return-type "GType")
)

(define-function gtk_target_flags_get_type
  (c-name "gtk_target_flags_get_type")
  (return-type "GType")
)

(define-function gtk_entry_icon_position_get_type
  (c-name "gtk_entry_icon_position_get_type")
  (return-type "GType")
)

(define-function gtk_align_get_type
  (c-name "gtk_align_get_type")
  (return-type "GType")
)

(define-function gtk_arrow_type_get_type
  (c-name "gtk_arrow_type_get_type")
  (return-type "GType")
)

(define-function gtk_baseline_position_get_type
  (c-name "gtk_baseline_position_get_type")
  (return-type "GType")
)

(define-function gtk_delete_type_get_type
  (c-name "gtk_delete_type_get_type")
  (return-type "GType")
)

(define-function gtk_direction_type_get_type
  (c-name "gtk_direction_type_get_type")
  (return-type "GType")
)

(define-function gtk_icon_size_get_type
  (c-name "gtk_icon_size_get_type")
  (return-type "GType")
)

(define-function gtk_sensitivity_type_get_type
  (c-name "gtk_sensitivity_type_get_type")
  (return-type "GType")
)

(define-function gtk_text_direction_get_type
  (c-name "gtk_text_direction_get_type")
  (return-type "GType")
)

(define-function gtk_justification_get_type
  (c-name "gtk_justification_get_type")
  (return-type "GType")
)

(define-function gtk_menu_direction_type_get_type
  (c-name "gtk_menu_direction_type_get_type")
  (return-type "GType")
)

(define-function gtk_message_type_get_type
  (c-name "gtk_message_type_get_type")
  (return-type "GType")
)

(define-function gtk_movement_step_get_type
  (c-name "gtk_movement_step_get_type")
  (return-type "GType")
)

(define-function gtk_scroll_step_get_type
  (c-name "gtk_scroll_step_get_type")
  (return-type "GType")
)

(define-function gtk_orientation_get_type
  (c-name "gtk_orientation_get_type")
  (return-type "GType")
)

(define-function gtk_pack_type_get_type
  (c-name "gtk_pack_type_get_type")
  (return-type "GType")
)

(define-function gtk_position_type_get_type
  (c-name "gtk_position_type_get_type")
  (return-type "GType")
)

(define-function gtk_relief_style_get_type
  (c-name "gtk_relief_style_get_type")
  (return-type "GType")
)

(define-function gtk_scroll_type_get_type
  (c-name "gtk_scroll_type_get_type")
  (return-type "GType")
)

(define-function gtk_selection_mode_get_type
  (c-name "gtk_selection_mode_get_type")
  (return-type "GType")
)

(define-function gtk_shadow_type_get_type
  (c-name "gtk_shadow_type_get_type")
  (return-type "GType")
)

(define-function gtk_state_type_get_type
  (c-name "gtk_state_type_get_type")
  (return-type "GType")
)

(define-function gtk_toolbar_style_get_type
  (c-name "gtk_toolbar_style_get_type")
  (return-type "GType")
)

(define-function gtk_wrap_mode_get_type
  (c-name "gtk_wrap_mode_get_type")
  (return-type "GType")
)

(define-function gtk_sort_type_get_type
  (c-name "gtk_sort_type_get_type")
  (return-type "GType")
)

(define-function gtk_im_preedit_style_get_type
  (c-name "gtk_im_preedit_style_get_type")
  (return-type "GType")
)

(define-function gtk_im_status_style_get_type
  (c-name "gtk_im_status_style_get_type")
  (return-type "GType")
)

(define-function gtk_pack_direction_get_type
  (c-name "gtk_pack_direction_get_type")
  (return-type "GType")
)

(define-function gtk_print_pages_get_type
  (c-name "gtk_print_pages_get_type")
  (return-type "GType")
)

(define-function gtk_page_set_get_type
  (c-name "gtk_page_set_get_type")
  (return-type "GType")
)

(define-function gtk_number_up_layout_get_type
  (c-name "gtk_number_up_layout_get_type")
  (return-type "GType")
)

(define-function gtk_page_orientation_get_type
  (c-name "gtk_page_orientation_get_type")
  (return-type "GType")
)

(define-function gtk_print_quality_get_type
  (c-name "gtk_print_quality_get_type")
  (return-type "GType")
)

(define-function gtk_print_duplex_get_type
  (c-name "gtk_print_duplex_get_type")
  (return-type "GType")
)

(define-function gtk_unit_get_type
  (c-name "gtk_unit_get_type")
  (return-type "GType")
)

(define-function gtk_tree_view_grid_lines_get_type
  (c-name "gtk_tree_view_grid_lines_get_type")
  (return-type "GType")
)

(define-function gtk_drag_result_get_type
  (c-name "gtk_drag_result_get_type")
  (return-type "GType")
)

(define-function gtk_size_group_mode_get_type
  (c-name "gtk_size_group_mode_get_type")
  (return-type "GType")
)

(define-function gtk_size_request_mode_get_type
  (c-name "gtk_size_request_mode_get_type")
  (return-type "GType")
)

(define-function gtk_scrollable_policy_get_type
  (c-name "gtk_scrollable_policy_get_type")
  (return-type "GType")
)

(define-function gtk_state_flags_get_type
  (c-name "gtk_state_flags_get_type")
  (return-type "GType")
)

(define-function gtk_region_flags_get_type
  (c-name "gtk_region_flags_get_type")
  (return-type "GType")
)

(define-function gtk_junction_sides_get_type
  (c-name "gtk_junction_sides_get_type")
  (return-type "GType")
)

(define-function gtk_border_style_get_type
  (c-name "gtk_border_style_get_type")
  (return-type "GType")
)

(define-function gtk_level_bar_mode_get_type
  (c-name "gtk_level_bar_mode_get_type")
  (return-type "GType")
)

(define-function gtk_input_purpose_get_type
  (c-name "gtk_input_purpose_get_type")
  (return-type "GType")
)

(define-function gtk_input_hints_get_type
  (c-name "gtk_input_hints_get_type")
  (return-type "GType")
)

(define-function gtk_propagation_phase_get_type
  (c-name "gtk_propagation_phase_get_type")
  (return-type "GType")
)

(define-function gtk_event_sequence_state_get_type
  (c-name "gtk_event_sequence_state_get_type")
  (return-type "GType")
)

(define-function gtk_pan_direction_get_type
  (c-name "gtk_pan_direction_get_type")
  (return-type "GType")
)

(define-function gtk_file_chooser_action_get_type
  (c-name "gtk_file_chooser_action_get_type")
  (return-type "GType")
)

(define-function gtk_file_chooser_confirmation_get_type
  (c-name "gtk_file_chooser_confirmation_get_type")
  (return-type "GType")
)

(define-function gtk_file_chooser_error_get_type
  (c-name "gtk_file_chooser_error_get_type")
  (return-type "GType")
)

(define-function gtk_file_filter_flags_get_type
  (c-name "gtk_file_filter_flags_get_type")
  (return-type "GType")
)

(define-function gtk_icon_lookup_flags_get_type
  (c-name "gtk_icon_lookup_flags_get_type")
  (return-type "GType")
)

(define-function gtk_icon_theme_error_get_type
  (c-name "gtk_icon_theme_error_get_type")
  (return-type "GType")
)

(define-function gtk_icon_view_drop_position_get_type
  (c-name "gtk_icon_view_drop_position_get_type")
  (return-type "GType")
)

(define-function gtk_image_type_get_type
  (c-name "gtk_image_type_get_type")
  (return-type "GType")
)

(define-function gtk_arrow_placement_get_type
  (c-name "gtk_arrow_placement_get_type")
  (return-type "GType")
)

(define-function gtk_buttons_type_get_type
  (c-name "gtk_buttons_type_get_type")
  (return-type "GType")
)

(define-function gtk_button_role_get_type
  (c-name "gtk_button_role_get_type")
  (return-type "GType")
)

(define-function gtk_notebook_tab_get_type
  (c-name "gtk_notebook_tab_get_type")
  (return-type "GType")
)

(define-function gtk_places_open_flags_get_type
  (c-name "gtk_places_open_flags_get_type")
  (return-type "GType")
)

(define-function gtk_print_status_get_type
  (c-name "gtk_print_status_get_type")
  (return-type "GType")
)

(define-function gtk_print_operation_result_get_type
  (c-name "gtk_print_operation_result_get_type")
  (return-type "GType")
)

(define-function gtk_print_operation_action_get_type
  (c-name "gtk_print_operation_action_get_type")
  (return-type "GType")
)

(define-function gtk_print_error_get_type
  (c-name "gtk_print_error_get_type")
  (return-type "GType")
)

(define-function gtk_recent_sort_type_get_type
  (c-name "gtk_recent_sort_type_get_type")
  (return-type "GType")
)

(define-function gtk_recent_chooser_error_get_type
  (c-name "gtk_recent_chooser_error_get_type")
  (return-type "GType")
)

(define-function gtk_recent_filter_flags_get_type
  (c-name "gtk_recent_filter_flags_get_type")
  (return-type "GType")
)

(define-function gtk_recent_manager_error_get_type
  (c-name "gtk_recent_manager_error_get_type")
  (return-type "GType")
)

(define-function gtk_revealer_transition_type_get_type
  (c-name "gtk_revealer_transition_type_get_type")
  (return-type "GType")
)

(define-function gtk_corner_type_get_type
  (c-name "gtk_corner_type_get_type")
  (return-type "GType")
)

(define-function gtk_policy_type_get_type
  (c-name "gtk_policy_type_get_type")
  (return-type "GType")
)

(define-function gtk_spin_button_update_policy_get_type
  (c-name "gtk_spin_button_update_policy_get_type")
  (return-type "GType")
)

(define-function gtk_spin_type_get_type
  (c-name "gtk_spin_type_get_type")
  (return-type "GType")
)

(define-function gtk_stack_transition_type_get_type
  (c-name "gtk_stack_transition_type_get_type")
  (return-type "GType")
)

(define-function gtk_text_buffer_target_info_get_type
  (c-name "gtk_text_buffer_target_info_get_type")
  (return-type "GType")
)

(define-function gtk_text_search_flags_get_type
  (c-name "gtk_text_search_flags_get_type")
  (return-type "GType")
)

(define-function gtk_text_window_type_get_type
  (c-name "gtk_text_window_type_get_type")
  (return-type "GType")
)

(define-function gtk_text_view_layer_get_type
  (c-name "gtk_text_view_layer_get_type")
  (return-type "GType")
)

(define-function gtk_text_extend_selection_get_type
  (c-name "gtk_text_extend_selection_get_type")
  (return-type "GType")
)

(define-function gtk_toolbar_space_style_get_type
  (c-name "gtk_toolbar_space_style_get_type")
  (return-type "GType")
)

(define-function gtk_tool_palette_drag_targets_get_type
  (c-name "gtk_tool_palette_drag_targets_get_type")
  (return-type "GType")
)

(define-function gtk_tree_model_flags_get_type
  (c-name "gtk_tree_model_flags_get_type")
  (return-type "GType")
)

(define-function gtk_tree_view_drop_position_get_type
  (c-name "gtk_tree_view_drop_position_get_type")
  (return-type "GType")
)

(define-function gtk_tree_view_column_sizing_get_type
  (c-name "gtk_tree_view_column_sizing_get_type")
  (return-type "GType")
)

(define-function gtk_widget_help_type_get_type
  (c-name "gtk_widget_help_type_get_type")
  (return-type "GType")
)

(define-function gtk_window_type_get_type
  (c-name "gtk_window_type_get_type")
  (return-type "GType")
)

(define-function gtk_window_position_get_type
  (c-name "gtk_window_position_get_type")
  (return-type "GType")
)

(define-function gtk_rc_flags_get_type
  (c-name "gtk_rc_flags_get_type")
  (return-type "GType")
)

(define-function gtk_rc_token_type_get_type
  (c-name "gtk_rc_token_type_get_type")
  (return-type "GType")
)

(define-function gtk_path_priority_type_get_type
  (c-name "gtk_path_priority_type_get_type")
  (return-type "GType")
)

(define-function gtk_path_type_get_type
  (c-name "gtk_path_type_get_type")
  (return-type "GType")
)

(define-function gtk_expander_style_get_type
  (c-name "gtk_expander_style_get_type")
  (return-type "GType")
)

(define-function gtk_attach_options_get_type
  (c-name "gtk_attach_options_get_type")
  (return-type "GType")
)

(define-function gtk_ui_manager_item_type_get_type
  (c-name "gtk_ui_manager_item_type_get_type")
  (return-type "GType")
)



;; From gtktypes.h



;; From gtkunixprint-autocleanups.h



;; From gtkunixprint.h



;; From gtkversion.h



;; From gtkviewport.h

(define-function gtk_viewport_get_type
  (c-name "gtk_viewport_get_type")
  (return-type "GType")
)

(define-function gtk_viewport_new
  (c-name "gtk_viewport_new")
  (is-constructor-of "GtkViewport")
  (return-type "GtkWidget*")
  (parameters
    '("GtkAdjustment*" "hadjustment")
    '("GtkAdjustment*" "vadjustment")
  )
)

(define-method get_hadjustment
  (of-object "GtkViewport")
  (c-name "gtk_viewport_get_hadjustment")
  (return-type "GtkAdjustment*")
)

(define-method get_vadjustment
  (of-object "GtkViewport")
  (c-name "gtk_viewport_get_vadjustment")
  (return-type "GtkAdjustment*")
)

(define-method set_hadjustment
  (of-object "GtkViewport")
  (c-name "gtk_viewport_set_hadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method set_vadjustment
  (of-object "GtkViewport")
  (c-name "gtk_viewport_set_vadjustment")
  (return-type "none")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-method set_shadow_type
  (of-object "GtkViewport")
  (c-name "gtk_viewport_set_shadow_type")
  (return-type "none")
  (parameters
    '("GtkShadowType" "type")
  )
)

(define-method get_shadow_type
  (of-object "GtkViewport")
  (c-name "gtk_viewport_get_shadow_type")
  (return-type "GtkShadowType")
)

(define-method get_bin_window
  (of-object "GtkViewport")
  (c-name "gtk_viewport_get_bin_window")
  (return-type "GdkWindow*")
)

(define-method get_view_window
  (of-object "GtkViewport")
  (c-name "gtk_viewport_get_view_window")
  (return-type "GdkWindow*")
)



;; From gtkvolumebutton.h

(define-function gtk_volume_button_get_type
  (c-name "gtk_volume_button_get_type")
  (return-type "GType")
)

(define-function gtk_volume_button_new
  (c-name "gtk_volume_button_new")
  (is-constructor-of "GtkVolumeButton")
  (return-type "GtkWidget*")
)



;; From gtkwidget.h

(define-function gtk_widget_get_type
  (c-name "gtk_widget_get_type")
  (return-type "GType")
)

(define-function gtk_widget_new
  (c-name "gtk_widget_new")
  (is-constructor-of "GtkWidget")
  (return-type "GtkWidget*")
  (parameters
    '("GType" "type")
    '("const-gchar*" "first_property_name")
  )
  (varargs #t)
)

(define-method destroy
  (of-object "GtkWidget")
  (c-name "gtk_widget_destroy")
  (return-type "none")
)

(define-method destroyed
  (of-object "GtkWidget")
  (c-name "gtk_widget_destroyed")
  (return-type "none")
  (parameters
    '("GtkWidget**" "widget_pointer")
  )
)

(define-method unparent
  (of-object "GtkWidget")
  (c-name "gtk_widget_unparent")
  (return-type "none")
)

(define-method show
  (of-object "GtkWidget")
  (c-name "gtk_widget_show")
  (return-type "none")
)

(define-method hide
  (of-object "GtkWidget")
  (c-name "gtk_widget_hide")
  (return-type "none")
)

(define-method show_now
  (of-object "GtkWidget")
  (c-name "gtk_widget_show_now")
  (return-type "none")
)

(define-method show_all
  (of-object "GtkWidget")
  (c-name "gtk_widget_show_all")
  (return-type "none")
)

(define-method set_no_show_all
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_no_show_all")
  (return-type "none")
  (parameters
    '("gboolean" "no_show_all")
  )
)

(define-method get_no_show_all
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_no_show_all")
  (return-type "gboolean")
)

(define-method map
  (of-object "GtkWidget")
  (c-name "gtk_widget_map")
  (return-type "none")
)

(define-method unmap
  (of-object "GtkWidget")
  (c-name "gtk_widget_unmap")
  (return-type "none")
)

(define-method realize
  (of-object "GtkWidget")
  (c-name "gtk_widget_realize")
  (return-type "none")
)

(define-method unrealize
  (of-object "GtkWidget")
  (c-name "gtk_widget_unrealize")
  (return-type "none")
)

(define-method draw
  (of-object "GtkWidget")
  (c-name "gtk_widget_draw")
  (return-type "none")
  (parameters
    '("cairo_t*" "cr")
  )
)

(define-method queue_draw
  (of-object "GtkWidget")
  (c-name "gtk_widget_queue_draw")
  (return-type "none")
)

(define-method queue_draw_area
  (of-object "GtkWidget")
  (c-name "gtk_widget_queue_draw_area")
  (return-type "none")
  (parameters
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-method queue_draw_region
  (of-object "GtkWidget")
  (c-name "gtk_widget_queue_draw_region")
  (return-type "none")
  (parameters
    '("const-cairo_region_t*" "region")
  )
)

(define-method queue_resize
  (of-object "GtkWidget")
  (c-name "gtk_widget_queue_resize")
  (return-type "none")
)

(define-method queue_resize_no_redraw
  (of-object "GtkWidget")
  (c-name "gtk_widget_queue_resize_no_redraw")
  (return-type "none")
)

(define-method get_frame_clock
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_frame_clock")
  (return-type "GdkFrameClock*")
)

(define-method size_request
  (of-object "GtkWidget")
  (c-name "gtk_widget_size_request")
  (return-type "none")
  (parameters
    '("GtkRequisition*" "requisition")
  )
)

(define-method size_allocate
  (of-object "GtkWidget")
  (c-name "gtk_widget_size_allocate")
  (return-type "none")
  (parameters
    '("GtkAllocation*" "allocation")
  )
)

(define-method size_allocate_with_baseline
  (of-object "GtkWidget")
  (c-name "gtk_widget_size_allocate_with_baseline")
  (return-type "none")
  (parameters
    '("GtkAllocation*" "allocation")
    '("gint" "baseline")
  )
)

(define-method get_request_mode
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_request_mode")
  (return-type "GtkSizeRequestMode")
)

(define-method get_preferred_width
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_preferred_width")
  (return-type "none")
  (parameters
    '("gint*" "minimum_width")
    '("gint*" "natural_width")
  )
)

(define-method get_preferred_height_for_width
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_preferred_height_for_width")
  (return-type "none")
  (parameters
    '("gint" "width")
    '("gint*" "minimum_height")
    '("gint*" "natural_height")
  )
)

(define-method get_preferred_height
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_preferred_height")
  (return-type "none")
  (parameters
    '("gint*" "minimum_height")
    '("gint*" "natural_height")
  )
)

(define-method get_preferred_width_for_height
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_preferred_width_for_height")
  (return-type "none")
  (parameters
    '("gint" "height")
    '("gint*" "minimum_width")
    '("gint*" "natural_width")
  )
)

(define-method get_preferred_height_and_baseline_for_width
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_preferred_height_and_baseline_for_width")
  (return-type "none")
  (parameters
    '("gint" "width")
    '("gint*" "minimum_height")
    '("gint*" "natural_height")
    '("gint*" "minimum_baseline")
    '("gint*" "natural_baseline")
  )
)

(define-method get_preferred_size
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_preferred_size")
  (return-type "none")
  (parameters
    '("GtkRequisition*" "minimum_size")
    '("GtkRequisition*" "natural_size")
  )
)

(define-method get_child_requisition
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_child_requisition")
  (return-type "none")
  (parameters
    '("GtkRequisition*" "requisition")
  )
)

(define-method add_accelerator
  (of-object "GtkWidget")
  (c-name "gtk_widget_add_accelerator")
  (return-type "none")
  (parameters
    '("const-gchar*" "accel_signal")
    '("GtkAccelGroup*" "accel_group")
    '("guint" "accel_key")
    '("GdkModifierType" "accel_mods")
    '("GtkAccelFlags" "accel_flags")
  )
)

(define-method remove_accelerator
  (of-object "GtkWidget")
  (c-name "gtk_widget_remove_accelerator")
  (return-type "gboolean")
  (parameters
    '("GtkAccelGroup*" "accel_group")
    '("guint" "accel_key")
    '("GdkModifierType" "accel_mods")
  )
)

(define-method set_accel_path
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_accel_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "accel_path")
    '("GtkAccelGroup*" "accel_group")
  )
)

(define-method list_accel_closures
  (of-object "GtkWidget")
  (c-name "gtk_widget_list_accel_closures")
  (return-type "GList*")
)

(define-method can_activate_accel
  (of-object "GtkWidget")
  (c-name "gtk_widget_can_activate_accel")
  (return-type "gboolean")
  (parameters
    '("guint" "signal_id")
  )
)

(define-method mnemonic_activate
  (of-object "GtkWidget")
  (c-name "gtk_widget_mnemonic_activate")
  (return-type "gboolean")
  (parameters
    '("gboolean" "group_cycling")
  )
)

(define-method event
  (of-object "GtkWidget")
  (c-name "gtk_widget_event")
  (return-type "gboolean")
  (parameters
    '("GdkEvent*" "event")
  )
)

(define-method send_expose
  (of-object "GtkWidget")
  (c-name "gtk_widget_send_expose")
  (return-type "gint")
  (parameters
    '("GdkEvent*" "event")
  )
)

(define-method send_focus_change
  (of-object "GtkWidget")
  (c-name "gtk_widget_send_focus_change")
  (return-type "gboolean")
  (parameters
    '("GdkEvent*" "event")
  )
)

(define-method activate
  (of-object "GtkWidget")
  (c-name "gtk_widget_activate")
  (return-type "gboolean")
)

(define-method reparent
  (of-object "GtkWidget")
  (c-name "gtk_widget_reparent")
  (return-type "none")
  (parameters
    '("GtkWidget*" "new_parent")
  )
)

(define-method intersect
  (of-object "GtkWidget")
  (c-name "gtk_widget_intersect")
  (return-type "gboolean")
  (parameters
    '("const-GdkRectangle*" "area")
    '("GdkRectangle*" "intersection")
  )
)

(define-method region_intersect
  (of-object "GtkWidget")
  (c-name "gtk_widget_region_intersect")
  (return-type "cairo_region_t*")
  (parameters
    '("const-cairo_region_t*" "region")
  )
)

(define-method freeze_child_notify
  (of-object "GtkWidget")
  (c-name "gtk_widget_freeze_child_notify")
  (return-type "none")
)

(define-method child_notify
  (of-object "GtkWidget")
  (c-name "gtk_widget_child_notify")
  (return-type "none")
  (parameters
    '("const-gchar*" "child_property")
  )
)

(define-method thaw_child_notify
  (of-object "GtkWidget")
  (c-name "gtk_widget_thaw_child_notify")
  (return-type "none")
)

(define-method set_can_focus
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_can_focus")
  (return-type "none")
  (parameters
    '("gboolean" "can_focus")
  )
)

(define-method get_can_focus
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_can_focus")
  (return-type "gboolean")
)

(define-method has_focus
  (of-object "GtkWidget")
  (c-name "gtk_widget_has_focus")
  (return-type "gboolean")
)

(define-method is_focus
  (of-object "GtkWidget")
  (c-name "gtk_widget_is_focus")
  (return-type "gboolean")
)

(define-method has_visible_focus
  (of-object "GtkWidget")
  (c-name "gtk_widget_has_visible_focus")
  (return-type "gboolean")
)

(define-method grab_focus
  (of-object "GtkWidget")
  (c-name "gtk_widget_grab_focus")
  (return-type "none")
)

(define-method set_can_default
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_can_default")
  (return-type "none")
  (parameters
    '("gboolean" "can_default")
  )
)

(define-method get_can_default
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_can_default")
  (return-type "gboolean")
)

(define-method has_default
  (of-object "GtkWidget")
  (c-name "gtk_widget_has_default")
  (return-type "gboolean")
)

(define-method grab_default
  (of-object "GtkWidget")
  (c-name "gtk_widget_grab_default")
  (return-type "none")
)

(define-method set_receives_default
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_receives_default")
  (return-type "none")
  (parameters
    '("gboolean" "receives_default")
  )
)

(define-method get_receives_default
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_receives_default")
  (return-type "gboolean")
)

(define-method has_grab
  (of-object "GtkWidget")
  (c-name "gtk_widget_has_grab")
  (return-type "gboolean")
)

(define-method device_is_shadowed
  (of-object "GtkWidget")
  (c-name "gtk_widget_device_is_shadowed")
  (return-type "gboolean")
  (parameters
    '("GdkDevice*" "device")
  )
)

(define-method set_name
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_name
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_name")
  (return-type "const-gchar*")
)

(define-method set_state
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_state")
  (return-type "none")
  (parameters
    '("GtkStateType" "state")
  )
)

(define-method get_state
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_state")
  (return-type "GtkStateType")
)

(define-method set_state_flags
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_state_flags")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "flags")
    '("gboolean" "clear")
  )
)

(define-method unset_state_flags
  (of-object "GtkWidget")
  (c-name "gtk_widget_unset_state_flags")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "flags")
  )
)

(define-method get_state_flags
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_state_flags")
  (return-type "GtkStateFlags")
)

(define-method set_sensitive
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_sensitive")
  (return-type "none")
  (parameters
    '("gboolean" "sensitive")
  )
)

(define-method get_sensitive
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_sensitive")
  (return-type "gboolean")
)

(define-method is_sensitive
  (of-object "GtkWidget")
  (c-name "gtk_widget_is_sensitive")
  (return-type "gboolean")
)

(define-method set_visible
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_visible")
  (return-type "none")
  (parameters
    '("gboolean" "visible")
  )
)

(define-method get_visible
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_visible")
  (return-type "gboolean")
)

(define-method is_visible
  (of-object "GtkWidget")
  (c-name "gtk_widget_is_visible")
  (return-type "gboolean")
)

(define-method set_has_window
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_has_window")
  (return-type "none")
  (parameters
    '("gboolean" "has_window")
  )
)

(define-method get_has_window
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_has_window")
  (return-type "gboolean")
)

(define-method is_toplevel
  (of-object "GtkWidget")
  (c-name "gtk_widget_is_toplevel")
  (return-type "gboolean")
)

(define-method is_drawable
  (of-object "GtkWidget")
  (c-name "gtk_widget_is_drawable")
  (return-type "gboolean")
)

(define-method set_realized
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_realized")
  (return-type "none")
  (parameters
    '("gboolean" "realized")
  )
)

(define-method get_realized
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_realized")
  (return-type "gboolean")
)

(define-method set_mapped
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_mapped")
  (return-type "none")
  (parameters
    '("gboolean" "mapped")
  )
)

(define-method get_mapped
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_mapped")
  (return-type "gboolean")
)

(define-method set_app_paintable
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_app_paintable")
  (return-type "none")
  (parameters
    '("gboolean" "app_paintable")
  )
)

(define-method get_app_paintable
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_app_paintable")
  (return-type "gboolean")
)

(define-method set_double_buffered
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_double_buffered")
  (return-type "none")
  (parameters
    '("gboolean" "double_buffered")
  )
)

(define-method get_double_buffered
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_double_buffered")
  (return-type "gboolean")
)

(define-method set_redraw_on_allocate
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_redraw_on_allocate")
  (return-type "none")
  (parameters
    '("gboolean" "redraw_on_allocate")
  )
)

(define-method set_parent
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_parent")
  (return-type "none")
  (parameters
    '("GtkWidget*" "parent")
  )
)

(define-method get_parent
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_parent")
  (return-type "GtkWidget*")
)

(define-method set_parent_window
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_parent_window")
  (return-type "none")
  (parameters
    '("GdkWindow*" "parent_window")
  )
)

(define-method get_parent_window
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_parent_window")
  (return-type "GdkWindow*")
)

(define-method set_child_visible
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_child_visible")
  (return-type "none")
  (parameters
    '("gboolean" "is_visible")
  )
)

(define-method get_child_visible
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_child_visible")
  (return-type "gboolean")
)

(define-method set_window
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_window")
  (return-type "none")
  (parameters
    '("GdkWindow*" "window")
  )
)

(define-method get_window
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_window")
  (return-type "GdkWindow*")
)

(define-method register_window
  (of-object "GtkWidget")
  (c-name "gtk_widget_register_window")
  (return-type "none")
  (parameters
    '("GdkWindow*" "window")
  )
)

(define-method unregister_window
  (of-object "GtkWidget")
  (c-name "gtk_widget_unregister_window")
  (return-type "none")
  (parameters
    '("GdkWindow*" "window")
  )
)

(define-method get_allocated_width
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_allocated_width")
  (return-type "int")
)

(define-method get_allocated_height
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_allocated_height")
  (return-type "int")
)

(define-method get_allocated_baseline
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_allocated_baseline")
  (return-type "int")
)

(define-method get_allocation
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_allocation")
  (return-type "none")
  (parameters
    '("GtkAllocation*" "allocation")
  )
)

(define-method set_allocation
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_allocation")
  (return-type "none")
  (parameters
    '("const-GtkAllocation*" "allocation")
  )
)

(define-method set_clip
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_clip")
  (return-type "none")
  (parameters
    '("const-GtkAllocation*" "clip")
  )
)

(define-method get_clip
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_clip")
  (return-type "none")
  (parameters
    '("GtkAllocation*" "clip")
  )
)

(define-method get_requisition
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_requisition")
  (return-type "none")
  (parameters
    '("GtkRequisition*" "requisition")
  )
)

(define-method child_focus
  (of-object "GtkWidget")
  (c-name "gtk_widget_child_focus")
  (return-type "gboolean")
  (parameters
    '("GtkDirectionType" "direction")
  )
)

(define-method keynav_failed
  (of-object "GtkWidget")
  (c-name "gtk_widget_keynav_failed")
  (return-type "gboolean")
  (parameters
    '("GtkDirectionType" "direction")
  )
)

(define-method error_bell
  (of-object "GtkWidget")
  (c-name "gtk_widget_error_bell")
  (return-type "none")
)

(define-method set_size_request
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_size_request")
  (return-type "none")
  (parameters
    '("gint" "width")
    '("gint" "height")
  )
)

(define-method get_size_request
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_size_request")
  (return-type "none")
  (parameters
    '("gint*" "width")
    '("gint*" "height")
  )
)

(define-method set_events
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_events")
  (return-type "none")
  (parameters
    '("gint" "events")
  )
)

(define-method add_events
  (of-object "GtkWidget")
  (c-name "gtk_widget_add_events")
  (return-type "none")
  (parameters
    '("gint" "events")
  )
)

(define-method set_device_events
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_device_events")
  (return-type "none")
  (parameters
    '("GdkDevice*" "device")
    '("GdkEventMask" "events")
  )
)

(define-method add_device_events
  (of-object "GtkWidget")
  (c-name "gtk_widget_add_device_events")
  (return-type "none")
  (parameters
    '("GdkDevice*" "device")
    '("GdkEventMask" "events")
  )
)

(define-method set_opacity
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_opacity")
  (return-type "none")
  (parameters
    '("double" "opacity")
  )
)

(define-method get_opacity
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_opacity")
  (return-type "double")
)

(define-method set_device_enabled
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_device_enabled")
  (return-type "none")
  (parameters
    '("GdkDevice*" "device")
    '("gboolean" "enabled")
  )
)

(define-method get_device_enabled
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_device_enabled")
  (return-type "gboolean")
  (parameters
    '("GdkDevice*" "device")
  )
)

(define-method get_toplevel
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_toplevel")
  (return-type "GtkWidget*")
)

(define-method get_ancestor
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_ancestor")
  (return-type "GtkWidget*")
  (parameters
    '("GType" "widget_type")
  )
)

(define-method get_visual
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_visual")
  (return-type "GdkVisual*")
)

(define-method set_visual
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_visual")
  (return-type "none")
  (parameters
    '("GdkVisual*" "visual")
  )
)

(define-method get_screen
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_screen")
  (return-type "GdkScreen*")
)

(define-method has_screen
  (of-object "GtkWidget")
  (c-name "gtk_widget_has_screen")
  (return-type "gboolean")
)

(define-method get_scale_factor
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_scale_factor")
  (return-type "gint")
)

(define-method get_display
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_display")
  (return-type "GdkDisplay*")
)

(define-method get_root_window
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_root_window")
  (return-type "GdkWindow*")
)

(define-method get_settings
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_settings")
  (return-type "GtkSettings*")
)

(define-method get_clipboard
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_clipboard")
  (return-type "GtkClipboard*")
  (parameters
    '("GdkAtom" "selection")
  )
)

(define-method get_hexpand
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_hexpand")
  (return-type "gboolean")
)

(define-method set_hexpand
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_hexpand")
  (return-type "none")
  (parameters
    '("gboolean" "expand")
  )
)

(define-method get_hexpand_set
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_hexpand_set")
  (return-type "gboolean")
)

(define-method set_hexpand_set
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_hexpand_set")
  (return-type "none")
  (parameters
    '("gboolean" "set")
  )
)

(define-method get_vexpand
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_vexpand")
  (return-type "gboolean")
)

(define-method set_vexpand
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_vexpand")
  (return-type "none")
  (parameters
    '("gboolean" "expand")
  )
)

(define-method get_vexpand_set
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_vexpand_set")
  (return-type "gboolean")
)

(define-method set_vexpand_set
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_vexpand_set")
  (return-type "none")
  (parameters
    '("gboolean" "set")
  )
)

(define-method queue_compute_expand
  (of-object "GtkWidget")
  (c-name "gtk_widget_queue_compute_expand")
  (return-type "none")
)

(define-method compute_expand
  (of-object "GtkWidget")
  (c-name "gtk_widget_compute_expand")
  (return-type "gboolean")
  (parameters
    '("GtkOrientation" "orientation")
  )
)

(define-method get_support_multidevice
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_support_multidevice")
  (return-type "gboolean")
)

(define-method set_support_multidevice
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_support_multidevice")
  (return-type "none")
  (parameters
    '("gboolean" "support_multidevice")
  )
)

(define-method set_accessible_type
  (of-object "GtkWidgetClass")
  (c-name "gtk_widget_class_set_accessible_type")
  (return-type "none")
  (parameters
    '("GType" "type")
  )
)

(define-method set_accessible_role
  (of-object "GtkWidgetClass")
  (c-name "gtk_widget_class_set_accessible_role")
  (return-type "none")
  (parameters
    '("AtkRole" "role")
  )
)

(define-method get_accessible
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_accessible")
  (return-type "AtkObject*")
)

(define-method get_halign
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_halign")
  (return-type "GtkAlign")
)

(define-method set_halign
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_halign")
  (return-type "none")
  (parameters
    '("GtkAlign" "align")
  )
)

(define-method get_valign
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_valign")
  (return-type "GtkAlign")
)

(define-method get_valign_with_baseline
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_valign_with_baseline")
  (return-type "GtkAlign")
)

(define-method set_valign
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_valign")
  (return-type "none")
  (parameters
    '("GtkAlign" "align")
  )
)

(define-method get_margin_left
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_margin_left")
  (return-type "gint")
)

(define-method set_margin_left
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_margin_left")
  (return-type "none")
  (parameters
    '("gint" "margin")
  )
)

(define-method get_margin_right
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_margin_right")
  (return-type "gint")
)

(define-method set_margin_right
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_margin_right")
  (return-type "none")
  (parameters
    '("gint" "margin")
  )
)

(define-method get_margin_start
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_margin_start")
  (return-type "gint")
)

(define-method set_margin_start
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_margin_start")
  (return-type "none")
  (parameters
    '("gint" "margin")
  )
)

(define-method get_margin_end
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_margin_end")
  (return-type "gint")
)

(define-method set_margin_end
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_margin_end")
  (return-type "none")
  (parameters
    '("gint" "margin")
  )
)

(define-method get_margin_top
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_margin_top")
  (return-type "gint")
)

(define-method set_margin_top
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_margin_top")
  (return-type "none")
  (parameters
    '("gint" "margin")
  )
)

(define-method get_margin_bottom
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_margin_bottom")
  (return-type "gint")
)

(define-method set_margin_bottom
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_margin_bottom")
  (return-type "none")
  (parameters
    '("gint" "margin")
  )
)

(define-method get_events
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_events")
  (return-type "gint")
)

(define-method get_device_events
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_device_events")
  (return-type "GdkEventMask")
  (parameters
    '("GdkDevice*" "device")
  )
)

(define-method get_pointer
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_pointer")
  (return-type "none")
  (parameters
    '("gint*" "x")
    '("gint*" "y")
  )
)

(define-method is_ancestor
  (of-object "GtkWidget")
  (c-name "gtk_widget_is_ancestor")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "ancestor")
  )
)

(define-method translate_coordinates
  (of-object "GtkWidget")
  (c-name "gtk_widget_translate_coordinates")
  (return-type "gboolean")
  (parameters
    '("GtkWidget*" "dest_widget")
    '("gint" "src_x")
    '("gint" "src_y")
    '("gint*" "dest_x")
    '("gint*" "dest_y")
  )
)

(define-method hide_on_delete
  (of-object "GtkWidget")
  (c-name "gtk_widget_hide_on_delete")
  (return-type "gboolean")
)

(define-method override_color
  (of-object "GtkWidget")
  (c-name "gtk_widget_override_color")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("const-GdkRGBA*" "color")
  )
)

(define-method override_background_color
  (of-object "GtkWidget")
  (c-name "gtk_widget_override_background_color")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("const-GdkRGBA*" "color")
  )
)

(define-method override_font
  (of-object "GtkWidget")
  (c-name "gtk_widget_override_font")
  (return-type "none")
  (parameters
    '("const-PangoFontDescription*" "font_desc")
  )
)

(define-method override_symbolic_color
  (of-object "GtkWidget")
  (c-name "gtk_widget_override_symbolic_color")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("const-GdkRGBA*" "color")
  )
)

(define-method override_cursor
  (of-object "GtkWidget")
  (c-name "gtk_widget_override_cursor")
  (return-type "none")
  (parameters
    '("const-GdkRGBA*" "cursor")
    '("const-GdkRGBA*" "secondary_cursor")
  )
)

(define-method reset_style
  (of-object "GtkWidget")
  (c-name "gtk_widget_reset_style")
  (return-type "none")
)

(define-method create_pango_context
  (of-object "GtkWidget")
  (c-name "gtk_widget_create_pango_context")
  (return-type "PangoContext*")
)

(define-method get_pango_context
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_pango_context")
  (return-type "PangoContext*")
)

(define-method set_font_options
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_font_options")
  (return-type "none")
  (parameters
    '("const-cairo_font_options_t*" "options")
  )
)

(define-method get_font_options
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_font_options")
  (return-type "const-cairo_font_options_t*")
)

(define-method create_pango_layout
  (of-object "GtkWidget")
  (c-name "gtk_widget_create_pango_layout")
  (return-type "PangoLayout*")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method render_icon_pixbuf
  (of-object "GtkWidget")
  (c-name "gtk_widget_render_icon_pixbuf")
  (return-type "GdkPixbuf*")
  (parameters
    '("const-gchar*" "stock_id")
    '("GtkIconSize" "size")
  )
)

(define-method set_composite_name
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_composite_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_composite_name
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_composite_name")
  (return-type "gchar*")
)

(define-function gtk_widget_push_composite_child
  (c-name "gtk_widget_push_composite_child")
  (return-type "none")
)

(define-function gtk_widget_pop_composite_child
  (c-name "gtk_widget_pop_composite_child")
  (return-type "none")
)

(define-method install_style_property
  (of-object "GtkWidgetClass")
  (c-name "gtk_widget_class_install_style_property")
  (return-type "none")
  (parameters
    '("GParamSpec*" "pspec")
  )
)

(define-method install_style_property_parser
  (of-object "GtkWidgetClass")
  (c-name "gtk_widget_class_install_style_property_parser")
  (return-type "none")
  (parameters
    '("GParamSpec*" "pspec")
    '("GtkRcPropertyParser" "parser")
  )
)

(define-method find_style_property
  (of-object "GtkWidgetClass")
  (c-name "gtk_widget_class_find_style_property")
  (return-type "GParamSpec*")
  (parameters
    '("const-gchar*" "property_name")
  )
)

(define-method list_style_properties
  (of-object "GtkWidgetClass")
  (c-name "gtk_widget_class_list_style_properties")
  (return-type "GParamSpec**")
  (parameters
    '("guint*" "n_properties")
  )
)

(define-method style_get_property
  (of-object "GtkWidget")
  (c-name "gtk_widget_style_get_property")
  (return-type "none")
  (parameters
    '("const-gchar*" "property_name")
    '("GValue*" "value")
  )
)

(define-method style_get_valist
  (of-object "GtkWidget")
  (c-name "gtk_widget_style_get_valist")
  (return-type "none")
  (parameters
    '("const-gchar*" "first_property_name")
    '("va_list" "var_args")
  )
)

(define-method style_get
  (of-object "GtkWidget")
  (c-name "gtk_widget_style_get")
  (return-type "none")
  (parameters
    '("const-gchar*" "first_property_name")
  )
  (varargs #t)
)

(define-method set_direction
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_direction")
  (return-type "none")
  (parameters
    '("GtkTextDirection" "dir")
  )
)

(define-method get_direction
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_direction")
  (return-type "GtkTextDirection")
)

(define-function gtk_widget_set_default_direction
  (c-name "gtk_widget_set_default_direction")
  (return-type "none")
  (parameters
    '("GtkTextDirection" "dir")
  )
)

(define-function gtk_widget_get_default_direction
  (c-name "gtk_widget_get_default_direction")
  (return-type "GtkTextDirection")
)

(define-method is_composited
  (of-object "GtkWidget")
  (c-name "gtk_widget_is_composited")
  (return-type "gboolean")
)

(define-method shape_combine_region
  (of-object "GtkWidget")
  (c-name "gtk_widget_shape_combine_region")
  (return-type "none")
  (parameters
    '("cairo_region_t*" "region")
  )
)

(define-method input_shape_combine_region
  (of-object "GtkWidget")
  (c-name "gtk_widget_input_shape_combine_region")
  (return-type "none")
  (parameters
    '("cairo_region_t*" "region")
  )
)

(define-method list_mnemonic_labels
  (of-object "GtkWidget")
  (c-name "gtk_widget_list_mnemonic_labels")
  (return-type "GList*")
)

(define-method add_mnemonic_label
  (of-object "GtkWidget")
  (c-name "gtk_widget_add_mnemonic_label")
  (return-type "none")
  (parameters
    '("GtkWidget*" "label")
  )
)

(define-method remove_mnemonic_label
  (of-object "GtkWidget")
  (c-name "gtk_widget_remove_mnemonic_label")
  (return-type "none")
  (parameters
    '("GtkWidget*" "label")
  )
)

(define-method set_tooltip_window
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_tooltip_window")
  (return-type "none")
  (parameters
    '("GtkWindow*" "custom_window")
  )
)

(define-method get_tooltip_window
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_tooltip_window")
  (return-type "GtkWindow*")
)

(define-method trigger_tooltip_query
  (of-object "GtkWidget")
  (c-name "gtk_widget_trigger_tooltip_query")
  (return-type "none")
)

(define-method set_tooltip_text
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_tooltip_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method get_tooltip_text
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_tooltip_text")
  (return-type "gchar*")
)

(define-method set_tooltip_markup
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_tooltip_markup")
  (return-type "none")
  (parameters
    '("const-gchar*" "markup")
  )
)

(define-method get_tooltip_markup
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_tooltip_markup")
  (return-type "gchar*")
)

(define-method set_has_tooltip
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_has_tooltip")
  (return-type "none")
  (parameters
    '("gboolean" "has_tooltip")
  )
)

(define-method get_has_tooltip
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_has_tooltip")
  (return-type "gboolean")
)

(define-function gtk_cairo_should_draw_window
  (c-name "gtk_cairo_should_draw_window")
  (return-type "gboolean")
  (parameters
    '("cairo_t*" "cr")
    '("GdkWindow*" "window")
  )
)

(define-function gtk_cairo_transform_to_window
  (c-name "gtk_cairo_transform_to_window")
  (return-type "none")
  (parameters
    '("cairo_t*" "cr")
    '("GtkWidget*" "widget")
    '("GdkWindow*" "window")
  )
)

(define-function gtk_requisition_get_type
  (c-name "gtk_requisition_get_type")
  (return-type "GType")
)

(define-function gtk_requisition_new
  (c-name "gtk_requisition_new")
  (is-constructor-of "GtkRequisition")
  (return-type "GtkRequisition*")
)

(define-method copy
  (of-object "GtkRequisition")
  (c-name "gtk_requisition_copy")
  (return-type "GtkRequisition*")
)

(define-method free
  (of-object "GtkRequisition")
  (c-name "gtk_requisition_free")
  (return-type "none")
)

(define-method in_destruction
  (of-object "GtkWidget")
  (c-name "gtk_widget_in_destruction")
  (return-type "gboolean")
)

(define-method get_style_context
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_style_context")
  (return-type "GtkStyleContext*")
)

(define-method get_path
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_path")
  (return-type "GtkWidgetPath*")
)

(define-method get_modifier_mask
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_modifier_mask")
  (return-type "GdkModifierType")
  (parameters
    '("GdkModifierIntent" "intent")
  )
)

(define-method insert_action_group
  (of-object "GtkWidget")
  (c-name "gtk_widget_insert_action_group")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("GActionGroup*" "group")
  )
)

(define-method add_tick_callback
  (of-object "GtkWidget")
  (c-name "gtk_widget_add_tick_callback")
  (return-type "guint")
  (parameters
    '("GtkTickCallback" "callback")
    '("gpointer" "user_data")
    '("GDestroyNotify" "notify")
  )
)

(define-method remove_tick_callback
  (of-object "GtkWidget")
  (c-name "gtk_widget_remove_tick_callback")
  (return-type "none")
  (parameters
    '("guint" "id")
  )
)

(define-method init_template
  (of-object "GtkWidget")
  (c-name "gtk_widget_init_template")
  (return-type "none")
)

(define-method get_template_child
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_template_child")
  (return-type "GObject*")
  (parameters
    '("GType" "widget_type")
    '("const-gchar*" "name")
  )
)

(define-method set_template
  (of-object "GtkWidgetClass")
  (c-name "gtk_widget_class_set_template")
  (return-type "none")
  (parameters
    '("GBytes*" "template_bytes")
  )
)

(define-method set_template_from_resource
  (of-object "GtkWidgetClass")
  (c-name "gtk_widget_class_set_template_from_resource")
  (return-type "none")
  (parameters
    '("const-gchar*" "resource_name")
  )
)

(define-method bind_template_callback_full
  (of-object "GtkWidgetClass")
  (c-name "gtk_widget_class_bind_template_callback_full")
  (return-type "none")
  (parameters
    '("const-gchar*" "callback_name")
    '("GCallback" "callback_symbol")
  )
)

(define-method set_connect_func
  (of-object "GtkWidgetClass")
  (c-name "gtk_widget_class_set_connect_func")
  (return-type "none")
  (parameters
    '("GtkBuilderConnectFunc" "connect_func")
    '("gpointer" "connect_data")
    '("GDestroyNotify" "connect_data_destroy")
  )
)

(define-method bind_template_child_full
  (of-object "GtkWidgetClass")
  (c-name "gtk_widget_class_bind_template_child_full")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("gboolean" "internal_child")
    '("gssize" "struct_offset")
  )
)

(define-method get_action_group
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_action_group")
  (return-type "GActionGroup*")
  (parameters
    '("const-gchar*" "prefix")
  )
)

(define-method list_action_prefixes
  (of-object "GtkWidget")
  (c-name "gtk_widget_list_action_prefixes")
  (return-type "const-gchar**")
)

(define-method set_font_map
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_font_map")
  (return-type "none")
  (parameters
    '("PangoFontMap*" "font_map")
  )
)

(define-method get_font_map
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_font_map")
  (return-type "PangoFontMap*")
)



;; From gtkwidgetpath.h

(define-function gtk_widget_path_get_type
  (c-name "gtk_widget_path_get_type")
  (return-type "GType")
)

(define-function gtk_widget_path_new
  (c-name "gtk_widget_path_new")
  (is-constructor-of "GtkWidgetPath")
  (return-type "GtkWidgetPath*")
)

(define-method copy
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_copy")
  (return-type "GtkWidgetPath*")
)

(define-method ref
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_ref")
  (return-type "GtkWidgetPath*")
)

(define-method unref
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_unref")
  (return-type "none")
)

(define-method free
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_free")
  (return-type "none")
)

(define-method to_string
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_to_string")
  (return-type "char*")
)

(define-method length
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_length")
  (return-type "gint")
)

(define-method append_type
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_append_type")
  (return-type "gint")
  (parameters
    '("GType" "type")
  )
)

(define-method prepend_type
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_prepend_type")
  (return-type "none")
  (parameters
    '("GType" "type")
  )
)

(define-method append_with_siblings
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_append_with_siblings")
  (return-type "gint")
  (parameters
    '("GtkWidgetPath*" "siblings")
    '("guint" "sibling_index")
  )
)

(define-method append_for_widget
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_append_for_widget")
  (return-type "gint")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-method iter_get_object_type
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_get_object_type")
  (return-type "GType")
  (parameters
    '("gint" "pos")
  )
)

(define-method iter_set_object_type
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_set_object_type")
  (return-type "none")
  (parameters
    '("gint" "pos")
    '("GType" "type")
  )
)

(define-method iter_get_siblings
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_get_siblings")
  (return-type "const-GtkWidgetPath*")
  (parameters
    '("gint" "pos")
  )
)

(define-method iter_get_sibling_index
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_get_sibling_index")
  (return-type "guint")
  (parameters
    '("gint" "pos")
  )
)

(define-method iter_get_name
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_get_name")
  (return-type "const-gchar*")
  (parameters
    '("gint" "pos")
  )
)

(define-method iter_set_name
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_set_name")
  (return-type "none")
  (parameters
    '("gint" "pos")
    '("const-gchar*" "name")
  )
)

(define-method iter_has_name
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_has_name")
  (return-type "gboolean")
  (parameters
    '("gint" "pos")
    '("const-gchar*" "name")
  )
)

(define-method iter_has_qname
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_has_qname")
  (return-type "gboolean")
  (parameters
    '("gint" "pos")
    '("GQuark" "qname")
  )
)

(define-method iter_get_state
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_get_state")
  (return-type "GtkStateFlags")
  (parameters
    '("gint" "pos")
  )
)

(define-method iter_set_state
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_set_state")
  (return-type "none")
  (parameters
    '("gint" "pos")
    '("GtkStateFlags" "state")
  )
)

(define-method iter_add_class
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_add_class")
  (return-type "none")
  (parameters
    '("gint" "pos")
    '("const-gchar*" "name")
  )
)

(define-method iter_remove_class
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_remove_class")
  (return-type "none")
  (parameters
    '("gint" "pos")
    '("const-gchar*" "name")
  )
)

(define-method iter_clear_classes
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_clear_classes")
  (return-type "none")
  (parameters
    '("gint" "pos")
  )
)

(define-method iter_list_classes
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_list_classes")
  (return-type "GSList*")
  (parameters
    '("gint" "pos")
  )
)

(define-method iter_has_class
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_has_class")
  (return-type "gboolean")
  (parameters
    '("gint" "pos")
    '("const-gchar*" "name")
  )
)

(define-method iter_has_qclass
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_has_qclass")
  (return-type "gboolean")
  (parameters
    '("gint" "pos")
    '("GQuark" "qname")
  )
)

(define-method iter_add_region
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_add_region")
  (return-type "none")
  (parameters
    '("gint" "pos")
    '("const-gchar*" "name")
    '("GtkRegionFlags" "flags")
  )
)

(define-method iter_remove_region
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_remove_region")
  (return-type "none")
  (parameters
    '("gint" "pos")
    '("const-gchar*" "name")
  )
)

(define-method iter_clear_regions
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_clear_regions")
  (return-type "none")
  (parameters
    '("gint" "pos")
  )
)

(define-method iter_list_regions
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_list_regions")
  (return-type "GSList*")
  (parameters
    '("gint" "pos")
  )
)

(define-method iter_has_region
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_has_region")
  (return-type "gboolean")
  (parameters
    '("gint" "pos")
    '("const-gchar*" "name")
    '("GtkRegionFlags*" "flags")
  )
)

(define-method iter_has_qregion
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_has_qregion")
  (return-type "gboolean")
  (parameters
    '("gint" "pos")
    '("GQuark" "qname")
    '("GtkRegionFlags*" "flags")
  )
)

(define-method get_object_type
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_get_object_type")
  (return-type "GType")
)

(define-method is_type
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_is_type")
  (return-type "gboolean")
  (parameters
    '("GType" "type")
  )
)

(define-method has_parent
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_has_parent")
  (return-type "gboolean")
  (parameters
    '("GType" "type")
  )
)

(define-method iter_add_qclass
  (of-object "GtkWidgetPath")
  (c-name "gtk_widget_path_iter_add_qclass")
  (return-type "none")
  (parameters
    '("gint" "pos")
    '("GQuark" "qname")
  )
)



;; From gtkwin32embed.h



;; From gtkwin32embedwidget.h

(define-function gtk_win32_embed_widget_get_type
  (c-name "gtk_win32_embed_widget_get_type")
  (return-type "GType")
)



;; From gtkwindowgroup.h

(define-function gtk_window_group_get_type
  (c-name "gtk_window_group_get_type")
  (return-type "GType")
)

(define-function gtk_window_group_new
  (c-name "gtk_window_group_new")
  (is-constructor-of "GtkWindowGroup")
  (return-type "GtkWindowGroup*")
)

(define-method add_window
  (of-object "GtkWindowGroup")
  (c-name "gtk_window_group_add_window")
  (return-type "none")
  (parameters
    '("GtkWindow*" "window")
  )
)

(define-method remove_window
  (of-object "GtkWindowGroup")
  (c-name "gtk_window_group_remove_window")
  (return-type "none")
  (parameters
    '("GtkWindow*" "window")
  )
)

(define-method list_windows
  (of-object "GtkWindowGroup")
  (c-name "gtk_window_group_list_windows")
  (return-type "GList*")
)

(define-method get_current_grab
  (of-object "GtkWindowGroup")
  (c-name "gtk_window_group_get_current_grab")
  (return-type "GtkWidget*")
)

(define-method get_current_device_grab
  (of-object "GtkWindowGroup")
  (c-name "gtk_window_group_get_current_device_grab")
  (return-type "GtkWidget*")
  (parameters
    '("GdkDevice*" "device")
  )
)



;; From gtkwindow.h

(define-function gtk_window_get_type
  (c-name "gtk_window_get_type")
  (return-type "GType")
)

(define-function gtk_window_new
  (c-name "gtk_window_new")
  (is-constructor-of "GtkWindow")
  (return-type "GtkWidget*")
  (parameters
    '("GtkWindowType" "type")
  )
)

(define-method set_title
  (of-object "GtkWindow")
  (c-name "gtk_window_set_title")
  (return-type "none")
  (parameters
    '("const-gchar*" "title")
  )
)

(define-method get_title
  (of-object "GtkWindow")
  (c-name "gtk_window_get_title")
  (return-type "const-gchar*")
)

(define-method set_wmclass
  (of-object "GtkWindow")
  (c-name "gtk_window_set_wmclass")
  (return-type "none")
  (parameters
    '("const-gchar*" "wmclass_name")
    '("const-gchar*" "wmclass_class")
  )
)

(define-method set_role
  (of-object "GtkWindow")
  (c-name "gtk_window_set_role")
  (return-type "none")
  (parameters
    '("const-gchar*" "role")
  )
)

(define-method set_startup_id
  (of-object "GtkWindow")
  (c-name "gtk_window_set_startup_id")
  (return-type "none")
  (parameters
    '("const-gchar*" "startup_id")
  )
)

(define-method get_role
  (of-object "GtkWindow")
  (c-name "gtk_window_get_role")
  (return-type "const-gchar*")
)

(define-method add_accel_group
  (of-object "GtkWindow")
  (c-name "gtk_window_add_accel_group")
  (return-type "none")
  (parameters
    '("GtkAccelGroup*" "accel_group")
  )
)

(define-method remove_accel_group
  (of-object "GtkWindow")
  (c-name "gtk_window_remove_accel_group")
  (return-type "none")
  (parameters
    '("GtkAccelGroup*" "accel_group")
  )
)

(define-method set_position
  (of-object "GtkWindow")
  (c-name "gtk_window_set_position")
  (return-type "none")
  (parameters
    '("GtkWindowPosition" "position")
  )
)

(define-method activate_focus
  (of-object "GtkWindow")
  (c-name "gtk_window_activate_focus")
  (return-type "gboolean")
)

(define-method set_focus
  (of-object "GtkWindow")
  (c-name "gtk_window_set_focus")
  (return-type "none")
  (parameters
    '("GtkWidget*" "focus")
  )
)

(define-method get_focus
  (of-object "GtkWindow")
  (c-name "gtk_window_get_focus")
  (return-type "GtkWidget*")
)

(define-method set_default
  (of-object "GtkWindow")
  (c-name "gtk_window_set_default")
  (return-type "none")
  (parameters
    '("GtkWidget*" "default_widget")
  )
)

(define-method get_default_widget
  (of-object "GtkWindow")
  (c-name "gtk_window_get_default_widget")
  (return-type "GtkWidget*")
)

(define-method activate_default
  (of-object "GtkWindow")
  (c-name "gtk_window_activate_default")
  (return-type "gboolean")
)

(define-method set_transient_for
  (of-object "GtkWindow")
  (c-name "gtk_window_set_transient_for")
  (return-type "none")
  (parameters
    '("GtkWindow*" "parent")
  )
)

(define-method get_transient_for
  (of-object "GtkWindow")
  (c-name "gtk_window_get_transient_for")
  (return-type "GtkWindow*")
)

(define-method set_attached_to
  (of-object "GtkWindow")
  (c-name "gtk_window_set_attached_to")
  (return-type "none")
  (parameters
    '("GtkWidget*" "attach_widget")
  )
)

(define-method get_attached_to
  (of-object "GtkWindow")
  (c-name "gtk_window_get_attached_to")
  (return-type "GtkWidget*")
)

(define-method set_opacity
  (of-object "GtkWindow")
  (c-name "gtk_window_set_opacity")
  (return-type "none")
  (parameters
    '("gdouble" "opacity")
  )
)

(define-method get_opacity
  (of-object "GtkWindow")
  (c-name "gtk_window_get_opacity")
  (return-type "gdouble")
)

(define-method set_type_hint
  (of-object "GtkWindow")
  (c-name "gtk_window_set_type_hint")
  (return-type "none")
  (parameters
    '("GdkWindowTypeHint" "hint")
  )
)

(define-method get_type_hint
  (of-object "GtkWindow")
  (c-name "gtk_window_get_type_hint")
  (return-type "GdkWindowTypeHint")
)

(define-method set_skip_taskbar_hint
  (of-object "GtkWindow")
  (c-name "gtk_window_set_skip_taskbar_hint")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_skip_taskbar_hint
  (of-object "GtkWindow")
  (c-name "gtk_window_get_skip_taskbar_hint")
  (return-type "gboolean")
)

(define-method set_skip_pager_hint
  (of-object "GtkWindow")
  (c-name "gtk_window_set_skip_pager_hint")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_skip_pager_hint
  (of-object "GtkWindow")
  (c-name "gtk_window_get_skip_pager_hint")
  (return-type "gboolean")
)

(define-method set_urgency_hint
  (of-object "GtkWindow")
  (c-name "gtk_window_set_urgency_hint")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_urgency_hint
  (of-object "GtkWindow")
  (c-name "gtk_window_get_urgency_hint")
  (return-type "gboolean")
)

(define-method set_accept_focus
  (of-object "GtkWindow")
  (c-name "gtk_window_set_accept_focus")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_accept_focus
  (of-object "GtkWindow")
  (c-name "gtk_window_get_accept_focus")
  (return-type "gboolean")
)

(define-method set_focus_on_map
  (of-object "GtkWindow")
  (c-name "gtk_window_set_focus_on_map")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_focus_on_map
  (of-object "GtkWindow")
  (c-name "gtk_window_get_focus_on_map")
  (return-type "gboolean")
)

(define-method set_destroy_with_parent
  (of-object "GtkWindow")
  (c-name "gtk_window_set_destroy_with_parent")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_destroy_with_parent
  (of-object "GtkWindow")
  (c-name "gtk_window_get_destroy_with_parent")
  (return-type "gboolean")
)

(define-method set_hide_titlebar_when_maximized
  (of-object "GtkWindow")
  (c-name "gtk_window_set_hide_titlebar_when_maximized")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_hide_titlebar_when_maximized
  (of-object "GtkWindow")
  (c-name "gtk_window_get_hide_titlebar_when_maximized")
  (return-type "gboolean")
)

(define-method set_mnemonics_visible
  (of-object "GtkWindow")
  (c-name "gtk_window_set_mnemonics_visible")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_mnemonics_visible
  (of-object "GtkWindow")
  (c-name "gtk_window_get_mnemonics_visible")
  (return-type "gboolean")
)

(define-method set_focus_visible
  (of-object "GtkWindow")
  (c-name "gtk_window_set_focus_visible")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_focus_visible
  (of-object "GtkWindow")
  (c-name "gtk_window_get_focus_visible")
  (return-type "gboolean")
)

(define-method set_resizable
  (of-object "GtkWindow")
  (c-name "gtk_window_set_resizable")
  (return-type "none")
  (parameters
    '("gboolean" "resizable")
  )
)

(define-method get_resizable
  (of-object "GtkWindow")
  (c-name "gtk_window_get_resizable")
  (return-type "gboolean")
)

(define-method set_gravity
  (of-object "GtkWindow")
  (c-name "gtk_window_set_gravity")
  (return-type "none")
  (parameters
    '("GdkGravity" "gravity")
  )
)

(define-method get_gravity
  (of-object "GtkWindow")
  (c-name "gtk_window_get_gravity")
  (return-type "GdkGravity")
)

(define-method set_geometry_hints
  (of-object "GtkWindow")
  (c-name "gtk_window_set_geometry_hints")
  (return-type "none")
  (parameters
    '("GtkWidget*" "geometry_widget")
    '("GdkGeometry*" "geometry")
    '("GdkWindowHints" "geom_mask")
  )
)

(define-method set_screen
  (of-object "GtkWindow")
  (c-name "gtk_window_set_screen")
  (return-type "none")
  (parameters
    '("GdkScreen*" "screen")
  )
)

(define-method get_screen
  (of-object "GtkWindow")
  (c-name "gtk_window_get_screen")
  (return-type "GdkScreen*")
)

(define-method is_active
  (of-object "GtkWindow")
  (c-name "gtk_window_is_active")
  (return-type "gboolean")
)

(define-method has_toplevel_focus
  (of-object "GtkWindow")
  (c-name "gtk_window_has_toplevel_focus")
  (return-type "gboolean")
)

(define-method set_decorated
  (of-object "GtkWindow")
  (c-name "gtk_window_set_decorated")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_decorated
  (of-object "GtkWindow")
  (c-name "gtk_window_get_decorated")
  (return-type "gboolean")
)

(define-method set_deletable
  (of-object "GtkWindow")
  (c-name "gtk_window_set_deletable")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_deletable
  (of-object "GtkWindow")
  (c-name "gtk_window_get_deletable")
  (return-type "gboolean")
)

(define-method set_icon_list
  (of-object "GtkWindow")
  (c-name "gtk_window_set_icon_list")
  (return-type "none")
  (parameters
    '("GList*" "list")
  )
)

(define-method get_icon_list
  (of-object "GtkWindow")
  (c-name "gtk_window_get_icon_list")
  (return-type "GList*")
)

(define-method set_icon
  (of-object "GtkWindow")
  (c-name "gtk_window_set_icon")
  (return-type "none")
  (parameters
    '("GdkPixbuf*" "icon")
  )
)

(define-method set_icon_name
  (of-object "GtkWindow")
  (c-name "gtk_window_set_icon_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method set_icon_from_file
  (of-object "GtkWindow")
  (c-name "gtk_window_set_icon_from_file")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "filename")
    '("GError**" "err")
  )
)

(define-method get_icon
  (of-object "GtkWindow")
  (c-name "gtk_window_get_icon")
  (return-type "GdkPixbuf*")
)

(define-method get_icon_name
  (of-object "GtkWindow")
  (c-name "gtk_window_get_icon_name")
  (return-type "const-gchar*")
)

(define-function gtk_window_set_default_icon_list
  (c-name "gtk_window_set_default_icon_list")
  (return-type "none")
  (parameters
    '("GList*" "list")
  )
)

(define-function gtk_window_get_default_icon_list
  (c-name "gtk_window_get_default_icon_list")
  (return-type "GList*")
)

(define-function gtk_window_set_default_icon
  (c-name "gtk_window_set_default_icon")
  (return-type "none")
  (parameters
    '("GdkPixbuf*" "icon")
  )
)

(define-function gtk_window_set_default_icon_name
  (c-name "gtk_window_set_default_icon_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-function gtk_window_get_default_icon_name
  (c-name "gtk_window_get_default_icon_name")
  (return-type "const-gchar*")
)

(define-function gtk_window_set_default_icon_from_file
  (c-name "gtk_window_set_default_icon_from_file")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "filename")
    '("GError**" "err")
  )
)

(define-function gtk_window_set_auto_startup_notification
  (c-name "gtk_window_set_auto_startup_notification")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method set_modal
  (of-object "GtkWindow")
  (c-name "gtk_window_set_modal")
  (return-type "none")
  (parameters
    '("gboolean" "modal")
  )
)

(define-method get_modal
  (of-object "GtkWindow")
  (c-name "gtk_window_get_modal")
  (return-type "gboolean")
)

(define-function gtk_window_list_toplevels
  (c-name "gtk_window_list_toplevels")
  (return-type "GList*")
)

(define-method set_has_user_ref_count
  (of-object "GtkWindow")
  (c-name "gtk_window_set_has_user_ref_count")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method add_mnemonic
  (of-object "GtkWindow")
  (c-name "gtk_window_add_mnemonic")
  (return-type "none")
  (parameters
    '("guint" "keyval")
    '("GtkWidget*" "target")
  )
)

(define-method remove_mnemonic
  (of-object "GtkWindow")
  (c-name "gtk_window_remove_mnemonic")
  (return-type "none")
  (parameters
    '("guint" "keyval")
    '("GtkWidget*" "target")
  )
)

(define-method mnemonic_activate
  (of-object "GtkWindow")
  (c-name "gtk_window_mnemonic_activate")
  (return-type "gboolean")
  (parameters
    '("guint" "keyval")
    '("GdkModifierType" "modifier")
  )
)

(define-method set_mnemonic_modifier
  (of-object "GtkWindow")
  (c-name "gtk_window_set_mnemonic_modifier")
  (return-type "none")
  (parameters
    '("GdkModifierType" "modifier")
  )
)

(define-method get_mnemonic_modifier
  (of-object "GtkWindow")
  (c-name "gtk_window_get_mnemonic_modifier")
  (return-type "GdkModifierType")
)

(define-method activate_key
  (of-object "GtkWindow")
  (c-name "gtk_window_activate_key")
  (return-type "gboolean")
  (parameters
    '("GdkEventKey*" "event")
  )
)

(define-method propagate_key_event
  (of-object "GtkWindow")
  (c-name "gtk_window_propagate_key_event")
  (return-type "gboolean")
  (parameters
    '("GdkEventKey*" "event")
  )
)

(define-method present
  (of-object "GtkWindow")
  (c-name "gtk_window_present")
  (return-type "none")
)

(define-method present_with_time
  (of-object "GtkWindow")
  (c-name "gtk_window_present_with_time")
  (return-type "none")
  (parameters
    '("guint32" "timestamp")
  )
)

(define-method iconify
  (of-object "GtkWindow")
  (c-name "gtk_window_iconify")
  (return-type "none")
)

(define-method deiconify
  (of-object "GtkWindow")
  (c-name "gtk_window_deiconify")
  (return-type "none")
)

(define-method stick
  (of-object "GtkWindow")
  (c-name "gtk_window_stick")
  (return-type "none")
)

(define-method unstick
  (of-object "GtkWindow")
  (c-name "gtk_window_unstick")
  (return-type "none")
)

(define-method maximize
  (of-object "GtkWindow")
  (c-name "gtk_window_maximize")
  (return-type "none")
)

(define-method unmaximize
  (of-object "GtkWindow")
  (c-name "gtk_window_unmaximize")
  (return-type "none")
)

(define-method fullscreen
  (of-object "GtkWindow")
  (c-name "gtk_window_fullscreen")
  (return-type "none")
)

(define-method unfullscreen
  (of-object "GtkWindow")
  (c-name "gtk_window_unfullscreen")
  (return-type "none")
)

(define-method fullscreen_on_monitor
  (of-object "GtkWindow")
  (c-name "gtk_window_fullscreen_on_monitor")
  (return-type "none")
  (parameters
    '("GdkScreen*" "screen")
    '("gint" "monitor")
  )
)

(define-method close
  (of-object "GtkWindow")
  (c-name "gtk_window_close")
  (return-type "none")
)

(define-method set_keep_above
  (of-object "GtkWindow")
  (c-name "gtk_window_set_keep_above")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method set_keep_below
  (of-object "GtkWindow")
  (c-name "gtk_window_set_keep_below")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method begin_resize_drag
  (of-object "GtkWindow")
  (c-name "gtk_window_begin_resize_drag")
  (return-type "none")
  (parameters
    '("GdkWindowEdge" "edge")
    '("gint" "button")
    '("gint" "root_x")
    '("gint" "root_y")
    '("guint32" "timestamp")
  )
)

(define-method begin_move_drag
  (of-object "GtkWindow")
  (c-name "gtk_window_begin_move_drag")
  (return-type "none")
  (parameters
    '("gint" "button")
    '("gint" "root_x")
    '("gint" "root_y")
    '("guint32" "timestamp")
  )
)

(define-method set_default_size
  (of-object "GtkWindow")
  (c-name "gtk_window_set_default_size")
  (return-type "none")
  (parameters
    '("gint" "width")
    '("gint" "height")
  )
)

(define-method get_default_size
  (of-object "GtkWindow")
  (c-name "gtk_window_get_default_size")
  (return-type "none")
  (parameters
    '("gint*" "width")
    '("gint*" "height")
  )
)

(define-method resize
  (of-object "GtkWindow")
  (c-name "gtk_window_resize")
  (return-type "none")
  (parameters
    '("gint" "width")
    '("gint" "height")
  )
)

(define-method get_size
  (of-object "GtkWindow")
  (c-name "gtk_window_get_size")
  (return-type "none")
  (parameters
    '("gint*" "width")
    '("gint*" "height")
  )
)

(define-method move
  (of-object "GtkWindow")
  (c-name "gtk_window_move")
  (return-type "none")
  (parameters
    '("gint" "x")
    '("gint" "y")
  )
)

(define-method get_position
  (of-object "GtkWindow")
  (c-name "gtk_window_get_position")
  (return-type "none")
  (parameters
    '("gint*" "root_x")
    '("gint*" "root_y")
  )
)

(define-method parse_geometry
  (of-object "GtkWindow")
  (c-name "gtk_window_parse_geometry")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "geometry")
  )
)

(define-method set_default_geometry
  (of-object "GtkWindow")
  (c-name "gtk_window_set_default_geometry")
  (return-type "none")
  (parameters
    '("gint" "width")
    '("gint" "height")
  )
)

(define-method resize_to_geometry
  (of-object "GtkWindow")
  (c-name "gtk_window_resize_to_geometry")
  (return-type "none")
  (parameters
    '("gint" "width")
    '("gint" "height")
  )
)

(define-method get_group
  (of-object "GtkWindow")
  (c-name "gtk_window_get_group")
  (return-type "GtkWindowGroup*")
)

(define-method has_group
  (of-object "GtkWindow")
  (c-name "gtk_window_has_group")
  (return-type "gboolean")
)

(define-method reshow_with_initial_size
  (of-object "GtkWindow")
  (c-name "gtk_window_reshow_with_initial_size")
  (return-type "none")
)

(define-method get_window_type
  (of-object "GtkWindow")
  (c-name "gtk_window_get_window_type")
  (return-type "GtkWindowType")
)

(define-method get_application
  (of-object "GtkWindow")
  (c-name "gtk_window_get_application")
  (return-type "GtkApplication*")
)

(define-method set_application
  (of-object "GtkWindow")
  (c-name "gtk_window_set_application")
  (return-type "none")
  (parameters
    '("GtkApplication*" "application")
  )
)

(define-method set_has_resize_grip
  (of-object "GtkWindow")
  (c-name "gtk_window_set_has_resize_grip")
  (return-type "none")
  (parameters
    '("gboolean" "value")
  )
)

(define-method get_has_resize_grip
  (of-object "GtkWindow")
  (c-name "gtk_window_get_has_resize_grip")
  (return-type "gboolean")
)

(define-method resize_grip_is_visible
  (of-object "GtkWindow")
  (c-name "gtk_window_resize_grip_is_visible")
  (return-type "gboolean")
)

(define-method get_resize_grip_area
  (of-object "GtkWindow")
  (c-name "gtk_window_get_resize_grip_area")
  (return-type "gboolean")
  (parameters
    '("GdkRectangle*" "rect")
  )
)

(define-method set_titlebar
  (of-object "GtkWindow")
  (c-name "gtk_window_set_titlebar")
  (return-type "none")
  (parameters
    '("GtkWidget*" "titlebar")
  )
)

(define-method get_titlebar
  (of-object "GtkWindow")
  (c-name "gtk_window_get_titlebar")
  (return-type "GtkWidget*")
)

(define-method is_maximized
  (of-object "GtkWindow")
  (c-name "gtk_window_is_maximized")
  (return-type "gboolean")
)

(define-function gtk_window_set_interactive_debugging
  (c-name "gtk_window_set_interactive_debugging")
  (return-type "none")
  (parameters
    '("gboolean" "enable")
  )
)



;; From gtkx-autocleanups.h



;; From gtkxembed.h



;; From gtkx.h



;; From stamp-gtkmarshalers.h



;; From stamp-gtkprivatetypebuiltins.h



;; From stamp-gtktypebuiltins.h



;; From xembed.h



;; From gtkactiongroup.h

(define-function gtk_action_group_get_type
  (c-name "gtk_action_group_get_type")
  (return-type "GType")
)

(define-function gtk_action_group_new
  (c-name "gtk_action_group_new")
  (is-constructor-of "GtkActionGroup")
  (return-type "GtkActionGroup*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_name
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_get_name")
  (return-type "const-gchar*")
)

(define-method get_sensitive
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_get_sensitive")
  (return-type "gboolean")
)

(define-method set_sensitive
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_set_sensitive")
  (return-type "none")
  (parameters
    '("gboolean" "sensitive")
  )
)

(define-method get_visible
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_get_visible")
  (return-type "gboolean")
)

(define-method set_visible
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_set_visible")
  (return-type "none")
  (parameters
    '("gboolean" "visible")
  )
)

(define-method get_accel_group
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_get_accel_group")
  (return-type "GtkAccelGroup*")
)

(define-method set_accel_group
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_set_accel_group")
  (return-type "none")
  (parameters
    '("GtkAccelGroup*" "accel_group")
  )
)

(define-method get_action
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_get_action")
  (return-type "GtkAction*")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method list_actions
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_list_actions")
  (return-type "GList*")
)

(define-method add_action
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_add_action")
  (return-type "none")
  (parameters
    '("GtkAction*" "action")
  )
)

(define-method add_action_with_accel
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_add_action_with_accel")
  (return-type "none")
  (parameters
    '("GtkAction*" "action")
    '("const-gchar*" "accelerator")
  )
)

(define-method remove_action
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_remove_action")
  (return-type "none")
  (parameters
    '("GtkAction*" "action")
  )
)

(define-method add_actions
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_add_actions")
  (return-type "none")
  (parameters
    '("const-GtkActionEntry*" "entries")
    '("guint" "n_entries")
    '("gpointer" "user_data")
  )
)

(define-method add_toggle_actions
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_add_toggle_actions")
  (return-type "none")
  (parameters
    '("const-GtkToggleActionEntry*" "entries")
    '("guint" "n_entries")
    '("gpointer" "user_data")
  )
)

(define-method add_radio_actions
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_add_radio_actions")
  (return-type "none")
  (parameters
    '("const-GtkRadioActionEntry*" "entries")
    '("guint" "n_entries")
    '("gint" "value")
    '("GCallback" "on_change")
    '("gpointer" "user_data")
  )
)

(define-method add_actions_full
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_add_actions_full")
  (return-type "none")
  (parameters
    '("const-GtkActionEntry*" "entries")
    '("guint" "n_entries")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method add_toggle_actions_full
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_add_toggle_actions_full")
  (return-type "none")
  (parameters
    '("const-GtkToggleActionEntry*" "entries")
    '("guint" "n_entries")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method add_radio_actions_full
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_add_radio_actions_full")
  (return-type "none")
  (parameters
    '("const-GtkRadioActionEntry*" "entries")
    '("guint" "n_entries")
    '("gint" "value")
    '("GCallback" "on_change")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method set_translate_func
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_set_translate_func")
  (return-type "none")
  (parameters
    '("GtkTranslateFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "notify")
  )
)

(define-method set_translation_domain
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_set_translation_domain")
  (return-type "none")
  (parameters
    '("const-gchar*" "domain")
  )
)

(define-method translate_string
  (of-object "GtkActionGroup")
  (c-name "gtk_action_group_translate_string")
  (return-type "const-gchar*")
  (parameters
    '("const-gchar*" "string")
  )
)



;; From gtkaction.h

(define-function gtk_action_get_type
  (c-name "gtk_action_get_type")
  (return-type "GType")
)

(define-function gtk_action_new
  (c-name "gtk_action_new")
  (is-constructor-of "GtkAction")
  (return-type "GtkAction*")
  (parameters
    '("const-gchar*" "name")
    '("const-gchar*" "label")
    '("const-gchar*" "tooltip")
    '("const-gchar*" "stock_id")
  )
)

(define-method get_name
  (of-object "GtkAction")
  (c-name "gtk_action_get_name")
  (return-type "const-gchar*")
)

(define-method is_sensitive
  (of-object "GtkAction")
  (c-name "gtk_action_is_sensitive")
  (return-type "gboolean")
)

(define-method get_sensitive
  (of-object "GtkAction")
  (c-name "gtk_action_get_sensitive")
  (return-type "gboolean")
)

(define-method set_sensitive
  (of-object "GtkAction")
  (c-name "gtk_action_set_sensitive")
  (return-type "none")
  (parameters
    '("gboolean" "sensitive")
  )
)

(define-method is_visible
  (of-object "GtkAction")
  (c-name "gtk_action_is_visible")
  (return-type "gboolean")
)

(define-method get_visible
  (of-object "GtkAction")
  (c-name "gtk_action_get_visible")
  (return-type "gboolean")
)

(define-method set_visible
  (of-object "GtkAction")
  (c-name "gtk_action_set_visible")
  (return-type "none")
  (parameters
    '("gboolean" "visible")
  )
)

(define-method activate
  (of-object "GtkAction")
  (c-name "gtk_action_activate")
  (return-type "none")
)

(define-method create_icon
  (of-object "GtkAction")
  (c-name "gtk_action_create_icon")
  (return-type "GtkWidget*")
  (parameters
    '("GtkIconSize" "icon_size")
  )
)

(define-method create_menu_item
  (of-object "GtkAction")
  (c-name "gtk_action_create_menu_item")
  (return-type "GtkWidget*")
)

(define-method create_tool_item
  (of-object "GtkAction")
  (c-name "gtk_action_create_tool_item")
  (return-type "GtkWidget*")
)

(define-method create_menu
  (of-object "GtkAction")
  (c-name "gtk_action_create_menu")
  (return-type "GtkWidget*")
)

(define-method get_proxies
  (of-object "GtkAction")
  (c-name "gtk_action_get_proxies")
  (return-type "GSList*")
)

(define-method connect_accelerator
  (of-object "GtkAction")
  (c-name "gtk_action_connect_accelerator")
  (return-type "none")
)

(define-method disconnect_accelerator
  (of-object "GtkAction")
  (c-name "gtk_action_disconnect_accelerator")
  (return-type "none")
)

(define-method get_accel_path
  (of-object "GtkAction")
  (c-name "gtk_action_get_accel_path")
  (return-type "const-gchar*")
)

(define-method get_accel_closure
  (of-object "GtkAction")
  (c-name "gtk_action_get_accel_closure")
  (return-type "GClosure*")
)

(define-method block_activate
  (of-object "GtkAction")
  (c-name "gtk_action_block_activate")
  (return-type "none")
)

(define-method unblock_activate
  (of-object "GtkAction")
  (c-name "gtk_action_unblock_activate")
  (return-type "none")
)

(define-method set_accel_path
  (of-object "GtkAction")
  (c-name "gtk_action_set_accel_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "accel_path")
  )
)

(define-method set_accel_group
  (of-object "GtkAction")
  (c-name "gtk_action_set_accel_group")
  (return-type "none")
  (parameters
    '("GtkAccelGroup*" "accel_group")
  )
)

(define-method set_label
  (of-object "GtkAction")
  (c-name "gtk_action_set_label")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method get_label
  (of-object "GtkAction")
  (c-name "gtk_action_get_label")
  (return-type "const-gchar*")
)

(define-method set_short_label
  (of-object "GtkAction")
  (c-name "gtk_action_set_short_label")
  (return-type "none")
  (parameters
    '("const-gchar*" "short_label")
  )
)

(define-method get_short_label
  (of-object "GtkAction")
  (c-name "gtk_action_get_short_label")
  (return-type "const-gchar*")
)

(define-method set_tooltip
  (of-object "GtkAction")
  (c-name "gtk_action_set_tooltip")
  (return-type "none")
  (parameters
    '("const-gchar*" "tooltip")
  )
)

(define-method get_tooltip
  (of-object "GtkAction")
  (c-name "gtk_action_get_tooltip")
  (return-type "const-gchar*")
)

(define-method set_stock_id
  (of-object "GtkAction")
  (c-name "gtk_action_set_stock_id")
  (return-type "none")
  (parameters
    '("const-gchar*" "stock_id")
  )
)

(define-method get_stock_id
  (of-object "GtkAction")
  (c-name "gtk_action_get_stock_id")
  (return-type "const-gchar*")
)

(define-method set_gicon
  (of-object "GtkAction")
  (c-name "gtk_action_set_gicon")
  (return-type "none")
  (parameters
    '("GIcon*" "icon")
  )
)

(define-method get_gicon
  (of-object "GtkAction")
  (c-name "gtk_action_get_gicon")
  (return-type "GIcon*")
)

(define-method set_icon_name
  (of-object "GtkAction")
  (c-name "gtk_action_set_icon_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "icon_name")
  )
)

(define-method get_icon_name
  (of-object "GtkAction")
  (c-name "gtk_action_get_icon_name")
  (return-type "const-gchar*")
)

(define-method set_visible_horizontal
  (of-object "GtkAction")
  (c-name "gtk_action_set_visible_horizontal")
  (return-type "none")
  (parameters
    '("gboolean" "visible_horizontal")
  )
)

(define-method get_visible_horizontal
  (of-object "GtkAction")
  (c-name "gtk_action_get_visible_horizontal")
  (return-type "gboolean")
)

(define-method set_visible_vertical
  (of-object "GtkAction")
  (c-name "gtk_action_set_visible_vertical")
  (return-type "none")
  (parameters
    '("gboolean" "visible_vertical")
  )
)

(define-method get_visible_vertical
  (of-object "GtkAction")
  (c-name "gtk_action_get_visible_vertical")
  (return-type "gboolean")
)

(define-method set_is_important
  (of-object "GtkAction")
  (c-name "gtk_action_set_is_important")
  (return-type "none")
  (parameters
    '("gboolean" "is_important")
  )
)

(define-method get_is_important
  (of-object "GtkAction")
  (c-name "gtk_action_get_is_important")
  (return-type "gboolean")
)

(define-method set_always_show_image
  (of-object "GtkAction")
  (c-name "gtk_action_set_always_show_image")
  (return-type "none")
  (parameters
    '("gboolean" "always_show")
  )
)

(define-method get_always_show_image
  (of-object "GtkAction")
  (c-name "gtk_action_get_always_show_image")
  (return-type "gboolean")
)



;; From gtkactivatable.h

(define-function gtk_activatable_get_type
  (c-name "gtk_activatable_get_type")
  (return-type "GType")
)

(define-method sync_action_properties
  (of-object "GtkActivatable")
  (c-name "gtk_activatable_sync_action_properties")
  (return-type "none")
  (parameters
    '("GtkAction*" "action")
  )
)

(define-method set_related_action
  (of-object "GtkActivatable")
  (c-name "gtk_activatable_set_related_action")
  (return-type "none")
  (parameters
    '("GtkAction*" "action")
  )
)

(define-method get_related_action
  (of-object "GtkActivatable")
  (c-name "gtk_activatable_get_related_action")
  (return-type "GtkAction*")
)

(define-method set_use_action_appearance
  (of-object "GtkActivatable")
  (c-name "gtk_activatable_set_use_action_appearance")
  (return-type "none")
  (parameters
    '("gboolean" "use_appearance")
  )
)

(define-method get_use_action_appearance
  (of-object "GtkActivatable")
  (c-name "gtk_activatable_get_use_action_appearance")
  (return-type "gboolean")
)

(define-method do_set_related_action
  (of-object "GtkActivatable")
  (c-name "gtk_activatable_do_set_related_action")
  (return-type "none")
  (parameters
    '("GtkAction*" "action")
  )
)



;; From gtkalignment.h

(define-function gtk_alignment_get_type
  (c-name "gtk_alignment_get_type")
  (return-type "GType")
)

(define-function gtk_alignment_new
  (c-name "gtk_alignment_new")
  (is-constructor-of "GtkAlignment")
  (return-type "GtkWidget*")
  (parameters
    '("gfloat" "xalign")
    '("gfloat" "yalign")
    '("gfloat" "xscale")
    '("gfloat" "yscale")
  )
)

(define-method set
  (of-object "GtkAlignment")
  (c-name "gtk_alignment_set")
  (return-type "none")
  (parameters
    '("gfloat" "xalign")
    '("gfloat" "yalign")
    '("gfloat" "xscale")
    '("gfloat" "yscale")
  )
)

(define-method set_padding
  (of-object "GtkAlignment")
  (c-name "gtk_alignment_set_padding")
  (return-type "none")
  (parameters
    '("guint" "padding_top")
    '("guint" "padding_bottom")
    '("guint" "padding_left")
    '("guint" "padding_right")
  )
)

(define-method get_padding
  (of-object "GtkAlignment")
  (c-name "gtk_alignment_get_padding")
  (return-type "none")
  (parameters
    '("guint*" "padding_top")
    '("guint*" "padding_bottom")
    '("guint*" "padding_left")
    '("guint*" "padding_right")
  )
)



;; From gtkarrow.h

(define-function gtk_arrow_get_type
  (c-name "gtk_arrow_get_type")
  (return-type "GType")
)

(define-function gtk_arrow_new
  (c-name "gtk_arrow_new")
  (is-constructor-of "GtkArrow")
  (return-type "GtkWidget*")
  (parameters
    '("GtkArrowType" "arrow_type")
    '("GtkShadowType" "shadow_type")
  )
)

(define-method set
  (of-object "GtkArrow")
  (c-name "gtk_arrow_set")
  (return-type "none")
  (parameters
    '("GtkArrowType" "arrow_type")
    '("GtkShadowType" "shadow_type")
  )
)



;; From gtkcolorseldialog.h

(define-function gtk_color_selection_dialog_get_type
  (c-name "gtk_color_selection_dialog_get_type")
  (return-type "GType")
)

(define-function gtk_color_selection_dialog_new
  (c-name "gtk_color_selection_dialog_new")
  (is-constructor-of "GtkColorSelectionDialog")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "title")
  )
)

(define-method get_color_selection
  (of-object "GtkColorSelectionDialog")
  (c-name "gtk_color_selection_dialog_get_color_selection")
  (return-type "GtkWidget*")
)



;; From gtkcolorsel.h

(define-function gtk_color_selection_get_type
  (c-name "gtk_color_selection_get_type")
  (return-type "GType")
)

(define-function gtk_color_selection_new
  (c-name "gtk_color_selection_new")
  (is-constructor-of "GtkColorSelection")
  (return-type "GtkWidget*")
)

(define-method get_has_opacity_control
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_get_has_opacity_control")
  (return-type "gboolean")
)

(define-method set_has_opacity_control
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_set_has_opacity_control")
  (return-type "none")
  (parameters
    '("gboolean" "has_opacity")
  )
)

(define-method get_has_palette
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_get_has_palette")
  (return-type "gboolean")
)

(define-method set_has_palette
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_set_has_palette")
  (return-type "none")
  (parameters
    '("gboolean" "has_palette")
  )
)

(define-method set_current_alpha
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_set_current_alpha")
  (return-type "none")
  (parameters
    '("guint16" "alpha")
  )
)

(define-method get_current_alpha
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_get_current_alpha")
  (return-type "guint16")
)

(define-method set_previous_alpha
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_set_previous_alpha")
  (return-type "none")
  (parameters
    '("guint16" "alpha")
  )
)

(define-method get_previous_alpha
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_get_previous_alpha")
  (return-type "guint16")
)

(define-method set_current_rgba
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_set_current_rgba")
  (return-type "none")
  (parameters
    '("const-GdkRGBA*" "rgba")
  )
)

(define-method get_current_rgba
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_get_current_rgba")
  (return-type "none")
  (parameters
    '("GdkRGBA*" "rgba")
  )
)

(define-method set_previous_rgba
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_set_previous_rgba")
  (return-type "none")
  (parameters
    '("const-GdkRGBA*" "rgba")
  )
)

(define-method get_previous_rgba
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_get_previous_rgba")
  (return-type "none")
  (parameters
    '("GdkRGBA*" "rgba")
  )
)

(define-method is_adjusting
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_is_adjusting")
  (return-type "gboolean")
)

(define-function gtk_color_selection_palette_from_string
  (c-name "gtk_color_selection_palette_from_string")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "str")
    '("GdkColor**" "colors")
    '("gint*" "n_colors")
  )
)

(define-function gtk_color_selection_palette_to_string
  (c-name "gtk_color_selection_palette_to_string")
  (return-type "gchar*")
  (parameters
    '("const-GdkColor*" "colors")
    '("gint" "n_colors")
  )
)

(define-function gtk_color_selection_set_change_palette_with_screen_hook
  (c-name "gtk_color_selection_set_change_palette_with_screen_hook")
  (return-type "GtkColorSelectionChangePaletteWithScreenFunc")
  (parameters
    '("GtkColorSelectionChangePaletteWithScreenFunc" "func")
  )
)

(define-method set_current_color
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_set_current_color")
  (return-type "none")
  (parameters
    '("const-GdkColor*" "color")
  )
)

(define-method get_current_color
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_get_current_color")
  (return-type "none")
  (parameters
    '("GdkColor*" "color")
  )
)

(define-method set_previous_color
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_set_previous_color")
  (return-type "none")
  (parameters
    '("const-GdkColor*" "color")
  )
)

(define-method get_previous_color
  (of-object "GtkColorSelection")
  (c-name "gtk_color_selection_get_previous_color")
  (return-type "none")
  (parameters
    '("GdkColor*" "color")
  )
)



;; From gtkfontsel.h

(define-function gtk_font_selection_get_type
  (c-name "gtk_font_selection_get_type")
  (return-type "GType")
)

(define-function gtk_font_selection_new
  (c-name "gtk_font_selection_new")
  (is-constructor-of "GtkFontSelection")
  (return-type "GtkWidget*")
)

(define-method get_family_list
  (of-object "GtkFontSelection")
  (c-name "gtk_font_selection_get_family_list")
  (return-type "GtkWidget*")
)

(define-method get_face_list
  (of-object "GtkFontSelection")
  (c-name "gtk_font_selection_get_face_list")
  (return-type "GtkWidget*")
)

(define-method get_size_entry
  (of-object "GtkFontSelection")
  (c-name "gtk_font_selection_get_size_entry")
  (return-type "GtkWidget*")
)

(define-method get_size_list
  (of-object "GtkFontSelection")
  (c-name "gtk_font_selection_get_size_list")
  (return-type "GtkWidget*")
)

(define-method get_preview_entry
  (of-object "GtkFontSelection")
  (c-name "gtk_font_selection_get_preview_entry")
  (return-type "GtkWidget*")
)

(define-method get_family
  (of-object "GtkFontSelection")
  (c-name "gtk_font_selection_get_family")
  (return-type "PangoFontFamily*")
)

(define-method get_face
  (of-object "GtkFontSelection")
  (c-name "gtk_font_selection_get_face")
  (return-type "PangoFontFace*")
)

(define-method get_size
  (of-object "GtkFontSelection")
  (c-name "gtk_font_selection_get_size")
  (return-type "gint")
)

(define-method get_font_name
  (of-object "GtkFontSelection")
  (c-name "gtk_font_selection_get_font_name")
  (return-type "gchar*")
)

(define-method set_font_name
  (of-object "GtkFontSelection")
  (c-name "gtk_font_selection_set_font_name")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "fontname")
  )
)

(define-method get_preview_text
  (of-object "GtkFontSelection")
  (c-name "gtk_font_selection_get_preview_text")
  (return-type "const-gchar*")
)

(define-method set_preview_text
  (of-object "GtkFontSelection")
  (c-name "gtk_font_selection_set_preview_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-function gtk_font_selection_dialog_get_type
  (c-name "gtk_font_selection_dialog_get_type")
  (return-type "GType")
)

(define-function gtk_font_selection_dialog_new
  (c-name "gtk_font_selection_dialog_new")
  (is-constructor-of "GtkFontSelectionDialog")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "title")
  )
)

(define-method get_ok_button
  (of-object "GtkFontSelectionDialog")
  (c-name "gtk_font_selection_dialog_get_ok_button")
  (return-type "GtkWidget*")
)

(define-method get_cancel_button
  (of-object "GtkFontSelectionDialog")
  (c-name "gtk_font_selection_dialog_get_cancel_button")
  (return-type "GtkWidget*")
)

(define-method get_font_selection
  (of-object "GtkFontSelectionDialog")
  (c-name "gtk_font_selection_dialog_get_font_selection")
  (return-type "GtkWidget*")
)

(define-method get_font_name
  (of-object "GtkFontSelectionDialog")
  (c-name "gtk_font_selection_dialog_get_font_name")
  (return-type "gchar*")
)

(define-method set_font_name
  (of-object "GtkFontSelectionDialog")
  (c-name "gtk_font_selection_dialog_set_font_name")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "fontname")
  )
)

(define-method get_preview_text
  (of-object "GtkFontSelectionDialog")
  (c-name "gtk_font_selection_dialog_get_preview_text")
  (return-type "const-gchar*")
)

(define-method set_preview_text
  (of-object "GtkFontSelectionDialog")
  (c-name "gtk_font_selection_dialog_set_preview_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)



;; From gtkgradient.h

(define-function gtk_gradient_get_type
  (c-name "gtk_gradient_get_type")
  (return-type "GType")
)

(define-function gtk_gradient_new_linear
  (c-name "gtk_gradient_new_linear")
  (return-type "GtkGradient*")
  (parameters
    '("gdouble" "x0")
    '("gdouble" "y0")
    '("gdouble" "x1")
    '("gdouble" "y1")
  )
)

(define-function gtk_gradient_new_radial
  (c-name "gtk_gradient_new_radial")
  (return-type "GtkGradient*")
  (parameters
    '("gdouble" "x0")
    '("gdouble" "y0")
    '("gdouble" "radius0")
    '("gdouble" "x1")
    '("gdouble" "y1")
    '("gdouble" "radius1")
  )
)

(define-method add_color_stop
  (of-object "GtkGradient")
  (c-name "gtk_gradient_add_color_stop")
  (return-type "none")
  (parameters
    '("gdouble" "offset")
    '("GtkSymbolicColor*" "color")
  )
)

(define-method ref
  (of-object "GtkGradient")
  (c-name "gtk_gradient_ref")
  (return-type "GtkGradient*")
)

(define-method unref
  (of-object "GtkGradient")
  (c-name "gtk_gradient_unref")
  (return-type "none")
)

(define-method resolve
  (of-object "GtkGradient")
  (c-name "gtk_gradient_resolve")
  (return-type "gboolean")
  (parameters
    '("GtkStyleProperties*" "props")
    '("cairo_pattern_t**" "resolved_gradient")
  )
)

(define-method resolve_for_context
  (of-object "GtkGradient")
  (c-name "gtk_gradient_resolve_for_context")
  (return-type "cairo_pattern_t*")
  (parameters
    '("GtkStyleContext*" "context")
  )
)

(define-method to_string
  (of-object "GtkGradient")
  (c-name "gtk_gradient_to_string")
  (return-type "char*")
)



;; From gtkhandlebox.h

(define-function gtk_handle_box_get_type
  (c-name "gtk_handle_box_get_type")
  (return-type "GType")
)

(define-function gtk_handle_box_new
  (c-name "gtk_handle_box_new")
  (is-constructor-of "GtkHandleBox")
  (return-type "GtkWidget*")
)

(define-method set_shadow_type
  (of-object "GtkHandleBox")
  (c-name "gtk_handle_box_set_shadow_type")
  (return-type "none")
  (parameters
    '("GtkShadowType" "type")
  )
)

(define-method get_shadow_type
  (of-object "GtkHandleBox")
  (c-name "gtk_handle_box_get_shadow_type")
  (return-type "GtkShadowType")
)

(define-method set_handle_position
  (of-object "GtkHandleBox")
  (c-name "gtk_handle_box_set_handle_position")
  (return-type "none")
  (parameters
    '("GtkPositionType" "position")
  )
)

(define-method get_handle_position
  (of-object "GtkHandleBox")
  (c-name "gtk_handle_box_get_handle_position")
  (return-type "GtkPositionType")
)

(define-method set_snap_edge
  (of-object "GtkHandleBox")
  (c-name "gtk_handle_box_set_snap_edge")
  (return-type "none")
  (parameters
    '("GtkPositionType" "edge")
  )
)

(define-method get_snap_edge
  (of-object "GtkHandleBox")
  (c-name "gtk_handle_box_get_snap_edge")
  (return-type "GtkPositionType")
)

(define-method get_child_detached
  (of-object "GtkHandleBox")
  (c-name "gtk_handle_box_get_child_detached")
  (return-type "gboolean")
)



;; From gtkhbbox.h

(define-function gtk_hbutton_box_get_type
  (c-name "gtk_hbutton_box_get_type")
  (return-type "GType")
)

(define-function gtk_hbutton_box_new
  (c-name "gtk_hbutton_box_new")
  (is-constructor-of "GtkHbuttonBox")
  (return-type "GtkWidget*")
)



;; From gtkhbox.h

(define-function gtk_hbox_get_type
  (c-name "gtk_hbox_get_type")
  (return-type "GType")
)

(define-function gtk_hbox_new
  (c-name "gtk_hbox_new")
  (is-constructor-of "GtkHbox")
  (return-type "GtkWidget*")
  (parameters
    '("gboolean" "homogeneous")
    '("gint" "spacing")
  )
)



;; From gtkhpaned.h

(define-function gtk_hpaned_get_type
  (c-name "gtk_hpaned_get_type")
  (return-type "GType")
)

(define-function gtk_hpaned_new
  (c-name "gtk_hpaned_new")
  (is-constructor-of "GtkHpaned")
  (return-type "GtkWidget*")
)



;; From gtkhscale.h

(define-function gtk_hscale_get_type
  (c-name "gtk_hscale_get_type")
  (return-type "GType")
)

(define-function gtk_hscale_new
  (c-name "gtk_hscale_new")
  (is-constructor-of "GtkHscale")
  (return-type "GtkWidget*")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-function gtk_hscale_new_with_range
  (c-name "gtk_hscale_new_with_range")
  (return-type "GtkWidget*")
  (parameters
    '("gdouble" "min")
    '("gdouble" "max")
    '("gdouble" "step")
  )
)



;; From gtkhscrollbar.h

(define-function gtk_hscrollbar_get_type
  (c-name "gtk_hscrollbar_get_type")
  (return-type "GType")
)

(define-function gtk_hscrollbar_new
  (c-name "gtk_hscrollbar_new")
  (is-constructor-of "GtkHscrollbar")
  (return-type "GtkWidget*")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)



;; From gtkhseparator.h

(define-function gtk_hseparator_get_type
  (c-name "gtk_hseparator_get_type")
  (return-type "GType")
)

(define-function gtk_hseparator_new
  (c-name "gtk_hseparator_new")
  (is-constructor-of "GtkHseparator")
  (return-type "GtkWidget*")
)



;; From gtkhsv.h

(define-function gtk_hsv_get_type
  (c-name "gtk_hsv_get_type")
  (return-type "GType")
)

(define-function gtk_hsv_new
  (c-name "gtk_hsv_new")
  (is-constructor-of "GtkHsv")
  (return-type "GtkWidget*")
)

(define-method set_color
  (of-object "GtkHSV")
  (c-name "gtk_hsv_set_color")
  (return-type "none")
  (parameters
    '("double" "h")
    '("double" "s")
    '("double" "v")
  )
)

(define-method get_color
  (of-object "GtkHSV")
  (c-name "gtk_hsv_get_color")
  (return-type "none")
  (parameters
    '("gdouble*" "h")
    '("gdouble*" "s")
    '("gdouble*" "v")
  )
)

(define-method set_metrics
  (of-object "GtkHSV")
  (c-name "gtk_hsv_set_metrics")
  (return-type "none")
  (parameters
    '("gint" "size")
    '("gint" "ring_width")
  )
)

(define-method get_metrics
  (of-object "GtkHSV")
  (c-name "gtk_hsv_get_metrics")
  (return-type "none")
  (parameters
    '("gint*" "size")
    '("gint*" "ring_width")
  )
)

(define-method is_adjusting
  (of-object "GtkHSV")
  (c-name "gtk_hsv_is_adjusting")
  (return-type "gboolean")
)



;; From gtkiconfactory.h

(define-function gtk_icon_factory_get_type
  (c-name "gtk_icon_factory_get_type")
  (return-type "GType")
)

(define-function gtk_icon_factory_new
  (c-name "gtk_icon_factory_new")
  (is-constructor-of "GtkIconFactory")
  (return-type "GtkIconFactory*")
)

(define-method add
  (of-object "GtkIconFactory")
  (c-name "gtk_icon_factory_add")
  (return-type "none")
  (parameters
    '("const-gchar*" "stock_id")
    '("GtkIconSet*" "icon_set")
  )
)

(define-method lookup
  (of-object "GtkIconFactory")
  (c-name "gtk_icon_factory_lookup")
  (return-type "GtkIconSet*")
  (parameters
    '("const-gchar*" "stock_id")
  )
)

(define-method add_default
  (of-object "GtkIconFactory")
  (c-name "gtk_icon_factory_add_default")
  (return-type "none")
)

(define-method remove_default
  (of-object "GtkIconFactory")
  (c-name "gtk_icon_factory_remove_default")
  (return-type "none")
)

(define-function gtk_icon_factory_lookup_default
  (c-name "gtk_icon_factory_lookup_default")
  (return-type "GtkIconSet*")
  (parameters
    '("const-gchar*" "stock_id")
  )
)

(define-method lookup
  (of-object "GtkIconSize")
  (c-name "gtk_icon_size_lookup")
  (return-type "gboolean")
  (parameters
    '("gint*" "width")
    '("gint*" "height")
  )
)

(define-function gtk_icon_size_lookup_for_settings
  (c-name "gtk_icon_size_lookup_for_settings")
  (return-type "gboolean")
  (parameters
    '("GtkSettings*" "settings")
    '("GtkIconSize" "size")
    '("gint*" "width")
    '("gint*" "height")
  )
)

(define-function gtk_icon_size_register
  (c-name "gtk_icon_size_register")
  (return-type "GtkIconSize")
  (parameters
    '("const-gchar*" "name")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-function gtk_icon_size_register_alias
  (c-name "gtk_icon_size_register_alias")
  (return-type "none")
  (parameters
    '("const-gchar*" "alias")
    '("GtkIconSize" "target")
  )
)

(define-function gtk_icon_size_from_name
  (c-name "gtk_icon_size_from_name")
  (return-type "GtkIconSize")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_name
  (of-object "GtkIconSize")
  (c-name "gtk_icon_size_get_name")
  (return-type "const-gchar*")
)

(define-function gtk_icon_set_get_type
  (c-name "gtk_icon_set_get_type")
  (return-type "GType")
)

(define-function gtk_icon_set_new
  (c-name "gtk_icon_set_new")
  (is-constructor-of "GtkIconSet")
  (return-type "GtkIconSet*")
)

(define-function gtk_icon_set_new_from_pixbuf
  (c-name "gtk_icon_set_new_from_pixbuf")
  (return-type "GtkIconSet*")
  (parameters
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-method ref
  (of-object "GtkIconSet")
  (c-name "gtk_icon_set_ref")
  (return-type "GtkIconSet*")
)

(define-method unref
  (of-object "GtkIconSet")
  (c-name "gtk_icon_set_unref")
  (return-type "none")
)

(define-method copy
  (of-object "GtkIconSet")
  (c-name "gtk_icon_set_copy")
  (return-type "GtkIconSet*")
)

(define-method render_icon
  (of-object "GtkIconSet")
  (c-name "gtk_icon_set_render_icon")
  (return-type "GdkPixbuf*")
  (parameters
    '("GtkStyle*" "style")
    '("GtkTextDirection" "direction")
    '("GtkStateType" "state")
    '("GtkIconSize" "size")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
  )
)

(define-method add_source
  (of-object "GtkIconSet")
  (c-name "gtk_icon_set_add_source")
  (return-type "none")
  (parameters
    '("const-GtkIconSource*" "source")
  )
)

(define-method get_sizes
  (of-object "GtkIconSet")
  (c-name "gtk_icon_set_get_sizes")
  (return-type "none")
  (parameters
    '("GtkIconSize**" "sizes")
    '("gint*" "n_sizes")
  )
)

(define-function gtk_icon_source_get_type
  (c-name "gtk_icon_source_get_type")
  (return-type "GType")
)

(define-function gtk_icon_source_new
  (c-name "gtk_icon_source_new")
  (is-constructor-of "GtkIconSource")
  (return-type "GtkIconSource*")
)

(define-method copy
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_copy")
  (return-type "GtkIconSource*")
)

(define-method free
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_free")
  (return-type "none")
)

(define-method set_filename
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_set_filename")
  (return-type "none")
  (parameters
    '("const-gchar*" "filename")
  )
)

(define-method set_icon_name
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_set_icon_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "icon_name")
  )
)

(define-method set_pixbuf
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_set_pixbuf")
  (return-type "none")
  (parameters
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-method get_filename
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_get_filename")
  (return-type "const-gchar*")
)

(define-method get_icon_name
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_get_icon_name")
  (return-type "const-gchar*")
)

(define-method get_pixbuf
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_get_pixbuf")
  (return-type "GdkPixbuf*")
)

(define-method set_direction_wildcarded
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_set_direction_wildcarded")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method set_state_wildcarded
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_set_state_wildcarded")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method set_size_wildcarded
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_set_size_wildcarded")
  (return-type "none")
  (parameters
    '("gboolean" "setting")
  )
)

(define-method get_size_wildcarded
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_get_size_wildcarded")
  (return-type "gboolean")
)

(define-method get_state_wildcarded
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_get_state_wildcarded")
  (return-type "gboolean")
)

(define-method get_direction_wildcarded
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_get_direction_wildcarded")
  (return-type "gboolean")
)

(define-method set_direction
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_set_direction")
  (return-type "none")
  (parameters
    '("GtkTextDirection" "direction")
  )
)

(define-method set_state
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_set_state")
  (return-type "none")
  (parameters
    '("GtkStateType" "state")
  )
)

(define-method set_size
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_set_size")
  (return-type "none")
  (parameters
    '("GtkIconSize" "size")
  )
)

(define-method get_direction
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_get_direction")
  (return-type "GtkTextDirection")
)

(define-method get_state
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_get_state")
  (return-type "GtkStateType")
)

(define-method get_size
  (of-object "GtkIconSource")
  (c-name "gtk_icon_source_get_size")
  (return-type "GtkIconSize")
)



;; From gtkimagemenuitem.h

(define-function gtk_image_menu_item_get_type
  (c-name "gtk_image_menu_item_get_type")
  (return-type "GType")
)

(define-function gtk_image_menu_item_new
  (c-name "gtk_image_menu_item_new")
  (is-constructor-of "GtkImageMenuItem")
  (return-type "GtkWidget*")
)

(define-function gtk_image_menu_item_new_with_label
  (c-name "gtk_image_menu_item_new_with_label")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-function gtk_image_menu_item_new_with_mnemonic
  (c-name "gtk_image_menu_item_new_with_mnemonic")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-function gtk_image_menu_item_new_from_stock
  (c-name "gtk_image_menu_item_new_from_stock")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "stock_id")
    '("GtkAccelGroup*" "accel_group")
  )
)

(define-method set_always_show_image
  (of-object "GtkImageMenuItem")
  (c-name "gtk_image_menu_item_set_always_show_image")
  (return-type "none")
  (parameters
    '("gboolean" "always_show")
  )
)

(define-method get_always_show_image
  (of-object "GtkImageMenuItem")
  (c-name "gtk_image_menu_item_get_always_show_image")
  (return-type "gboolean")
)

(define-method set_image
  (of-object "GtkImageMenuItem")
  (c-name "gtk_image_menu_item_set_image")
  (return-type "none")
  (parameters
    '("GtkWidget*" "image")
  )
)

(define-method get_image
  (of-object "GtkImageMenuItem")
  (c-name "gtk_image_menu_item_get_image")
  (return-type "GtkWidget*")
)

(define-method set_use_stock
  (of-object "GtkImageMenuItem")
  (c-name "gtk_image_menu_item_set_use_stock")
  (return-type "none")
  (parameters
    '("gboolean" "use_stock")
  )
)

(define-method get_use_stock
  (of-object "GtkImageMenuItem")
  (c-name "gtk_image_menu_item_get_use_stock")
  (return-type "gboolean")
)

(define-method set_accel_group
  (of-object "GtkImageMenuItem")
  (c-name "gtk_image_menu_item_set_accel_group")
  (return-type "none")
  (parameters
    '("GtkAccelGroup*" "accel_group")
  )
)



;; From gtkmisc.h

(define-function gtk_misc_get_type
  (c-name "gtk_misc_get_type")
  (return-type "GType")
)

(define-method set_alignment
  (of-object "GtkMisc")
  (c-name "gtk_misc_set_alignment")
  (return-type "none")
  (parameters
    '("gfloat" "xalign")
    '("gfloat" "yalign")
  )
)

(define-method get_alignment
  (of-object "GtkMisc")
  (c-name "gtk_misc_get_alignment")
  (return-type "none")
  (parameters
    '("gfloat*" "xalign")
    '("gfloat*" "yalign")
  )
)

(define-method set_padding
  (of-object "GtkMisc")
  (c-name "gtk_misc_set_padding")
  (return-type "none")
  (parameters
    '("gint" "xpad")
    '("gint" "ypad")
  )
)

(define-method get_padding
  (of-object "GtkMisc")
  (c-name "gtk_misc_get_padding")
  (return-type "none")
  (parameters
    '("gint*" "xpad")
    '("gint*" "ypad")
  )
)



;; From gtknumerableicon.h

(define-function gtk_numerable_icon_get_type
  (c-name "gtk_numerable_icon_get_type")
  (return-type "GType")
)

(define-function gtk_numerable_icon_new
  (c-name "gtk_numerable_icon_new")
  (is-constructor-of "GtkNumerableIcon")
  (return-type "GIcon*")
  (parameters
    '("GIcon*" "base_icon")
  )
)

(define-function gtk_numerable_icon_new_with_style_context
  (c-name "gtk_numerable_icon_new_with_style_context")
  (return-type "GIcon*")
  (parameters
    '("GIcon*" "base_icon")
    '("GtkStyleContext*" "context")
  )
)

(define-method get_style_context
  (of-object "GtkNumerableIcon")
  (c-name "gtk_numerable_icon_get_style_context")
  (return-type "GtkStyleContext*")
)

(define-method set_style_context
  (of-object "GtkNumerableIcon")
  (c-name "gtk_numerable_icon_set_style_context")
  (return-type "none")
  (parameters
    '("GtkStyleContext*" "style")
  )
)

(define-method get_count
  (of-object "GtkNumerableIcon")
  (c-name "gtk_numerable_icon_get_count")
  (return-type "gint")
)

(define-method set_count
  (of-object "GtkNumerableIcon")
  (c-name "gtk_numerable_icon_set_count")
  (return-type "none")
  (parameters
    '("gint" "count")
  )
)

(define-method get_label
  (of-object "GtkNumerableIcon")
  (c-name "gtk_numerable_icon_get_label")
  (return-type "const-gchar*")
)

(define-method set_label
  (of-object "GtkNumerableIcon")
  (c-name "gtk_numerable_icon_set_label")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method set_background_gicon
  (of-object "GtkNumerableIcon")
  (c-name "gtk_numerable_icon_set_background_gicon")
  (return-type "none")
  (parameters
    '("GIcon*" "icon")
  )
)

(define-method get_background_gicon
  (of-object "GtkNumerableIcon")
  (c-name "gtk_numerable_icon_get_background_gicon")
  (return-type "GIcon*")
)

(define-method set_background_icon_name
  (of-object "GtkNumerableIcon")
  (c-name "gtk_numerable_icon_set_background_icon_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "icon_name")
  )
)

(define-method get_background_icon_name
  (of-object "GtkNumerableIcon")
  (c-name "gtk_numerable_icon_get_background_icon_name")
  (return-type "const-gchar*")
)



;; From gtkradioaction.h

(define-function gtk_radio_action_get_type
  (c-name "gtk_radio_action_get_type")
  (return-type "GType")
)

(define-function gtk_radio_action_new
  (c-name "gtk_radio_action_new")
  (is-constructor-of "GtkRadioAction")
  (return-type "GtkRadioAction*")
  (parameters
    '("const-gchar*" "name")
    '("const-gchar*" "label")
    '("const-gchar*" "tooltip")
    '("const-gchar*" "stock_id")
    '("gint" "value")
  )
)

(define-method get_group
  (of-object "GtkRadioAction")
  (c-name "gtk_radio_action_get_group")
  (return-type "GSList*")
)

(define-method set_group
  (of-object "GtkRadioAction")
  (c-name "gtk_radio_action_set_group")
  (return-type "none")
  (parameters
    '("GSList*" "group")
  )
)

(define-method join_group
  (of-object "GtkRadioAction")
  (c-name "gtk_radio_action_join_group")
  (return-type "none")
  (parameters
    '("GtkRadioAction*" "group_source")
  )
)

(define-method get_current_value
  (of-object "GtkRadioAction")
  (c-name "gtk_radio_action_get_current_value")
  (return-type "gint")
)

(define-method set_current_value
  (of-object "GtkRadioAction")
  (c-name "gtk_radio_action_set_current_value")
  (return-type "none")
  (parameters
    '("gint" "current_value")
  )
)



;; From gtkrc.h

(define-function gtk_rc_add_default_file
  (c-name "gtk_rc_add_default_file")
  (return-type "none")
  (parameters
    '("const-gchar*" "filename")
  )
)

(define-function gtk_rc_set_default_files
  (c-name "gtk_rc_set_default_files")
  (return-type "none")
  (parameters
    '("gchar**" "filenames")
  )
)

(define-function gtk_rc_get_default_files
  (c-name "gtk_rc_get_default_files")
  (return-type "gchar**")
)

(define-function gtk_rc_get_style
  (c-name "gtk_rc_get_style")
  (return-type "GtkStyle*")
  (parameters
    '("GtkWidget*" "widget")
  )
)

(define-function gtk_rc_get_style_by_paths
  (c-name "gtk_rc_get_style_by_paths")
  (return-type "GtkStyle*")
  (parameters
    '("GtkSettings*" "settings")
    '("const-char*" "widget_path")
    '("const-char*" "class_path")
    '("GType" "type")
  )
)

(define-function gtk_rc_reparse_all_for_settings
  (c-name "gtk_rc_reparse_all_for_settings")
  (return-type "gboolean")
  (parameters
    '("GtkSettings*" "settings")
    '("gboolean" "force_load")
  )
)

(define-function gtk_rc_reset_styles
  (c-name "gtk_rc_reset_styles")
  (return-type "none")
  (parameters
    '("GtkSettings*" "settings")
  )
)

(define-function gtk_rc_find_pixmap_in_path
  (c-name "gtk_rc_find_pixmap_in_path")
  (return-type "gchar*")
  (parameters
    '("GtkSettings*" "settings")
    '("GScanner*" "scanner")
    '("const-gchar*" "pixmap_file")
  )
)

(define-function gtk_rc_parse
  (c-name "gtk_rc_parse")
  (return-type "none")
  (parameters
    '("const-gchar*" "filename")
  )
)

(define-function gtk_rc_parse_string
  (c-name "gtk_rc_parse_string")
  (return-type "none")
  (parameters
    '("const-gchar*" "rc_string")
  )
)

(define-function gtk_rc_reparse_all
  (c-name "gtk_rc_reparse_all")
  (return-type "gboolean")
)

(define-function gtk_rc_style_get_type
  (c-name "gtk_rc_style_get_type")
  (return-type "GType")
)

(define-function gtk_rc_style_new
  (c-name "gtk_rc_style_new")
  (is-constructor-of "GtkRcStyle")
  (return-type "GtkRcStyle*")
)

(define-method copy
  (of-object "GtkRcStyle")
  (c-name "gtk_rc_style_copy")
  (return-type "GtkRcStyle*")
)

(define-function gtk_rc_find_module_in_path
  (c-name "gtk_rc_find_module_in_path")
  (return-type "gchar*")
  (parameters
    '("const-gchar*" "module_file")
  )
)

(define-function gtk_rc_get_theme_dir
  (c-name "gtk_rc_get_theme_dir")
  (return-type "gchar*")
)

(define-function gtk_rc_get_module_dir
  (c-name "gtk_rc_get_module_dir")
  (return-type "gchar*")
)

(define-function gtk_rc_get_im_module_path
  (c-name "gtk_rc_get_im_module_path")
  (return-type "gchar*")
)

(define-function gtk_rc_get_im_module_file
  (c-name "gtk_rc_get_im_module_file")
  (return-type "gchar*")
)

(define-function gtk_rc_scanner_new
  (c-name "gtk_rc_scanner_new")
  (is-constructor-of "GtkRcScanner")
  (return-type "GScanner*")
)

(define-function gtk_rc_parse_color
  (c-name "gtk_rc_parse_color")
  (return-type "guint")
  (parameters
    '("GScanner*" "scanner")
    '("GdkColor*" "color")
  )
)

(define-function gtk_rc_parse_color_full
  (c-name "gtk_rc_parse_color_full")
  (return-type "guint")
  (parameters
    '("GScanner*" "scanner")
    '("GtkRcStyle*" "style")
    '("GdkColor*" "color")
  )
)

(define-function gtk_rc_parse_state
  (c-name "gtk_rc_parse_state")
  (return-type "guint")
  (parameters
    '("GScanner*" "scanner")
    '("GtkStateType*" "state")
  )
)

(define-function gtk_rc_parse_priority
  (c-name "gtk_rc_parse_priority")
  (return-type "guint")
  (parameters
    '("GScanner*" "scanner")
    '("GtkPathPriorityType*" "priority")
  )
)

(define-method add_path
  (of-object "GtkBindingSet")
  (c-name "gtk_binding_set_add_path")
  (return-type "none")
  (parameters
    '("GtkPathType" "path_type")
    '("const-gchar*" "path_pattern")
    '("GtkPathPriorityType" "priority")
  )
)



;; From gtkrecentaction.h

(define-function gtk_recent_action_get_type
  (c-name "gtk_recent_action_get_type")
  (return-type "GType")
)

(define-function gtk_recent_action_new
  (c-name "gtk_recent_action_new")
  (is-constructor-of "GtkRecentAction")
  (return-type "GtkAction*")
  (parameters
    '("const-gchar*" "name")
    '("const-gchar*" "label")
    '("const-gchar*" "tooltip")
    '("const-gchar*" "stock_id")
  )
)

(define-function gtk_recent_action_new_for_manager
  (c-name "gtk_recent_action_new_for_manager")
  (return-type "GtkAction*")
  (parameters
    '("const-gchar*" "name")
    '("const-gchar*" "label")
    '("const-gchar*" "tooltip")
    '("const-gchar*" "stock_id")
    '("GtkRecentManager*" "manager")
  )
)

(define-method get_show_numbers
  (of-object "GtkRecentAction")
  (c-name "gtk_recent_action_get_show_numbers")
  (return-type "gboolean")
)

(define-method set_show_numbers
  (of-object "GtkRecentAction")
  (c-name "gtk_recent_action_set_show_numbers")
  (return-type "none")
  (parameters
    '("gboolean" "show_numbers")
  )
)



;; From gtkstatusicon.h

(define-function gtk_status_icon_get_type
  (c-name "gtk_status_icon_get_type")
  (return-type "GType")
)

(define-function gtk_status_icon_new
  (c-name "gtk_status_icon_new")
  (is-constructor-of "GtkStatusIcon")
  (return-type "GtkStatusIcon*")
)

(define-function gtk_status_icon_new_from_pixbuf
  (c-name "gtk_status_icon_new_from_pixbuf")
  (return-type "GtkStatusIcon*")
  (parameters
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-function gtk_status_icon_new_from_file
  (c-name "gtk_status_icon_new_from_file")
  (return-type "GtkStatusIcon*")
  (parameters
    '("const-gchar*" "filename")
  )
)

(define-function gtk_status_icon_new_from_stock
  (c-name "gtk_status_icon_new_from_stock")
  (return-type "GtkStatusIcon*")
  (parameters
    '("const-gchar*" "stock_id")
  )
)

(define-function gtk_status_icon_new_from_icon_name
  (c-name "gtk_status_icon_new_from_icon_name")
  (return-type "GtkStatusIcon*")
  (parameters
    '("const-gchar*" "icon_name")
  )
)

(define-function gtk_status_icon_new_from_gicon
  (c-name "gtk_status_icon_new_from_gicon")
  (return-type "GtkStatusIcon*")
  (parameters
    '("GIcon*" "icon")
  )
)

(define-method set_from_pixbuf
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_set_from_pixbuf")
  (return-type "none")
  (parameters
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-method set_from_file
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_set_from_file")
  (return-type "none")
  (parameters
    '("const-gchar*" "filename")
  )
)

(define-method set_from_stock
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_set_from_stock")
  (return-type "none")
  (parameters
    '("const-gchar*" "stock_id")
  )
)

(define-method set_from_icon_name
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_set_from_icon_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "icon_name")
  )
)

(define-method set_from_gicon
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_set_from_gicon")
  (return-type "none")
  (parameters
    '("GIcon*" "icon")
  )
)

(define-method get_storage_type
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_storage_type")
  (return-type "GtkImageType")
)

(define-method get_pixbuf
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_pixbuf")
  (return-type "GdkPixbuf*")
)

(define-method get_stock
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_stock")
  (return-type "const-gchar*")
)

(define-method get_icon_name
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_icon_name")
  (return-type "const-gchar*")
)

(define-method get_gicon
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_gicon")
  (return-type "GIcon*")
)

(define-method get_size
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_size")
  (return-type "gint")
)

(define-method set_screen
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_set_screen")
  (return-type "none")
  (parameters
    '("GdkScreen*" "screen")
  )
)

(define-method get_screen
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_screen")
  (return-type "GdkScreen*")
)

(define-method set_has_tooltip
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_set_has_tooltip")
  (return-type "none")
  (parameters
    '("gboolean" "has_tooltip")
  )
)

(define-method set_tooltip_text
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_set_tooltip_text")
  (return-type "none")
  (parameters
    '("const-gchar*" "text")
  )
)

(define-method set_tooltip_markup
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_set_tooltip_markup")
  (return-type "none")
  (parameters
    '("const-gchar*" "markup")
  )
)

(define-method set_title
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_set_title")
  (return-type "none")
  (parameters
    '("const-gchar*" "title")
  )
)

(define-method get_title
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_title")
  (return-type "const-gchar*")
)

(define-method set_name
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_set_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method set_visible
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_set_visible")
  (return-type "none")
  (parameters
    '("gboolean" "visible")
  )
)

(define-method get_visible
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_visible")
  (return-type "gboolean")
)

(define-method is_embedded
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_is_embedded")
  (return-type "gboolean")
)

(define-function gtk_status_icon_position_menu
  (c-name "gtk_status_icon_position_menu")
  (return-type "none")
  (parameters
    '("GtkMenu*" "menu")
    '("gint*" "x")
    '("gint*" "y")
    '("gboolean*" "push_in")
    '("gpointer" "user_data")
  )
)

(define-method get_geometry
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_geometry")
  (return-type "gboolean")
  (parameters
    '("GdkScreen**" "screen")
    '("GdkRectangle*" "area")
    '("GtkOrientation*" "orientation")
  )
)

(define-method get_has_tooltip
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_has_tooltip")
  (return-type "gboolean")
)

(define-method get_tooltip_text
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_tooltip_text")
  (return-type "gchar*")
)

(define-method get_tooltip_markup
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_tooltip_markup")
  (return-type "gchar*")
)

(define-method get_x11_window_id
  (of-object "GtkStatusIcon")
  (c-name "gtk_status_icon_get_x11_window_id")
  (return-type "guint32")
)



;; From gtkstock.h

(define-function gtk_stock_add
  (c-name "gtk_stock_add")
  (return-type "none")
  (parameters
    '("const-GtkStockItem*" "items")
    '("guint" "n_items")
  )
)

(define-function gtk_stock_add_static
  (c-name "gtk_stock_add_static")
  (return-type "none")
  (parameters
    '("const-GtkStockItem*" "items")
    '("guint" "n_items")
  )
)

(define-function gtk_stock_lookup
  (c-name "gtk_stock_lookup")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "stock_id")
    '("GtkStockItem*" "item")
  )
)

(define-function gtk_stock_list_ids
  (c-name "gtk_stock_list_ids")
  (return-type "GSList*")
)

(define-method copy
  (of-object "GtkStockItem")
  (c-name "gtk_stock_item_copy")
  (return-type "GtkStockItem*")
)

(define-method free
  (of-object "GtkStockItem")
  (c-name "gtk_stock_item_free")
  (return-type "none")
)

(define-function gtk_stock_set_translate_func
  (c-name "gtk_stock_set_translate_func")
  (return-type "none")
  (parameters
    '("const-gchar*" "domain")
    '("GtkTranslateFunc" "func")
    '("gpointer" "data")
    '("GDestroyNotify" "notify")
  )
)



;; From gtkstyle.h

(define-function gtk_style_get_type
  (c-name "gtk_style_get_type")
  (return-type "GType")
)

(define-function gtk_style_new
  (c-name "gtk_style_new")
  (is-constructor-of "GtkStyle")
  (return-type "GtkStyle*")
)

(define-method copy
  (of-object "GtkStyle")
  (c-name "gtk_style_copy")
  (return-type "GtkStyle*")
)

(define-method attach
  (of-object "GtkStyle")
  (c-name "gtk_style_attach")
  (return-type "GtkStyle*")
  (parameters
    '("GdkWindow*" "window")
  )
)

(define-method detach
  (of-object "GtkStyle")
  (c-name "gtk_style_detach")
  (return-type "none")
)

(define-method set_background
  (of-object "GtkStyle")
  (c-name "gtk_style_set_background")
  (return-type "none")
  (parameters
    '("GdkWindow*" "window")
    '("GtkStateType" "state_type")
  )
)

(define-method apply_default_background
  (of-object "GtkStyle")
  (c-name "gtk_style_apply_default_background")
  (return-type "none")
  (parameters
    '("cairo_t*" "cr")
    '("GdkWindow*" "window")
    '("GtkStateType" "state_type")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-method lookup_icon_set
  (of-object "GtkStyle")
  (c-name "gtk_style_lookup_icon_set")
  (return-type "GtkIconSet*")
  (parameters
    '("const-gchar*" "stock_id")
  )
)

(define-method lookup_color
  (of-object "GtkStyle")
  (c-name "gtk_style_lookup_color")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "color_name")
    '("GdkColor*" "color")
  )
)

(define-method render_icon
  (of-object "GtkStyle")
  (c-name "gtk_style_render_icon")
  (return-type "GdkPixbuf*")
  (parameters
    '("const-GtkIconSource*" "source")
    '("GtkTextDirection" "direction")
    '("GtkStateType" "state")
    '("GtkIconSize" "size")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
  )
)

(define-function gtk_paint_hline
  (c-name "gtk_paint_hline")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x1")
    '("gint" "x2")
    '("gint" "y")
  )
)

(define-function gtk_paint_vline
  (c-name "gtk_paint_vline")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "y1_")
    '("gint" "y2_")
    '("gint" "x")
  )
)

(define-function gtk_paint_shadow
  (c-name "gtk_paint_shadow")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkShadowType" "shadow_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-function gtk_paint_arrow
  (c-name "gtk_paint_arrow")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkShadowType" "shadow_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("GtkArrowType" "arrow_type")
    '("gboolean" "fill")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-function gtk_paint_diamond
  (c-name "gtk_paint_diamond")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkShadowType" "shadow_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-function gtk_paint_box
  (c-name "gtk_paint_box")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkShadowType" "shadow_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-function gtk_paint_flat_box
  (c-name "gtk_paint_flat_box")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkShadowType" "shadow_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-function gtk_paint_check
  (c-name "gtk_paint_check")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkShadowType" "shadow_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-function gtk_paint_option
  (c-name "gtk_paint_option")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkShadowType" "shadow_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-function gtk_paint_tab
  (c-name "gtk_paint_tab")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkShadowType" "shadow_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-function gtk_paint_shadow_gap
  (c-name "gtk_paint_shadow_gap")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkShadowType" "shadow_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
    '("GtkPositionType" "gap_side")
    '("gint" "gap_x")
    '("gint" "gap_width")
  )
)

(define-function gtk_paint_box_gap
  (c-name "gtk_paint_box_gap")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkShadowType" "shadow_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
    '("GtkPositionType" "gap_side")
    '("gint" "gap_x")
    '("gint" "gap_width")
  )
)

(define-function gtk_paint_extension
  (c-name "gtk_paint_extension")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkShadowType" "shadow_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
    '("GtkPositionType" "gap_side")
  )
)

(define-function gtk_paint_focus
  (c-name "gtk_paint_focus")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-function gtk_paint_slider
  (c-name "gtk_paint_slider")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkShadowType" "shadow_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
    '("GtkOrientation" "orientation")
  )
)

(define-function gtk_paint_handle
  (c-name "gtk_paint_handle")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkShadowType" "shadow_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
    '("GtkOrientation" "orientation")
  )
)

(define-function gtk_paint_expander
  (c-name "gtk_paint_expander")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("GtkExpanderStyle" "expander_style")
  )
)

(define-function gtk_paint_layout
  (c-name "gtk_paint_layout")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("gboolean" "use_text")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("gint" "x")
    '("gint" "y")
    '("PangoLayout*" "layout")
  )
)

(define-function gtk_paint_resize_grip
  (c-name "gtk_paint_resize_grip")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("GdkWindowEdge" "edge")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-function gtk_paint_spinner
  (c-name "gtk_paint_spinner")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
    '("cairo_t*" "cr")
    '("GtkStateType" "state_type")
    '("GtkWidget*" "widget")
    '("const-gchar*" "detail")
    '("guint" "step")
    '("gint" "x")
    '("gint" "y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-method get_style_property
  (of-object "GtkStyle")
  (c-name "gtk_style_get_style_property")
  (return-type "none")
  (parameters
    '("GType" "widget_type")
    '("const-gchar*" "property_name")
    '("GValue*" "value")
  )
)

(define-method get_valist
  (of-object "GtkStyle")
  (c-name "gtk_style_get_valist")
  (return-type "none")
  (parameters
    '("GType" "widget_type")
    '("const-gchar*" "first_property_name")
    '("va_list" "var_args")
  )
)

(define-method get
  (of-object "GtkStyle")
  (c-name "gtk_style_get")
  (return-type "none")
  (parameters
    '("GType" "widget_type")
    '("const-gchar*" "first_property_name")
  )
  (varargs #t)
)

(define-method has_context
  (of-object "GtkStyle")
  (c-name "gtk_style_has_context")
  (return-type "gboolean")
)

(define-method style_attach
  (of-object "GtkWidget")
  (c-name "gtk_widget_style_attach")
  (return-type "none")
)

(define-method has_rc_style
  (of-object "GtkWidget")
  (c-name "gtk_widget_has_rc_style")
  (return-type "gboolean")
)

(define-method set_style
  (of-object "GtkWidget")
  (c-name "gtk_widget_set_style")
  (return-type "none")
  (parameters
    '("GtkStyle*" "style")
  )
)

(define-method ensure_style
  (of-object "GtkWidget")
  (c-name "gtk_widget_ensure_style")
  (return-type "none")
)

(define-method get_style
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_style")
  (return-type "GtkStyle*")
)

(define-method modify_style
  (of-object "GtkWidget")
  (c-name "gtk_widget_modify_style")
  (return-type "none")
  (parameters
    '("GtkRcStyle*" "style")
  )
)

(define-method get_modifier_style
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_modifier_style")
  (return-type "GtkRcStyle*")
)

(define-method modify_fg
  (of-object "GtkWidget")
  (c-name "gtk_widget_modify_fg")
  (return-type "none")
  (parameters
    '("GtkStateType" "state")
    '("const-GdkColor*" "color")
  )
)

(define-method modify_bg
  (of-object "GtkWidget")
  (c-name "gtk_widget_modify_bg")
  (return-type "none")
  (parameters
    '("GtkStateType" "state")
    '("const-GdkColor*" "color")
  )
)

(define-method modify_text
  (of-object "GtkWidget")
  (c-name "gtk_widget_modify_text")
  (return-type "none")
  (parameters
    '("GtkStateType" "state")
    '("const-GdkColor*" "color")
  )
)

(define-method modify_base
  (of-object "GtkWidget")
  (c-name "gtk_widget_modify_base")
  (return-type "none")
  (parameters
    '("GtkStateType" "state")
    '("const-GdkColor*" "color")
  )
)

(define-method modify_cursor
  (of-object "GtkWidget")
  (c-name "gtk_widget_modify_cursor")
  (return-type "none")
  (parameters
    '("const-GdkColor*" "primary")
    '("const-GdkColor*" "secondary")
  )
)

(define-method modify_font
  (of-object "GtkWidget")
  (c-name "gtk_widget_modify_font")
  (return-type "none")
  (parameters
    '("PangoFontDescription*" "font_desc")
  )
)

(define-method reset_rc_styles
  (of-object "GtkWidget")
  (c-name "gtk_widget_reset_rc_styles")
  (return-type "none")
)

(define-function gtk_widget_get_default_style
  (c-name "gtk_widget_get_default_style")
  (return-type "GtkStyle*")
)

(define-method path
  (of-object "GtkWidget")
  (c-name "gtk_widget_path")
  (return-type "none")
  (parameters
    '("guint*" "path_length")
    '("gchar**" "path")
    '("gchar**" "path_reversed")
  )
)

(define-method class_path
  (of-object "GtkWidget")
  (c-name "gtk_widget_class_path")
  (return-type "none")
  (parameters
    '("guint*" "path_length")
    '("gchar**" "path")
    '("gchar**" "path_reversed")
  )
)

(define-method render_icon
  (of-object "GtkWidget")
  (c-name "gtk_widget_render_icon")
  (return-type "GdkPixbuf*")
  (parameters
    '("const-gchar*" "stock_id")
    '("GtkIconSize" "size")
    '("const-gchar*" "detail")
  )
)



;; From gtkstyleproperties.h

(define-function gtk_style_properties_get_type
  (c-name "gtk_style_properties_get_type")
  (return-type "GType")
)

(define-function gtk_style_properties_register_property
  (c-name "gtk_style_properties_register_property")
  (return-type "none")
  (parameters
    '("GtkStylePropertyParser" "parse_func")
    '("GParamSpec*" "pspec")
  )
)

(define-function gtk_style_properties_lookup_property
  (c-name "gtk_style_properties_lookup_property")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "property_name")
    '("GtkStylePropertyParser*" "parse_func")
    '("GParamSpec**" "pspec")
  )
)

(define-function gtk_style_properties_new
  (c-name "gtk_style_properties_new")
  (is-constructor-of "GtkStyleProperties")
  (return-type "GtkStyleProperties*")
)

(define-method map_color
  (of-object "GtkStyleProperties")
  (c-name "gtk_style_properties_map_color")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
    '("GtkSymbolicColor*" "color")
  )
)

(define-method lookup_color
  (of-object "GtkStyleProperties")
  (c-name "gtk_style_properties_lookup_color")
  (return-type "GtkSymbolicColor*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method set_property
  (of-object "GtkStyleProperties")
  (c-name "gtk_style_properties_set_property")
  (return-type "none")
  (parameters
    '("const-gchar*" "property")
    '("GtkStateFlags" "state")
    '("const-GValue*" "value")
  )
)

(define-method set_valist
  (of-object "GtkStyleProperties")
  (c-name "gtk_style_properties_set_valist")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("va_list" "args")
  )
)

(define-method set
  (of-object "GtkStyleProperties")
  (c-name "gtk_style_properties_set")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
  )
  (varargs #t)
)

(define-method get_property
  (of-object "GtkStyleProperties")
  (c-name "gtk_style_properties_get_property")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "property")
    '("GtkStateFlags" "state")
    '("GValue*" "value")
  )
)

(define-method get_valist
  (of-object "GtkStyleProperties")
  (c-name "gtk_style_properties_get_valist")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("va_list" "args")
  )
)

(define-method get
  (of-object "GtkStyleProperties")
  (c-name "gtk_style_properties_get")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
  )
  (varargs #t)
)

(define-method unset_property
  (of-object "GtkStyleProperties")
  (c-name "gtk_style_properties_unset_property")
  (return-type "none")
  (parameters
    '("const-gchar*" "property")
    '("GtkStateFlags" "state")
  )
)

(define-method clear
  (of-object "GtkStyleProperties")
  (c-name "gtk_style_properties_clear")
  (return-type "none")
)

(define-method merge
  (of-object "GtkStyleProperties")
  (c-name "gtk_style_properties_merge")
  (return-type "none")
  (parameters
    '("const-GtkStyleProperties*" "props_to_merge")
    '("gboolean" "replace")
  )
)



;; From gtksymboliccolor.h

(define-function gtk_symbolic_color_get_type
  (c-name "gtk_symbolic_color_get_type")
  (return-type "GType")
)

(define-function gtk_symbolic_color_new_literal
  (c-name "gtk_symbolic_color_new_literal")
  (return-type "GtkSymbolicColor*")
  (parameters
    '("const-GdkRGBA*" "color")
  )
)

(define-function gtk_symbolic_color_new_name
  (c-name "gtk_symbolic_color_new_name")
  (return-type "GtkSymbolicColor*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method new_shade
  (of-object "GtkSymbolicColor")
  (c-name "gtk_symbolic_color_new_shade")
  (return-type "GtkSymbolicColor*")
  (parameters
    '("gdouble" "factor")
  )
)

(define-method new_alpha
  (of-object "GtkSymbolicColor")
  (c-name "gtk_symbolic_color_new_alpha")
  (return-type "GtkSymbolicColor*")
  (parameters
    '("gdouble" "factor")
  )
)

(define-method new_mix
  (of-object "GtkSymbolicColor")
  (c-name "gtk_symbolic_color_new_mix")
  (return-type "GtkSymbolicColor*")
  (parameters
    '("GtkSymbolicColor*" "color2")
    '("gdouble" "factor")
  )
)

(define-function gtk_symbolic_color_new_win32
  (c-name "gtk_symbolic_color_new_win32")
  (return-type "GtkSymbolicColor*")
  (parameters
    '("const-gchar*" "theme_class")
    '("gint" "id")
  )
)

(define-method ref
  (of-object "GtkSymbolicColor")
  (c-name "gtk_symbolic_color_ref")
  (return-type "GtkSymbolicColor*")
)

(define-method unref
  (of-object "GtkSymbolicColor")
  (c-name "gtk_symbolic_color_unref")
  (return-type "none")
)

(define-method to_string
  (of-object "GtkSymbolicColor")
  (c-name "gtk_symbolic_color_to_string")
  (return-type "char*")
)

(define-method resolve
  (of-object "GtkSymbolicColor")
  (c-name "gtk_symbolic_color_resolve")
  (return-type "gboolean")
  (parameters
    '("GtkStyleProperties*" "props")
    '("GdkRGBA*" "resolved_color")
  )
)



;; From gtktable.h

(define-function gtk_table_get_type
  (c-name "gtk_table_get_type")
  (return-type "GType")
)

(define-function gtk_table_new
  (c-name "gtk_table_new")
  (is-constructor-of "GtkTable")
  (return-type "GtkWidget*")
  (parameters
    '("guint" "rows")
    '("guint" "columns")
    '("gboolean" "homogeneous")
  )
)

(define-method resize
  (of-object "GtkTable")
  (c-name "gtk_table_resize")
  (return-type "none")
  (parameters
    '("guint" "rows")
    '("guint" "columns")
  )
)

(define-method attach
  (of-object "GtkTable")
  (c-name "gtk_table_attach")
  (return-type "none")
  (parameters
    '("GtkWidget*" "child")
    '("guint" "left_attach")
    '("guint" "right_attach")
    '("guint" "top_attach")
    '("guint" "bottom_attach")
    '("GtkAttachOptions" "xoptions")
    '("GtkAttachOptions" "yoptions")
    '("guint" "xpadding")
    '("guint" "ypadding")
  )
)

(define-method attach_defaults
  (of-object "GtkTable")
  (c-name "gtk_table_attach_defaults")
  (return-type "none")
  (parameters
    '("GtkWidget*" "widget")
    '("guint" "left_attach")
    '("guint" "right_attach")
    '("guint" "top_attach")
    '("guint" "bottom_attach")
  )
)

(define-method set_row_spacing
  (of-object "GtkTable")
  (c-name "gtk_table_set_row_spacing")
  (return-type "none")
  (parameters
    '("guint" "row")
    '("guint" "spacing")
  )
)

(define-method get_row_spacing
  (of-object "GtkTable")
  (c-name "gtk_table_get_row_spacing")
  (return-type "guint")
  (parameters
    '("guint" "row")
  )
)

(define-method set_col_spacing
  (of-object "GtkTable")
  (c-name "gtk_table_set_col_spacing")
  (return-type "none")
  (parameters
    '("guint" "column")
    '("guint" "spacing")
  )
)

(define-method get_col_spacing
  (of-object "GtkTable")
  (c-name "gtk_table_get_col_spacing")
  (return-type "guint")
  (parameters
    '("guint" "column")
  )
)

(define-method set_row_spacings
  (of-object "GtkTable")
  (c-name "gtk_table_set_row_spacings")
  (return-type "none")
  (parameters
    '("guint" "spacing")
  )
)

(define-method get_default_row_spacing
  (of-object "GtkTable")
  (c-name "gtk_table_get_default_row_spacing")
  (return-type "guint")
)

(define-method set_col_spacings
  (of-object "GtkTable")
  (c-name "gtk_table_set_col_spacings")
  (return-type "none")
  (parameters
    '("guint" "spacing")
  )
)

(define-method get_default_col_spacing
  (of-object "GtkTable")
  (c-name "gtk_table_get_default_col_spacing")
  (return-type "guint")
)

(define-method set_homogeneous
  (of-object "GtkTable")
  (c-name "gtk_table_set_homogeneous")
  (return-type "none")
  (parameters
    '("gboolean" "homogeneous")
  )
)

(define-method get_homogeneous
  (of-object "GtkTable")
  (c-name "gtk_table_get_homogeneous")
  (return-type "gboolean")
)

(define-method get_size
  (of-object "GtkTable")
  (c-name "gtk_table_get_size")
  (return-type "none")
  (parameters
    '("guint*" "rows")
    '("guint*" "columns")
  )
)



;; From gtktearoffmenuitem.h

(define-function gtk_tearoff_menu_item_get_type
  (c-name "gtk_tearoff_menu_item_get_type")
  (return-type "GType")
)

(define-function gtk_tearoff_menu_item_new
  (c-name "gtk_tearoff_menu_item_new")
  (is-constructor-of "GtkTearoffMenuItem")
  (return-type "GtkWidget*")
)



;; From gtkthemingengine.h

(define-function gtk_theming_engine_get_type
  (c-name "gtk_theming_engine_get_type")
  (return-type "GType")
)

(define-function gtk_theming_engine_register_property
  (c-name "gtk_theming_engine_register_property")
  (return-type "none")
  (parameters
    '("const-gchar*" "name_space")
    '("GtkStylePropertyParser" "parse_func")
    '("GParamSpec*" "pspec")
  )
)

(define-method get_property
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_property")
  (return-type "none")
  (parameters
    '("const-gchar*" "property")
    '("GtkStateFlags" "state")
    '("GValue*" "value")
  )
)

(define-method get_valist
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_valist")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("va_list" "args")
  )
)

(define-method get
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
  )
  (varargs #t)
)

(define-method get_style_property
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_style_property")
  (return-type "none")
  (parameters
    '("const-gchar*" "property_name")
    '("GValue*" "value")
  )
)

(define-method get_style_valist
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_style_valist")
  (return-type "none")
  (parameters
    '("va_list" "args")
  )
)

(define-method get_style
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_style")
  (return-type "none")
  (parameters
  )
  (varargs #t)
)

(define-method lookup_color
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_lookup_color")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "color_name")
    '("GdkRGBA*" "color")
  )
)

(define-method get_path
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_path")
  (return-type "const-GtkWidgetPath*")
)

(define-method has_class
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_has_class")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "style_class")
  )
)

(define-method has_region
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_has_region")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "style_region")
    '("GtkRegionFlags*" "flags")
  )
)

(define-method get_state
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_state")
  (return-type "GtkStateFlags")
)

(define-method state_is_running
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_state_is_running")
  (return-type "gboolean")
  (parameters
    '("GtkStateType" "state")
    '("gdouble*" "progress")
  )
)

(define-method get_direction
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_direction")
  (return-type "GtkTextDirection")
)

(define-method get_junction_sides
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_junction_sides")
  (return-type "GtkJunctionSides")
)

(define-method get_color
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_color")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("GdkRGBA*" "color")
  )
)

(define-method get_background_color
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_background_color")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("GdkRGBA*" "color")
  )
)

(define-method get_border_color
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_border_color")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("GdkRGBA*" "color")
  )
)

(define-method get_border
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_border")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("GtkBorder*" "border")
  )
)

(define-method get_padding
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_padding")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("GtkBorder*" "padding")
  )
)

(define-method get_margin
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_margin")
  (return-type "none")
  (parameters
    '("GtkStateFlags" "state")
    '("GtkBorder*" "margin")
  )
)

(define-method get_font
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_font")
  (return-type "const-PangoFontDescription*")
  (parameters
    '("GtkStateFlags" "state")
  )
)

(define-function gtk_theming_engine_load
  (c-name "gtk_theming_engine_load")
  (return-type "GtkThemingEngine*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_screen
  (of-object "GtkThemingEngine")
  (c-name "gtk_theming_engine_get_screen")
  (return-type "GdkScreen*")
)



;; From gtktoggleaction.h

(define-function gtk_toggle_action_get_type
  (c-name "gtk_toggle_action_get_type")
  (return-type "GType")
)

(define-function gtk_toggle_action_new
  (c-name "gtk_toggle_action_new")
  (is-constructor-of "GtkToggleAction")
  (return-type "GtkToggleAction*")
  (parameters
    '("const-gchar*" "name")
    '("const-gchar*" "label")
    '("const-gchar*" "tooltip")
    '("const-gchar*" "stock_id")
  )
)

(define-method toggled
  (of-object "GtkToggleAction")
  (c-name "gtk_toggle_action_toggled")
  (return-type "none")
)

(define-method set_active
  (of-object "GtkToggleAction")
  (c-name "gtk_toggle_action_set_active")
  (return-type "none")
  (parameters
    '("gboolean" "is_active")
  )
)

(define-method get_active
  (of-object "GtkToggleAction")
  (c-name "gtk_toggle_action_get_active")
  (return-type "gboolean")
)

(define-method set_draw_as_radio
  (of-object "GtkToggleAction")
  (c-name "gtk_toggle_action_set_draw_as_radio")
  (return-type "none")
  (parameters
    '("gboolean" "draw_as_radio")
  )
)

(define-method get_draw_as_radio
  (of-object "GtkToggleAction")
  (c-name "gtk_toggle_action_get_draw_as_radio")
  (return-type "gboolean")
)



;; From gtktrayicon.h

(define-function gtk_tray_icon_get_type
  (c-name "gtk_tray_icon_get_type")
  (return-type "GType")
)



;; From gtkuimanager.h

(define-function gtk_ui_manager_get_type
  (c-name "gtk_ui_manager_get_type")
  (return-type "GType")
)

(define-function gtk_ui_manager_new
  (c-name "gtk_ui_manager_new")
  (is-constructor-of "GtkUiManager")
  (return-type "GtkUIManager*")
)

(define-method set_add_tearoffs
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_set_add_tearoffs")
  (return-type "none")
  (parameters
    '("gboolean" "add_tearoffs")
  )
)

(define-method get_add_tearoffs
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_get_add_tearoffs")
  (return-type "gboolean")
)

(define-method insert_action_group
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_insert_action_group")
  (return-type "none")
  (parameters
    '("GtkActionGroup*" "action_group")
    '("gint" "pos")
  )
)

(define-method remove_action_group
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_remove_action_group")
  (return-type "none")
  (parameters
    '("GtkActionGroup*" "action_group")
  )
)

(define-method get_action_groups
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_get_action_groups")
  (return-type "GList*")
)

(define-method get_accel_group
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_get_accel_group")
  (return-type "GtkAccelGroup*")
)

(define-method get_widget
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_get_widget")
  (return-type "GtkWidget*")
  (parameters
    '("const-gchar*" "path")
  )
)

(define-method get_toplevels
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_get_toplevels")
  (return-type "GSList*")
  (parameters
    '("GtkUIManagerItemType" "types")
  )
)

(define-method get_action
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_get_action")
  (return-type "GtkAction*")
  (parameters
    '("const-gchar*" "path")
  )
)

(define-method add_ui_from_string
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_add_ui_from_string")
  (return-type "guint")
  (parameters
    '("const-gchar*" "buffer")
    '("gssize" "length")
    '("GError**" "error")
  )
)

(define-method add_ui_from_file
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_add_ui_from_file")
  (return-type "guint")
  (parameters
    '("const-gchar*" "filename")
    '("GError**" "error")
  )
)

(define-method add_ui_from_resource
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_add_ui_from_resource")
  (return-type "guint")
  (parameters
    '("const-gchar*" "resource_path")
    '("GError**" "error")
  )
)

(define-method add_ui
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_add_ui")
  (return-type "none")
  (parameters
    '("guint" "merge_id")
    '("const-gchar*" "path")
    '("const-gchar*" "name")
    '("const-gchar*" "action")
    '("GtkUIManagerItemType" "type")
    '("gboolean" "top")
  )
)

(define-method remove_ui
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_remove_ui")
  (return-type "none")
  (parameters
    '("guint" "merge_id")
  )
)

(define-method get_ui
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_get_ui")
  (return-type "gchar*")
)

(define-method ensure_update
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_ensure_update")
  (return-type "none")
)

(define-method new_merge_id
  (of-object "GtkUIManager")
  (c-name "gtk_ui_manager_new_merge_id")
  (return-type "guint")
)



;; From gtkvbbox.h

(define-function gtk_vbutton_box_get_type
  (c-name "gtk_vbutton_box_get_type")
  (return-type "GType")
)

(define-function gtk_vbutton_box_new
  (c-name "gtk_vbutton_box_new")
  (is-constructor-of "GtkVbuttonBox")
  (return-type "GtkWidget*")
)



;; From gtkvbox.h

(define-function gtk_vbox_get_type
  (c-name "gtk_vbox_get_type")
  (return-type "GType")
)

(define-function gtk_vbox_new
  (c-name "gtk_vbox_new")
  (is-constructor-of "GtkVbox")
  (return-type "GtkWidget*")
  (parameters
    '("gboolean" "homogeneous")
    '("gint" "spacing")
  )
)



;; From gtkvpaned.h

(define-function gtk_vpaned_get_type
  (c-name "gtk_vpaned_get_type")
  (return-type "GType")
)

(define-function gtk_vpaned_new
  (c-name "gtk_vpaned_new")
  (is-constructor-of "GtkVpaned")
  (return-type "GtkWidget*")
)



;; From gtkvscale.h

(define-function gtk_vscale_get_type
  (c-name "gtk_vscale_get_type")
  (return-type "GType")
)

(define-function gtk_vscale_new
  (c-name "gtk_vscale_new")
  (is-constructor-of "GtkVscale")
  (return-type "GtkWidget*")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)

(define-function gtk_vscale_new_with_range
  (c-name "gtk_vscale_new_with_range")
  (return-type "GtkWidget*")
  (parameters
    '("gdouble" "min")
    '("gdouble" "max")
    '("gdouble" "step")
  )
)



;; From gtkvscrollbar.h

(define-function gtk_vscrollbar_get_type
  (c-name "gtk_vscrollbar_get_type")
  (return-type "GType")
)

(define-function gtk_vscrollbar_new
  (c-name "gtk_vscrollbar_new")
  (is-constructor-of "GtkVscrollbar")
  (return-type "GtkWidget*")
  (parameters
    '("GtkAdjustment*" "adjustment")
  )
)



;; From gtkvseparator.h

(define-function gtk_vseparator_get_type
  (c-name "gtk_vseparator_get_type")
  (return-type "GType")
)

(define-function gtk_vseparator_new
  (c-name "gtk_vseparator_new")
  (is-constructor-of "GtkVseparator")
  (return-type "GtkWidget*")
)


