[gtkmm] Gtk: Regenerate gtk_docs.xml, gtk_methods.defs and gtk_signals.defs
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk: Regenerate gtk_docs.xml, gtk_methods.defs and gtk_signals.defs
- Date: Thu, 24 Nov 2016 07:58:31 +0000 (UTC)
commit 1fecc3e5e329c7b30a18aad3b1fc44bbba7f3867
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Thu Nov 24 08:48:24 2016 +0100
Gtk: Regenerate gtk_docs.xml, gtk_methods.defs and gtk_signals.defs
gtk/src/gtk_docs.xml | 1435 +++++++++++++++++++++++-----------------------
gtk/src/gtk_methods.defs | 412 ++++++++------
gtk/src/gtk_signals.defs | 18 +
3 files changed, 968 insertions(+), 897 deletions(-)
---
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index 09c57d1..39fa520 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -3357,6 +3357,24 @@ unspecified error.
</parameters>
</enum>
+<property name="GtkDrawingArea:content-height">
+<description>
+The content height. See gtk_drawing_area_set_content_height() for details.
+
+Since: 3.90
+
+</description>
+</property>
+
+<property name="GtkDrawingArea:content-width">
+<description>
+The content width. See gtk_drawing_area_set_content_width() for details.
+
+Since: 3.90
+
+</description>
+</property>
+
<signal name="GtkEditable::changed">
<description>
The ::changed signal is emitted at the end of a single
@@ -9579,61 +9597,6 @@ Since: 3.18
</description>
</property>
-<signal name="GtkPlacesView::open-location">
-<description>
-The places view emits this signal when the user selects a location
-in it. The calling application should display the contents of that
-location; for example, a file manager should show a list of files in
-the specified location.
-
-Since: 3.18
-
-</description>
-<parameters>
-<parameter name="view">
-<parameter_description> the object which received the signal.
-</parameter_description>
-</parameter>
-<parameter name="location">
-<parameter_description> #GFile to which the caller should switch.
-</parameter_description>
-</parameter>
-<parameter name="open_flags">
-<parameter_description> a single value from #GtkPlacesOpenFlags specifying how the @location
-should be opened.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkPlacesView::show-error-message">
-<description>
-The places view emits this signal when it needs the calling
-application to present an error message. Most of these messages
-refer to mounting or unmounting media, for example, when a drive
-cannot be started for some reason.
-
-Since: 3.18
-
-</description>
-<parameters>
-<parameter name="view">
-<parameter_description> the object which received the signal.
-</parameter_description>
-</parameter>
-<parameter name="primary">
-<parameter_description> primary message with a summary of the error to show.
-</parameter_description>
-</parameter>
-<parameter name="secondary">
-<parameter_description> secondary message with details of the error to show.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
<enum name="GtkPolicyType">
<description>
Determines how the size should be computed to achieve the one of the
@@ -15616,6 +15579,8 @@ Since: 3.0
<signal name="GtkWidget::accel-closures-changed">
<description>
+The ::accel-closures-changed signal gets emitted when accelerators for this
+widget get added, removed or changed.
</description>
<parameters>
@@ -24273,6 +24238,8 @@ Emits a #GtkButton::clicked signal to the given #GtkButton.
<function name="gtk_button_get_icon_name">
<description>
+Returns the icon name set via gtk_button_set_icon_name().
+
Since: 3.90
</description>
@@ -24282,7 +24249,7 @@ Since: 3.90
</parameter_description>
</parameter>
</parameters>
-<return> The icon name set via gtk_button_set_icon_name
+<return> The icon name set via gtk_button_set_icon_name()
</return>
</function>
@@ -24290,9 +24257,9 @@ Since: 3.90
<function name="gtk_button_get_label">
<description>
Fetches the text from the label of the button, as set by
-gtk_button_set_label(). If the label text has not
-been set the return value will be %NULL. This will be the
-case if you create an empty button with gtk_button_new() to
+gtk_button_set_label(). If the label text has not
+been set the return value will be %NULL. This will be the
+case if you create an empty button with gtk_button_new() to
use as a container.
@@ -24327,7 +24294,7 @@ Returns the current relief style of the given #GtkButton.
<function name="gtk_button_get_use_underline">
<description>
Returns whether an embedded underline in the button label indicates a
-mnemonic. See gtk_button_set_use_underline ().
+mnemonic. See gtk_button_set_use_underline().
</description>
@@ -24501,37 +24468,6 @@ the next character should be used for the mnemonic accelerator key.
<return></return>
</function>
-<function name="gtk_cairo_should_draw_window">
-<description>
-This function is supposed to be called in #GtkWidget::draw
-implementations for widgets that support multiple windows.
-@cr must be untransformed from invoking of the draw function.
-This function will return %TRUE if the contents of the given
-@window are supposed to be drawn and %FALSE otherwise. Note
-that when the drawing was not initiated by the windowing
-system this function will return %TRUE for all windows, so
-you need to draw the bottommost window first. Also, do not
-use “else if” statements to check which window should be drawn.
-
-Since: 3.0
-
-</description>
-<parameters>
-<parameter name="cr">
-<parameter_description> a cairo context
-</parameter_description>
-</parameter>
-<parameter name="window">
-<parameter_description> the window to check. @window may not be an input-only
-window.
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if @window should be drawn
-
-</return>
-</function>
-
<function name="gtk_cairo_transform_to_window">
<description>
Transforms the given cairo context @cr that from @widget-relative
@@ -31467,6 +31403,10 @@ placed below the @parent's and before the @next_sibling's CSS node.
<parameter_description> the GtkCssDrawFunc to use
</parameter_description>
</parameter>
+<parameter name="snapshot_func">
+<parameter_description> the GtkCssSnapshotFunc to use
+</parameter_description>
+</parameter>
<parameter name="data">
<parameter_description> user data to pass to the callbacks
</parameter_description>
@@ -31514,6 +31454,10 @@ finalize (or dispose) vfunc.
<parameter_description> the GtkCssDrawFunc to use
</parameter_description>
</parameter>
+<parameter name="snapshot_func">
+<parameter_description> the GtkCssSnapshotFunc to use
+</parameter_description>
+</parameter>
<parameter name="data">
<parameter_description> user data to pass to the callbacks
</parameter_description>
@@ -31907,6 +31851,30 @@ Sets the state of the gadget's CSS node.
<return></return>
</function>
+<function name="gtk_css_gadget_snapshot">
+<description>
+Will draw the gadget at the position allocated via
+gtk_css_gadget_allocate(). It is your responsibility to make
+sure that those 2 coordinate systems match.
+
+The drawing virtual function will be passed an untransformed @cr.
+This is important because functions like
+gtk_container_propagate_draw() depend on that.
+
+</description>
+<parameters>
+<parameter name="gadget">
+<parameter_description> The gadget to snapshot
+</parameter_description>
+</parameter>
+<parameter name="snapshot">
+<parameter_description> The snapshot to use
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_css_node_new">
<description>
Creates a new CSS node.
@@ -32418,27 +32386,6 @@ text and response ID.
<return></return>
</function>
-<function name="gtk_dialog_get_action_area">
-<description>
-Returns the action area of @dialog.
-
-Since: 2.14
-
-Deprecated:3.12: Direct access to the action area
-is discouraged; use gtk_dialog_add_button(), etc.
-
-</description>
-<parameters>
-<parameter name="dialog">
-<parameter_description> a #GtkDialog
-</parameter_description>
-</parameter>
-</parameters>
-<return> the action area
-
-</return>
-</function>
-
<function name="gtk_dialog_get_content_area">
<description>
Returns the content area of @dialog.
@@ -33580,6 +33527,42 @@ Undoes the effects of gtk_drag_source_set().
<return></return>
</function>
+<function name="gtk_drawing_area_get_content_height">
+<description>
+Retrieves the value previously set via gtk_drawing_area_set_content_height().
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkDrawingArea
+</parameter_description>
+</parameter>
+</parameters>
+<return> The height requested for content of the drawing area
+
+</return>
+</function>
+
+<function name="gtk_drawing_area_get_content_width">
+<description>
+Retrieves the value previously set via gtk_drawing_area_set_content_width().
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkDrawingArea
+</parameter_description>
+</parameter>
+</parameters>
+<return> The width requested for content of the drawing area
+
+</return>
+</function>
+
<function name="gtk_drawing_area_new">
<description>
Creates a new drawing area.
@@ -33592,6 +33575,98 @@ Creates a new drawing area.
</return>
</function>
+<function name="gtk_drawing_area_set_content_height">
+<description>
+Sets the desired height of the contents of the drawing area. Note that
+because widgets may be allocated larger sizes than they requested, it is
+possible that the actual height passed to your draw function is larger
+than the height set here. You can use gtk_widget_set_valign() to avoid
+that.
+
+If the height is set to 0 (the default), the drawing area may disappear.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkDrawingArea
+</parameter_description>
+</parameter>
+<parameter name="height">
+<parameter_description> the height of contents
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_drawing_area_set_content_width">
+<description>
+Sets the desired width of the contents of the drawing area. Note that
+because widgets may be allocated larger sizes than they requested, it is
+possible that the actual width passed to your draw function is larger
+than the width set here. You can use gtk_widget_set_halign() to avoid
+that.
+
+If the width is set to 0 (the default), the drawing area may disappear.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkDrawingArea
+</parameter_description>
+</parameter>
+<parameter name="width">
+<parameter_description> the width of contents
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_drawing_area_set_draw_func">
+<description>
+Setting a draw function is the main thing you want to do when using a drawing
+area. It is called whenever GTK needs to draw the contents of the drawing area
+to the screen.
+
+The draw function will be called during the drawing stage of GTK. In the
+drawing stage it is not allowed to change properties of any GTK widgets or call
+any functions that would cause any properties to be changed.
+You should restrict yourself exclusively to drawing your contents in the draw
+function.
+
+If what you are drawing does change, call gtk_widget_queue_draw() on the
+drawing area. This will call a redraw and will call @draw_func again.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkDrawingArea
+</parameter_description>
+</parameter>
+<parameter name="draw_func">
+<parameter_description> callback that lets you draw
+the drawing area's contents
+</parameter_description>
+</parameter>
+<parameter name="user_data">
+<parameter_description> user data passed to @draw_func
+</parameter_description>
+</parameter>
+<parameter name="destroy">
+<parameter_description> destroy notifier for @user_data
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_editable_copy_clipboard">
<description>
Copies the contents of the currently selected content in the editable and
@@ -42532,165 +42607,6 @@ If @widget does not have the grab, this function does nothing.
<return></return>
</function>
-<function name="gtk_gradient_add_color_stop">
-<description>
-Adds a stop color to @gradient.
-
-Since: 3.0
-
-Deprecated: 3.8: #GtkGradient is deprecated.
-
-</description>
-<parameters>
-<parameter name="gradient">
-<parameter_description> a #GtkGradient
-</parameter_description>
-</parameter>
-<parameter name="offset">
-<parameter_description> offset for the color stop
-</parameter_description>
-</parameter>
-<parameter name="color">
-<parameter_description> color to use
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_gradient_new_linear">
-<description>
-Creates a new linear gradient along the line defined by (x0, y0) and (x1, y1). Before using the gradient
-a number of stop colors must be added through gtk_gradient_add_color_stop().
-
-Since: 3.0
-
-Deprecated: 3.8: #GtkGradient is deprecated.
-
-</description>
-<parameters>
-<parameter name="x0">
-<parameter_description> X coordinate of the starting point
-</parameter_description>
-</parameter>
-<parameter name="y0">
-<parameter_description> Y coordinate of the starting point
-</parameter_description>
-</parameter>
-<parameter name="x1">
-<parameter_description> X coordinate of the end point
-</parameter_description>
-</parameter>
-<parameter name="y1">
-<parameter_description> Y coordinate of the end point
-</parameter_description>
-</parameter>
-</parameters>
-<return> A newly created #GtkGradient
-
-</return>
-</function>
-
-<function name="gtk_gradient_new_radial">
-<description>
-Creates a new radial gradient along the two circles defined by (x0, y0, radius0) and
-(x1, y1, radius1). Before using the gradient a number of stop colors must be added
-through gtk_gradient_add_color_stop().
-
-Since: 3.0
-
-Deprecated: 3.8: #GtkGradient is deprecated.
-
-</description>
-<parameters>
-<parameter name="x0">
-<parameter_description> X coordinate of the start circle
-</parameter_description>
-</parameter>
-<parameter name="y0">
-<parameter_description> Y coordinate of the start circle
-</parameter_description>
-</parameter>
-<parameter name="radius0">
-<parameter_description> radius of the start circle
-</parameter_description>
-</parameter>
-<parameter name="x1">
-<parameter_description> X coordinate of the end circle
-</parameter_description>
-</parameter>
-<parameter name="y1">
-<parameter_description> Y coordinate of the end circle
-</parameter_description>
-</parameter>
-<parameter name="radius1">
-<parameter_description> radius of the end circle
-</parameter_description>
-</parameter>
-</parameters>
-<return> A newly created #GtkGradient
-
-</return>
-</function>
-
-<function name="gtk_gradient_ref">
-<description>
-Increases the reference count of @gradient.
-
-Since: 3.0
-
-Deprecated: 3.8: #GtkGradient is deprecated.
-
-</description>
-<parameters>
-<parameter name="gradient">
-<parameter_description> a #GtkGradient
-</parameter_description>
-</parameter>
-</parameters>
-<return> The same @gradient
-
-</return>
-</function>
-
-<function name="gtk_gradient_to_string">
-<description>
-Creates a string representation for @gradient that is suitable
-for using in GTK CSS files.
-
-Deprecated: 3.8: #GtkGradient is deprecated.
-
-</description>
-<parameters>
-<parameter name="gradient">
-<parameter_description> the gradient to print
-</parameter_description>
-</parameter>
-</parameters>
-<return> A string representation for @gradient
-
-</return>
-</function>
-
-<function name="gtk_gradient_unref">
-<description>
-Decreases the reference count of @gradient, freeing its memory
-if the reference count reaches 0.
-
-Since: 3.0
-
-Deprecated: 3.8: #GtkGradient is deprecated.
-
-</description>
-<parameters>
-<parameter name="gradient">
-<parameter_description> a #GtkGradient
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_grid_attach">
<description>
Adds a widget to the grid.
@@ -52101,6 +52017,26 @@ Since: 3.4
</return>
</function>
+<function name="gtk_menu_place_on_monitor">
+<description>
+Places @menu on the given monitor.
+
+Since: 3.22
+
+</description>
+<parameters>
+<parameter name="menu">
+<parameter_description> a #GtkMenu
+</parameter_description>
+</parameter>
+<parameter name="monitor">
+<parameter_description> the monitor to place the menu on
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_menu_popdown">
<description>
Removes the menu from the screen.
@@ -57005,166 +56941,6 @@ Since: 3.18
<return></return>
</function>
-<function name="gtk_places_view_get_loading">
-<description>
-Returns %TRUE if the view is loading locations.
-
-Since: 3.18
-
-</description>
-<parameters>
-<parameter name="view">
-<parameter_description> a #GtkPlacesView
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_places_view_get_local_only">
-<description>
-Returns %TRUE if only local volumes are shown, i.e. no networks
-are displayed.
-
-Since: 3.18
-
-</description>
-<parameters>
-<parameter name="view">
-<parameter_description> a #GtkPlacesView
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if only local volumes are shown, %FALSE otherwise.
-
-</return>
-</function>
-
-<function name="gtk_places_view_get_open_flags">
-<description>
-Gets the open flags.
-
-Since: 3.18
-
-</description>
-<parameters>
-<parameter name="view">
-<parameter_description> a #GtkPlacesSidebar
-</parameter_description>
-</parameter>
-</parameters>
-<return> the #GtkPlacesOpenFlags of @view
-
-</return>
-</function>
-
-<function name="gtk_places_view_get_search_query">
-<description>
-Retrieves the current search query from @view.
-
-
-</description>
-<parameters>
-<parameter name="view">
-<parameter_description> a #GtkPlacesView
-</parameter_description>
-</parameter>
-</parameters>
-<return> the current search query.
-</return>
-</function>
-
-<function name="gtk_places_view_new">
-<description>
-Creates a new #GtkPlacesView widget.
-
-The application should connect to at least the
-#GtkPlacesView::open-location signal to be notified
-when the user makes a selection in the view.
-
-Since: 3.18
-
-</description>
-<parameters>
-</parameters>
-<return> a newly created #GtkPlacesView
-
-</return>
-</function>
-
-<function name="gtk_places_view_set_local_only">
-<description>
-Sets the #GtkPlacesView::local-only property to @local_only.
-
-Since: 3.18
-
-</description>
-<parameters>
-<parameter name="view">
-<parameter_description> a #GtkPlacesView
-</parameter_description>
-</parameter>
-<parameter name="local_only">
-<parameter_description> %TRUE to hide remote locations, %FALSE to show.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_places_view_set_open_flags">
-<description>
-Sets the way in which the calling application can open new locations from
-the places view. For example, some applications only open locations
-“directly” into their main view, while others may support opening locations
-in a new notebook tab or a new window.
-
-This function is used to tell the places @view about the ways in which the
-application can open new locations, so that the view can display (or not)
-the “Open in new tab” and “Open in new window” menu items as appropriate.
-
-When the #GtkPlacesView::open-location signal is emitted, its flags
-argument will be set to one of the @flags that was passed in
-gtk_places_view_set_open_flags().
-
-Passing 0 for @flags will cause #GTK_PLACES_OPEN_NORMAL to always be sent
-to callbacks for the “open-location” signal.
-
-Since: 3.18
-
-</description>
-<parameters>
-<parameter name="view">
-<parameter_description> a #GtkPlacesView
-</parameter_description>
-</parameter>
-<parameter name="flags">
-<parameter_description> Bitmask of modes in which the calling application can open locations
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_places_view_set_search_query">
-<description>
-Sets the search query of @view. The search is immediately performed
-once the query is set.
-
-</description>
-<parameters>
-<parameter name="view">
-<parameter_description> a #GtkPlacesView
-</parameter_description>
-</parameter>
-<parameter name="query_text">
-<parameter_description> the query, or NULL.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_popover_bind_model">
<description>
Establishes a binding between a #GtkPopover and a #GMenuModel.
@@ -65747,52 +65523,6 @@ Since: 3.0
<return></return>
</function>
-<function name="gtk_render_extension">
-<description>
-Renders a extension (as in a #GtkNotebook tab) in the rectangle
-defined by @x, @y, @width, @height. The side where the extension
-connects to is defined by @gap_side.
-
-Typical extension rendering:
-
-![](extensions.png)
-
-Since: 3.0
-
-</description>
-<parameters>
-<parameter name="context">
-<parameter_description> a #GtkStyleContext
-</parameter_description>
-</parameter>
-<parameter name="cr">
-<parameter_description> a #cairo_t
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> X origin of the rectangle
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> Y origin of the rectangle
-</parameter_description>
-</parameter>
-<parameter name="width">
-<parameter_description> rectangle width
-</parameter_description>
-</parameter>
-<parameter name="height">
-<parameter_description> rectangle height
-</parameter_description>
-</parameter>
-<parameter name="gap_side">
-<parameter_description> side where the gap is
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_render_focus">
<description>
Renders a focus indicator on the rectangle determined by @x, @y, @width, @height.
@@ -69205,6 +68935,516 @@ or should all have the same requisition in both directions
<return></return>
</function>
+<function name="gtk_snapshot_append">
+<description>
+Creates a new render node and appends it to the current render
+node of @snapshot, without changing the current node.
+
+Since: 3.90
+
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="bounds">
+<parameter_description> the bounds for the new node
+</parameter_description>
+</parameter>
+<parameter name="name">
+<parameter_description> a printf() style format string for the name for the new node
+</parameter_description>
+</parameter>
+<parameter name="Varargs">
+<parameter_description> arguments to insert into the format string
+</parameter_description>
+</parameter>
+</parameters>
+<return> the newly created #GskRenderNode
+</return>
+</function>
+
+<function name="gtk_snapshot_append_cairo_node">
+<description>
+Creates a new render node and appends it to the current render
+node of @snapshot, without changing the current node.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="bounds">
+<parameter_description> the bounds for the new node
+</parameter_description>
+</parameter>
+<parameter name="name">
+<parameter_description> a printf() style format string for the name for the new node
+</parameter_description>
+</parameter>
+<parameter name="Varargs">
+<parameter_description> arguments to insert into the format string
+</parameter_description>
+</parameter>
+</parameters>
+<return> a cairo_t suitable for drawing the contents of the newly
+created render node
+
+</return>
+</function>
+
+<function name="gtk_snapshot_append_node">
+<description>
+Appends @node to the current render node of @snapshot,
+without changing the current node. If @snapshot does
+not have a current node yet, @node will become the
+initial node.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="node">
+<parameter_description> a #GskRenderNode
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_clips_rect">
+<description>
+Tests whether the rectangle is entirely outside the clip region of @snapshot.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="bounds">
+<parameter_description> a rectangle
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE is @bounds is entirely outside the clip region
+
+</return>
+</function>
+
+<function name="gtk_snapshot_get_renderer">
+<description>
+Obtains the #GskRenderer that this snapshot will be
+rendered with.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+</parameters>
+<return> the #GskRenderer
+
+</return>
+</function>
+
+<function name="gtk_snapshot_pop">
+<description>
+Removes the top element from the stack of render nodes,
+making the node underneath the current node again.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_push">
+<description>
+Creates a new render node, appends it to the current render
+node of @snapshot, and makes it the new current render node.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="bounds">
+<parameter_description> the bounds for the new node
+</parameter_description>
+</parameter>
+<parameter name="name">
+<parameter_description> a printf() style format string for the name for the new node
+</parameter_description>
+</parameter>
+<parameter name="Varargs">
+<parameter_description> arguments to insert into the format string
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_push_cairo_node">
+<description>
+Creates a new render node, appends it to the current render
+node of @snapshot, and makes it the new current render node.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="bounds">
+<parameter_description> the bounds for the new node
+</parameter_description>
+</parameter>
+<parameter name="name">
+<parameter_description> a printf() style format string for the name for the new node
+</parameter_description>
+</parameter>
+<parameter name="Varargs">
+<parameter_description> arguments to insert into the format string
+</parameter_description>
+</parameter>
+</parameters>
+<return> a cairo_t suitable for drawing the contents of the newly
+created render node
+
+</return>
+</function>
+
+<function name="gtk_snapshot_push_node">
+<description>
+Appends @node to the current render node of @snapshot,
+and makes @node the new current render node.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="node">
+<parameter_description> the render node to push
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_render_background">
+<description>
+Creates a render node for the CSS background according to @context,
+and appends it to the current node of @snapshot, without changing
+the current node.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="context">
+<parameter_description> the #GtkStyleContext to use
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> X origin of the rectangle
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> Y origin of the rectangle
+</parameter_description>
+</parameter>
+<parameter name="width">
+<parameter_description> rectangle width
+</parameter_description>
+</parameter>
+<parameter name="height">
+<parameter_description> rectangle height
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_render_focus">
+<description>
+Creates a render node for the focus outline according to @context,
+and appends it to the current node of @snapshot, without changing
+the current node.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="context">
+<parameter_description> the #GtkStyleContext to use
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> X origin of the rectangle
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> Y origin of the rectangle
+</parameter_description>
+</parameter>
+<parameter name="width">
+<parameter_description> rectangle width
+</parameter_description>
+</parameter>
+<parameter name="height">
+<parameter_description> rectangle height
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_render_frame">
+<description>
+Creates a render node for the CSS border according to @context,
+and appends it to the current node of @snapshot, without changing
+the current node.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="context">
+<parameter_description> the #GtkStyleContext to use
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> X origin of the rectangle
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> Y origin of the rectangle
+</parameter_description>
+</parameter>
+<parameter name="width">
+<parameter_description> rectangle width
+</parameter_description>
+</parameter>
+<parameter name="height">
+<parameter_description> rectangle height
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_render_icon">
+<description>
+Creates a render node for rendering @pixbuf according to the style
+information in @context, and appends it to the current node of @snapshot,
+without changing the current node.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="context">
+<parameter_description> the #GtkStyleContext to use
+</parameter_description>
+</parameter>
+<parameter name="pixbuf">
+<parameter_description> the #GdkPixbuf to render
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> X origin of the rectangle
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> Y origin of the rectangle
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_render_insertion_cursor">
+<description>
+Draws a text caret on @cr at the specified index of @layout.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> snapshot to render to
+</parameter_description>
+</parameter>
+<parameter name="context">
+<parameter_description> a #GtkStyleContext
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> X origin
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> Y origin
+</parameter_description>
+</parameter>
+<parameter name="layout">
+<parameter_description> the #PangoLayout of the text
+</parameter_description>
+</parameter>
+<parameter name="index">
+<parameter_description> the index in the #PangoLayout
+</parameter_description>
+</parameter>
+<parameter name="direction">
+<parameter_description> the #PangoDirection of the text
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_render_layout">
+<description>
+Creates a render node for rendering @layout according to the style
+information in @context, and appends it to the current node of @snapshot,
+without changing the current node.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="context">
+<parameter_description> the #GtkStyleContext to use
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> X origin of the rectangle
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> Y origin of the rectangle
+</parameter_description>
+</parameter>
+<parameter name="layout">
+<parameter_description> the #PangoLayout to render
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_set_transform">
+<description>
+Replaces the current transformation with the given @transform.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="transform">
+<parameter_description> a transformation matrix
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_transform">
+<description>
+Appends @transform to the current transformation.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="transform">
+<parameter_description> a transformation matrix
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_translate_2d">
+<description>
+Appends a translation by (@x, @y) to the current transformation.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a $GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> horizontal translation
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> vertical translation
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_spin_button_configure">
<description>
Changes the properties of an existing spin button. The adjustment,
@@ -71620,247 +71860,6 @@ Since: 3.14
<return></return>
</function>
-<function name="gtk_symbolic_color_new_alpha">
-<description>
-Creates a symbolic color by modifying the relative alpha
-value of @color. A factor < 1.0 would resolve to a more
-transparent color, while > 1.0 would resolve to a more
-opaque color.
-
-Since: 3.0
-
-Deprecated: 3.8: #GtkSymbolicColor is deprecated.
-
-</description>
-<parameters>
-<parameter name="color">
-<parameter_description> another #GtkSymbolicColor
-</parameter_description>
-</parameter>
-<parameter name="factor">
-<parameter_description> factor to apply to @color alpha
-</parameter_description>
-</parameter>
-</parameters>
-<return> A newly created #GtkSymbolicColor
-
-</return>
-</function>
-
-<function name="gtk_symbolic_color_new_literal">
-<description>
-Creates a symbolic color pointing to a literal color.
-
-Since: 3.0
-
-Deprecated: 3.8: #GtkSymbolicColor is deprecated.
-
-</description>
-<parameters>
-<parameter name="color">
-<parameter_description> a #GdkRGBA
-</parameter_description>
-</parameter>
-</parameters>
-<return> a newly created #GtkSymbolicColor
-
-</return>
-</function>
-
-<function name="gtk_symbolic_color_new_mix">
-<description>
-Creates a symbolic color defined as a mix of another
-two colors. a mix factor of 0 would resolve to @color1,
-while a factor of 1 would resolve to @color2.
-
-Since: 3.0
-
-Deprecated: 3.8: #GtkSymbolicColor is deprecated.
-
-</description>
-<parameters>
-<parameter name="color1">
-<parameter_description> color to mix
-</parameter_description>
-</parameter>
-<parameter name="color2">
-<parameter_description> another color to mix
-</parameter_description>
-</parameter>
-<parameter name="factor">
-<parameter_description> mix factor
-</parameter_description>
-</parameter>
-</parameters>
-<return> A newly created #GtkSymbolicColor
-
-</return>
-</function>
-
-<function name="gtk_symbolic_color_new_name">
-<description>
-Creates a symbolic color pointing to an unresolved named
-color. See gtk_style_context_lookup_color() and
-gtk_style_properties_lookup_color().
-
-Since: 3.0
-
-Deprecated: 3.8: #GtkSymbolicColor is deprecated.
-
-</description>
-<parameters>
-<parameter name="name">
-<parameter_description> color name
-</parameter_description>
-</parameter>
-</parameters>
-<return> a newly created #GtkSymbolicColor
-
-</return>
-</function>
-
-<function name="gtk_symbolic_color_new_shade">
-<description>
-Creates a symbolic color defined as a shade of
-another color. A factor > 1.0 would resolve to
-a brighter color, while < 1.0 would resolve to
-a darker color.
-
-Since: 3.0
-
-Deprecated: 3.8: #GtkSymbolicColor is deprecated.
-
-</description>
-<parameters>
-<parameter name="color">
-<parameter_description> another #GtkSymbolicColor
-</parameter_description>
-</parameter>
-<parameter name="factor">
-<parameter_description> shading factor to apply to @color
-</parameter_description>
-</parameter>
-</parameters>
-<return> A newly created #GtkSymbolicColor
-
-</return>
-</function>
-
-<function name="gtk_symbolic_color_new_win32">
-<description>
-Creates a symbolic color based on the current win32
-theme.
-
-Note that while this call is available on all platforms
-the actual value returned is not reliable on non-win32
-platforms.
-
-Since: 3.4
-
-Deprecated: 3.8: #GtkSymbolicColor is deprecated.
-
-</description>
-<parameters>
-<parameter name="theme_class">
-<parameter_description> The theme class to pull color from
-</parameter_description>
-</parameter>
-<parameter name="id">
-<parameter_description> The color id
-</parameter_description>
-</parameter>
-</parameters>
-<return> A newly created #GtkSymbolicColor
-
-</return>
-</function>
-
-<function name="gtk_symbolic_color_ref">
-<description>
-Increases the reference count of @color
-
-Since: 3.0
-
-Deprecated: 3.8: #GtkSymbolicColor is deprecated.
-
-</description>
-<parameters>
-<parameter name="color">
-<parameter_description> a #GtkSymbolicColor
-</parameter_description>
-</parameter>
-</parameters>
-<return> the same @color
-
-</return>
-</function>
-
-<function name="gtk_symbolic_color_resolve">
-<description>
-If @color is resolvable, @resolved_color will be filled in
-with the resolved color, and %TRUE will be returned.
-
-Since: 3.0
-
-Deprecated: 3.8: #GtkSymbolicColor is deprecated.
-
-</description>
-<parameters>
-<parameter name="color">
-<parameter_description> a #GtkSymbolicColor
-</parameter_description>
-</parameter>
-<parameter name="resolved_color">
-<parameter_description> return location for the resolved color
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the color has been resolved
-
-</return>
-</function>
-
-<function name="gtk_symbolic_color_to_string">
-<description>
-Converts the given @color to a string representation. This is useful
-both for debugging and for serialization of strings. The format of
-the string may change between different versions of GTK, but it is
-guaranteed that the GTK css parser is able to read the string and
-create the same symbolic color from it.
-
-Deprecated: 3.8: #GtkSymbolicColor is deprecated.
-
-</description>
-<parameters>
-<parameter name="color">
-<parameter_description> color to convert to a string
-</parameter_description>
-</parameter>
-</parameters>
-<return> a new string representing @color
-
-</return>
-</function>
-
-<function name="gtk_symbolic_color_unref">
-<description>
-Decreases the reference count of @color, freeing its memory if the
-reference count reaches 0.
-
-Since: 3.0
-
-Deprecated: 3.8: #GtkSymbolicColor is deprecated.
-
-</description>
-<parameters>
-<parameter name="color">
-<parameter_description> a #GtkSymbolicColor
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_target_entry_copy">
<description>
Makes a copy of a #GtkTargetEntry and its data.
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index a8cc2c1..0d18a5d 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -8463,12 +8463,6 @@
(return-type "gint")
)
-(define-method get_action_area
- (of-object "GtkDialog")
- (c-name "gtk_dialog_get_action_area")
- (return-type "GtkWidget*")
-)
-
(define-method get_content_area
(of-object "GtkDialog")
(c-name "gtk_dialog_get_content_area")
@@ -8825,6 +8819,47 @@
(return-type "GtkWidget*")
)
+(define-method set_content_width
+ (of-object "GtkDrawingArea")
+ (c-name "gtk_drawing_area_set_content_width")
+ (return-type "none")
+ (parameters
+ '("int" "width")
+ )
+)
+
+(define-method get_content_width
+ (of-object "GtkDrawingArea")
+ (c-name "gtk_drawing_area_get_content_width")
+ (return-type "int")
+)
+
+(define-method set_content_height
+ (of-object "GtkDrawingArea")
+ (c-name "gtk_drawing_area_set_content_height")
+ (return-type "none")
+ (parameters
+ '("int" "height")
+ )
+)
+
+(define-method get_content_height
+ (of-object "GtkDrawingArea")
+ (c-name "gtk_drawing_area_get_content_height")
+ (return-type "int")
+)
+
+(define-method set_draw_func
+ (of-object "GtkDrawingArea")
+ (c-name "gtk_drawing_area_set_draw_func")
+ (return-type "none")
+ (parameters
+ '("GtkDrawingAreaDrawFunc" "draw_func")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "destroy")
+ )
+)
+
;; From gtkeditable.h
@@ -21622,20 +21657,6 @@
)
)
-(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")
@@ -23172,6 +23193,198 @@
+;; From gtksnapshot.h
+
+(define-method get_renderer
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_get_renderer")
+ (return-type "GskRenderer*")
+)
+
+(define-method push
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_push")
+ (return-type "none")
+ (parameters
+ '("const-graphene_rect_t*" "bounds")
+ '("const-char*" "name")
+ )
+ (varargs #t)
+)
+
+(define-method push_node
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_push_node")
+ (return-type "none")
+ (parameters
+ '("GskRenderNode*" "node")
+ )
+)
+
+(define-method push_cairo_node
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_push_cairo_node")
+ (return-type "cairo_t*")
+ (parameters
+ '("const-graphene_rect_t*" "bounds")
+ '("const-char*" "name")
+ )
+ (varargs #t)
+)
+
+(define-method pop
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_pop")
+ (return-type "none")
+)
+
+(define-method set_transform
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_set_transform")
+ (return-type "none")
+ (parameters
+ '("const-graphene_matrix_t*" "transform")
+ )
+)
+
+(define-method transform
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_transform")
+ (return-type "none")
+ (parameters
+ '("const-graphene_matrix_t*" "transform")
+ )
+)
+
+(define-method translate_2d
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_translate_2d")
+ (return-type "none")
+ (parameters
+ '("int" "x")
+ '("int" "y")
+ )
+)
+
+(define-method append_node
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_append_node")
+ (return-type "none")
+ (parameters
+ '("GskRenderNode*" "node")
+ )
+)
+
+(define-method append
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_append")
+ (return-type "GskRenderNode*")
+ (parameters
+ '("const-graphene_rect_t*" "bounds")
+ '("const-char*" "name")
+ )
+ (varargs #t)
+)
+
+(define-method append_cairo_node
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_append_cairo_node")
+ (return-type "cairo_t*")
+ (parameters
+ '("const-graphene_rect_t*" "bounds")
+ '("const-char*" "name")
+ )
+ (varargs #t)
+)
+
+(define-method clips_rect
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_clips_rect")
+ (return-type "gboolean")
+ (parameters
+ '("const-graphene_rect_t*" "bounds")
+ )
+)
+
+(define-method render_background
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_render_background")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ )
+)
+
+(define-method render_frame
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_render_frame")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ )
+)
+
+(define-method render_focus
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_render_focus")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ )
+)
+
+(define-method render_layout
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_render_layout")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("PangoLayout*" "layout")
+ )
+)
+
+(define-method render_insertion_cursor
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_render_insertion_cursor")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("PangoLayout*" "layout")
+ '("int" "index")
+ '("PangoDirection" "direction")
+ )
+)
+
+(define-method render_icon
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_render_icon")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("GdkPixbuf*" "pixbuf")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ )
+)
+
+
+
;; From gtkspinbutton.h
(define-function gtk_spin_button_get_type
@@ -32561,15 +32774,6 @@
(return-type "gboolean")
)
-(define-function gtk_cairo_should_draw_window
- (c-name "gtk_cairo_should_draw_window")
- (return-type "gboolean")
- (parameters
- '("cairo_t*" "cr")
- '("GdkWindow*" "window")
- )
-)
-
(define-function gtk_cairo_transform_to_window
(c-name "gtk_cairo_transform_to_window")
(return-type "none")
@@ -33961,153 +34165,3 @@
;; From xembed.h
-
-;; From gtkgradient.h
-
-(define-function gtk_gradient_get_type
- (c-name "gtk_gradient_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_gradient_new_linear
- (c-name "gtk_gradient_new_linear")
- (return-type "GtkGradient*")
- (parameters
- '("gdouble" "x0")
- '("gdouble" "y0")
- '("gdouble" "x1")
- '("gdouble" "y1")
- )
-)
-
-(define-function gtk_gradient_new_radial
- (c-name "gtk_gradient_new_radial")
- (return-type "GtkGradient*")
- (parameters
- '("gdouble" "x0")
- '("gdouble" "y0")
- '("gdouble" "radius0")
- '("gdouble" "x1")
- '("gdouble" "y1")
- '("gdouble" "radius1")
- )
-)
-
-(define-method add_color_stop
- (of-object "GtkGradient")
- (c-name "gtk_gradient_add_color_stop")
- (return-type "none")
- (parameters
- '("gdouble" "offset")
- '("GtkSymbolicColor*" "color")
- )
-)
-
-(define-method ref
- (of-object "GtkGradient")
- (c-name "gtk_gradient_ref")
- (return-type "GtkGradient*")
-)
-
-(define-method unref
- (of-object "GtkGradient")
- (c-name "gtk_gradient_unref")
- (return-type "none")
-)
-
-(define-method to_string
- (of-object "GtkGradient")
- (c-name "gtk_gradient_to_string")
- (return-type "char*")
-)
-
-
-
-;; From gtksymboliccolor.h
-
-(define-function gtk_symbolic_color_get_type
- (c-name "gtk_symbolic_color_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_symbolic_color_new_literal
- (c-name "gtk_symbolic_color_new_literal")
- (return-type "GtkSymbolicColor*")
- (parameters
- '("const-GdkRGBA*" "color")
- )
-)
-
-(define-function gtk_symbolic_color_new_name
- (c-name "gtk_symbolic_color_new_name")
- (return-type "GtkSymbolicColor*")
- (parameters
- '("const-gchar*" "name")
- )
-)
-
-(define-method new_shade
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_new_shade")
- (return-type "GtkSymbolicColor*")
- (parameters
- '("gdouble" "factor")
- )
-)
-
-(define-method new_alpha
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_new_alpha")
- (return-type "GtkSymbolicColor*")
- (parameters
- '("gdouble" "factor")
- )
-)
-
-(define-method new_mix
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_new_mix")
- (return-type "GtkSymbolicColor*")
- (parameters
- '("GtkSymbolicColor*" "color2")
- '("gdouble" "factor")
- )
-)
-
-(define-function gtk_symbolic_color_new_win32
- (c-name "gtk_symbolic_color_new_win32")
- (return-type "GtkSymbolicColor*")
- (parameters
- '("const-gchar*" "theme_class")
- '("gint" "id")
- )
-)
-
-(define-method ref
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_ref")
- (return-type "GtkSymbolicColor*")
-)
-
-(define-method unref
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_unref")
- (return-type "none")
-)
-
-(define-method to_string
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_to_string")
- (return-type "char*")
-)
-
-(define-method resolve
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_resolve")
- (return-type "gboolean")
- (parameters
- '("GdkRGBA*" "resolved_color")
- )
-)
-
-
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 3ca9280..3e2c42f 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -2406,6 +2406,24 @@
;; From GtkDrawingArea
+(define-property content-width
+ (of-object "GtkDrawingArea")
+ (prop-type "GParamInt")
+ (docs "Desired width for displayed content")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property content-height
+ (of-object "GtkDrawingArea")
+ (prop-type "GParamInt")
+ (docs "Desired height for displayed content")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkEditable
(define-signal changed
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]