Skip to content

Commit

Permalink
Merge pull request #185 from gtk-rs/create-pull-request/patch
Browse files Browse the repository at this point in the history
Update GIR files (2024-01-31)
  • Loading branch information
bilelmoussaoui authored Jan 31, 2024
2 parents 5245759 + 5d0a979 commit 4d83970
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion Gdk-4.0.gir
Original file line number Diff line number Diff line change
Expand Up @@ -3967,6 +3967,24 @@ On modern displays, this value is always %TRUE.</doc>
</instance-parameter>
</parameters>
</method>
<method name="supports_shadow_width" c:identifier="gdk_display_supports_shadow_width" version="4.14">
<attribute name="org.gtk.Method.get_property" value="shadow-width"/>
<doc xml:space="preserve">Returns whether it's possible for a surface to draw outside of the window area.

If %TRUE is returned the application decides if it wants to draw shadows.
If %FALSE is returned, the compositor decides if it wants to draw shadows.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if surfaces can draw shadows or
%FALSE if the display does not support this functionality.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="Display" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
</method>
<method name="sync" c:identifier="gdk_display_sync">
<doc xml:space="preserve">Flushes any requests queued for the windowing system and waits until all
requests have been handled.
Expand Down Expand Up @@ -4067,6 +4085,11 @@ virtualized test environments.</doc>
<doc xml:space="preserve">%TRUE if the display supports an alpha channel.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="shadow-width" version="4.14" transfer-ownership="none" default-value="TRUE">
<attribute name="org.gtk.Property.get" value="gdk_display_supports_shadow_width"/>
<doc xml:space="preserve">%TRUE if the display supports extensible frames.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<glib:signal name="closed" when="last">
<doc xml:space="preserve">Emitted when the connection to the windowing system for @display is closed.</doc>
<return-value transfer-ownership="none">
Expand Down Expand Up @@ -19677,7 +19700,10 @@ The minimum size should be within the bounds (see

The shadow width corresponds to the part of the computed surface size
that would consist of the shadow margin surrounding the window, would
there be any.</doc>
there be any.

Shadow width should only be set if
[[email protected]_shadow_width] is %TRUE.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
Expand Down

0 comments on commit 4d83970

Please sign in to comment.