[gtkmm] Regenerate methods .defs.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Regenerate methods .defs.
- Date: Wed, 3 Dec 2014 12:26:01 +0000 (UTC)
commit ef21ed41c467ba97088bb048f1dc304b34b4b238
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Dec 3 12:19:07 2014 +0100
Regenerate methods .defs.
gdk/src/gdk_methods.defs | 333 ++++++++++
gdk/src/gdk_pixbuf_methods.defs | 71 ++-
gtk/src/gtk_methods.defs | 1365 ++++++++++++++++++++++++++++-----------
3 files changed, 1388 insertions(+), 381 deletions(-)
---
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index c9e3dd5..ec62d93 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -56,6 +56,13 @@
(gtype-id "GDK_TYPE_FRAME_CLOCK_IDLE")
)
+(define-object GLContext
+ (in-module "Gdk")
+ (parent "GObject")
+ (c-name "GdkGLContext")
+ (gtype-id "GDK_TYPE_GL_CONTEXT")
+)
+
(define-object Keymap
(in-module "Gdk")
(parent "GObject")
@@ -388,6 +395,7 @@
'("eventloop" "GDK_DEBUG_EVENTLOOP")
'("frames" "GDK_DEBUG_FRAMES")
'("settings" "GDK_DEBUG_SETTINGS")
+ '("opengl" "GDK_DEBUG_OPENGL")
)
)
@@ -402,6 +410,19 @@
)
)
+(define-flags GLFlags
+ (in-module "Gdk")
+ (c-name "GdkGLFlags")
+ (gtype-id "GDK_TYPE_GL_FLAGS")
+ (values
+ '("disable" "GDK_GL_DISABLE")
+ '("always" "GDK_GL_ALWAYS")
+ '("software-draw-gl" "GDK_GL_SOFTWARE_DRAW_GL")
+ '("software-draw-surface" "GDK_GL_SOFTWARE_DRAW_SURFACE")
+ '("texture-rectangle" "GDK_GL_TEXTURE_RECTANGLE")
+ )
+)
+
(define-enum ArgType
(in-module "Gdk")
(c-name "GdkArgType")
@@ -524,6 +545,7 @@
'("invalid-time" "GDK_GRAB_INVALID_TIME")
'("not-viewable" "GDK_GRAB_NOT_VIEWABLE")
'("frozen" "GDK_GRAB_FROZEN")
+ '("failed" "GDK_GRAB_FAILED")
)
)
@@ -570,6 +592,28 @@
)
)
+(define-enum GLProfile
+ (in-module "Gdk")
+ (c-name "GdkGLProfile")
+ (gtype-id "GDK_TYPE_GL_PROFILE")
+ (values
+ '("default" "GDK_GL_PROFILE_DEFAULT")
+ '("legacy" "GDK_GL_PROFILE_LEGACY")
+ '("3-2-core" "GDK_GL_PROFILE_3_2_CORE")
+ )
+)
+
+(define-enum GLError
+ (in-module "Gdk")
+ (c-name "GdkGLError")
+ (gtype-id "GDK_TYPE_GL_ERROR")
+ (values
+ '("not-available" "GDK_GL_ERROR_NOT_AVAILABLE")
+ '("unsupported-format" "GDK_GL_ERROR_UNSUPPORTED_FORMAT")
+ '("unsupported-profile" "GDK_GL_ERROR_UNSUPPORTED_PROFILE")
+ )
+)
+
(define-enum VisualType
(in-module "Gdk")
(c-name "GdkVisualType")
@@ -901,6 +945,22 @@
)
)
+(define-function gdk_cairo_draw_from_gl
+ (c-name "gdk_cairo_draw_from_gl")
+ (return-type "none")
+ (parameters
+ '("cairo_t*" "cr")
+ '("GdkWindow*" "window")
+ '("int" "source")
+ '("int" "source_type")
+ '("int" "buffer_scale")
+ '("int" "x")
+ '("int" "y")
+ '("int" "width")
+ '("int" "height")
+ )
+)
+
;; From gdkconfig.h
@@ -1677,6 +1737,15 @@
;; From gdkdisplayprivate.h
+(define-method make_gl_context_current
+ (of-object "GdkDisplay")
+ (c-name "gdk_display_make_gl_context_current")
+ (return-type "gboolean")
+ (parameters
+ '("GdkGLContext*" "context")
+ )
+)
+
;; From gdkdnd.h
@@ -1993,6 +2062,16 @@
(return-type "GType")
)
+(define-function gdk_gl_profile_get_type
+ (c-name "gdk_gl_profile_get_type")
+ (return-type "GType")
+)
+
+(define-function gdk_gl_error_get_type
+ (c-name "gdk_gl_error_get_type")
+ (return-type "GType")
+)
+
(define-function gdk_visual_type_get_type
(c-name "gdk_visual_type_get_type")
(return-type "GType")
@@ -2490,12 +2569,154 @@
+;; From gdkglcontext.h
+
+(define-function gdk_gl_error_quark
+ (c-name "gdk_gl_error_quark")
+ (return-type "GQuark")
+)
+
+(define-function gdk_gl_context_get_type
+ (c-name "gdk_gl_context_get_type")
+ (return-type "GType")
+)
+
+(define-method get_display
+ (of-object "GdkGLContext")
+ (c-name "gdk_gl_context_get_display")
+ (return-type "GdkDisplay*")
+)
+
+(define-method get_window
+ (of-object "GdkGLContext")
+ (c-name "gdk_gl_context_get_window")
+ (return-type "GdkWindow*")
+)
+
+(define-method get_profile
+ (of-object "GdkGLContext")
+ (c-name "gdk_gl_context_get_profile")
+ (return-type "GdkGLProfile")
+)
+
+(define-method make_current
+ (of-object "GdkGLContext")
+ (c-name "gdk_gl_context_make_current")
+ (return-type "none")
+)
+
+(define-function gdk_gl_context_get_current
+ (c-name "gdk_gl_context_get_current")
+ (return-type "GdkGLContext*")
+)
+
+(define-function gdk_gl_context_clear_current
+ (c-name "gdk_gl_context_clear_current")
+ (return-type "none")
+)
+
+
+
+;; From gdkglcontextprivate.h
+
+(define-method get_paint_data
+ (of-object "GdkGLContext")
+ (c-name "gdk_gl_context_get_paint_data")
+ (return-type "GdkGLContextPaintData*")
+)
+
+(define-method use_texture_rectangle
+ (of-object "GdkGLContext")
+ (c-name "gdk_gl_context_use_texture_rectangle")
+ (return-type "gboolean")
+)
+
+(define-method has_framebuffer_blit
+ (of-object "GdkGLContext")
+ (c-name "gdk_gl_context_has_framebuffer_blit")
+ (return-type "gboolean")
+)
+
+(define-method has_frame_terminator
+ (of-object "GdkGLContext")
+ (c-name "gdk_gl_context_has_frame_terminator")
+ (return-type "gboolean")
+)
+
+(define-method end_frame
+ (of-object "GdkGLContext")
+ (c-name "gdk_gl_context_end_frame")
+ (return-type "none")
+ (parameters
+ '("cairo_region_t*" "painted")
+ '("cairo_region_t*" "damage")
+ )
+)
+
+
+
;; From gdk.h
;; From gdkinternals.h
+(define-function gdk_gl_texture_from_surface
+ (c-name "gdk_gl_texture_from_surface")
+ (return-type "none")
+ (parameters
+ '("cairo_surface_t*" "surface")
+ '("cairo_region_t*" "region")
+ )
+)
+
+(define-function gdk_gl_texture_quads
+ (c-name "gdk_gl_texture_quads")
+ (return-type "none")
+ (parameters
+ '("GdkGLContext*" "paint_context")
+ '("guint" "texture_target")
+ '("int" "n_quads")
+ '("GdkTexturedQuad*" "quads")
+ )
+)
+
+(define-function gdk_cairo_surface_mark_as_direct
+ (c-name "gdk_cairo_surface_mark_as_direct")
+ (return-type "none")
+ (parameters
+ '("cairo_surface_t*" "surface")
+ '("GdkWindow*" "window")
+ )
+)
+
+(define-function gdk_cairo_region_from_clip
+ (c-name "gdk_cairo_region_from_clip")
+ (return-type "cairo_region_t*")
+ (parameters
+ '("cairo_t*" "cr")
+ )
+)
+
+(define-method get_paint_gl_context
+ (of-object "GdkWindow")
+ (c-name "gdk_window_get_paint_gl_context")
+ (return-type "GdkGLContext*")
+ (parameters
+ '("GError**" "error")
+ )
+)
+
+(define-method get_unscaled_size
+ (of-object "GdkWindow")
+ (c-name "gdk_window_get_unscaled_size")
+ (return-type "none")
+ (parameters
+ '("int*" "unscaled_width")
+ '("int*" "unscaled_height")
+ )
+)
+
(define-function gdk_offscreen_window_get_type
(c-name "gdk_offscreen_window_get_type")
(return-type "GType")
@@ -2977,6 +3198,99 @@
+;; From gdk-private.h
+
+(define-function gdk_display_open_default
+ (c-name "gdk_display_open_default")
+ (return-type "GdkDisplay*")
+)
+
+(define-function gdk_device_grab_info
+ (c-name "gdk_device_grab_info")
+ (return-type "gboolean")
+ (parameters
+ '("GdkDisplay*" "display")
+ '("GdkDevice*" "device")
+ '("GdkWindow**" "grab_window")
+ '("gboolean*" "owner_events")
+ )
+)
+
+(define-function gdk_add_option_entries
+ (c-name "gdk_add_option_entries")
+ (return-type "none")
+ (parameters
+ '("GOptionGroup*" "group")
+ )
+)
+
+(define-function gdk_pre_parse
+ (c-name "gdk_pre_parse")
+ (return-type "none")
+)
+
+(define-function gdk_gl_get_flags
+ (c-name "gdk_gl_get_flags")
+ (return-type "GdkGLFlags")
+)
+
+(define-function gdk_gl_set_flags
+ (c-name "gdk_gl_set_flags")
+ (return-type "none")
+ (parameters
+ '("GdkGLFlags" "flags")
+ )
+)
+
+(define-method freeze_toplevel_updates
+ (of-object "GdkWindow")
+ (c-name "gdk_window_freeze_toplevel_updates")
+ (return-type "none")
+)
+
+(define-method thaw_toplevel_updates
+ (of-object "GdkWindow")
+ (c-name "gdk_window_thaw_toplevel_updates")
+ (return-type "none")
+)
+
+(define-method get_rendering_mode
+ (of-object "GdkDisplay")
+ (c-name "gdk_display_get_rendering_mode")
+ (return-type "GdkRenderingMode")
+)
+
+(define-method set_rendering_mode
+ (of-object "GdkDisplay")
+ (c-name "gdk_display_set_rendering_mode")
+ (return-type "none")
+ (parameters
+ '("GdkRenderingMode" "mode")
+ )
+)
+
+(define-method get_debug_updates
+ (of-object "GdkDisplay")
+ (c-name "gdk_display_get_debug_updates")
+ (return-type "gboolean")
+)
+
+(define-method set_debug_updates
+ (of-object "GdkDisplay")
+ (c-name "gdk_display_set_debug_updates")
+ (return-type "none")
+ (parameters
+ '("gboolean" "debug_updates")
+ )
+)
+
+(define-function gdk__private__
+ (c-name "gdk__private__")
+ (return-type "GdkPrivateVTable*")
+)
+
+
+
;; From gdkprivate.h
(define-method destroy_notify
@@ -4215,6 +4529,15 @@
)
)
+(define-method mark_paint_from_clip
+ (of-object "GdkWindow")
+ (c-name "gdk_window_mark_paint_from_clip")
+ (return-type "none")
+ (parameters
+ '("cairo_t*" "cr")
+ )
+)
+
(define-method begin_paint_region
(of-object "GdkWindow")
(c-name "gdk_window_begin_paint_region")
@@ -5042,6 +5365,16 @@
)
)
+(define-method create_gl_context
+ (of-object "GdkWindow")
+ (c-name "gdk_window_create_gl_context")
+ (return-type "GdkGLContext*")
+ (parameters
+ '("GdkGLProfile" "profile")
+ '("GError**" "error")
+ )
+)
+
;; From gdkwindowimpl.h
diff --git a/gdk/src/gdk_pixbuf_methods.defs b/gdk/src/gdk_pixbuf_methods.defs
index 3344a07..99d16f7 100644
--- a/gdk/src/gdk_pixbuf_methods.defs
+++ b/gdk/src/gdk_pixbuf_methods.defs
@@ -363,6 +363,18 @@
)
)
+(define-method read_pixels
+ (of-object "GdkPixbuf")
+ (c-name "gdk_pixbuf_read_pixels")
+ (return-type "const-guint8*")
+)
+
+(define-method read_pixel_bytes
+ (of-object "GdkPixbuf")
+ (c-name "gdk_pixbuf_read_pixel_bytes")
+ (return-type "GBytes*")
+)
+
(define-function gdk_pixbuf_new
(c-name "gdk_pixbuf_new")
(is-constructor-of "GdkPixbuf")
@@ -463,6 +475,20 @@
)
)
+(define-function gdk_pixbuf_new_from_bytes
+ (c-name "gdk_pixbuf_new_from_bytes")
+ (return-type "GdkPixbuf*")
+ (parameters
+ '("GBytes*" "data")
+ '("GdkColorspace" "colorspace")
+ '("gboolean" "has_alpha")
+ '("int" "bits_per_sample")
+ '("int" "width")
+ '("int" "height")
+ '("int" "rowstride")
+ )
+)
+
(define-function gdk_pixbuf_new_from_xpm_data
(c-name "gdk_pixbuf_new_from_xpm_data")
(return-type "GdkPixbuf*")
@@ -716,6 +742,12 @@
)
)
+(define-method get_options
+ (of-object "GdkPixbuf")
+ (c-name "gdk_pixbuf_get_options")
+ (return-type "GHashTable*")
+)
+
;; From gdk-pixbuf-enum-types.h
@@ -755,18 +787,6 @@
-;; From gdk-pixbuf-i18n.h
-
-(define-function gdk_pixbuf_gettext
- (c-name "gdk_pixbuf_gettext")
- (return-type "const-gchar*")
- (parameters
- '("const-gchar*" "msgid")
- )
-)
-
-
-
;; From gdk-pixbuf-io.h
(define-function gdk_pixbuf_format_get_type
@@ -846,6 +866,28 @@
)
)
+(define-function gdk_pixbuf_get_file_info_async
+ (c-name "gdk_pixbuf_get_file_info_async")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "filename")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-function gdk_pixbuf_get_file_info_finish
+ (c-name "gdk_pixbuf_get_file_info_finish")
+ (return-type "GdkPixbufFormat*")
+ (parameters
+ '("GAsyncResult*" "async_result")
+ '("gint*" "width")
+ '("gint*" "height")
+ '("GError**" "error")
+ )
+)
+
(define-method copy
(of-object "GdkPixbufFormat")
(c-name "gdk_pixbuf_format_copy")
@@ -967,6 +1009,11 @@
;; From gdk-pixbuf-private.h
+(define-function gdk_pixbuf_get_toplevel
+ (c-name "gdk_pixbuf_get_toplevel")
+ (return-type "gchar*")
+)
+
;; From gdk-pixbuf-scaled-anim.h
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index c3edb04..dcc59f7 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -205,6 +205,13 @@
(gtype-id "GTK_TYPE_CSS_IMAGE")
)
+(define-object CssImageBuiltin
+ (in-module "Gtk")
+ (parent "GtkCssImage")
+ (c-name "GtkCssImageBuiltin")
+ (gtype-id "GTK_TYPE_CSS_IMAGE_BUILTIN")
+)
+
(define-object CssImageCrossFade
(in-module "Gtk")
(parent "GtkCssImage")
@@ -970,6 +977,13 @@
(gtype-id "GTK_TYPE_HSV")
)
+(define-object GLArea
+ (in-module "Gtk")
+ (parent "GtkWidget")
+ (c-name "GtkGLArea")
+ (gtype-id "GTK_TYPE_GL_AREA")
+)
+
(define-object Entry
(in-module "Gtk")
(parent "GtkWidget")
@@ -1243,6 +1257,13 @@
(gtype-id "GTK_TYPE_MENU_TOOL_BUTTON")
)
+(define-object Sidebar
+ (in-module "Gtk")
+ (parent "GtkBin")
+ (c-name "GtkSidebar")
+ (gtype-id "GTK_TYPE_SIDEBAR")
+)
+
(define-object SearchBar
(in-module "Gtk")
(parent "GtkBin")
@@ -2048,6 +2069,23 @@
)
)
+(define-flags CssAffects
+ (in-module "Gtk")
+ (c-name "GtkCssAffects")
+ (gtype-id "GTK_TYPE_CSS_AFFECTS")
+ (values
+ '("foreground" "GTK_CSS_AFFECTS_FOREGROUND")
+ '("background" "GTK_CSS_AFFECTS_BACKGROUND")
+ '("border" "GTK_CSS_AFFECTS_BORDER")
+ '("font" "GTK_CSS_AFFECTS_FONT")
+ '("text" "GTK_CSS_AFFECTS_TEXT")
+ '("icon" "GTK_CSS_AFFECTS_ICON")
+ '("outline" "GTK_CSS_AFFECTS_OUTLINE")
+ '("clip" "GTK_CSS_AFFECTS_CLIP")
+ '("size" "GTK_CSS_AFFECTS_SIZE")
+ )
+)
+
(define-enum CssArea
(in-module "Gtk")
(c-name "GtkCssArea")
@@ -3110,6 +3148,17 @@
)
)
+(define-enum ButtonRole
+ (in-module "Gtk")
+ (c-name "GtkButtonRole")
+ (gtype-id "GTK_TYPE_BUTTON_ROLE")
+ (values
+ '("normal" "GTK_BUTTON_ROLE_NORMAL")
+ '("check" "GTK_BUTTON_ROLE_CHECK")
+ '("radio" "GTK_BUTTON_ROLE_RADIO")
+ )
+)
+
(define-enum NotebookTab
(in-module "Gtk")
(c-name "GtkNotebookTab")
@@ -3374,6 +3423,19 @@
'("always" "GTK_POLICY_ALWAYS")
'("automatic" "GTK_POLICY_AUTOMATIC")
'("never" "GTK_POLICY_NEVER")
+ '("external" "GTK_POLICY_EXTERNAL")
+ )
+)
+
+(define-enum SettingsSource
+ (in-module "Gtk")
+ (c-name "GtkSettingsSource")
+ (gtype-id "GTK_TYPE_SETTINGS_SOURCE")
+ (values
+ '("default" "GTK_SETTINGS_SOURCE_DEFAULT")
+ '("theme" "GTK_SETTINGS_SOURCE_THEME")
+ '("xsetting" "GTK_SETTINGS_SOURCE_XSETTING")
+ '("application" "GTK_SETTINGS_SOURCE_APPLICATION")
)
)
@@ -9991,6 +10053,21 @@
;; 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 gtkcsscornervalueprivate.h
@@ -10013,6 +10090,21 @@
+;; From gtkcssimagebuiltinprivate.h
+
+(define-function gtk_css_image_builtin_get_type
+ (c-name "gtk_css_image_builtin_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_css_image_builtin_new
+ (c-name "gtk_css_image_builtin_new")
+ (is-constructor-of "GtkCssImageBuiltin")
+ (return-type "GtkCssImage*")
+)
+
+
+
;; From gtkcssimagecrossfadeprivate.h
@@ -10073,6 +10165,153 @@
+;; From gtkcssnodedeclarationprivate.h
+
+(define-function gtk_css_node_declaration_new
+ (c-name "gtk_css_node_declaration_new")
+ (is-constructor-of "GtkCssNodeDeclaration")
+ (return-type "GtkCssNodeDeclaration*")
+)
+
+(define-method ref
+ (of-object "GtkCssNodeDeclaration")
+ (c-name "gtk_css_node_declaration_ref")
+ (return-type "GtkCssNodeDeclaration*")
+)
+
+(define-method unref
+ (of-object "GtkCssNodeDeclaration")
+ (c-name "gtk_css_node_declaration_unref")
+ (return-type "none")
+)
+
+(define-function gtk_css_node_declaration_set_junction_sides
+ (c-name "gtk_css_node_declaration_set_junction_sides")
+ (return-type "gboolean")
+ (parameters
+ '("GtkCssNodeDeclaration**" "decl")
+ '("GtkJunctionSides" "junction_sides")
+ )
+)
+
+(define-method get_junction_sides
+ (of-object "GtkCssNodeDeclaration")
+ (c-name "gtk_css_node_declaration_get_junction_sides")
+ (return-type "GtkJunctionSides")
+)
+
+(define-function gtk_css_node_declaration_set_state
+ (c-name "gtk_css_node_declaration_set_state")
+ (return-type "gboolean")
+ (parameters
+ '("GtkCssNodeDeclaration**" "decl")
+ '("GtkStateFlags" "flags")
+ )
+)
+
+(define-method get_state
+ (of-object "GtkCssNodeDeclaration")
+ (c-name "gtk_css_node_declaration_get_state")
+ (return-type "GtkStateFlags")
+)
+
+(define-function gtk_css_node_declaration_add_class
+ (c-name "gtk_css_node_declaration_add_class")
+ (return-type "gboolean")
+ (parameters
+ '("GtkCssNodeDeclaration**" "decl")
+ '("GQuark" "class_quark")
+ )
+)
+
+(define-function gtk_css_node_declaration_remove_class
+ (c-name "gtk_css_node_declaration_remove_class")
+ (return-type "gboolean")
+ (parameters
+ '("GtkCssNodeDeclaration**" "decl")
+ '("GQuark" "class_quark")
+ )
+)
+
+(define-method has_class
+ (of-object "GtkCssNodeDeclaration")
+ (c-name "gtk_css_node_declaration_has_class")
+ (return-type "gboolean")
+ (parameters
+ '("GQuark" "class_quark")
+ )
+)
+
+(define-method list_classes
+ (of-object "GtkCssNodeDeclaration")
+ (c-name "gtk_css_node_declaration_list_classes")
+ (return-type "GList*")
+)
+
+(define-function gtk_css_node_declaration_add_region
+ (c-name "gtk_css_node_declaration_add_region")
+ (return-type "gboolean")
+ (parameters
+ '("GtkCssNodeDeclaration**" "decl")
+ '("GQuark" "region_quark")
+ '("GtkRegionFlags" "flags")
+ )
+)
+
+(define-function gtk_css_node_declaration_remove_region
+ (c-name "gtk_css_node_declaration_remove_region")
+ (return-type "gboolean")
+ (parameters
+ '("GtkCssNodeDeclaration**" "decl")
+ '("GQuark" "region_quark")
+ )
+)
+
+(define-method has_region
+ (of-object "GtkCssNodeDeclaration")
+ (c-name "gtk_css_node_declaration_has_region")
+ (return-type "gboolean")
+ (parameters
+ '("GQuark" "region_quark")
+ '("GtkRegionFlags*" "flags_return")
+ )
+)
+
+(define-method list_regions
+ (of-object "GtkCssNodeDeclaration")
+ (c-name "gtk_css_node_declaration_list_regions")
+ (return-type "GList*")
+)
+
+(define-function gtk_css_node_declaration_hash
+ (c-name "gtk_css_node_declaration_hash")
+ (return-type "guint")
+ (parameters
+ '("gconstpointer" "elem")
+ )
+)
+
+(define-function gtk_css_node_declaration_equal
+ (c-name "gtk_css_node_declaration_equal")
+ (return-type "gboolean")
+ (parameters
+ '("gconstpointer" "elem1")
+ '("gconstpointer" "elem2")
+ )
+)
+
+(define-method add_to_widget_path
+ (of-object "GtkCssNodeDeclaration")
+ (c-name "gtk_css_node_declaration_add_to_widget_path")
+ (return-type "none")
+ (parameters
+ '("GtkWidgetPath*" "path")
+ '("guint" "pos")
+ )
+)
+
+
+
;; From gtkcssnumbervalueprivate.h
@@ -10140,6 +10379,15 @@
)
)
+(define-method load_from_resource
+ (of-object "GtkCssProvider")
+ (c-name "gtk_css_provider_load_from_resource")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "resource_path")
+ )
+)
+
(define-function gtk_css_provider_get_default
(c-name "gtk_css_provider_get_default")
(return-type "GtkCssProvider*")
@@ -13952,6 +14200,135 @@
+;; From gtkglarea.h
+
+(define-function gtk_gl_area_get_type
+ (c-name "gtk_gl_area_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_gl_area_new
+ (c-name "gtk_gl_area_new")
+ (is-constructor-of "GtkGlArea")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_profile
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_get_profile")
+ (return-type "GdkGLProfile")
+)
+
+(define-method set_profile
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_set_profile")
+ (return-type "none")
+ (parameters
+ '("GdkGLProfile" "profile")
+ )
+)
+
+(define-method get_has_alpha
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_get_has_alpha")
+ (return-type "gboolean")
+)
+
+(define-method set_has_alpha
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_set_has_alpha")
+ (return-type "none")
+ (parameters
+ '("gboolean" "has_alpha")
+ )
+)
+
+(define-method get_has_depth_buffer
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_get_has_depth_buffer")
+ (return-type "gboolean")
+)
+
+(define-method set_has_depth_buffer
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_set_has_depth_buffer")
+ (return-type "none")
+ (parameters
+ '("gboolean" "has_depth_buffer")
+ )
+)
+
+(define-method get_has_stencil_buffer
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_get_has_stencil_buffer")
+ (return-type "gboolean")
+)
+
+(define-method set_has_stencil_buffer
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_set_has_stencil_buffer")
+ (return-type "none")
+ (parameters
+ '("gboolean" "has_stencil_buffer")
+ )
+)
+
+(define-method get_auto_render
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_get_auto_render")
+ (return-type "gboolean")
+)
+
+(define-method set_auto_render
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_set_auto_render")
+ (return-type "none")
+ (parameters
+ '("gboolean" "auto_render")
+ )
+)
+
+(define-method queue_render
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_queue_render")
+ (return-type "none")
+)
+
+(define-method get_context
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_get_context")
+ (return-type "GdkGLContext*")
+)
+
+(define-method make_current
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_make_current")
+ (return-type "none")
+)
+
+(define-method attach_buffers
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_attach_buffers")
+ (return-type "none")
+)
+
+(define-method set_error
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_set_error")
+ (return-type "none")
+ (parameters
+ '("const-GError*" "error")
+ )
+)
+
+(define-method get_error
+ (of-object "GtkGLArea")
+ (c-name "gtk_gl_area_get_error")
+ (return-type "GError*")
+)
+
+
+
;; From gtkgrid.h
(define-function gtk_grid_get_type
@@ -16336,6 +16713,36 @@
(return-type "gboolean")
)
+(define-method set_xalign
+ (of-object "GtkLabel")
+ (c-name "gtk_label_set_xalign")
+ (return-type "none")
+ (parameters
+ '("gfloat" "xalign")
+ )
+)
+
+(define-method get_xalign
+ (of-object "GtkLabel")
+ (c-name "gtk_label_get_xalign")
+ (return-type "gfloat")
+)
+
+(define-method set_yalign
+ (of-object "GtkLabel")
+ (c-name "gtk_label_set_yalign")
+ (return-type "none")
+ (parameters
+ '("gfloat" "xalign")
+ )
+)
+
+(define-method get_yalign
+ (of-object "GtkLabel")
+ (c-name "gtk_label_get_yalign")
+ (return-type "gfloat")
+)
+
;; From gtklabelprivate.h
@@ -19391,6 +19798,21 @@
(return-type "GdkWindow*")
)
+(define-method set_wide_handle
+ (of-object "GtkPaned")
+ (c-name "gtk_paned_set_wide_handle")
+ (return-type "none")
+ (parameters
+ '("gboolean" "wide")
+ )
+)
+
+(define-method get_wide_handle
+ (of-object "GtkPaned")
+ (c-name "gtk_paned_get_wide_handle")
+ (return-type "gboolean")
+)
+
;; From gtkpango.h
@@ -19424,6 +19846,16 @@
)
)
+(define-function gtk_paper_size_new_from_ipp
+ (c-name "gtk_paper_size_new_from_ipp")
+ (return-type "GtkPaperSize*")
+ (parameters
+ '("const-gchar*" "ipp_name")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ )
+)
+
(define-function gtk_paper_size_new_custom
(c-name "gtk_paper_size_new_custom")
(return-type "GtkPaperSize*")
@@ -19507,6 +19939,12 @@
(return-type "gboolean")
)
+(define-method is_ipp
+ (of-object "GtkPaperSize")
+ (c-name "gtk_paper_size_is_ipp")
+ (return-type "gboolean")
+)
+
(define-method set_size
(of-object "GtkPaperSize")
(c-name "gtk_paper_size_set_size")
@@ -19896,6 +20334,30 @@
+;; From gtkpopovermenu.h
+
+(define-function gtk_popover_menu_get_type
+ (c-name "gtk_popover_menu_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_popover_menu_new
+ (c-name "gtk_popover_menu_new")
+ (is-constructor-of "GtkPopoverMenu")
+ (return-type "GtkWidget*")
+)
+
+(define-method open_submenu
+ (of-object "GtkPopoverMenu")
+ (c-name "gtk_popover_menu_open_submenu")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "name")
+ )
+)
+
+
+
;; From gtkpopoverprivate.h
(define-method update_position
@@ -23294,6 +23756,257 @@
+;; From gtkrender.h
+
+(define-function gtk_render_check
+ (c-name "gtk_render_check")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ )
+)
+
+(define-function gtk_render_option
+ (c-name "gtk_render_option")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ )
+)
+
+(define-function gtk_render_arrow
+ (c-name "gtk_render_arrow")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "angle")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "size")
+ )
+)
+
+(define-function gtk_render_background
+ (c-name "gtk_render_background")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ )
+)
+
+(define-function gtk_render_frame
+ (c-name "gtk_render_frame")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ )
+)
+
+(define-function gtk_render_expander
+ (c-name "gtk_render_expander")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ )
+)
+
+(define-function gtk_render_focus
+ (c-name "gtk_render_focus")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ )
+)
+
+(define-function gtk_render_layout
+ (c-name "gtk_render_layout")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("PangoLayout*" "layout")
+ )
+)
+
+(define-function gtk_render_line
+ (c-name "gtk_render_line")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x0")
+ '("gdouble" "y0")
+ '("gdouble" "x1")
+ '("gdouble" "y1")
+ )
+)
+
+(define-function gtk_render_slider
+ (c-name "gtk_render_slider")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ '("GtkOrientation" "orientation")
+ )
+)
+
+(define-function gtk_render_frame_gap
+ (c-name "gtk_render_frame_gap")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ '("GtkPositionType" "gap_side")
+ '("gdouble" "xy0_gap")
+ '("gdouble" "xy1_gap")
+ )
+)
+
+(define-function gtk_render_extension
+ (c-name "gtk_render_extension")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ '("GtkPositionType" "gap_side")
+ )
+)
+
+(define-function gtk_render_handle
+ (c-name "gtk_render_handle")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ )
+)
+
+(define-function gtk_render_activity
+ (c-name "gtk_render_activity")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ )
+)
+
+(define-function gtk_render_icon_pixbuf
+ (c-name "gtk_render_icon_pixbuf")
+ (return-type "GdkPixbuf*")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("const-GtkIconSource*" "source")
+ '("GtkIconSize" "size")
+ )
+)
+
+(define-function gtk_render_icon
+ (c-name "gtk_render_icon")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("GdkPixbuf*" "pixbuf")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ )
+)
+
+(define-function gtk_render_icon_surface
+ (c-name "gtk_render_icon_surface")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("cairo_surface_t*" "surface")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ )
+)
+
+
+
+;; From 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")
+ )
+)
+
+(define-function gtk_render_paint_spinner
+ (c-name "gtk_render_paint_spinner")
+ (return-type "none")
+ (parameters
+ '("cairo_t*" "cr")
+ '("gdouble" "radius")
+ '("gdouble" "progress")
+ )
+)
+
+
+
;; From gtkresources.h
@@ -23846,6 +24559,21 @@
(return-type "gboolean")
)
+(define-method set_overlay_scrolling
+ (of-object "GtkScrolledWindow")
+ (c-name "gtk_scrolled_window_set_overlay_scrolling")
+ (return-type "none")
+ (parameters
+ '("gboolean" "overlay_scrolling")
+ )
+)
+
+(define-method get_overlay_scrolling
+ (of-object "GtkScrolledWindow")
+ (c-name "gtk_scrolled_window_get_overlay_scrolling")
+ (return-type "gboolean")
+)
+
;; From gtksearchbar.h
@@ -24591,6 +25319,36 @@
+;; From gtksidebar.h
+
+(define-function gtk_sidebar_get_type
+ (c-name "gtk_sidebar_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_sidebar_new
+ (c-name "gtk_sidebar_new")
+ (is-constructor-of "GtkSidebar")
+ (return-type "GtkWidget*")
+)
+
+(define-method set_stack
+ (of-object "GtkSidebar")
+ (c-name "gtk_sidebar_set_stack")
+ (return-type "none")
+ (parameters
+ '("GtkStack*" "stack")
+ )
+)
+
+(define-method get_stack
+ (of-object "GtkSidebar")
+ (c-name "gtk_sidebar_get_stack")
+ (return-type "GtkStack*")
+)
+
+
+
;; From gtksizegroup.h
(define-function gtk_size_group_get_type
@@ -25058,6 +25816,36 @@
(return-type "gboolean")
)
+(define-method set_hhomogeneous
+ (of-object "GtkStack")
+ (c-name "gtk_stack_set_hhomogeneous")
+ (return-type "none")
+ (parameters
+ '("gboolean" "hhomogeneous")
+ )
+)
+
+(define-method get_hhomogeneous
+ (of-object "GtkStack")
+ (c-name "gtk_stack_get_hhomogeneous")
+ (return-type "gboolean")
+)
+
+(define-method set_vhomogeneous
+ (of-object "GtkStack")
+ (c-name "gtk_stack_set_vhomogeneous")
+ (return-type "none")
+ (parameters
+ '("gboolean" "vhomogeneous")
+ )
+)
+
+(define-method get_vhomogeneous
+ (of-object "GtkStack")
+ (c-name "gtk_stack_get_vhomogeneous")
+ (return-type "gboolean")
+)
+
(define-method set_transition_duration
(of-object "GtkStack")
(c-name "gtk_stack_set_transition_duration")
@@ -25711,226 +26499,6 @@
)
)
-(define-function gtk_render_check
- (c-name "gtk_render_check")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x")
- '("gdouble" "y")
- '("gdouble" "width")
- '("gdouble" "height")
- )
-)
-
-(define-function gtk_render_option
- (c-name "gtk_render_option")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x")
- '("gdouble" "y")
- '("gdouble" "width")
- '("gdouble" "height")
- )
-)
-
-(define-function gtk_render_arrow
- (c-name "gtk_render_arrow")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "angle")
- '("gdouble" "x")
- '("gdouble" "y")
- '("gdouble" "size")
- )
-)
-
-(define-function gtk_render_background
- (c-name "gtk_render_background")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x")
- '("gdouble" "y")
- '("gdouble" "width")
- '("gdouble" "height")
- )
-)
-
-(define-function gtk_render_frame
- (c-name "gtk_render_frame")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x")
- '("gdouble" "y")
- '("gdouble" "width")
- '("gdouble" "height")
- )
-)
-
-(define-function gtk_render_expander
- (c-name "gtk_render_expander")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x")
- '("gdouble" "y")
- '("gdouble" "width")
- '("gdouble" "height")
- )
-)
-
-(define-function gtk_render_focus
- (c-name "gtk_render_focus")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x")
- '("gdouble" "y")
- '("gdouble" "width")
- '("gdouble" "height")
- )
-)
-
-(define-function gtk_render_layout
- (c-name "gtk_render_layout")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x")
- '("gdouble" "y")
- '("PangoLayout*" "layout")
- )
-)
-
-(define-function gtk_render_line
- (c-name "gtk_render_line")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x0")
- '("gdouble" "y0")
- '("gdouble" "x1")
- '("gdouble" "y1")
- )
-)
-
-(define-function gtk_render_slider
- (c-name "gtk_render_slider")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x")
- '("gdouble" "y")
- '("gdouble" "width")
- '("gdouble" "height")
- '("GtkOrientation" "orientation")
- )
-)
-
-(define-function gtk_render_frame_gap
- (c-name "gtk_render_frame_gap")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x")
- '("gdouble" "y")
- '("gdouble" "width")
- '("gdouble" "height")
- '("GtkPositionType" "gap_side")
- '("gdouble" "xy0_gap")
- '("gdouble" "xy1_gap")
- )
-)
-
-(define-function gtk_render_extension
- (c-name "gtk_render_extension")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x")
- '("gdouble" "y")
- '("gdouble" "width")
- '("gdouble" "height")
- '("GtkPositionType" "gap_side")
- )
-)
-
-(define-function gtk_render_handle
- (c-name "gtk_render_handle")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x")
- '("gdouble" "y")
- '("gdouble" "width")
- '("gdouble" "height")
- )
-)
-
-(define-function gtk_render_activity
- (c-name "gtk_render_activity")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("gdouble" "x")
- '("gdouble" "y")
- '("gdouble" "width")
- '("gdouble" "height")
- )
-)
-
-(define-function gtk_render_icon_pixbuf
- (c-name "gtk_render_icon_pixbuf")
- (return-type "GdkPixbuf*")
- (parameters
- '("GtkStyleContext*" "context")
- '("const-GtkIconSource*" "source")
- '("GtkIconSize" "size")
- )
-)
-
-(define-function gtk_render_icon
- (c-name "gtk_render_icon")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("GdkPixbuf*" "pixbuf")
- '("gdouble" "x")
- '("gdouble" "y")
- )
-)
-
-(define-function gtk_render_icon_surface
- (c-name "gtk_render_icon_surface")
- (return-type "none")
- (parameters
- '("GtkStyleContext*" "context")
- '("cairo_t*" "cr")
- '("cairo_surface_t*" "surface")
- '("gdouble" "x")
- '("gdouble" "y")
- )
-)
-
(define-function gtk_render_insertion_cursor
(c-name "gtk_render_insertion_cursor")
(return-type "none")
@@ -25964,151 +26532,6 @@
-;; From gtkstyleproperties.h
-
-(define-function gtk_style_properties_get_type
- (c-name "gtk_style_properties_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_style_properties_register_property
- (c-name "gtk_style_properties_register_property")
- (return-type "none")
- (parameters
- '("GtkStylePropertyParser" "parse_func")
- '("GParamSpec*" "pspec")
- )
-)
-
-(define-function gtk_style_properties_lookup_property
- (c-name "gtk_style_properties_lookup_property")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "property_name")
- '("GtkStylePropertyParser*" "parse_func")
- '("GParamSpec**" "pspec")
- )
-)
-
-(define-function gtk_style_properties_new
- (c-name "gtk_style_properties_new")
- (is-constructor-of "GtkStyleProperties")
- (return-type "GtkStyleProperties*")
-)
-
-(define-method map_color
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_map_color")
- (return-type "none")
- (parameters
- '("const-gchar*" "name")
- '("GtkSymbolicColor*" "color")
- )
-)
-
-(define-method lookup_color
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_lookup_color")
- (return-type "GtkSymbolicColor*")
- (parameters
- '("const-gchar*" "name")
- )
-)
-
-(define-method set_property
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_set_property")
- (return-type "none")
- (parameters
- '("const-gchar*" "property")
- '("GtkStateFlags" "state")
- '("const-GValue*" "value")
- )
-)
-
-(define-method set_valist
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_set_valist")
- (return-type "none")
- (parameters
- '("GtkStateFlags" "state")
- '("va_list" "args")
- )
-)
-
-(define-method set
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_set")
- (return-type "none")
- (parameters
- '("GtkStateFlags" "state")
- )
- (varargs #t)
-)
-
-(define-method get_property
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_get_property")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "property")
- '("GtkStateFlags" "state")
- '("GValue*" "value")
- )
-)
-
-(define-method get_valist
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_get_valist")
- (return-type "none")
- (parameters
- '("GtkStateFlags" "state")
- '("va_list" "args")
- )
-)
-
-(define-method get
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_get")
- (return-type "none")
- (parameters
- '("GtkStateFlags" "state")
- )
- (varargs #t)
-)
-
-(define-method unset_property
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_unset_property")
- (return-type "none")
- (parameters
- '("const-gchar*" "property")
- '("GtkStateFlags" "state")
- )
-)
-
-(define-method clear
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_clear")
- (return-type "none")
-)
-
-(define-method merge
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_merge")
- (return-type "none")
- (parameters
- '("const-GtkStyleProperties*" "props_to_merge")
- '("gboolean" "replace")
- )
-)
-
-
-
-;; From gtkstylepropertiesprivate.h
-
-
-
;; From gtkstylepropertyprivate.h
@@ -29097,10 +29520,39 @@
(return-type "GtkInputHints")
)
+(define-method set_monospace
+ (of-object "GtkTextView")
+ (c-name "gtk_text_view_set_monospace")
+ (return-type "none")
+ (parameters
+ '("gboolean" "monospace")
+ )
+)
+
+(define-method get_monospace
+ (of-object "GtkTextView")
+ (c-name "gtk_text_view_get_monospace")
+ (return-type "gboolean")
+)
+
;; From 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
@@ -29185,6 +29637,10 @@
+;; From gtktogglebuttonprivate.h
+
+
+
;; From gtktoggletoolbutton.h
(define-function gtk_toggle_tool_button_get_type
@@ -30176,6 +30632,10 @@
+;; From gtktooltipprivate.h
+
+
+
;; From gtktrashmonitor.h
@@ -33176,6 +33636,11 @@
(return-type "GType")
)
+(define-function gtk_button_role_get_type
+ (c-name "gtk_button_role_get_type")
+ (return-type "GType")
+)
+
(define-function gtk_notebook_tab_get_type
(c-name "gtk_notebook_tab_get_type")
(return-type "GType")
@@ -35580,6 +36045,21 @@
;; From gtkwidgetprivate.h
+(define-method has_tick_callback
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_has_tick_callback")
+ (return-type "gboolean")
+)
+
+(define-method set_csd_input_shape
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_set_csd_input_shape")
+ (return-type "none")
+ (parameters
+ '("const-cairo_region_t*" "region")
+ )
+)
+
;; From gtkwin32embed.h
@@ -36557,6 +37037,12 @@
)
)
+(define-method get_titlebar
+ (of-object "GtkWindow")
+ (c-name "gtk_window_get_titlebar")
+ (return-type "GtkWidget*")
+)
+
(define-method is_maximized
(of-object "GtkWindow")
(c-name "gtk_window_is_maximized")
@@ -39820,6 +40306,151 @@
+;; From gtkstyleproperties.h
+
+(define-function gtk_style_properties_get_type
+ (c-name "gtk_style_properties_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_style_properties_register_property
+ (c-name "gtk_style_properties_register_property")
+ (return-type "none")
+ (parameters
+ '("GtkStylePropertyParser" "parse_func")
+ '("GParamSpec*" "pspec")
+ )
+)
+
+(define-function gtk_style_properties_lookup_property
+ (c-name "gtk_style_properties_lookup_property")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "property_name")
+ '("GtkStylePropertyParser*" "parse_func")
+ '("GParamSpec**" "pspec")
+ )
+)
+
+(define-function gtk_style_properties_new
+ (c-name "gtk_style_properties_new")
+ (is-constructor-of "GtkStyleProperties")
+ (return-type "GtkStyleProperties*")
+)
+
+(define-method map_color
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_map_color")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "name")
+ '("GtkSymbolicColor*" "color")
+ )
+)
+
+(define-method lookup_color
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_lookup_color")
+ (return-type "GtkSymbolicColor*")
+ (parameters
+ '("const-gchar*" "name")
+ )
+)
+
+(define-method set_property
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_set_property")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "property")
+ '("GtkStateFlags" "state")
+ '("const-GValue*" "value")
+ )
+)
+
+(define-method set_valist
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_set_valist")
+ (return-type "none")
+ (parameters
+ '("GtkStateFlags" "state")
+ '("va_list" "args")
+ )
+)
+
+(define-method set
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_set")
+ (return-type "none")
+ (parameters
+ '("GtkStateFlags" "state")
+ )
+ (varargs #t)
+)
+
+(define-method get_property
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_get_property")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "property")
+ '("GtkStateFlags" "state")
+ '("GValue*" "value")
+ )
+)
+
+(define-method get_valist
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_get_valist")
+ (return-type "none")
+ (parameters
+ '("GtkStateFlags" "state")
+ '("va_list" "args")
+ )
+)
+
+(define-method get
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_get")
+ (return-type "none")
+ (parameters
+ '("GtkStateFlags" "state")
+ )
+ (varargs #t)
+)
+
+(define-method unset_property
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_unset_property")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "property")
+ '("GtkStateFlags" "state")
+ )
+)
+
+(define-method clear
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_clear")
+ (return-type "none")
+)
+
+(define-method merge
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_merge")
+ (return-type "none")
+ (parameters
+ '("const-GtkStyleProperties*" "props_to_merge")
+ '("gboolean" "replace")
+ )
+)
+
+
+
+;; From gtkstylepropertiesprivate.h
+
+
+
;; From gtksymboliccolor.h
(define-function gtk_symbolic_color_get_type
@@ -40306,10 +40937,6 @@
-;; From gtkthemingengineprivate.h
-
-
-
;; From gtktoggleaction.h
(define-function gtk_toggle_action_get_type
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]