[gtkmm] Wrap the new baseline functions.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Wrap the new baseline functions.
- Date: Fri, 26 Jul 2013 08:23:27 +0000 (UTC)
commit fe6e3e1a6fda4ebf79ecd0b92ec6df5a2532bad4
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Jul 26 10:18:13 2013 +0200
Wrap the new baseline functions.
* gtk/src/gtk_enums.defs:
* gtk/src/gtk_methods.defs:
* gtk/src/gtk_signals.defs: Regenerated
* gtk/src/enums.hg: Add BaselinePosition.
* tools/m4/convert_gtk.m4: Add a conversion
for the new enum.
* gtk/src/box.hg: Add get/set_baseline_position()
and property.
* gtk/src/grid.hg: Add get/set_row_baseline_position()
and get/set_baseline_row().
* gtk/src/widget.hg: Add get_preferred_height_for_width(),
get_allocated_baseline() and get_valign_with_baseline().
gtk/src/box.hg | 4 +
gtk/src/enums.hg | 1 +
gtk/src/grid.hg | 4 +
gtk/src/gtk_enums.defs | 270 ++--
gtk/src/gtk_methods.defs | 4291 +++++++++++++++++++++++++++++++---------------
gtk/src/gtk_signals.defs | 56 +-
gtk/src/widget.hg | 8 +-
tools/m4/convert_gtk.m4 | 1 +
8 files changed, 3162 insertions(+), 1473 deletions(-)
---
diff --git a/gtk/src/box.hg b/gtk/src/box.hg
index 8a1fd32..df6381f 100644
--- a/gtk/src/box.hg
+++ b/gtk/src/box.hg
@@ -114,10 +114,14 @@ public:
_WRAP_METHOD(void set_spacing(int spacing), gtk_box_set_spacing)
_WRAP_METHOD(int get_spacing() const, gtk_box_get_spacing)
+ _WRAP_METHOD(void set_baseline_position(BaselinePosition position), gtk_box_set_baseline_position)
+ _WRAP_METHOD(BaselinePosition get_baseline_position() const, gtk_box_get_baseline_position)
+
_WRAP_METHOD(void reorder_child(Widget& child, int position), gtk_box_reorder_child)
_WRAP_PROPERTY("spacing", int)
_WRAP_PROPERTY("homogeneous", bool)
+ _WRAP_PROPERTY("baseline-position", BaselinePosition)
};
} // namespace Gtk
diff --git a/gtk/src/enums.hg b/gtk/src/enums.hg
index 30c6bc2..c84baa2 100644
--- a/gtk/src/enums.hg
+++ b/gtk/src/enums.hg
@@ -106,6 +106,7 @@ _WRAP_ENUM(JunctionSides, GtkJunctionSides)
_WRAP_ENUM(StateFlags, GtkStateFlags)
_WRAP_ENUM(InputPurpose, GtkInputPurpose)
_WRAP_ENUM(InputHints, GtkInputHints)
+_WRAP_ENUM(BaselinePosition, GtkBaselinePosition)
/* We use a class to implement the GtkIconSize enum, because you can register
diff --git a/gtk/src/grid.hg b/gtk/src/grid.hg
index d4917f2..6970569 100644
--- a/gtk/src/grid.hg
+++ b/gtk/src/grid.hg
@@ -72,6 +72,10 @@ public:
_WRAP_METHOD(bool get_column_homogeneous() const, gtk_grid_get_column_homogeneous)
_WRAP_METHOD(void set_column_spacing(guint spacing), gtk_grid_set_column_spacing)
_WRAP_METHOD(guint get_column_spacing() const, gtk_grid_get_column_spacing)
+ _WRAP_METHOD(void set_row_baseline_position(int row, BaselinePosition pos),
gtk_grid_set_row_baseline_position)
+ _WRAP_METHOD(BaselinePosition get_row_baseline_position(int row) const, gtk_grid_get_row_baseline_position)
+ _WRAP_METHOD(void set_baseline_row(int row), gtk_grid_set_baseline_row)
+ _WRAP_METHOD(int get_baseline_row() const, gtk_grid_get_baseline_row)
_WRAP_PROPERTY("row-spacing", guint)
_WRAP_PROPERTY("column-spacing", guint)
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index 2ef4794..1bcc65d 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -134,7 +134,9 @@
;; GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE,
;; GTK_BUILDER_ERROR_INVALID_VALUE,
;; GTK_BUILDER_ERROR_VERSION_MISMATCH,
-;; GTK_BUILDER_ERROR_DUPLICATE_ID
+;; GTK_BUILDER_ERROR_DUPLICATE_ID,
+;; GTK_BUILDER_ERROR_OBJECT_TYPE_REFUSED,
+;; GTK_BUILDER_ERROR_TEMPLATE_MISMATCH
;; } GtkBuilderError;
(define-enum-extended BuilderError
@@ -150,6 +152,8 @@
'("invalid-value" "GTK_BUILDER_ERROR_INVALID_VALUE" "6")
'("version-mismatch" "GTK_BUILDER_ERROR_VERSION_MISMATCH" "7")
'("duplicate-id" "GTK_BUILDER_ERROR_DUPLICATE_ID" "8")
+ '("object-type-refused" "GTK_BUILDER_ERROR_OBJECT_TYPE_REFUSED" "9")
+ '("template-mismatch" "GTK_BUILDER_ERROR_TEMPLATE_MISMATCH" "10")
)
)
@@ -652,7 +656,9 @@
;; GTK_DEBUG_PRINTING = 1 << 10,
;; GTK_DEBUG_BUILDER = 1 << 11,
;; GTK_DEBUG_SIZE_REQUEST = 1 << 12,
-;; GTK_DEBUG_NO_CSS_CACHE = 1 << 13
+;; GTK_DEBUG_NO_CSS_CACHE = 1 << 13,
+;; GTK_DEBUG_BASELINES = 1 << 14,
+;; GTK_DEBUG_PIXEL_CACHE = 1 << 15
;; } GtkDebugFlag;
(define-flags-extended DebugFlag
@@ -673,6 +679,8 @@
'("builder" "GTK_DEBUG_BUILDER" "1 << 11")
'("size-request" "GTK_DEBUG_SIZE_REQUEST" "1 << 12")
'("no-css-cache" "GTK_DEBUG_NO_CSS_CACHE" "1 << 13")
+ '("baselines" "GTK_DEBUG_BASELINES" "1 << 14")
+ '("pixel-cache" "GTK_DEBUG_PIXEL_CACHE" "1 << 15")
)
)
@@ -794,7 +802,8 @@
;; GTK_ALIGN_FILL,
;; GTK_ALIGN_START,
;; GTK_ALIGN_END,
-;; GTK_ALIGN_CENTER
+;; GTK_ALIGN_CENTER,
+;; GTK_ALIGN_BASELINE
;; } GtkAlign;
(define-enum-extended Align
@@ -805,6 +814,7 @@
'("start" "GTK_ALIGN_START" "1")
'("end" "GTK_ALIGN_END" "2")
'("center" "GTK_ALIGN_CENTER" "3")
+ '("baseline" "GTK_ALIGN_BASELINE" "4")
)
)
@@ -869,6 +879,24 @@
;; Original typedef:
;; typedef enum
;; {
+;; GTK_BASELINE_POSITION_TOP,
+;; GTK_BASELINE_POSITION_CENTER,
+;; GTK_BASELINE_POSITION_BOTTOM
+;; } GtkBaselinePosition;
+
+(define-enum-extended BaselinePosition
+ (in-module "Gtk")
+ (c-name "GtkBaselinePosition")
+ (values
+ '("top" "GTK_BASELINE_POSITION_TOP" "0")
+ '("center" "GTK_BASELINE_POSITION_CENTER" "1")
+ '("bottom" "GTK_BASELINE_POSITION_BOTTOM" "2")
+ )
+)
+
+;; Original typedef:
+;; typedef enum
+;; {
;; GTK_BUTTONBOX_SPREAD = 1,
;; GTK_BUTTONBOX_EDGE,
;; GTK_BUTTONBOX_START,
@@ -2064,74 +2092,6 @@
)
)
-;; From gtkfilechooserprivate.h
-
-;; Original typedef:
-;; typedef enum {
-;; LOAD_EMPTY, /* There is no model */
-;; LOAD_PRELOAD, /* Model is loading and a timer is running; model isn't inserted into
the tree yet */
-;; LOAD_LOADING, /* Timeout expired, model is inserted into the tree, but not fully
loaded yet */
-;; LOAD_FINISHED /* Model is fully loaded and inserted into the tree */
-;; } LoadState;
-
-(define-enum-extended LoadState
- (in-module "Gtk")
- (c-name "LoadState")
- (values
- '("empty" "LOAD_EMPTY" "0")
- '("preload" "LOAD_PRELOAD" "1")
- '("loading" "LOAD_LOADING" "2")
- '("finished" "LOAD_FINISHED" "3")
- )
-)
-
-;; Original typedef:
-;; typedef enum {
-;; RELOAD_EMPTY, /* No folder has been set */
-;; RELOAD_HAS_FOLDER /* We have a folder, although it may not be completely loaded yet; no need to
reload */
-;; } ReloadState;
-
-(define-enum-extended ReloadState
- (in-module "Gtk")
- (c-name "ReloadState")
- (values
- '("empty" "RELOAD_EMPTY" "0")
- '("has-folder" "RELOAD_HAS_FOLDER" "1")
- )
-)
-
-;; Original typedef:
-;; typedef enum {
-;; LOCATION_MODE_PATH_BAR,
-;; LOCATION_MODE_FILENAME_ENTRY
-;; } LocationMode;
-
-(define-enum-extended LocationMode
- (in-module "Gtk")
- (c-name "LocationMode")
- (values
- '("path-bar" "LOCATION_MODE_PATH_BAR" "0")
- '("filename-entry" "LOCATION_MODE_FILENAME_ENTRY" "1")
- )
-)
-
-;; Original typedef:
-;; typedef enum {
-;; OPERATION_MODE_BROWSE,
-;; OPERATION_MODE_SEARCH,
-;; OPERATION_MODE_RECENT
-;; } OperationMode;
-
-(define-enum-extended OperationMode
- (in-module "Gtk")
- (c-name "OperationMode")
- (values
- '("browse" "OPERATION_MODE_BROWSE" "0")
- '("search" "OPERATION_MODE_SEARCH" "1")
- '("recent" "OPERATION_MODE_RECENT" "2")
- )
-)
-
;; From gtkfilechooserutils.h
;; Original typedef:
@@ -2293,7 +2253,8 @@
;; GTK_IMAGE_ICON_SET,
;; GTK_IMAGE_ANIMATION,
;; GTK_IMAGE_ICON_NAME,
-;; GTK_IMAGE_GICON
+;; GTK_IMAGE_GICON,
+;; GTK_IMAGE_SURFACE
;; } GtkImageType;
(define-enum-extended ImageType
@@ -2307,6 +2268,7 @@
'("animation" "GTK_IMAGE_ANIMATION" "4")
'("icon-name" "GTK_IMAGE_ICON_NAME" "5")
'("gicon" "GTK_IMAGE_GICON" "6")
+ '("surface" "GTK_IMAGE_SURFACE" "7")
)
)
@@ -2328,6 +2290,8 @@
)
)
+;; From gtkmenushellprivate.h
+
;; Original typedef:
;; typedef enum
;; {
@@ -2344,6 +2308,25 @@
)
)
+;; From gtkmenutrackeritem.h
+
+;; Original typedef:
+;; typedef enum {
+;; GTK_MENU_TRACKER_ITEM_ROLE_NORMAL,
+;; GTK_MENU_TRACKER_ITEM_ROLE_CHECK,
+;; GTK_MENU_TRACKER_ITEM_ROLE_RADIO,
+;; } GtkMenuTrackerItemRole;
+
+(define-enum-extended MenuTrackerItemRole
+ (in-module "Gtk")
+ (c-name "GtkMenuTrackerItemRole")
+ (values
+ '("normal" "GTK_MENU_TRACKER_ITEM_ROLE_NORMAL" "0")
+ '("check" "GTK_MENU_TRACKER_ITEM_ROLE_CHECK" "1")
+ '("radio" "GTK_MENU_TRACKER_ITEM_ROLE_RADIO" "2")
+ )
+)
+
;; From gtkmessagedialog.h
;; Original typedef:
@@ -2388,6 +2371,25 @@
)
)
+;; From gtkplacessidebar.h
+
+;; Original typedef:
+;; typedef enum {
+;; GTK_PLACES_OPEN_NORMAL = 1 << 0,
+;; GTK_PLACES_OPEN_NEW_TAB = 1 << 1,
+;; GTK_PLACES_OPEN_NEW_WINDOW = 1 << 2
+;; } GtkPlacesOpenFlags;
+
+(define-flags-extended PlacesOpenFlags
+ (in-module "Gtk")
+ (c-name "GtkPlacesOpenFlags")
+ (values
+ '("normal" "GTK_PLACES_OPEN_NORMAL" "1 << 0")
+ '("new-tab" "GTK_PLACES_OPEN_NEW_TAB" "1 << 1")
+ '("new-window" "GTK_PLACES_OPEN_NEW_WINDOW" "1 << 2")
+ )
+)
+
;; From gtkprintbackend.h
;; Original typedef:
@@ -2766,6 +2768,31 @@
)
)
+;; From gtkrevealer.h
+
+;; Original typedef:
+;; typedef enum {
+;; GTK_REVEALER_TRANSITION_TYPE_NONE,
+;; GTK_REVEALER_TRANSITION_TYPE_CROSSFADE,
+;; GTK_REVEALER_TRANSITION_TYPE_SLIDE_RIGHT,
+;; GTK_REVEALER_TRANSITION_TYPE_SLIDE_LEFT,
+;; GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP,
+;; GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN
+;; } GtkRevealerTransitionType;
+
+(define-enum-extended RevealerTransitionType
+ (in-module "Gtk")
+ (c-name "GtkRevealerTransitionType")
+ (values
+ '("none" "GTK_REVEALER_TRANSITION_TYPE_NONE" "0")
+ '("crossfade" "GTK_REVEALER_TRANSITION_TYPE_CROSSFADE" "1")
+ '("slide-right" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_RIGHT" "2")
+ '("slide-left" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_LEFT" "3")
+ '("slide-up" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP" "4")
+ '("slide-down" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN" "5")
+ )
+)
+
;; From gtksizegroup-private.h
;; Original typedef:
@@ -2826,6 +2853,35 @@
)
)
+;; From gtkstack.h
+
+;; Original typedef:
+;; typedef enum {
+;; GTK_STACK_TRANSITION_TYPE_NONE,
+;; GTK_STACK_TRANSITION_TYPE_CROSSFADE,
+;; GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT,
+;; GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT,
+;; GTK_STACK_TRANSITION_TYPE_SLIDE_UP,
+;; GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN,
+;; GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT,
+;; GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN
+;; } GtkStackTransitionType;
+
+(define-enum-extended StackTransitionType
+ (in-module "Gtk")
+ (c-name "GtkStackTransitionType")
+ (values
+ '("none" "GTK_STACK_TRANSITION_TYPE_NONE" "0")
+ '("crossfade" "GTK_STACK_TRANSITION_TYPE_CROSSFADE" "1")
+ '("slide-right" "GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT" "2")
+ '("slide-left" "GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT" "3")
+ '("slide-up" "GTK_STACK_TRANSITION_TYPE_SLIDE_UP" "4")
+ '("slide-down" "GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN" "5")
+ '("slide-left-right" "GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT" "6")
+ '("slide-up-down" "GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN" "7")
+ )
+)
+
;; From gtktextbuffer.h
;; Original typedef:
@@ -3052,41 +3108,6 @@
)
)
-;; From gtkuimanager.h
-
-;; Original typedef:
-;; typedef enum {
-;; GTK_UI_MANAGER_AUTO = 0,
-;; GTK_UI_MANAGER_MENUBAR = 1 << 0,
-;; GTK_UI_MANAGER_MENU = 1 << 1,
-;; GTK_UI_MANAGER_TOOLBAR = 1 << 2,
-;; GTK_UI_MANAGER_PLACEHOLDER = 1 << 3,
-;; GTK_UI_MANAGER_POPUP = 1 << 4,
-;; GTK_UI_MANAGER_MENUITEM = 1 << 5,
-;; GTK_UI_MANAGER_TOOLITEM = 1 << 6,
-;; GTK_UI_MANAGER_SEPARATOR = 1 << 7,
-;; GTK_UI_MANAGER_ACCELERATOR = 1 << 8,
-;; GTK_UI_MANAGER_POPUP_WITH_ACCELS = 1 << 9
-;; } GtkUIManagerItemType;
-
-(define-flags-extended UIManagerItemType
- (in-module "Gtk")
- (c-name "GtkUIManagerItemType")
- (values
- '("auto" "GTK_UI_MANAGER_AUTO" "0x0")
- '("menubar" "GTK_UI_MANAGER_MENUBAR" "1 << 0")
- '("menu" "GTK_UI_MANAGER_MENU" "1 << 1")
- '("toolbar" "GTK_UI_MANAGER_TOOLBAR" "1 << 2")
- '("placeholder" "GTK_UI_MANAGER_PLACEHOLDER" "1 << 3")
- '("popup" "GTK_UI_MANAGER_POPUP" "1 << 4")
- '("menuitem" "GTK_UI_MANAGER_MENUITEM" "1 << 5")
- '("toolitem" "GTK_UI_MANAGER_TOOLITEM" "1 << 6")
- '("separator" "GTK_UI_MANAGER_SEPARATOR" "1 << 7")
- '("accelerator" "GTK_UI_MANAGER_ACCELERATOR" "1 << 8")
- '("popup-with-accels" "GTK_UI_MANAGER_POPUP_WITH_ACCELS" "1 << 9")
- )
-)
-
;; From gtkwidget.h
;; Original typedef:
@@ -3311,3 +3332,38 @@
)
)
+;; From gtkuimanager.h
+
+;; Original typedef:
+;; typedef enum {
+;; GTK_UI_MANAGER_AUTO = 0,
+;; GTK_UI_MANAGER_MENUBAR = 1 << 0,
+;; GTK_UI_MANAGER_MENU = 1 << 1,
+;; GTK_UI_MANAGER_TOOLBAR = 1 << 2,
+;; GTK_UI_MANAGER_PLACEHOLDER = 1 << 3,
+;; GTK_UI_MANAGER_POPUP = 1 << 4,
+;; GTK_UI_MANAGER_MENUITEM = 1 << 5,
+;; GTK_UI_MANAGER_TOOLITEM = 1 << 6,
+;; GTK_UI_MANAGER_SEPARATOR = 1 << 7,
+;; GTK_UI_MANAGER_ACCELERATOR = 1 << 8,
+;; GTK_UI_MANAGER_POPUP_WITH_ACCELS = 1 << 9
+;; } GtkUIManagerItemType;
+
+(define-flags-extended UIManagerItemType
+ (in-module "Gtk")
+ (c-name "GtkUIManagerItemType")
+ (values
+ '("auto" "GTK_UI_MANAGER_AUTO" "0x0")
+ '("menubar" "GTK_UI_MANAGER_MENUBAR" "1 << 0")
+ '("menu" "GTK_UI_MANAGER_MENU" "1 << 1")
+ '("toolbar" "GTK_UI_MANAGER_TOOLBAR" "1 << 2")
+ '("placeholder" "GTK_UI_MANAGER_PLACEHOLDER" "1 << 3")
+ '("popup" "GTK_UI_MANAGER_POPUP" "1 << 4")
+ '("menuitem" "GTK_UI_MANAGER_MENUITEM" "1 << 5")
+ '("toolitem" "GTK_UI_MANAGER_TOOLITEM" "1 << 6")
+ '("separator" "GTK_UI_MANAGER_SEPARATOR" "1 << 7")
+ '("accelerator" "GTK_UI_MANAGER_ACCELERATOR" "1 << 8")
+ '("popup-with-accels" "GTK_UI_MANAGER_POPUP_WITH_ACCELS" "1 << 9")
+ )
+)
+
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 05e359e..9697dad 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -212,6 +212,13 @@
(gtype-id "GTK_TYPE_CSS_IMAGE_LINEAR")
)
+(define-object CssImageScaled
+ (in-module "Gtk")
+ (parent "GtkCssImage")
+ (c-name "GtkCssImageScaled")
+ (gtype-id "GTK_TYPE_CSS_IMAGE_SCALED")
+)
+
(define-object CssImageSurface
(in-module "Gtk")
(parent "GtkCssImage")
@@ -956,6 +963,13 @@
(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")
@@ -1033,6 +1047,13 @@
(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")
@@ -1047,6 +1068,13 @@
(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")
@@ -1117,6 +1145,13 @@
(gtype-id "GTK_TYPE_MENU_TOOL_BUTTON")
)
+(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")
@@ -1124,6 +1159,13 @@
(gtype-id "GTK_TYPE_SCROLLED_WINDOW")
)
+(define-object Revealer
+ (in-module "Gtk")
+ (parent "GtkBin")
+ (c-name "GtkRevealer")
+ (gtype-id "GTK_TYPE_REVEALER")
+)
+
(define-object Overlay
(in-module "Gtk")
(parent "GtkBin")
@@ -1173,6 +1215,13 @@
(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")
@@ -1334,6 +1383,13 @@
(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")
@@ -1586,6 +1642,13 @@
(gtype-id "GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG")
)
+(define-object BubbleWindow
+ (in-module "Gtk")
+ (parent "GtkWindow")
+ (c-name "GtkBubbleWindow")
+ (gtype-id "GTK_TYPE_BUBBLE_WINDOW")
+)
+
(define-object Assistant
(in-module "Gtk")
(parent "GtkWindow")
@@ -1688,6 +1751,8 @@
'("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")
)
)
@@ -1981,6 +2046,8 @@
'("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")
)
)
@@ -2056,6 +2123,7 @@
'("start" "GTK_ALIGN_START")
'("end" "GTK_ALIGN_END")
'("center" "GTK_ALIGN_CENTER")
+ '("baseline" "GTK_ALIGN_BASELINE")
)
)
@@ -2094,6 +2162,17 @@
)
)
+(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 ButtonBoxStyle
(in-module "Gtk")
(c-name "GtkButtonBoxStyle")
@@ -2804,49 +2883,6 @@
)
)
-(define-enum State
- (in-module "Load")
- (c-name "LoadState")
- (gtype-id "LOAD_TYPE_STATE")
- (values
- '("empty" "LOAD_EMPTY")
- '("preload" "LOAD_PRELOAD")
- '("loading" "LOAD_LOADING")
- '("finished" "LOAD_FINISHED")
- )
-)
-
-(define-enum State
- (in-module "Reload")
- (c-name "ReloadState")
- (gtype-id "RELOAD_TYPE_STATE")
- (values
- '("empty" "RELOAD_EMPTY")
- '("has-folder" "RELOAD_HAS_FOLDER")
- )
-)
-
-(define-enum Mode
- (in-module "Location")
- (c-name "LocationMode")
- (gtype-id "LOCATION_TYPE_MODE")
- (values
- '("path-bar" "LOCATION_MODE_PATH_BAR")
- '("filename-entry" "LOCATION_MODE_FILENAME_ENTRY")
- )
-)
-
-(define-enum Mode
- (in-module "Operation")
- (c-name "OperationMode")
- (gtype-id "OPERATION_TYPE_MODE")
- (values
- '("browse" "OPERATION_MODE_BROWSE")
- '("search" "OPERATION_MODE_SEARCH")
- '("recent" "OPERATION_MODE_RECENT")
- )
-)
-
(define-enum FileChooserProp
(in-module "Gtk")
(c-name "GtkFileChooserProp")
@@ -2943,6 +2979,7 @@
'("animation" "GTK_IMAGE_ANIMATION")
'("icon-name" "GTK_IMAGE_ICON_NAME")
'("gicon" "GTK_IMAGE_GICON")
+ '("surface" "GTK_IMAGE_SURFACE")
)
)
@@ -2966,6 +3003,17 @@
)
)
+(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")
@@ -2990,6 +3038,17 @@
)
)
+(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")
@@ -3199,6 +3258,20 @@
)
)
+(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-flags QueueResizeFlags
(in-module "Gtk")
(c-name "GtkQueueResizeFlags")
@@ -3233,6 +3306,22 @@
)
)
+(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")
+ )
+)
+
(define-enum TextBufferTargetInfo
(in-module "Gtk")
(c-name "GtkTextBufferTargetInfo")
@@ -3355,25 +3444,6 @@
)
)
-(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")
- )
-)
-
(define-enum WidgetHelpType
(in-module "Gtk")
(c-name "GtkWidgetHelpType")
@@ -3466,17 +3536,24 @@
)
)
-
-;; From gactionmuxer.h
-
-
-
-;; From gactionobservable.h
-
-
-
-;; From gactionobserver.h
-
+(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
@@ -3743,6 +3820,10 @@
+;; From gtkaboutdialog.ui.h
+
+
+
;; From gtkaccelgroup.h
(define-function gtk_accel_group_get_type
@@ -4251,588 +4332,137 @@
-;; 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 gtkactionhelper.h
-;; From gtkaction.h
+;; From gtkactionmuxer.h
-(define-function gtk_action_get_type
- (c-name "gtk_action_get_type")
+(define-function gtk_action_muxer_get_type
+ (c-name "gtk_action_muxer_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-function gtk_action_muxer_new
+ (c-name "gtk_action_muxer_new")
+ (is-constructor-of "GtkActionMuxer")
+ (return-type "GtkActionMuxer*")
)
-(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")
+(define-method insert
+ (of-object "GtkActionMuxer")
+ (c-name "gtk_action_muxer_insert")
(return-type "none")
(parameters
- '("const-gchar*" "stock_id")
+ '("const-gchar*" "prefix")
+ '("GActionGroup*" "action_group")
)
)
-(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")
+(define-method remove
+ (of-object "GtkActionMuxer")
+ (c-name "gtk_action_muxer_remove")
(return-type "none")
(parameters
- '("GIcon*" "icon")
+ '("const-gchar*" "prefix")
)
)
-(define-method get_gicon
- (of-object "GtkAction")
- (c-name "gtk_action_get_gicon")
- (return-type "GIcon*")
+(define-method get_parent
+ (of-object "GtkActionMuxer")
+ (c-name "gtk_action_muxer_get_parent")
+ (return-type "GtkActionMuxer*")
)
-(define-method set_icon_name
- (of-object "GtkAction")
- (c-name "gtk_action_set_icon_name")
+(define-method set_parent
+ (of-object "GtkActionMuxer")
+ (c-name "gtk_action_muxer_set_parent")
(return-type "none")
(parameters
- '("const-gchar*" "icon_name")
+ '("GtkActionMuxer*" "parent")
)
)
-(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")
- )
-)
+;; From gtkactionobservable.h
-(define-method get_visible_vertical
- (of-object "GtkAction")
- (c-name "gtk_action_get_visible_vertical")
- (return-type "gboolean")
+(define-function gtk_action_observable_get_type
+ (c-name "gtk_action_observable_get_type")
+ (return-type "GType")
)
-(define-method set_is_important
- (of-object "GtkAction")
- (c-name "gtk_action_set_is_important")
+(define-method register_observer
+ (of-object "GtkActionObservable")
+ (c-name "gtk_action_observable_register_observer")
(return-type "none")
(parameters
- '("gboolean" "is_important")
+ '("const-gchar*" "action_name")
+ '("GtkActionObserver*" "observer")
)
)
-(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")
+(define-method unregister_observer
+ (of-object "GtkActionObservable")
+ (c-name "gtk_action_observable_unregister_observer")
(return-type "none")
(parameters
- '("gboolean" "always_show")
+ '("const-gchar*" "action_name")
+ '("GtkActionObserver*" "observer")
)
)
-(define-method get_always_show_image
- (of-object "GtkAction")
- (c-name "gtk_action_get_always_show_image")
- (return-type "gboolean")
-)
-
-
-
-;; From gtkactionhelper.h
-
-;; From gtkactivatable.h
+;; From gtkactionobserver.h
-(define-function gtk_activatable_get_type
- (c-name "gtk_activatable_get_type")
+(define-function gtk_action_observer_get_type
+ (c-name "gtk_action_observer_get_type")
(return-type "GType")
)
-(define-method sync_action_properties
- (of-object "GtkActivatable")
- (c-name "gtk_activatable_sync_action_properties")
+(define-method action_added
+ (of-object "GtkActionObserver")
+ (c-name "gtk_action_observer_action_added")
(return-type "none")
(parameters
- '("GtkAction*" "action")
+ '("GtkActionObservable*" "observable")
+ '("const-gchar*" "action_name")
+ '("const-GVariantType*" "parameter_type")
+ '("gboolean" "enabled")
+ '("GVariant*" "state")
)
)
-(define-method set_related_action
- (of-object "GtkActivatable")
- (c-name "gtk_activatable_set_related_action")
+(define-method action_enabled_changed
+ (of-object "GtkActionObserver")
+ (c-name "gtk_action_observer_action_enabled_changed")
(return-type "none")
(parameters
- '("GtkAction*" "action")
+ '("GtkActionObservable*" "observable")
+ '("const-gchar*" "action_name")
+ '("gboolean" "enabled")
)
)
-(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")
+(define-method action_state_changed
+ (of-object "GtkActionObserver")
+ (c-name "gtk_action_observer_action_state_changed")
(return-type "none")
(parameters
- '("gboolean" "use_appearance")
+ '("GtkActionObservable*" "observable")
+ '("const-gchar*" "action_name")
+ '("GVariant*" "state")
)
)
-(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")
+(define-method action_removed
+ (of-object "GtkActionObserver")
+ (c-name "gtk_action_observer_action_removed")
(return-type "none")
(parameters
- '("GtkAction*" "action")
+ '("GtkActionObservable*" "observable")
+ '("const-gchar*" "action_name")
)
)
@@ -5194,6 +4824,10 @@
+;; From gtkappchooserdialog.ui.h
+
+
+
;; From gtkappchooser.h
(define-function gtk_app_chooser_get_type
@@ -5345,6 +4979,10 @@
+;; From gtkappchooserwidget.ui.h
+
+
+
;; From gtkapplication.h
(define-function gtk_application_get_type
@@ -5816,6 +5454,10 @@
+;; From gtkassistant.ui.h
+
+
+
;; From gtkbbox.h
(define-function gtk_button_box_get_type
@@ -6061,6 +5703,10 @@
+;; From gtkbookmarksmanager.h
+
+
+
;; From gtkborder.h
(define-function gtk_border_get_type
@@ -6163,6 +5809,21 @@
(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")
@@ -6205,6 +5866,10 @@
+;; From gtkbubblewindowprivate.h
+
+
+
;; From gtkbuildable.h
(define-function gtk_buildable_get_type
@@ -6492,6 +6157,61 @@
)
)
+(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")
+ )
+)
+
;; From gtkbuilderprivate.h
@@ -8697,6 +8417,10 @@
+;; From gtkcolorchooserdialog.ui.h
+
+
+
;; From gtkcolorchooser.h
(define-function gtk_color_chooser_get_type
@@ -8774,6 +8498,10 @@
+;; From gtkcoloreditor.ui.h
+
+
+
;; From gtkcolorplaneprivate.h
@@ -9614,6 +9342,10 @@
+;; From gtkcssimagescaledprivate.h
+
+
+
;; From gtkcssimagesurfaceprivate.h
@@ -10035,6 +9767,10 @@
+;; From gtkdialog.ui.h
+
+
+
;; From gtkdnd.h
(define-function gtk_drag_get_data
@@ -11679,10 +11415,18 @@
+;; From gtkfilechooserbutton.ui.h
+
+
+
;; From gtkfilechooserdefault.h
+;; From gtkfilechooserdefault.ui.h
+
+
+
;; From gtkfilechooserdialog.h
(define-function gtk_file_chooser_dialog_get_type
@@ -11705,6 +11449,10 @@
+;; From gtkfilechooserdialog.ui.h
+
+
+
;; From gtkfilechooserembed.h
@@ -11824,6 +11572,12 @@
)
)
+(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")
@@ -12437,6 +12191,10 @@
+;; From gtkfontbutton.ui.h
+
+
+
;; From gtkfontchooserdialog.h
(define-function gtk_font_chooser_dialog_get_type
@@ -12456,6 +12214,10 @@
+;; From gtkfontchooserdialog.ui.h
+
+
+
;; From gtkfontchooser.h
(define-function gtk_font_chooser_get_type
@@ -12577,6 +12339,10 @@
+;; From gtkfontchooserwidget.ui.h
+
+
+
;; From gtkframe.h
(define-function gtk_frame_get_type
@@ -12727,6 +12493,24 @@
)
)
+(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")
@@ -12797,357 +12581,137 @@
(return-type "guint")
)
-
-
-;; From gtk.h
-
-
-
-;; From gtkhslaprivate.h
-
-
-
-;; From gtkiconcache.h
-
-
-
-;; From gtkiconcachevalidator.h
-
-
-
-;; 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")
+(define-method set_row_baseline_position
+ (of-object "GtkGrid")
+ (c-name "gtk_grid_set_row_baseline_position")
(return-type "none")
(parameters
- '("const-gchar*" "stock_id")
- '("GtkIconSet*" "icon_set")
+ '("gint" "row")
+ '("GtkBaselinePosition" "pos")
)
)
-(define-method lookup
- (of-object "GtkIconFactory")
- (c-name "gtk_icon_factory_lookup")
- (return-type "GtkIconSet*")
+(define-method get_row_baseline_position
+ (of-object "GtkGrid")
+ (c-name "gtk_grid_get_row_baseline_position")
+ (return-type "GtkBaselinePosition")
(parameters
- '("const-gchar*" "stock_id")
+ '("gint" "row")
)
)
-(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")
+(define-method set_baseline_row
+ (of-object "GtkGrid")
+ (c-name "gtk_grid_set_baseline_row")
(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")
+ '("gint" "row")
)
)
-(define-method lookup
- (of-object "GtkIconSize")
- (c-name "gtk_icon_size_lookup")
- (return-type "gboolean")
- (parameters
- '("gint*" "width")
- '("gint*" "height")
- )
+(define-method get_baseline_row
+ (of-object "GtkGrid")
+ (c-name "gtk_grid_get_baseline_row")
+ (return-type "gint")
)
-(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")
- )
-)
+;; From gtk.h
-(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*")
-)
+;; From gtkheaderbar.h
-(define-function gtk_icon_set_new_from_pixbuf
- (c-name "gtk_icon_set_new_from_pixbuf")
- (return-type "GtkIconSet*")
- (parameters
- '("GdkPixbuf*" "pixbuf")
- )
+(define-function gtk_header_bar_get_type
+ (c-name "gtk_header_bar_get_type")
+ (return-type "GType")
)
-(define-method ref
- (of-object "GtkIconSet")
- (c-name "gtk_icon_set_ref")
- (return-type "GtkIconSet*")
+(define-function gtk_header_bar_new
+ (c-name "gtk_header_bar_new")
+ (is-constructor-of "GtkHeaderBar")
+ (return-type "GtkWidget*")
)
-(define-method unref
- (of-object "GtkIconSet")
- (c-name "gtk_icon_set_unref")
+(define-method set_title
+ (of-object "GtkHeaderBar")
+ (c-name "gtk_header_bar_set_title")
(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")
+ '("const-gchar*" "title")
)
)
-(define-method add_source
- (of-object "GtkIconSet")
- (c-name "gtk_icon_set_add_source")
- (return-type "none")
- (parameters
- '("const-GtkIconSource*" "source")
- )
+(define-method get_title
+ (of-object "GtkHeaderBar")
+ (c-name "gtk_header_bar_get_title")
+ (return-type "const-gchar*")
)
-(define-method get_sizes
- (of-object "GtkIconSet")
- (c-name "gtk_icon_set_get_sizes")
+(define-method set_subtitle
+ (of-object "GtkHeaderBar")
+ (c-name "gtk_header_bar_set_subtitle")
(return-type "none")
(parameters
- '("GtkIconSize**" "sizes")
- '("gint*" "n_sizes")
+ '("const-gchar*" "subtitle")
)
)
-(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 get_subtitle
+ (of-object "GtkHeaderBar")
+ (c-name "gtk_header_bar_get_subtitle")
+ (return-type "const-gchar*")
)
-(define-method set_filename
- (of-object "GtkIconSource")
- (c-name "gtk_icon_source_set_filename")
+(define-method set_custom_title
+ (of-object "GtkHeaderBar")
+ (c-name "gtk_header_bar_set_custom_title")
(return-type "none")
(parameters
- '("const-gchar*" "filename")
+ '("GtkWidget*" "title_widget")
)
)
-(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 get_custom_title
+ (of-object "GtkHeaderBar")
+ (c-name "gtk_header_bar_get_custom_title")
+ (return-type "GtkWidget*")
)
-(define-method set_pixbuf
- (of-object "GtkIconSource")
- (c-name "gtk_icon_source_set_pixbuf")
+(define-method pack_start
+ (of-object "GtkHeaderBar")
+ (c-name "gtk_header_bar_pack_start")
(return-type "none")
(parameters
- '("GdkPixbuf*" "pixbuf")
+ '("GtkWidget*" "child")
)
)
-(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")
+(define-method pack_end
+ (of-object "GtkHeaderBar")
+ (c-name "gtk_header_bar_pack_end")
(return-type "none")
(parameters
- '("gboolean" "setting")
+ '("GtkWidget*" "child")
)
)
-(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")
-)
+;; From gtkheaderbarprivate.h
-(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")
- )
-)
+;; From gtkhslaprivate.h
-(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")
-)
+;; From gtkiconcache.h
-(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 gtkiconcachevalidator.h
@@ -13271,6 +12835,18 @@
)
)
+(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")
@@ -13282,6 +12858,18 @@
)
)
+(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")
@@ -13294,6 +12882,33 @@
)
)
+(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")
@@ -13305,6 +12920,18 @@
)
)
+(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")
@@ -13374,6 +13001,12 @@
(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")
@@ -13395,6 +13028,16 @@
)
)
+(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")
@@ -14175,6 +13818,14 @@
)
)
+(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")
@@ -14257,6 +13908,15 @@
)
)
+(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")
@@ -14332,100 +13992,6 @@
-;; 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 gtkimageprivate.h
@@ -14723,6 +14289,25 @@
(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 gtkinfobar.ui.h
+
;; From gtkintl.h
@@ -15403,6 +14988,212 @@
+;; 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-function gtk_list_box_get_type
+ (c-name "gtk_list_box_get_type")
+ (return-type "GType")
+)
+
+(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 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*")
+)
+
+
+
;; From gtkliststore.h
(define-function gtk_list_store_get_type
@@ -15656,6 +15447,10 @@
+;; From gtklockbutton.ui.h
+
+
+
;; From gtkmain.h
(define-function gtk_get_major_version
@@ -16643,6 +16438,137 @@
+;; 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")
+ '("const-gchar*" "action_namespace")
+ '("GtkMenuTrackerInsertFunc" "insert_func")
+ '("GtkMenuTrackerRemoveFunc" "remove_func")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-function gtk_menu_tracker_new_for_item_submenu
+ (c-name "gtk_menu_tracker_new_for_item_submenu")
+ (return-type "GtkMenuTracker*")
+ (parameters
+ '("GtkMenuTrackerItem*" "item")
+ '("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_is_separator
+ (of-object "GtkMenuTrackerItem")
+ (c-name "gtk_menu_tracker_item_get_is_separator")
+ (return-type "gboolean")
+)
+
+(define-method get_has_submenu
+ (of-object "GtkMenuTrackerItem")
+ (c-name "gtk_menu_tracker_item_get_has_submenu")
+ (return-type "gboolean")
+)
+
+(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_sensitive
+ (of-object "GtkMenuTrackerItem")
+ (c-name "gtk_menu_tracker_item_get_sensitive")
+ (return-type "gboolean")
+)
+
+(define-method get_visible
+ (of-object "GtkMenuTrackerItem")
+ (c-name "gtk_menu_tracker_item_get_visible")
+ (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 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
@@ -16729,6 +16655,10 @@
+;; From gtkmessagedialog.ui.h
+
+
+
;; From gtkmisc.h
(define-function gtk_misc_get_type
@@ -17722,6 +17652,10 @@
+;; From gtkpagesetupunixdialog.ui.h
+
+
+
;; From gtkpaned.h
(define-function gtk_paned_get_type
@@ -18010,6 +17944,122 @@
+;; From gtkpathbar.ui.h
+
+
+
+;; From gtkpixelcacheprivate.h
+
+
+
+;; 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_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 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")
+ )
+)
+
+
+
;; From gtkplug.h
(define-function gtk_plug_get_type
@@ -20094,6 +20144,10 @@
+;; From gtkprintunixdialog.ui.h
+
+
+
;; From gtkprintutils.h
@@ -20265,67 +20319,6 @@
-;; 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 gtkradiobutton.h
(define-function gtk_radio_button_get_type
@@ -20774,55 +20767,11 @@
-;; 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 gtkrecentchooserdefault.h
-;; From gtkrecentchooserdefault.h
+;; From gtkrecentchooserdefault.ui.h
@@ -21574,6 +21523,72 @@
+;; 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 gtkroundedboxprivate.h
@@ -21657,6 +21672,10 @@
+;; From gtkscalebutton.ui.h
+
+
+
;; From gtkscale.h
(define-function gtk_scale_get_type
@@ -22058,6 +22077,73 @@
+;; 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 gtksearchbar.ui.h
+
+
+
;; From gtksearchengine.h
@@ -23107,6 +23193,157 @@
+;; 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 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_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")
+)
+
+
+
+;; 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
@@ -23175,6 +23412,10 @@
+;; From gtkstatusbar.ui.h
+
+
+
;; From gtkstatusicon.h
(define-function gtk_status_icon_get_type
@@ -23445,65 +23686,6 @@
-;; 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 gtkstyleanimationprivate.h
@@ -23630,6 +23812,21 @@
(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")
@@ -23785,6 +23982,18 @@
)
)
+(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")
@@ -24202,6 +24411,18 @@
)
)
+(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")
+ )
+)
+
(define-function gtk_render_insertion_cursor
(c-name "gtk_render_insertion_cursor")
(return-type "none")
@@ -24548,6 +24769,14 @@
)
)
+(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")
@@ -27579,63 +27808,6 @@
-;; 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 gtktogglebutton.h
(define-function gtk_toggle_button_get_type
@@ -28705,6 +28877,10 @@
+;; From gtktrashmonitor.h
+
+
+
;; From gtktrayicon.h
(define-function gtk_tray_icon_get_type
@@ -29404,6 +29580,18 @@
)
)
+(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
@@ -31404,6 +31592,11 @@
(return-type "GType")
)
+(define-function gtk_baseline_position_get_type
+ (c-name "gtk_baseline_position_get_type")
+ (return-type "GType")
+)
+
(define-function gtk_button_box_style_get_type
(c-name "gtk_button_box_style_get_type")
(return-type "GType")
@@ -31714,6 +31907,11 @@
(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")
@@ -31754,6 +31952,11 @@
(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_spin_button_update_policy_get_type
(c-name "gtk_spin_button_update_policy_get_type")
(return-type "GType")
@@ -31764,6 +31967,11 @@
(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")
@@ -31804,11 +32012,6 @@
(return-type "GType")
)
-(define-function gtk_ui_manager_item_type_get_type
- (c-name "gtk_ui_manager_item_type_get_type")
- (return-type "GType")
-)
-
(define-function gtk_widget_help_type_get_type
(c-name "gtk_widget_help_type_get_type")
(return-type "GType")
@@ -31824,169 +32027,14 @@
(return-type "GType")
)
-
-
-;; From gtktypes.h
-
-
-
-;; From gtkuimanager.h
-
-(define-function gtk_ui_manager_get_type
- (c-name "gtk_ui_manager_get_type")
+(define-function gtk_ui_manager_item_type_get_type
+ (c-name "gtk_ui_manager_item_type_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 gtktypes.h
@@ -32089,6 +32137,10 @@
+;; From gtkvolumebutton.ui.h
+
+
+
;; From gtkwidget.h
(define-function gtk_widget_get_type
@@ -32263,6 +32315,16 @@
)
)
+(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")
@@ -32311,6 +32373,19 @@
)
)
+(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")
@@ -32849,6 +32924,12 @@
(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")
@@ -32867,15 +32948,6 @@
)
)
-(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")
@@ -33034,6 +33106,12 @@
(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")
@@ -33196,6 +33274,12 @@
(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")
@@ -33737,6 +33821,72 @@
)
)
+(define-method init_template
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_init_template")
+ (return-type "none")
+)
+
+(define-method get_automated_child
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_get_automated_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 declare_callback
+ (of-object "GtkWidgetClass")
+ (c-name "gtk_widget_class_declare_callback")
+ (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 automate_child
+ (of-object "GtkWidgetClass")
+ (c-name "gtk_widget_class_automate_child")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "name")
+ '("gboolean" "internal_child")
+ '("gssize" "struct_offset")
+ )
+)
+
;; From gtkwidgetpath.h
@@ -34755,6 +34905,12 @@
(return-type "none")
)
+(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")
@@ -35006,6 +35162,15 @@
)
)
+(define-method set_titlebar
+ (of-object "GtkWindow")
+ (c-name "gtk_window_set_titlebar")
+ (return-type "none")
+ (parameters
+ '("GtkWidget*" "titlebar")
+ )
+)
+
;; From gtkwindowprivate.h
@@ -35036,6 +35201,589 @@
+;; 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 gtkcolorseldialog.h
(define-function gtk_color_selection_dialog_get_type
@@ -35718,6 +36466,497 @@
+;; 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 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
@@ -35898,6 +37137,113 @@
+;; 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 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
@@ -36787,6 +38133,223 @@
+;; 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 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
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 589bdee..b95842f 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -947,6 +947,15 @@
(construct-only #f)
)
+(define-property baseline-position
+ (of-object "GtkBox")
+ (prop-type "GParamEnum")
+ (docs "The position of the baseline aligned widgets if extra space is availible")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkBuilder
(define-property translation-domain
@@ -2269,6 +2278,15 @@
(construct-only #f)
)
+(define-property surface
+ (of-object "GtkCellRendererPixbuf")
+ (prop-type "GParamBoxed")
+ (docs "The surface to render")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property stock-id
(of-object "GtkCellRendererPixbuf")
(prop-type "GParamString")
@@ -4219,6 +4237,15 @@
(construct-only #f)
)
+(define-property baseline-row
+ (of-object "GtkGrid")
+ (prop-type "GParamInt")
+ (docs "The row to align the to the baseline when valign is GTK_ALIGN_BASELINE")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkHandleBox
(define-signal child-detached
@@ -4303,6 +4330,15 @@
(construct-only #f)
)
+(define-property surface
+ (of-object "GtkImage")
+ (prop-type "GParamBoxed")
+ (docs "A cairo_surface_t to display")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property file
(of-object "GtkImage")
(prop-type "GParamString")
@@ -4466,6 +4502,15 @@
(construct-only #f)
)
+(define-property show-close-button
+ (of-object "GtkInfoBar")
+ (prop-type "GParamBoolean")
+ (docs "Whether to include a standard close button")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkInvisible
(define-property screen
@@ -6924,7 +6969,7 @@
(define-property window-placement
(of-object "GtkScrolledWindow")
(prop-type "GParamEnum")
- (docs "Where the contents are located with respect to the scrollbars. This property only takes effect if
'window-placement-set' is TRUE.")
+ (docs "Where the contents are located with respect to the scrollbars.")
(readable #t)
(writable #t)
(construct-only #f)
@@ -11186,6 +11231,15 @@
(construct-only #f)
)
+(define-property scale-factor
+ (of-object "GtkWidget")
+ (prop-type "GParamInt")
+ (docs "The scaling factor of the window")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
;; From GtkWindow
(define-signal set-focus
diff --git a/gtk/src/widget.hg b/gtk/src/widget.hg
index db7cd0d..acbeae9 100644
--- a/gtk/src/widget.hg
+++ b/gtk/src/widget.hg
@@ -140,11 +140,14 @@ public:
_WRAP_METHOD(void size_allocate(const Allocation& allocation), gtk_widget_size_allocate)
+ _WRAP_METHOD(void size_allocate(const Allocation& allocation, int baseline),
gtk_widget_size_allocate_with_baseline)
+
_IGNORE(gtk_widget_size_request) //deprecated
_WRAP_METHOD(SizeRequestMode get_request_mode() const, gtk_widget_get_request_mode)
_WRAP_METHOD(void get_preferred_width(int& minimum_width, int& natural_width) const,
gtk_widget_get_preferred_width)
_WRAP_METHOD(void get_preferred_height_for_width(int width, int& minimum_height, int& natural_height)
const, gtk_widget_get_preferred_height_for_width)
+ _WRAP_METHOD(void get_preferred_height_for_width(int width, int& minimum_height, int& natural_height, int&
minimum_baseline, int& natural_baseline) const, gtk_widget_get_preferred_height_and_baseline_for_width)
_WRAP_METHOD(void get_preferred_height(int& minimum_height, int& natural_height) const,
gtk_widget_get_preferred_height)
_WRAP_METHOD(void get_preferred_width_for_height(int height, int& minimum_width, int& natural_width)
const, gtk_widget_get_preferred_width_for_height)
_WRAP_METHOD(void get_preferred_size(Requisition& minimum_size, Requisition& natural_size) const,
gtk_widget_get_preferred_size)
@@ -262,6 +265,7 @@ public:
_WRAP_METHOD(int get_allocated_width() const, gtk_widget_get_allocated_width)
_WRAP_METHOD(int get_allocated_height() const, gtk_widget_get_allocated_height)
+ _WRAP_METHOD(int get_allocated_baseline() const, gtk_widget_get_allocated_baseline)
/** Retrieves the widget's location.
* Note, when implementing a Container: a widget's allocation will be its "adjusted" allocation,
@@ -355,7 +359,8 @@ public:
_WRAP_METHOD(Align get_halign() const, gtk_widget_get_halign)
_WRAP_METHOD(void set_halign(Align align), gtk_widget_set_halign)
- _WRAP_METHOD(Align get_valign() const,gtk_widget_get_valign)
+ _WRAP_METHOD(Align get_valign() const, gtk_widget_get_valign)
+ _WRAP_METHOD(Align get_valign_with_baseline() const, gtk_widget_get_valign_with_baseline)
_WRAP_METHOD(void set_valign(Align align), gtk_widget_set_valign)
_WRAP_METHOD(int get_margin_left() const, gtk_widget_get_margin_left)
_WRAP_METHOD(void set_margin_left(int margin), gtk_widget_set_margin_left)
@@ -775,6 +780,7 @@ protected:
_WRAP_VFUNC(void get_preferred_height_for_width(int width, int& minimum_height, int& natural_height)
const, get_preferred_height_for_width, custom_vfunc_callback)
_WRAP_VFUNC(void get_preferred_height(int& minimum_height, int& natural_height) const,
get_preferred_height, custom_vfunc_callback)
_WRAP_VFUNC(void get_preferred_width_for_height(int height, int& minimum_width, int& natural_width) const,
get_preferred_width_for_height, custom_vfunc_callback)
+ //TODO: Wrap all the new vfuncs when we can break ABI.
protected:
_CTOR_DEFAULT()
diff --git a/tools/m4/convert_gtk.m4 b/tools/m4/convert_gtk.m4
index dbf503c..07b1649 100644
--- a/tools/m4/convert_gtk.m4
+++ b/tools/m4/convert_gtk.m4
@@ -160,6 +160,7 @@ _CONV_ENUM(Gtk,ApplicationInhibitFlags)
_CONV_ENUM(Gtk,InputPurpose)
_CONV_ENUM(Gtk,InputHints)
_CONV_ENUM(Gtk,LevelBarMode)
+_CONV_ENUM(Gtk,BaselinePosition)
_CONVERSION(`GtkIconSize',`IconSize',`IconSize(static_cast<int>($3))')
_CONVERSION(`GtkIconSize',`Gtk::IconSize',`Gtk::IconSize(static_cast<int>($3))')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]