[gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files
- Date: Sat, 10 Mar 2018 10:05:52 +0000 (UTC)
commit af0796b8200af33c3ca9ccb6fc2a6d0a7c22b5d5
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Sat Mar 10 10:57:37 2018 +0100
Gdk, Gtk: Regenerate docs.xml and .defs files
gdk/src/gdk_docs.xml | 200 +++++++++++-----------------------
gdk/src/gdk_enums.defs | 19 ----
gdk/src/gdk_methods.defs | 81 +++++----------
gtk/src/gtk_docs.xml | 162 +++++++++++++---------------
gtk/src/gtk_methods.defs | 270 ++++++++++++++++++++++++++++++++++++++++------
gtk/src/gtk_signals.defs | 64 +++++-------
6 files changed, 428 insertions(+), 368 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index 452d023..7e8436c 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -1174,28 +1174,6 @@ added in 3.22.
</parameters>
</enum>
-<enum name="GdkFilterReturn">
-<description>
-Specifies the result of applying a #GdkFilterFunc to a native event.
-
-</description>
-<parameters>
-<parameter name="GDK_FILTER_CONTINUE">
-<parameter_description> event not handled, continue processing.
-</parameter_description>
-</parameter>
-<parameter name="GDK_FILTER_TRANSLATE">
-<parameter_description> native event translated into a GDK event and stored
-in the `event` structure that was passed in.
-</parameter_description>
-</parameter>
-<parameter name="GDK_FILTER_REMOVE">
-<parameter_description> event handled, terminate processing.
-</parameter_description>
-</parameter>
-</parameters>
-</enum>
-
<signal name="GdkFrameClock::after-paint">
<description>
This signal ends processing of the frame. Applications
@@ -1653,8 +1631,8 @@ image (the filter is designed to be idempotent for 1:1 pixel mapping).
<signal name="GdkKeymap::direction-changed">
<description>
-The ::direction-changed signal gets emitted when the direction of
-the keymap changes.
+The ::direction-changed signal gets emitted when the direction
+of the keymap changes. See gdk_keymap_get_direction().
</description>
<parameters>
@@ -9417,6 +9395,66 @@ or -1 to allow auto-detection
<return></return>
</function>
+<function name="gdk_gl_texture_new">
+<description>
+Creates a new texture for an existing GL texture.
+
+Note that the GL texture must not be modified until @destroy is called,
+which will happen when the GdkTexture object is finalized, or due to
+an explicit call of gdk_texture_release_gl().
+
+
+</description>
+<parameters>
+<parameter name="context">
+<parameter_description> a #GdkGLContext
+</parameter_description>
+</parameter>
+<parameter name="id">
+<parameter_description> the ID of a texture that was created with @context
+</parameter_description>
+</parameter>
+<parameter name="width">
+<parameter_description> the nominal width of the texture
+</parameter_description>
+</parameter>
+<parameter name="height">
+<parameter_description> the nominal height of the texture
+</parameter_description>
+</parameter>
+<parameter name="destroy">
+<parameter_description> a destroy notify that will be called when the GL resources
+are released
+</parameter_description>
+</parameter>
+<parameter name="data">
+<parameter_description> data that gets passed to @destroy
+</parameter_description>
+</parameter>
+</parameters>
+<return> A newly-created #GdkTexture
+</return>
+</function>
+
+<function name="gdk_gl_texture_release">
+<description>
+Releases the GL resources held by a #GdkTexture that
+was created with gdk_texture_new_for_gl().
+
+The texture contents are still available via the
+gdk_texture_download() function, after this function
+has been called.
+
+</description>
+<parameters>
+<parameter name="texture">
+<parameter_description> a #GdkTexture wrapping a GL texture
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gdk_intern_mime_type">
<description>
Canonicalizes the given mime type and interns the result.
@@ -9483,6 +9521,8 @@ Returns whether the Caps Lock modifer is locked.
<function name="gdk_keymap_get_direction">
<description>
Returns the direction of effective layout of the keymap.
+The direction of a layout is the direction of the majority of its
+symbols. See pango_unichar_direction().
</description>
@@ -14889,47 +14929,6 @@ The data is assumed to be in CAIRO_FORMAT_ARGB32 format.
</return>
</function>
-<function name="gdk_texture_new_for_gl">
-<description>
-Creates a new texture for an existing GL texture.
-
-Note that the GL texture must not be modified until @destroy is called,
-which will happen when the GdkTexture object is finalized, or due to
-an explicit call of gdk_texture_release_gl().
-
-
-</description>
-<parameters>
-<parameter name="context">
-<parameter_description> a #GdkGLContext
-</parameter_description>
-</parameter>
-<parameter name="id">
-<parameter_description> the ID of a texture that was created with @context
-</parameter_description>
-</parameter>
-<parameter name="width">
-<parameter_description> the nominal width of the texture
-</parameter_description>
-</parameter>
-<parameter name="height">
-<parameter_description> the nominal height of the texture
-</parameter_description>
-</parameter>
-<parameter name="destroy">
-<parameter_description> a destroy notify that will be called when the GL resources
-are released
-</parameter_description>
-</parameter>
-<parameter name="data">
-<parameter_description> data that gets passed to @destroy
-</parameter_description>
-</parameter>
-</parameters>
-<return> A newly-created #GdkTexture
-</return>
-</function>
-
<function name="gdk_texture_new_for_pixbuf">
<description>
Creates a new texture object representing the GdkPixbuf.
@@ -15006,25 +15005,6 @@ gdk_texture_new_from_file() to load it.
</return>
</function>
-<function name="gdk_texture_release_gl">
-<description>
-Releases the GL resources held by a #GdkTexture that
-was created with gdk_texture_new_for_gl().
-
-The texture contents are still available via the
-gdk_texture_download() function, after this function
-has been called.
-
-</description>
-<parameters>
-<parameter name="texture">
-<parameter_description> a #GdkTexture wrapping a GL texture
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_unicode_to_keyval">
<description>
Convert from a ISO10646 character to a key symbol.
@@ -15239,36 +15219,6 @@ See vkGetPhysicalDeviceQueueFamilyProperties().
</return>
</function>
-<function name="gdk_window_add_filter">
-<description>
-Adds an event filter to @window, allowing you to intercept events
-before they reach GDK. This is a low-level operation and makes it
-easy to break GDK and/or GTK+, so you have to know what you're
-doing. Pass %NULL for @window to get all events for all windows,
-instead of events for a specific window.
-
-If you are interested in X GenericEvents, bear in mind that
-XGetEventData() has been already called on the event, and
-XFreeEventData() must not be called within @function.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="function">
-<parameter_description> filter callback
-</parameter_description>
-</parameter>
-<parameter name="data">
-<parameter_description> data to pass to filter callback
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_beep">
<description>
Emits a short beep associated to @window in the appropriate
@@ -17356,28 +17306,6 @@ Registers a window as a potential drop destination.
<return></return>
</function>
-<function name="gdk_window_remove_filter">
-<description>
-Remove a filter previously added with gdk_window_add_filter().
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="function">
-<parameter_description> previously-added filter function
-</parameter_description>
-</parameter>
-<parameter name="data">
-<parameter_description> user data for previously-added filter function
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_resize">
<description>
Resizes @window; for toplevel windows, asks the window manager to resize
diff --git a/gdk/src/gdk_enums.defs b/gdk/src/gdk_enums.defs
index 9f0d243..1694147 100644
--- a/gdk/src/gdk_enums.defs
+++ b/gdk/src/gdk_enums.defs
@@ -159,25 +159,6 @@
;; From gdkevents.h
;; Original typedef:
-;; typedef enum {
-;; GDK_FILTER_CONTINUE, /* Event not handled, continue processesing */
-;; GDK_FILTER_TRANSLATE, /* Native event translated into a GDK event and
-;; stored in the "event" structure that was
-;; passed in */
-;; GDK_FILTER_REMOVE /* Terminate processing, removing event */
-;; } GdkFilterReturn;
-
-(define-enum-extended FilterReturn
- (in-module "Gdk")
- (c-name "GdkFilterReturn")
- (values
- '("continue" "GDK_FILTER_CONTINUE" "0")
- '("translate" "GDK_FILTER_TRANSLATE" "1")
- '("remove" "GDK_FILTER_REMOVE" "2")
- )
-)
-
-;; Original typedef:
;; typedef enum
;; {
;; GDK_NOTHING,
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index 96b5c50..fceeb8a 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -114,17 +114,6 @@
)
)
-(define-enum FilterReturn
- (in-module "Gdk")
- (c-name "GdkFilterReturn")
- (gtype-id "GDK_TYPE_FILTER_RETURN")
- (values
- '("continue" "GDK_FILTER_CONTINUE")
- '("translate" "GDK_FILTER_TRANSLATE")
- '("remove" "GDK_FILTER_REMOVE")
- )
-)
-
(define-enum EventType
(in-module "Gdk")
(c-name "GdkEventType")
@@ -3198,6 +3187,32 @@
+;; From gdkgltexture.h
+
+(define-function gdk_gl_texture_new
+ (c-name "gdk_gl_texture_new")
+ (is-constructor-of "GdkGlTexture")
+ (return-type "GdkTexture*")
+ (parameters
+ '("GdkGLContext*" "context")
+ '("guint" "id")
+ '("int" "width")
+ '("int" "height")
+ '("GDestroyNotify" "destroy")
+ '("gpointer" "data")
+ )
+)
+
+(define-function gdk_gl_texture_release
+ (c-name "gdk_gl_texture_release")
+ (return-type "none")
+ (parameters
+ '("GdkTexture*" "texture")
+ )
+)
+
+
+
;; From gdk.h
@@ -3788,25 +3803,6 @@
)
)
-(define-function gdk_texture_new_for_gl
- (c-name "gdk_texture_new_for_gl")
- (return-type "GdkTexture*")
- (parameters
- '("GdkGLContext*" "context")
- '("guint" "id")
- '("int" "width")
- '("int" "height")
- '("GDestroyNotify" "destroy")
- '("gpointer" "data")
- )
-)
-
-(define-method release_gl
- (of-object "GdkTexture")
- (c-name "gdk_texture_release_gl")
- (return-type "none")
-)
-
(define-method get_width
(of-object "GdkTexture")
(c-name "gdk_texture_get_width")
@@ -4113,26 +4109,6 @@
)
)
-(define-method add_filter
- (of-object "GdkWindow")
- (c-name "gdk_window_add_filter")
- (return-type "none")
- (parameters
- '("GdkFilterFunc" "function")
- '("gpointer" "data")
- )
-)
-
-(define-method remove_filter
- (of-object "GdkWindow")
- (c-name "gdk_window_remove_filter")
- (return-type "none")
- (parameters
- '("GdkFilterFunc" "function")
- '("gpointer" "data")
- )
-)
-
(define-method scroll
(of-object "GdkWindow")
(c-name "gdk_window_scroll")
@@ -5057,11 +5033,6 @@
(return-type "GType")
)
-(define-function gdk_filter_return_get_type
- (c-name "gdk_filter_return_get_type")
- (return-type "GType")
-)
-
(define-function gdk_event_type_get_type
(c-name "gdk_event_type_get_type")
(return-type "GType")
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index 67a8662..b881337 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -8308,6 +8308,15 @@ The index of the overlay in the parent, -1 for the main child.
</description>
</property>
+<property name="GtkOverlay:measure">
+<description>
+Include this child in determining the child request.
+
+The main child will always be measured.
+
+</description>
+</property>
+
<property name="GtkOverlay:pass-through">
<description>
Pass through input, does not affect main child.
@@ -30509,24 +30518,6 @@ DND operation, or -1.
</return>
</function>
-<function name="gtk_entry_get_cursor_hadjustment">
-<description>
-Retrieves the horizontal cursor adjustment for the entry.
-See gtk_entry_set_cursor_hadjustment().
-
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> a #GtkEntry
-</parameter_description>
-</parameter>
-</parameters>
-<return> the horizontal cursor adjustment, or %NULL
-if none has been set.
-</return>
-</function>
-
<function name="gtk_entry_get_has_frame">
<description>
Gets the value set by gtk_entry_set_has_frame().
@@ -31326,31 +31317,6 @@ All further configuration of the completion mechanism is done on
<return></return>
</function>
-<function name="gtk_entry_set_cursor_hadjustment">
-<description>
-Hooks up an adjustment to the cursor position in an entry, so that when
-the cursor is moved, the adjustment is scrolled to show that position.
-See gtk_scrolled_window_get_hadjustment() for a typical way of obtaining
-the adjustment.
-
-The adjustment has to be in pixel units and in the same coordinate system
-as the entry.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> a #GtkEntry
-</parameter_description>
-</parameter>
-<parameter name="adjustment">
-<parameter_description> an adjustment which should be adjusted when the cursor
-is moved, or %NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_entry_set_has_frame">
<description>
Sets whether the entry has a beveled frame around it.
@@ -32180,24 +32146,6 @@ by the widget and must not be modified or freed.
</return>
</function>
-<function name="gtk_expander_get_label_fill">
-<description>
-Returns whether the label widget will fill all available
-horizontal space allocated to @expander.
-
-
-</description>
-<parameters>
-<parameter name="expander">
-<parameter_description> a #GtkExpander
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the label widget will fill all
-available horizontal space
-</return>
-</function>
-
<function name="gtk_expander_get_label_widget">
<description>
Retrieves the label widget for the frame. See
@@ -32347,26 +32295,6 @@ This will also clear any previously set labels.
<return></return>
</function>
-<function name="gtk_expander_set_label_fill">
-<description>
-Sets whether the label widget should fill all available
-horizontal space allocated to @expander.
-
-</description>
-<parameters>
-<parameter name="expander">
-<parameter_description> a #GtkExpander
-</parameter_description>
-</parameter>
-<parameter name="label_fill">
-<parameter_description> %TRUE if the label should should fill
-all available horizontal space
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_expander_set_label_widget">
<description>
Set the label widget for the expander. This is the widget
@@ -41208,6 +41136,17 @@ Creates a new #GtkIMContextSimple.
</return>
</function>
+<function name="gtk_im_context_xim_shutdown">
+<description>
+Destroys all the status windows that are kept by the XIM contexts. This
+function should only be called by the XIM module exit routine.
+
+</description>
+<parameters>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_im_multicontext_get_context_id">
<description>
Gets the id of the currently active slave of the @context.
@@ -48745,6 +48684,27 @@ from its #GtkWidget:halign and #GtkWidget:valign properties.
<return></return>
</function>
+<function name="gtk_overlay_get_measure_overlay">
+<description>
+Gets whether @widget's size is included in the measurement of
+@overlay.
+
+
+</description>
+<parameters>
+<parameter name="overlay">
+<parameter_description> a #GtkOverlay
+</parameter_description>
+</parameter>
+<parameter name="widget">
+<parameter_description> an overlay child of #GtkOverlay
+</parameter_description>
+</parameter>
+</parameters>
+<return> whether the widget is measured
+</return>
+</function>
+
<function name="gtk_overlay_get_overlay_pass_through">
<description>
Convenience function to get the value of the #GtkOverlay:pass-through
@@ -48808,6 +48768,32 @@ the list
<return></return>
</function>
+<function name="gtk_overlay_set_measure_overlay">
+<description>
+Sets whether @widget is included in the measured size of @overlay.
+
+The overlay will request the size of the largest child that has
+this property set to %TRUE. Children who are not included may
+be drawn outside of @overlay's allocation if they are too large.
+
+</description>
+<parameters>
+<parameter name="overlay">
+<parameter_description> a #GtkOverlay
+</parameter_description>
+</parameter>
+<parameter name="widget">
+<parameter_description> an overlay child of #GtkOverlay
+</parameter_description>
+</parameter>
+<parameter name="measure">
+<parameter_description> whether the child should be measured
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_overlay_set_overlay_pass_through">
<description>
Convenience function to set the value of the #GtkOverlay:pass-through
@@ -76210,19 +76196,23 @@ gtk_tree_view_get_path_at_pos() for more information.
</parameter_description>
</parameter>
<parameter name="path">
-<parameter_description> A pointer to a #GtkTreePath pointer to be filled in, or %NULL
+<parameter_description> A pointer to a #GtkTreePath pointer to
+be filled in, or %NULL
</parameter_description>
</parameter>
<parameter name="column">
-<parameter_description> A pointer to a #GtkTreeViewColumn pointer to be filled in, or %NULL
+<parameter_description> A pointer to a
+#GtkTreeViewColumn pointer to be filled in, or %NULL
</parameter_description>
</parameter>
<parameter name="cell_x">
-<parameter_description> A pointer where the X coordinate relative to the cell can be placed, or %NULL
+<parameter_description> A pointer where the X coordinate relative to the
+cell can be placed, or %NULL
</parameter_description>
</parameter>
<parameter name="cell_y">
-<parameter_description> A pointer where the Y coordinate relative to the cell can be placed, or %NULL
+<parameter_description> A pointer where the Y coordinate relative to the
+cell can be placed, or %NULL
</parameter_description>
</parameter>
</parameters>
@@ -82367,7 +82357,7 @@ operation, both widget must share a common toplevel.
</parameter>
</parameters>
<return> %FALSE if @src_widget and @dest_widget have no common
-ancestor. In this case, nothing is stored in
+ancestor. In this case, 0 is stored in
*@dest_x and *@dest_y. Otherwise %TRUE.
</return>
</function>
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 2e9cbf3..f65455f 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -177,6 +177,13 @@
(gtype-id "GTK_TYPE_IM_CONTEXT")
)
+(define-object IMContextIME
+ (in-module "Gtk")
+ (parent "GtkIMContext")
+ (c-name "GtkIMContextIME")
+ (gtype-id "GTK_TYPE_IM_CONTEXT_IME")
+)
+
(define-object IMContextSimple
(in-module "Gtk")
(parent "GtkIMContext")
@@ -9116,21 +9123,6 @@
)
)
-(define-method set_cursor_hadjustment
- (of-object "GtkEntry")
- (c-name "gtk_entry_set_cursor_hadjustment")
- (return-type "none")
- (parameters
- '("GtkAdjustment*" "adjustment")
- )
-)
-
-(define-method get_cursor_hadjustment
- (of-object "GtkEntry")
- (c-name "gtk_entry_get_cursor_hadjustment")
- (return-type "GtkAdjustment*")
-)
-
(define-method set_progress_fraction
(of-object "GtkEntry")
(c-name "gtk_entry_set_progress_fraction")
@@ -9644,21 +9636,6 @@
(return-type "GtkWidget*")
)
-(define-method set_label_fill
- (of-object "GtkExpander")
- (c-name "gtk_expander_set_label_fill")
- (return-type "none")
- (parameters
- '("gboolean" "label_fill")
- )
-)
-
-(define-method get_label_fill
- (of-object "GtkExpander")
- (c-name "gtk_expander_get_label_fill")
- (return-type "gboolean")
-)
-
(define-method set_resize_toplevel
(of-object "GtkExpander")
(c-name "gtk_expander_set_resize_toplevel")
@@ -13106,6 +13083,15 @@
+;; From gtkimcontextbroadway.h
+
+(define-function gtk_im_context_broadway_get_type
+ (c-name "gtk_im_context_broadway_get_type")
+ (return-type "GType")
+)
+
+
+
;; From gtkimcontext.h
(define-function gtk_im_context_get_type
@@ -13211,7 +13197,30 @@
-;; From gtkimcontextinfo.h
+;; From gtkimcontextime.h
+
+(define-function gtk_im_context_ime_register_type
+ (c-name "gtk_im_context_ime_register_type")
+ (return-type "none")
+ (parameters
+ '("GTypeModule*" "type_module")
+ )
+)
+
+(define-function gtk_im_context_ime_new
+ (c-name "gtk_im_context_ime_new")
+ (is-constructor-of "GtkImContextIme")
+ (return-type "GtkIMContext*")
+)
+
+
+
+;; From gtkimcontextquartz.h
+
+(define-function gtk_im_context_quartz_get_type
+ (c-name "gtk_im_context_quartz_get_type")
+ (return-type "GType")
+)
@@ -13254,8 +13263,36 @@
+;; From gtkimcontextwayland.h
+
+(define-function gtk_im_context_wayland_get_type
+ (c-name "gtk_im_context_wayland_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From gtkimcontextxim.h
+
+(define-function gtk_im_context_xim_get_type
+ (c-name "gtk_im_context_xim_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_im_context_xim_shutdown
+ (c-name "gtk_im_context_xim_shutdown")
+ (return-type "none")
+)
+
+
+
;; From gtkimmodule.h
+(define-function gtk_im_modules_init
+ (c-name "gtk_im_modules_init")
+ (return-type "none")
+)
+
;; From gtkimmulticontext.h
@@ -15916,10 +15953,6 @@
-;; From gtkmodules.h
-
-
-
;; From gtkmountoperation.h
(define-function gtk_mount_operation_get_type
@@ -16507,6 +16540,25 @@
)
)
+(define-method get_measure_overlay
+ (of-object "GtkOverlay")
+ (c-name "gtk_overlay_get_measure_overlay")
+ (return-type "gboolean")
+ (parameters
+ '("GtkWidget*" "widget")
+ )
+)
+
+(define-method set_measure_overlay
+ (of-object "GtkOverlay")
+ (c-name "gtk_overlay_set_measure_overlay")
+ (return-type "none")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("gboolean" "measure")
+ )
+)
+
;; From gtkpadcontroller.h
@@ -17555,6 +17607,11 @@
)
)
+(define-function gtk_print_backends_init
+ (c-name "gtk_print_backends_init")
+ (return-type "none")
+)
+
;; From gtkprintcontext.h
@@ -31082,6 +31139,10 @@
+;; From imm-extra.h
+
+
+
;; From language-names.h
(define-function get_language_name
@@ -31146,6 +31207,145 @@
+;; From gtk-text-input-client-protocol.h
+
+(define-function gtk_text_input_add_listener
+ (c-name "gtk_text_input_add_listener")
+ (return-type "int")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ '("const-struct-gtk_text_input_listener*" "listener")
+ '("void*" "data")
+ )
+)
+
+(define-function gtk_text_input_set_user_data
+ (c-name "gtk_text_input_set_user_data")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ '("void*" "user_data")
+ )
+)
+
+(define-function gtk_text_input_get_user_data
+ (c-name "gtk_text_input_get_user_data")
+ (return-type "void*")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ )
+)
+
+(define-function gtk_text_input_get_version
+ (c-name "gtk_text_input_get_version")
+ (return-type "uint32_t")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ )
+)
+
+(define-function gtk_text_input_destroy
+ (c-name "gtk_text_input_destroy")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ )
+)
+
+(define-function gtk_text_input_enable
+ (c-name "gtk_text_input_enable")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ '("uint32_t" "serial")
+ '("uint32_t" "show_input_panel")
+ )
+)
+
+(define-function gtk_text_input_disable
+ (c-name "gtk_text_input_disable")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ )
+)
+
+(define-function gtk_text_input_set_surrounding_text
+ (c-name "gtk_text_input_set_surrounding_text")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ '("const-char*" "text")
+ '("int32_t" "cursor")
+ '("int32_t" "anchor")
+ )
+)
+
+(define-function gtk_text_input_set_content_type
+ (c-name "gtk_text_input_set_content_type")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ '("uint32_t" "hint")
+ '("uint32_t" "purpose")
+ )
+)
+
+(define-function gtk_text_input_set_cursor_rectangle
+ (c-name "gtk_text_input_set_cursor_rectangle")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ '("int32_t" "x")
+ '("int32_t" "y")
+ '("int32_t" "width")
+ '("int32_t" "height")
+ )
+)
+
+(define-function gtk_text_input_commit
+ (c-name "gtk_text_input_commit")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ )
+)
+
+(define-function gtk_text_input_manager_set_user_data
+ (c-name "gtk_text_input_manager_set_user_data")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input_manager*" "gtk_text_input_manager")
+ '("void*" "user_data")
+ )
+)
+
+(define-function gtk_text_input_manager_get_user_data
+ (c-name "gtk_text_input_manager_get_user_data")
+ (return-type "void*")
+ (parameters
+ '("struct-gtk_text_input_manager*" "gtk_text_input_manager")
+ )
+)
+
+(define-function gtk_text_input_manager_get_version
+ (c-name "gtk_text_input_manager_get_version")
+ (return-type "uint32_t")
+ (parameters
+ '("struct-gtk_text_input_manager*" "gtk_text_input_manager")
+ )
+)
+
+(define-function gtk_text_input_manager_destroy
+ (c-name "gtk_text_input_manager_destroy")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input_manager*" "gtk_text_input_manager")
+ )
+)
+
+
+
;; From gtktypebuiltins.h
(define-function gtk_license_get_type
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 569188f..5bfe3a0 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -2321,19 +2321,19 @@
(flags "Run Last")
)
-(define-signal popup
+(define-signal move-active
(of-object "GtkComboBox")
(return-type "void")
(flags "Run Last, Action")
+ (parameters
+ '("GtkScrollType" "p0")
+ )
)
-(define-signal move-active
+(define-signal popup
(of-object "GtkComboBox")
(return-type "void")
(flags "Run Last, Action")
- (parameters
- '("GtkScrollType" "p0")
- )
)
(define-signal popdown
@@ -3483,16 +3483,6 @@
(construct-only #f)
)
-(define-property label-fill
- (of-object "GtkExpander")
- (prop-type "GParamBoolean")
- (docs "Whether the label widget should fill all available horizontal space")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
(define-property resize-toplevel
(of-object "GtkExpander")
(prop-type "GParamBoolean")
@@ -4211,12 +4201,6 @@
;; From GtkGestureLongPress
-(define-signal cancelled
- (of-object "GtkGestureLongPress")
- (return-type "void")
- (flags "Run Last")
-)
-
(define-signal pressed
(of-object "GtkGestureLongPress")
(return-type "void")
@@ -4227,6 +4211,12 @@
)
)
+(define-signal cancelled
+ (of-object "GtkGestureLongPress")
+ (return-type "void")
+ (flags "Run Last")
+)
+
(define-property delay-factor
(of-object "GtkGestureLongPress")
(prop-type "GParamDouble")
@@ -7351,12 +7341,6 @@
;; From GtkScaleButton
-(define-signal popup
- (of-object "GtkScaleButton")
- (return-type "void")
- (flags "Run Last, Action")
-)
-
(define-signal value-changed
(of-object "GtkScaleButton")
(return-type "void")
@@ -7366,6 +7350,12 @@
)
)
+(define-signal popup
+ (of-object "GtkScaleButton")
+ (return-type "void")
+ (flags "Run Last, Action")
+)
+
(define-signal popdown
(of-object "GtkScaleButton")
(return-type "void")
@@ -7802,16 +7792,6 @@
(default-value "Sans 10")
)
-(define-property gtk-modules
- (of-object "GtkSettings")
- (prop-type "GParamString")
- (docs "List of currently active GTK modules")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "")
-)
-
(define-property gtk-xft-antialias
(of-object "GtkSettings")
(prop-type "GParamInt")
@@ -12258,6 +12238,16 @@
(default-value "FALSE")
)
+(define-child-property measure
+ (of-object "GtkOverlay")
+ (prop-type "GParamBoolean")
+ (docs "Include in size measurement")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
(define-child-property blur
(of-object "GtkOverlay")
(prop-type "GParamDouble")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]