[gtkmm] Regenerate _methods.defs files.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Regenerate _methods.defs files.
- Date: Wed, 21 Jan 2015 09:09:49 +0000 (UTC)
commit 3513c2e0fa6ce09f0995e8b122ef2d4d2bddf079
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Jan 20 13:07:28 2015 +0100
Regenerate _methods.defs files.
gdk/src/gdk_methods.defs | 12 ++
gtk/src/gtk_methods.defs | 443 ++++++++++++++++++++++++++++++++++++++++------
2 files changed, 399 insertions(+), 56 deletions(-)
---
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index ec62d93..c27bb33 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -1340,6 +1340,18 @@
(return-type "GdkWindow*")
)
+(define-method get_vendor_id
+ (of-object "GdkDevice")
+ (c-name "gdk_device_get_vendor_id")
+ (return-type "const-gchar*")
+)
+
+(define-method get_product_id
+ (of-object "GdkDevice")
+ (c-name "gdk_device_get_product_id")
+ (return-type "const-gchar*")
+)
+
;; From gdkdevicemanager.h
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index b80a520..4f691ad 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -191,13 +191,6 @@
(gtype-id "GTK_TYPE_CLIPBOARD")
)
-(define-object CssComputedValues
- (in-module "Gtk")
- (parent "GObject")
- (c-name "GtkCssComputedValues")
- (gtype-id "GTK_TYPE_CSS_COMPUTED_VALUES")
-)
-
(define-object CssImage
(in-module "Gtk")
(parent "GObject")
@@ -275,6 +268,27 @@
(gtype-id "GTK_TYPE_CSS_PROVIDER")
)
+(define-object CssStyle
+ (in-module "Gtk")
+ (parent "GObject")
+ (c-name "GtkCssStyle")
+ (gtype-id "GTK_TYPE_CSS_STYLE")
+)
+
+(define-object CssStaticStyle
+ (in-module "Gtk")
+ (parent "GtkCssStyle")
+ (c-name "GtkCssStaticStyle")
+ (gtype-id "GTK_TYPE_CSS_STATIC_STYLE")
+)
+
+(define-object CssAnimatedStyle
+ (in-module "Gtk")
+ (parent "GtkCssStyle")
+ (c-name "GtkCssAnimatedStyle")
+ (gtype-id "GTK_TYPE_CSS_ANIMATED_STYLE")
+)
+
(define-object EntryBuffer
(in-module "Gtk")
(parent "GObject")
@@ -1968,6 +1982,44 @@
)
)
+(define-enum CssImageBuiltinType
+ (in-module "Gtk")
+ (c-name "GtkCssImageBuiltinType")
+ (gtype-id "GTK_TYPE_CSS_IMAGE_BUILTIN_TYPE")
+ (values
+ '("none" "GTK_CSS_IMAGE_BUILTIN_NONE")
+ '("check" "GTK_CSS_IMAGE_BUILTIN_CHECK")
+ '("check-checked" "GTK_CSS_IMAGE_BUILTIN_CHECK_CHECKED")
+ '("check-inconsistent" "GTK_CSS_IMAGE_BUILTIN_CHECK_INCONSISTENT")
+ '("option" "GTK_CSS_IMAGE_BUILTIN_OPTION")
+ '("option-checked" "GTK_CSS_IMAGE_BUILTIN_OPTION_CHECKED")
+ '("option-inconsistent" "GTK_CSS_IMAGE_BUILTIN_OPTION_INCONSISTENT")
+ '("arrow-up" "GTK_CSS_IMAGE_BUILTIN_ARROW_UP")
+ '("arrow-down" "GTK_CSS_IMAGE_BUILTIN_ARROW_DOWN")
+ '("arrow-left" "GTK_CSS_IMAGE_BUILTIN_ARROW_LEFT")
+ '("arrow-right" "GTK_CSS_IMAGE_BUILTIN_ARROW_RIGHT")
+ '("expander-horizontal-left" "GTK_CSS_IMAGE_BUILTIN_EXPANDER_HORIZONTAL_LEFT")
+ '("expander-vertical-left" "GTK_CSS_IMAGE_BUILTIN_EXPANDER_VERTICAL_LEFT")
+ '("expander-horizontal-right" "GTK_CSS_IMAGE_BUILTIN_EXPANDER_HORIZONTAL_RIGHT")
+ '("expander-vertical-right" "GTK_CSS_IMAGE_BUILTIN_EXPANDER_VERTICAL_RIGHT")
+ '("expander-horizontal-left-expanded" "GTK_CSS_IMAGE_BUILTIN_EXPANDER_HORIZONTAL_LEFT_EXPANDED")
+ '("expander-vertical-left-expanded" "GTK_CSS_IMAGE_BUILTIN_EXPANDER_VERTICAL_LEFT_EXPANDED")
+ '("expander-horizontal-right-expanded" "GTK_CSS_IMAGE_BUILTIN_EXPANDER_HORIZONTAL_RIGHT_EXPANDED")
+ '("expander-vertical-right-expanded" "GTK_CSS_IMAGE_BUILTIN_EXPANDER_VERTICAL_RIGHT_EXPANDED")
+ '("grip-topleft" "GTK_CSS_IMAGE_BUILTIN_GRIP_TOPLEFT")
+ '("grip-top" "GTK_CSS_IMAGE_BUILTIN_GRIP_TOP")
+ '("grip-topright" "GTK_CSS_IMAGE_BUILTIN_GRIP_TOPRIGHT")
+ '("grip-right" "GTK_CSS_IMAGE_BUILTIN_GRIP_RIGHT")
+ '("grip-bottomright" "GTK_CSS_IMAGE_BUILTIN_GRIP_BOTTOMRIGHT")
+ '("grip-bottom" "GTK_CSS_IMAGE_BUILTIN_GRIP_BOTTOM")
+ '("grip-bottomleft" "GTK_CSS_IMAGE_BUILTIN_GRIP_BOTTOMLEFT")
+ '("grip-left" "GTK_CSS_IMAGE_BUILTIN_GRIP_LEFT")
+ '("pane-separator" "GTK_CSS_IMAGE_BUILTIN_PANE_SEPARATOR")
+ '("handle" "GTK_CSS_IMAGE_BUILTIN_HANDLE")
+ '("spinner" "GTK_CSS_IMAGE_BUILTIN_SPINNER")
+ )
+)
+
(define-flags CssNumberParseFlags
(in-module "Gtk")
(c-name "GtkCssNumberParseFlags")
@@ -3570,6 +3622,16 @@
)
)
+(define-enum TextExtendSelection
+ (in-module "Gtk")
+ (c-name "GtkTextExtendSelection")
+ (gtype-id "GTK_TYPE_TEXT_EXTEND_SELECTION")
+ (values
+ '("word" "GTK_TEXT_EXTEND_SELECTION_WORD")
+ '("line" "GTK_TEXT_EXTEND_SELECTION_LINE")
+ )
+)
+
(define-enum ToolbarSpaceStyle
(in-module "Gtk")
(c-name "GtkToolbarSpaceStyle")
@@ -6302,10 +6364,6 @@
-;; From gtkborderimageprivate.h
-
-
-
;; From gtkbox.h
(define-function gtk_box_get_type
@@ -10031,42 +10089,81 @@
-;; From gtkcssanimationprivate.h
+;; From gtkcssanimatedstyleprivate.h
+
+(define-function gtk_css_animated_style_get_type
+ (c-name "gtk_css_animated_style_get_type")
+ (return-type "GType")
+)
+(define-function gtk_css_animated_style_new
+ (c-name "gtk_css_animated_style_new")
+ (is-constructor-of "GtkCssAnimatedStyle")
+ (return-type "GtkCssStyle*")
+ (parameters
+ '("GtkCssStyle*" "base_style")
+ '("GtkCssStyle*" "parent_style")
+ '("gint64" "timestamp")
+ '("GtkStyleProviderPrivate*" "provider")
+ '("int" "scale")
+ '("GtkCssStyle*" "previous_style")
+ )
+)
+(define-method new_advance
+ (of-object "GtkCssAnimatedStyle")
+ (c-name "gtk_css_animated_style_new_advance")
+ (return-type "GtkCssStyle*")
+ (parameters
+ '("GtkCssStyle*" "base")
+ '("gint64" "timestamp")
+ )
+)
-;; From gtkcssarrayvalueprivate.h
+(define-method set_animated_value
+ (of-object "GtkCssAnimatedStyle")
+ (c-name "gtk_css_animated_style_set_animated_value")
+ (return-type "none")
+ (parameters
+ '("guint" "id")
+ '("GtkCssValue*" "value")
+ )
+)
+(define-method get_intrinsic_value
+ (of-object "GtkCssAnimatedStyle")
+ (c-name "gtk_css_animated_style_get_intrinsic_value")
+ (return-type "GtkCssValue*")
+ (parameters
+ '("guint" "id")
+ )
+)
+(define-method is_static
+ (of-object "GtkCssAnimatedStyle")
+ (c-name "gtk_css_animated_style_is_static")
+ (return-type "gboolean")
+)
-;; From gtkcssbgsizevalueprivate.h
+;; From gtkcssanimationprivate.h
-;; From gtkcssbordervalueprivate.h
+;; From gtkcssarrayvalueprivate.h
-;; From gtkcsscolorvalueprivate.h
+;; From gtkcssbgsizevalueprivate.h
-;; From gtkcsscomputedvaluesprivate.h
-(define-method to_string
- (of-object "GtkCssComputedValues")
- (c-name "gtk_css_computed_values_to_string")
- (return-type "char*")
-)
-(define-method print
- (of-object "GtkCssComputedValues")
- (c-name "gtk_css_computed_values_print")
- (return-type "none")
- (parameters
- '("GString*" "string")
- )
-)
+;; From gtkcssbordervalueprivate.h
+
+
+
+;; From gtkcsscolorvalueprivate.h
@@ -10103,6 +10200,18 @@
(return-type "GtkCssImage*")
)
+(define-method builtin_draw
+ (of-object "GtkCssImage")
+ (c-name "gtk_css_image_builtin_draw")
+ (return-type "none")
+ (parameters
+ '("cairo_t*" "cr")
+ '("double" "width")
+ '("double" "height")
+ '("GtkCssImageBuiltinType" "image_type")
+ )
+)
+
;; From gtkcssimagecrossfadeprivate.h
@@ -10200,6 +10309,36 @@
(return-type "GtkJunctionSides")
)
+(define-function gtk_css_node_declaration_set_type
+ (c-name "gtk_css_node_declaration_set_type")
+ (return-type "gboolean")
+ (parameters
+ '("GtkCssNodeDeclaration**" "decl")
+ '("GType" "type")
+ )
+)
+
+(define-method get_type
+ (of-object "GtkCssNodeDeclaration")
+ (c-name "gtk_css_node_declaration_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_css_node_declaration_set_id
+ (c-name "gtk_css_node_declaration_set_id")
+ (return-type "gboolean")
+ (parameters
+ '("GtkCssNodeDeclaration**" "decl")
+ '("const-char*" "id")
+ )
+)
+
+(define-method get_id
+ (of-object "GtkCssNodeDeclaration")
+ (c-name "gtk_css_node_declaration_get_id")
+ (return-type "const-char*")
+)
+
(define-function gtk_css_node_declaration_set_state
(c-name "gtk_css_node_declaration_set_state")
(return-type "gboolean")
@@ -10504,6 +10643,67 @@
+;; From gtkcssstaticstyleprivate.h
+
+(define-function gtk_css_static_style_get_type
+ (c-name "gtk_css_static_style_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_css_static_style_get_default
+ (c-name "gtk_css_static_style_get_default")
+ (return-type "GtkCssStyle*")
+ (parameters
+ '("GdkScreen*" "screen")
+ )
+)
+
+(define-function gtk_css_static_style_new_compute
+ (c-name "gtk_css_static_style_new_compute")
+ (return-type "GtkCssStyle*")
+ (parameters
+ '("GtkStyleProviderPrivate*" "provider")
+ '("const-GtkCssMatcher*" "matcher")
+ '("int" "scale")
+ '("GtkCssStyle*" "parent")
+ )
+)
+
+(define-method new_update
+ (of-object "GtkCssStaticStyle")
+ (c-name "gtk_css_static_style_new_update")
+ (return-type "GtkCssStyle*")
+ (parameters
+ '("const-GtkBitmask*" "parent_changes")
+ '("GtkStyleProviderPrivate*" "provider")
+ '("const-GtkCssMatcher*" "matcher")
+ '("int" "scale")
+ '("GtkCssStyle*" "parent")
+ )
+)
+
+(define-method compute_value
+ (of-object "GtkCssStaticStyle")
+ (c-name "gtk_css_static_style_compute_value")
+ (return-type "none")
+ (parameters
+ '("GtkStyleProviderPrivate*" "provider")
+ '("int" "scale")
+ '("GtkCssStyle*" "parent_style")
+ '("guint" "id")
+ '("GtkCssValue*" "specified")
+ '("GtkCssSection*" "section")
+ )
+)
+
+(define-method get_change
+ (of-object "GtkCssStaticStyle")
+ (c-name "gtk_css_static_style_get_change")
+ (return-type "GtkCssChange")
+)
+
+
+
;; From gtkcssstringvalueprivate.h
@@ -10512,6 +10712,57 @@
+;; From gtkcssstyleprivate.h
+
+(define-function gtk_css_style_get_type
+ (c-name "gtk_css_style_get_type")
+ (return-type "GType")
+)
+
+(define-method get_value
+ (of-object "GtkCssStyle")
+ (c-name "gtk_css_style_get_value")
+ (return-type "GtkCssValue*")
+ (parameters
+ '("guint" "id")
+ )
+)
+
+(define-method get_section
+ (of-object "GtkCssStyle")
+ (c-name "gtk_css_style_get_section")
+ (return-type "GtkCssSection*")
+ (parameters
+ '("guint" "id")
+ )
+)
+
+(define-method get_difference
+ (of-object "GtkCssStyle")
+ (c-name "gtk_css_style_get_difference")
+ (return-type "GtkBitmask*")
+ (parameters
+ '("GtkCssStyle*" "other")
+ )
+)
+
+(define-method to_string
+ (of-object "GtkCssStyle")
+ (c-name "gtk_css_style_to_string")
+ (return-type "char*")
+)
+
+(define-method print
+ (of-object "GtkCssStyle")
+ (c-name "gtk_css_style_print")
+ (return-type "none")
+ (parameters
+ '("GString*" "string")
+ )
+)
+
+
+
;; From gtkcssstylepropertyprivate.h
@@ -18644,6 +18895,7 @@
'("GMenuModel*" "model")
'("gboolean" "with_separators")
'("gboolean" "merge_sections")
+ '("gboolean" "mac_os_mode")
'("const-gchar*" "action_namespace")
'("GtkMenuTrackerInsertFunc" "insert_func")
'("GtkMenuTrackerRemoveFunc" "remove_func")
@@ -18658,6 +18910,7 @@
'("GtkMenuTrackerItem*" "item")
'("const-gchar*" "link_name")
'("gboolean" "merge_sections")
+ '("gboolean" "mac_os_mode")
'("GtkMenuTrackerInsertFunc" "insert_func")
'("GtkMenuTrackerRemoveFunc" "remove_func")
'("gpointer" "user_data")
@@ -23762,6 +24015,56 @@
+;; From gtkrenderbackgroundprivate.h
+
+(define-method render_background
+ (of-object "GtkCssStyle")
+ (c-name "gtk_css_style_render_background")
+ (return-type "none")
+ (parameters
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ '("GtkJunctionSides" "junction")
+ )
+)
+
+
+
+;; From gtkrenderborderprivate.h
+
+(define-method render_border
+ (of-object "GtkCssStyle")
+ (c-name "gtk_css_style_render_border")
+ (return-type "none")
+ (parameters
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ '("guint" "hidden_side")
+ '("GtkJunctionSides" "junction")
+ )
+)
+
+(define-method render_outline
+ (of-object "GtkCssStyle")
+ (c-name "gtk_css_style_render_outline")
+ (return-type "none")
+ (parameters
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ )
+)
+
+
+
;; From gtkrender.h
(define-function gtk_render_check
@@ -23986,28 +24289,48 @@
-;; From gtkrenderprivate.h
+;; From gtkrendericonprivate.h
-(define-function gtk_render_content_path
- (c-name "gtk_render_content_path")
+(define-method render_icon
+ (of-object "GtkCssStyle")
+ (c-name "gtk_css_style_render_icon")
(return-type "none")
(parameters
- '("GtkStyleContext*" "context")
'("cairo_t*" "cr")
'("double" "x")
'("double" "y")
'("double" "width")
'("double" "height")
+ '("GtkCssImageBuiltinType" "builtin_type")
)
)
-(define-function gtk_render_paint_spinner
- (c-name "gtk_render_paint_spinner")
+(define-method render_icon_surface
+ (of-object "GtkCssStyle")
+ (c-name "gtk_css_style_render_icon_surface")
(return-type "none")
(parameters
'("cairo_t*" "cr")
- '("gdouble" "radius")
- '("gdouble" "progress")
+ '("cairo_surface_t*" "surface")
+ '("double" "x")
+ '("double" "y")
+ )
+)
+
+
+
+;; From gtkrenderprivate.h
+
+(define-function gtk_render_content_path
+ (c-name "gtk_render_content_path")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("double" "x")
+ '("double" "y")
+ '("double" "width")
+ '("double" "height")
)
)
@@ -26545,6 +26868,27 @@
;; From gtkstylecontextprivate.h
+(define-method set_id
+ (of-object "GtkStyleContext")
+ (c-name "gtk_style_context_set_id")
+ (return-type "none")
+ (parameters
+ '("const-char*" "id")
+ )
+)
+
+(define-method get_id
+ (of-object "GtkStyleContext")
+ (c-name "gtk_style_context_get_id")
+ (return-type "const-char*")
+)
+
+(define-method lookup_style
+ (of-object "GtkStyleContext")
+ (c-name "gtk_style_context_lookup_style")
+ (return-type "GtkCssStyle*")
+)
+
;; From gtkstylepropertyprivate.h
@@ -29563,24 +29907,6 @@
-;; From gtkthemingbackgroundprivate.h
-
-(define-function gtk_theming_background_render
- (c-name "gtk_theming_background_render")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x")
- '("gdouble" "y")
- '("gdouble" "width")
- '("gdouble" "height")
- '("GtkJunctionSides" "junction")
- )
-)
-
-
-
;; From gtktogglebutton.h
(define-function gtk_toggle_button_get_type
@@ -33767,6 +34093,11 @@
(return-type "GType")
)
+(define-function gtk_text_extend_selection_get_type
+ (c-name "gtk_text_extend_selection_get_type")
+ (return-type "GType")
+)
+
(define-function gtk_toolbar_space_style_get_type
(c-name "gtk_toolbar_space_style_get_type")
(return-type "GType")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]