mirror of
https://github.com/tauri-apps/gir-files.git
synced 2026-01-31 00:45:15 +01:00
gtk4: update to 4.0.0
This commit is contained in:
37
Gdk-4.0.gir
37
Gdk-4.0.gir
@@ -304,6 +304,7 @@ left button in a left-handed setup.</doc>
|
||||
<type name="gint" c:type="gint"/>
|
||||
</constant>
|
||||
<class name="ButtonEvent" c:symbol-prefix="button_event" c:type="GdkButtonEvent" parent="Event" glib:type-name="GdkButtonEvent" glib:get-type="gdk_button_event_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">An event related to a button on a pointer device/</doc>
|
||||
<method name="get_button" c:identifier="gdk_button_event_get_button">
|
||||
<doc xml:space="preserve">Extract the button number from a button event.</doc>
|
||||
|
||||
@@ -2364,6 +2365,7 @@ This function consumes @error.</doc>
|
||||
</method>
|
||||
</class>
|
||||
<class name="CrossingEvent" c:symbol-prefix="crossing_event" c:type="GdkCrossingEvent" parent="Event" glib:type-name="GdkCrossingEvent" glib:get-type="gdk_crossing_event_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">An event caused by a pointing device moving between surfaces.</doc>
|
||||
<method name="get_detail" c:identifier="gdk_crossing_event_get_detail">
|
||||
<doc xml:space="preserve">Extracts the notify detail from a crossing event.</doc>
|
||||
|
||||
@@ -2691,6 +2693,7 @@ will be returned.</doc>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<class name="DNDEvent" c:symbol-prefix="dnd_event" c:type="GdkDNDEvent" parent="Event" glib:type-name="GdkDNDEvent" glib:get-type="gdk_dnd_event_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">An event related to drag and drop operations.</doc>
|
||||
<method name="get_drop" c:identifier="gdk_dnd_event_get_drop">
|
||||
<doc xml:space="preserve">Gets the #GdkDrop from a DND event.</doc>
|
||||
|
||||
@@ -2728,6 +2731,7 @@ will be returned.</doc>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<class name="DeleteEvent" c:symbol-prefix="delete_event" c:type="GdkDeleteEvent" parent="Event" glib:type-name="GdkDeleteEvent" glib:get-type="gdk_delete_event_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">An event related to closing a top-level surface.</doc>
|
||||
</class>
|
||||
<class name="Device" c:symbol-prefix="device" c:type="GdkDevice" parent="GObject.Object" abstract="1" glib:type-name="GdkDevice" glib:get-type="gdk_device_get_type">
|
||||
<doc xml:space="preserve">The #GdkDevice object represents a single input device, such
|
||||
@@ -5420,6 +5424,7 @@ of related touch events.</doc>
|
||||
<glib:boxed glib:name="FileList" c:symbol-prefix="file_list" glib:type-name="GdkFileList" glib:get-type="gdk_file_list_get_type">
|
||||
</glib:boxed>
|
||||
<class name="FocusEvent" c:symbol-prefix="focus_event" c:type="GdkFocusEvent" parent="Event" glib:type-name="GdkFocusEvent" glib:get-type="gdk_focus_event_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">An event related to a focus change.</doc>
|
||||
<method name="get_in" c:identifier="gdk_focus_event_get_in">
|
||||
<doc xml:space="preserve">Extracts whether this event is about focus entering or
|
||||
leaving the surface.</doc>
|
||||
@@ -6399,6 +6404,7 @@ has been called.</doc>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<class name="GrabBrokenEvent" c:symbol-prefix="grab_broken_event" c:type="GdkGrabBrokenEvent" parent="Event" glib:type-name="GdkGrabBrokenEvent" glib:get-type="gdk_grab_broken_event_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">An event related to a broken windowing system grab.</doc>
|
||||
<method name="get_grab_surface" c:identifier="gdk_grab_broken_event_get_grab_surface">
|
||||
<doc xml:space="preserve">Extracts the grab surface from a grab broken event.</doc>
|
||||
|
||||
@@ -15815,6 +15821,7 @@ has been called.</doc>
|
||||
<type name="gint" c:type="gint"/>
|
||||
</constant>
|
||||
<class name="KeyEvent" c:symbol-prefix="key_event" c:type="GdkKeyEvent" parent="Event" glib:type-name="GdkKeyEvent" glib:get-type="gdk_key_event_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">An event related to a key-based device.</doc>
|
||||
<method name="get_consumed_modifiers" c:identifier="gdk_key_event_get_consumed_modifiers">
|
||||
<doc xml:space="preserve">Extracts the consumed modifiers from a key event.</doc>
|
||||
|
||||
@@ -16369,6 +16376,7 @@ by @monitor gets disconnected.</doc>
|
||||
|
||||
</record>
|
||||
<class name="MotionEvent" c:symbol-prefix="motion_event" c:type="GdkMotionEvent" parent="Event" glib:type-name="GdkMotionEvent" glib:get-type="gdk_motion_event_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">An event related to a pointer or touch device motion.</doc>
|
||||
</class>
|
||||
<enumeration name="NotifyType" glib:type-name="GdkNotifyType" glib:get-type="gdk_notify_type_get_type" c:type="GdkNotifyType">
|
||||
<doc xml:space="preserve">Specifies the kind of crossing for enter and leave events.
|
||||
@@ -16409,6 +16417,7 @@ is given in the
|
||||
<type name="gint" c:type="gint"/>
|
||||
</constant>
|
||||
<class name="PadEvent" c:symbol-prefix="pad_event" c:type="GdkPadEvent" parent="Event" glib:type-name="GdkPadEvent" glib:get-type="gdk_pad_event_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">An event related to a pad-based device.</doc>
|
||||
<method name="get_axis_value" c:identifier="gdk_pad_event_get_axis_value">
|
||||
<doc xml:space="preserve">Extracts the information from a pad strip or ring event.</doc>
|
||||
|
||||
@@ -17459,6 +17468,7 @@ if @surface extends beyond the left or right edges of the monitor.</doc>
|
||||
</method>
|
||||
</record>
|
||||
<class name="ProximityEvent" c:symbol-prefix="proximity_event" c:type="GdkProximityEvent" parent="Event" glib:type-name="GdkProximityEvent" glib:get-type="gdk_proximity_event_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">An event related to the proximity of a tool to a device.</doc>
|
||||
</class>
|
||||
<record name="RGBA" c:type="GdkRGBA" glib:type-name="GdkRGBA" glib:get-type="gdk_rgba_get_type" c:symbol-prefix="rgba">
|
||||
<doc xml:space="preserve">A #GdkRGBA is used to represent a (possibly translucent)
|
||||
@@ -17807,6 +17817,7 @@ zero width or height).</doc>
|
||||
</member>
|
||||
</enumeration>
|
||||
<class name="ScrollEvent" c:symbol-prefix="scroll_event" c:type="GdkScrollEvent" parent="Event" glib:type-name="GdkScrollEvent" glib:get-type="gdk_scroll_event_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">An event related to a scrolling motion.</doc>
|
||||
<method name="get_deltas" c:identifier="gdk_scroll_event_get_deltas">
|
||||
<doc xml:space="preserve">Extracts the scroll deltas of a scroll event.
|
||||
|
||||
@@ -18488,12 +18499,15 @@ regions on their own.</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="request_layout" c:identifier="gdk_surface_request_layout">
|
||||
<doc xml:space="preserve">Request a %GDK_FRAME_CLOCK_PHASE_LAYOUT from the surface's
|
||||
frame clock. See gdk_frame_clock_request_phase().</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<instance-parameter name="surface" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GdkSurface</doc>
|
||||
<type name="Surface" c:type="GdkSurface*"/>
|
||||
</instance-parameter>
|
||||
</parameters>
|
||||
@@ -19473,11 +19487,12 @@ The size is in ”application pixels”, not
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="get_fullscreen" c:identifier="gdk_toplevel_layout_get_fullscreen">
|
||||
<doc xml:space="preserve">Returns whether the layout should cause the surface
|
||||
to be fullscreen when presented.</doc>
|
||||
<doc xml:space="preserve">If the layout specifies whether to the toplevel should go fullscreen,
|
||||
the value pointed to by @fullscreen is set to %TRUE if it should go
|
||||
fullscreen, or %FALSE, if it should go unfullscreen.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if @layout is fullscreen</doc>
|
||||
<doc xml:space="preserve">whether the @layout specifies the fullscreen state for the toplevel</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
@@ -19485,6 +19500,10 @@ to be fullscreen when presented.</doc>
|
||||
<doc xml:space="preserve">a #GdkToplevelLayout</doc>
|
||||
<type name="ToplevelLayout" c:type="GdkToplevelLayout*"/>
|
||||
</instance-parameter>
|
||||
<parameter name="fullscreen" direction="out" caller-allocates="0" transfer-ownership="full">
|
||||
<doc xml:space="preserve">location to store whether the toplevel should be fullscreen</doc>
|
||||
<type name="gboolean" c:type="gboolean*"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="get_fullscreen_monitor" c:identifier="gdk_toplevel_layout_get_fullscreen_monitor">
|
||||
@@ -19503,11 +19522,12 @@ the surface on.</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="get_maximized" c:identifier="gdk_toplevel_layout_get_maximized">
|
||||
<doc xml:space="preserve">Returns whether the layout should present the
|
||||
surface as maximized.</doc>
|
||||
<doc xml:space="preserve">If the layout specifies whether to the toplevel should go maximized,
|
||||
the value pointed to by @maximized is set to %TRUE if it should go
|
||||
fullscreen, or %FALSE, if it should go unmaximized.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the layout is maximized</doc>
|
||||
<doc xml:space="preserve">whether the @layout specifies the maximized state for the toplevel</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
@@ -19515,6 +19535,9 @@ surface as maximized.</doc>
|
||||
<doc xml:space="preserve">a #GdkToplevelLayout</doc>
|
||||
<type name="ToplevelLayout" c:type="GdkToplevelLayout*"/>
|
||||
</instance-parameter>
|
||||
<parameter name="maximize" transfer-ownership="none">
|
||||
<type name="gboolean" c:type="gboolean*"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="get_resizable" c:identifier="gdk_toplevel_layout_get_resizable">
|
||||
@@ -19790,6 +19813,7 @@ any of the per-edge states being set.</doc>
|
||||
</member>
|
||||
</bitfield>
|
||||
<class name="TouchEvent" c:symbol-prefix="touch_event" c:type="GdkTouchEvent" parent="Event" glib:type-name="GdkTouchEvent" glib:get-type="gdk_touch_event_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">An event related to a touch-based device.</doc>
|
||||
<method name="get_emulating_pointer" c:identifier="gdk_touch_event_get_emulating_pointer">
|
||||
<doc xml:space="preserve">Extracts whether a touch event is emulating a pointer event.</doc>
|
||||
|
||||
@@ -19806,6 +19830,7 @@ any of the per-edge states being set.</doc>
|
||||
</method>
|
||||
</class>
|
||||
<class name="TouchpadEvent" c:symbol-prefix="touchpad_event" c:type="GdkTouchpadEvent" parent="Event" glib:type-name="GdkTouchpadEvent" glib:get-type="gdk_touchpad_event_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">An event related to a touchpad device.</doc>
|
||||
<method name="get_deltas" c:identifier="gdk_touchpad_event_get_deltas">
|
||||
<doc xml:space="preserve">Extracts delta information from a touchpad event.</doc>
|
||||
|
||||
|
||||
@@ -185,31 +185,6 @@ using GDK_XID_TO_POINTER().</doc>
|
||||
</enumeration>
|
||||
<class name="X11DeviceXI2" c:symbol-prefix="x11_device_xi2" c:type="GdkX11DeviceXI2" parent="Gdk.Device" glib:type-name="GdkX11DeviceXI2" glib:get-type="gdk_x11_device_xi2_get_type" glib:type-struct="X11DeviceXI2Class">
|
||||
|
||||
<method name="get_device_type" c:identifier="gdk_x11_device_xi2_get_device_type">
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="X11DeviceType" c:type="GdkX11DeviceType"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<instance-parameter name="device" transfer-ownership="none">
|
||||
<type name="X11DeviceXI2" c:type="GdkX11DeviceXI2*"/>
|
||||
</instance-parameter>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="set_device_type" c:identifier="gdk_x11_device_xi2_set_device_type">
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<instance-parameter name="device" transfer-ownership="none">
|
||||
<type name="X11DeviceXI2" c:type="GdkX11DeviceXI2*"/>
|
||||
</instance-parameter>
|
||||
<parameter name="type" transfer-ownership="none">
|
||||
<type name="X11DeviceType" c:type="GdkX11DeviceType"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</method>
|
||||
<property name="device-id" writable="1" construct-only="1" transfer-ownership="none">
|
||||
<type name="gint" c:type="gint"/>
|
||||
</property>
|
||||
|
||||
@@ -575,6 +575,7 @@ the area given by @bounds.</doc>
|
||||
</field>
|
||||
</record>
|
||||
<class name="ConicGradientNode" c:symbol-prefix="conic_gradient_node" c:type="GskConicGradientNode" parent="RenderNode" glib:type-name="GskConicGradientNode" glib:get-type="gsk_conic_gradient_node_get_type" glib:fundamental="1">
|
||||
<doc xml:space="preserve">A render node for a conic gradient.</doc>
|
||||
<constructor name="new" c:identifier="gsk_conic_gradient_node_new">
|
||||
<doc xml:space="preserve">Creates a #GskRenderNode that draws a conic gradient. The conic gradient
|
||||
starts around @center in the direction of @rotation. A rotation of 0 means
|
||||
|
||||
135
Gtk-4.0.gir
135
Gtk-4.0.gir
@@ -5544,7 +5544,7 @@ See gtk_assistant_commit() for details.</doc>
|
||||
add its own buttons through gtk_assistant_add_action_widget().</doc>
|
||||
</member>
|
||||
</enumeration>
|
||||
<constant name="BINARY_AGE" value="9905" c:type="GTK_BINARY_AGE">
|
||||
<constant name="BINARY_AGE" value="0" c:type="GTK_BINARY_AGE">
|
||||
<doc xml:space="preserve">Like gtk_get_binary_age(), but from the headers used at
|
||||
application compile time, rather than from the library linked
|
||||
against at application run time.</doc>
|
||||
@@ -15269,23 +15269,29 @@ the appropriate edit and focus rectangle.</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="get_is_expanded" c:identifier="gtk_cell_renderer_get_is_expanded">
|
||||
<doc xml:space="preserve">Checks whether the given #GtkCellRenderer is expanded.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the cell renderer is expanded</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<instance-parameter name="cell" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkCellRenderer</doc>
|
||||
<type name="CellRenderer" c:type="GtkCellRenderer*"/>
|
||||
</instance-parameter>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="get_is_expander" c:identifier="gtk_cell_renderer_get_is_expander">
|
||||
<doc xml:space="preserve">Checks whether the given #GtkCellRenderer is an expander.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if @cell is an expander, and %FALSE otherwise</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<instance-parameter name="cell" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkCellRenderer</doc>
|
||||
<type name="CellRenderer" c:type="GtkCellRenderer*"/>
|
||||
</instance-parameter>
|
||||
</parameters>
|
||||
@@ -15571,29 +15577,35 @@ the given #GtkCellRendererState.</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="set_is_expanded" c:identifier="gtk_cell_renderer_set_is_expanded">
|
||||
<doc xml:space="preserve">Sets whether the given #GtkCellRenderer is expanded.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<instance-parameter name="cell" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkCellRenderer</doc>
|
||||
<type name="CellRenderer" c:type="GtkCellRenderer*"/>
|
||||
</instance-parameter>
|
||||
<parameter name="is_expander" transfer-ownership="none">
|
||||
<parameter name="is_expanded" transfer-ownership="none">
|
||||
<doc xml:space="preserve">whether @cell should be expanded</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="set_is_expander" c:identifier="gtk_cell_renderer_set_is_expander">
|
||||
<doc xml:space="preserve">Sets whether the given #GtkCellRenderer is an expander.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<instance-parameter name="cell" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkCellRenderer</doc>
|
||||
<type name="CellRenderer" c:type="GtkCellRenderer*"/>
|
||||
</instance-parameter>
|
||||
<parameter name="is_expander" transfer-ownership="none">
|
||||
<doc xml:space="preserve">whether @cell is an expander</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
@@ -21670,8 +21682,6 @@ bars are placed.</doc>
|
||||
widget.</doc>
|
||||
</member>
|
||||
</enumeration>
|
||||
<glib:boxed glib:name="CrossingData" c:symbol-prefix="crossing_data" glib:type-name="GtkCrossingData" glib:get-type="gtk_crossing_data_get_type">
|
||||
</glib:boxed>
|
||||
<record name="CssLocation" c:type="GtkCssLocation">
|
||||
<doc xml:space="preserve">@GtkCssLocation is used to present a location in a file - or other
|
||||
source of data parsed by the CSS engine.
|
||||
@@ -26712,6 +26722,8 @@ Emoji is selected.
|
||||
# CSS nodes
|
||||
|[<!-- language="plain" -->
|
||||
popover
|
||||
├── box.emoji-searchbar
|
||||
│ ╰── entry.search
|
||||
╰── box.emoji-toolbar
|
||||
├── button.image-button.emoji-section
|
||||
├── ...
|
||||
@@ -26721,6 +26733,8 @@ popover
|
||||
Every #GtkEmojiChooser consists of a main node called popover.
|
||||
The contents of the popover are largely implementation defined
|
||||
and supposed to inherit general styles.
|
||||
The top searchbar used to search emoji and gets the .emoji-searchbar
|
||||
style class itself.
|
||||
The bottom toolbar used to switch between different emoji categories
|
||||
consists of buttons with the .emoji-section style class and gets the
|
||||
.emoji-toolbar style class itself.</doc>
|
||||
@@ -28197,6 +28211,9 @@ Also see gtk_entry_set_icon_tooltip_text().</doc>
|
||||
<type name="Widget" c:type="GtkWidget"/>
|
||||
</field>
|
||||
<glib:signal name="activate" when="last" action="1">
|
||||
<doc xml:space="preserve">The ::activate signal is forwarded from the
|
||||
#GtkText::activated signal, which is a keybinding
|
||||
signal for all forms of the Enter key.</doc>
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -29688,6 +29705,7 @@ the events can be managed by calling gtk_event_controller_handle_event().</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
<property name="name" writable="1" transfer-ownership="none">
|
||||
<doc xml:space="preserve">The name for this controller, typically used for debugging purposes.</doc>
|
||||
<type name="utf8" c:type="gchar*"/>
|
||||
</property>
|
||||
<property name="propagation-limit" writable="1" transfer-ownership="none">
|
||||
@@ -30671,6 +30689,7 @@ widget containing the expander upon expanding and collapsing.</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</property>
|
||||
<glib:signal name="activate" when="last" action="1">
|
||||
<doc xml:space="preserve">Activates the #GtkExpander.</doc>
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -37942,7 +37961,8 @@ and pointer emulated events.</doc>
|
||||
</record>
|
||||
<class name="GestureStylus" c:symbol-prefix="gesture_stylus" c:type="GtkGestureStylus" parent="GestureSingle" glib:type-name="GtkGestureStylus" glib:get-type="gtk_gesture_stylus_get_type" glib:type-struct="GestureStylusClass">
|
||||
<doc xml:space="preserve">#GtkGestureStylus is a #GtkGesture implementation specific to stylus
|
||||
input. The provided signals just provide the basic information</doc>
|
||||
input. The provided signals just relay the basic information of the
|
||||
stylus events.</doc>
|
||||
|
||||
<constructor name="new" c:identifier="gtk_gesture_stylus_new">
|
||||
<doc xml:space="preserve">Creates a new #GtkGestureStylus.</doc>
|
||||
@@ -37959,7 +37979,7 @@ must be called from either the #GtkGestureStylus::down,
|
||||
signals.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">#TRUE if there is a current value for the axes</doc>
|
||||
<doc xml:space="preserve">%TRUE if there is a current value for the axes</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
@@ -37982,13 +38002,14 @@ signals.</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="get_axis" c:identifier="gtk_gesture_stylus_get_axis">
|
||||
<doc xml:space="preserve">Returns the current value for the requested @axis. This function
|
||||
must be called from either the #GtkGestureStylus::down,
|
||||
#GtkGestureStylus::motion, #GtkGestureStylus::up or #GtkGestureStylus::proximity
|
||||
signals.</doc>
|
||||
<doc xml:space="preserve">Returns the current value for the requested @axis.
|
||||
|
||||
This function must be called from the handler of one of the
|
||||
#GtkGestureStylus::down, #GtkGestureStylus::motion,
|
||||
#GtkGestureStylus::up or #GtkGestureStylus::proximity signals.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">#TRUE if there is a current value for the axis</doc>
|
||||
<doc xml:space="preserve">%TRUE if there is a current value for the axis</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
@@ -38017,10 +38038,10 @@ signal handler, the state given in this signal and obtainable through
|
||||
gtk_gesture_stylus_get_axis() call express the latest (most up-to-date)
|
||||
state in motion history.
|
||||
|
||||
@backlog is provided in chronological order.</doc>
|
||||
The @backlog is provided in chronological order.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">#TRUE if there is a backlog to unfold in the current state.</doc>
|
||||
<doc xml:space="preserve">%TRUE if there is a backlog to unfold in the current state.</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
@@ -38058,53 +38079,65 @@ signal handlers.</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
<glib:signal name="down" when="last">
|
||||
<doc xml:space="preserve">A signal emitted when the stylus touches the device.</doc>
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<parameter name="object" transfer-ownership="none">
|
||||
<parameter name="x" transfer-ownership="none">
|
||||
<doc xml:space="preserve">the X coordinate of the stylus event</doc>
|
||||
<type name="gdouble" c:type="gdouble"/>
|
||||
</parameter>
|
||||
<parameter name="p0" transfer-ownership="none">
|
||||
<parameter name="y" transfer-ownership="none">
|
||||
<doc xml:space="preserve">the Y coordinate of the stylus event</doc>
|
||||
<type name="gdouble" c:type="gdouble"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</glib:signal>
|
||||
<glib:signal name="motion" when="last">
|
||||
<doc xml:space="preserve">A signal emitted when the stylus moves while touching the device.</doc>
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<parameter name="object" transfer-ownership="none">
|
||||
<parameter name="x" transfer-ownership="none">
|
||||
<doc xml:space="preserve">the X coordinate of the stylus event</doc>
|
||||
<type name="gdouble" c:type="gdouble"/>
|
||||
</parameter>
|
||||
<parameter name="p0" transfer-ownership="none">
|
||||
<parameter name="y" transfer-ownership="none">
|
||||
<doc xml:space="preserve">the Y coordinate of the stylus event</doc>
|
||||
<type name="gdouble" c:type="gdouble"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</glib:signal>
|
||||
<glib:signal name="proximity" when="last">
|
||||
<doc xml:space="preserve">A signal emitted when the stylus is in proximity of the device.</doc>
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<parameter name="object" transfer-ownership="none">
|
||||
<parameter name="x" transfer-ownership="none">
|
||||
<doc xml:space="preserve">the X coordinate of the stylus event</doc>
|
||||
<type name="gdouble" c:type="gdouble"/>
|
||||
</parameter>
|
||||
<parameter name="p0" transfer-ownership="none">
|
||||
<parameter name="y" transfer-ownership="none">
|
||||
<doc xml:space="preserve">the Y coordinate of the stylus event</doc>
|
||||
<type name="gdouble" c:type="gdouble"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</glib:signal>
|
||||
<glib:signal name="up" when="last">
|
||||
<doc xml:space="preserve">A signal emitted when the stylus no longer touches the device.</doc>
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<parameter name="object" transfer-ownership="none">
|
||||
<parameter name="x" transfer-ownership="none">
|
||||
<doc xml:space="preserve">the X coordinate of the stylus event</doc>
|
||||
<type name="gdouble" c:type="gdouble"/>
|
||||
</parameter>
|
||||
<parameter name="p0" transfer-ownership="none">
|
||||
<parameter name="y" transfer-ownership="none">
|
||||
<doc xml:space="preserve">the Y coordinate of the stylus event</doc>
|
||||
<type name="gdouble" c:type="gdouble"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
@@ -51506,7 +51539,7 @@ with the #GtkLockButton:text-lock, #GtkLockButton:text-unlock,
|
||||
<type name="utf8" c:type="gchar*"/>
|
||||
</property>
|
||||
</class>
|
||||
<constant name="MAJOR_VERSION" value="3" c:type="GTK_MAJOR_VERSION">
|
||||
<constant name="MAJOR_VERSION" value="4" c:type="GTK_MAJOR_VERSION">
|
||||
<doc xml:space="preserve">Like gtk_get_major_version(), but from the headers used at
|
||||
application compile time, rather than from the library linked
|
||||
against at application run time.</doc>
|
||||
@@ -51536,14 +51569,14 @@ against at application run time.</doc>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<constant name="MICRO_VERSION" value="5" c:type="GTK_MICRO_VERSION">
|
||||
<constant name="MICRO_VERSION" value="0" c:type="GTK_MICRO_VERSION">
|
||||
<doc xml:space="preserve">Like gtk_get_micro_version(), but from the headers used at
|
||||
application compile time, rather than from the library linked
|
||||
against at application run time.</doc>
|
||||
|
||||
<type name="gint" c:type="gint"/>
|
||||
</constant>
|
||||
<constant name="MINOR_VERSION" value="99" c:type="GTK_MINOR_VERSION">
|
||||
<constant name="MINOR_VERSION" value="0" c:type="GTK_MINOR_VERSION">
|
||||
<doc xml:space="preserve">Like gtk_get_minor_version(), but from the headers used at
|
||||
application compile time, rather than from the library linked
|
||||
against at application run time.</doc>
|
||||
@@ -54405,23 +54438,27 @@ from @self's surface coordinates into @self's widget coordinates.</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="realize" c:identifier="gtk_native_realize">
|
||||
<doc xml:space="preserve">Realizes a #GtkNative.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<instance-parameter name="self" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkNative</doc>
|
||||
<type name="Native" c:type="GtkNative*"/>
|
||||
</instance-parameter>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="unrealize" c:identifier="gtk_native_unrealize">
|
||||
<doc xml:space="preserve">Unrealizes a #GtkNative.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<instance-parameter name="self" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkNative</doc>
|
||||
<type name="Native" c:type="GtkNative*"/>
|
||||
</instance-parameter>
|
||||
</parameters>
|
||||
@@ -54705,8 +54742,9 @@ the dialog this signal will not be emitted.</doc>
|
||||
</glib:signal>
|
||||
</class>
|
||||
<record name="NativeDialogClass" c:type="GtkNativeDialogClass" glib:is-gtype-struct-for="NativeDialog">
|
||||
<doc xml:space="preserve">Class structure for #GtkNativeDialog.</doc>
|
||||
|
||||
<field name="parent_class">
|
||||
<field name="parent_class" readable="0" private="1">
|
||||
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
|
||||
</field>
|
||||
<field name="response">
|
||||
@@ -56079,6 +56117,9 @@ right after a page has been reordered.</doc>
|
||||
</glib:signal>
|
||||
</class>
|
||||
<class name="NotebookPage" c:symbol-prefix="notebook_page" c:type="GtkNotebookPage" parent="GObject.Object" glib:type-name="GtkNotebookPage" glib:get-type="gtk_notebook_page_get_type">
|
||||
<doc xml:space="preserve">A page in the #GtkNotebook.
|
||||
|
||||
The `GtkNotebookPage` structure only contains private data.</doc>
|
||||
<method name="get_child" c:identifier="gtk_notebook_page_get_child">
|
||||
<doc xml:space="preserve">Returns the notebook child to which @page belongs.</doc>
|
||||
|
||||
@@ -56125,9 +56166,12 @@ right after a page has been reordered.</doc>
|
||||
</property>
|
||||
</class>
|
||||
<enumeration name="NotebookTab" glib:type-name="GtkNotebookTab" glib:get-type="gtk_notebook_tab_get_type" c:type="GtkNotebookTab">
|
||||
<doc xml:space="preserve">The parameter used in the action signals of #GtkNotebook.</doc>
|
||||
<member name="first" value="0" c:identifier="GTK_NOTEBOOK_TAB_FIRST" glib:nick="first">
|
||||
<doc xml:space="preserve">the first tab in the notebook</doc>
|
||||
</member>
|
||||
<member name="last" value="1" c:identifier="GTK_NOTEBOOK_TAB_LAST" glib:nick="last">
|
||||
<doc xml:space="preserve">the last tab in the notebook</doc>
|
||||
</member>
|
||||
</enumeration>
|
||||
<class name="NothingAction" c:symbol-prefix="nothing_action" c:type="GtkNothingAction" parent="ShortcutAction" glib:type-name="GtkNothingAction" glib:get-type="gtk_nothing_action_get_type" glib:type-struct="NothingActionClass">
|
||||
@@ -59690,12 +59734,14 @@ the popover without a transition, use gtk_widget_show().</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="present" c:identifier="gtk_popover_present">
|
||||
<doc xml:space="preserve">Presents the popover to the user.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<instance-parameter name="popover" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkPopover</doc>
|
||||
<type name="Popover" c:type="GtkPopover*"/>
|
||||
</instance-parameter>
|
||||
</parameters>
|
||||
@@ -69013,6 +69059,9 @@ will reveal the entry in addition to triggering the search entry.</doc>
|
||||
<type name="utf8" c:type="gchar*"/>
|
||||
</property>
|
||||
<glib:signal name="activate" when="last" action="1">
|
||||
<doc xml:space="preserve">The ::activate signal is forwarded from the
|
||||
#GtkText::activated signal, which is a keybinding
|
||||
signal for all forms of the Enter key.</doc>
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -81256,15 +81305,21 @@ previous operation or set of operations that have been grouped together.</doc>
|
||||
|
||||
</record>
|
||||
<callback name="TextCharPredicate" c:type="GtkTextCharPredicate">
|
||||
<doc xml:space="preserve">The predicate function used by gtk_text_iter_forward_find_char() and
|
||||
gtk_text_iter_backward_find_char().</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the predicate is satisfied, and the iteration should
|
||||
stop, and %FALSE otherwise</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<parameter name="ch" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a Unicode code point</doc>
|
||||
<type name="gunichar" c:type="gunichar"/>
|
||||
</parameter>
|
||||
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="1">
|
||||
<doc xml:space="preserve">data passed to the callback</doc>
|
||||
<type name="gpointer" c:type="gpointer"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
@@ -96715,6 +96770,7 @@ clickable. Set to -1 to make the column unsortable.</doc>
|
||||
<type name="gint" c:type="gint"/>
|
||||
</property>
|
||||
<glib:signal name="clicked" when="last">
|
||||
<doc xml:space="preserve">Emitted when the column's header has been clicked.</doc>
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -97565,7 +97621,7 @@ custom `<layout>` element, used to define layout properties:
|
||||
<property name="column">0</property>
|
||||
<property name="row">0</property>
|
||||
<property name="row-span">1</property>
|
||||
<property name="col-span">1</property>
|
||||
<property name="column-span">1</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
@@ -97575,7 +97631,7 @@ custom `<layout>` element, used to define layout properties:
|
||||
<property name="column">1</property>
|
||||
<property name="row">0</property>
|
||||
<property name="row-span">1</property>
|
||||
<property name="col-span">1</property>
|
||||
<property name="column-span">1</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
@@ -101970,11 +102026,13 @@ is %FALSE, or just makes @widget grab focus if @group_cycling is %TRUE.</doc>
|
||||
</parameters>
|
||||
</glib:signal>
|
||||
<glib:signal name="move-focus" when="last" action="1">
|
||||
<doc xml:space="preserve">Emitted when the focus is moved.</doc>
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<parameter name="direction" transfer-ownership="none">
|
||||
<doc xml:space="preserve">the direction of the focus move</doc>
|
||||
<type name="DirectionType"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
@@ -103464,7 +103522,7 @@ unfullscreen it again, and not all window managers honor requests to fullscreen
|
||||
windows.
|
||||
|
||||
You can track the result of this operation via the #GdkToplevel:state property,
|
||||
or by listening to notifications of the #GtkWindow:fullscreen property.</doc>
|
||||
or by listening to notifications of the #GtkWindow:fullscreened property.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
@@ -103484,7 +103542,7 @@ afterward, or that the windowing system allows fullscreen windows on
|
||||
any given monitor.
|
||||
|
||||
You can track the result of this operation via the #GdkToplevel:state
|
||||
property, or by listening to notifications of the #GtkWindow:fullscreen
|
||||
property, or by listening to notifications of the #GtkWindow:fullscreened
|
||||
property.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
@@ -104418,7 +104476,7 @@ windows; normally the window will end up restored to its normal state. Just don&
|
||||
write code that crashes if not.
|
||||
|
||||
You can track the result of this operation via the #GdkToplevel:state property,
|
||||
or by listening to notifications of the #GtkWindow:fullscreen property.</doc>
|
||||
or by listening to notifications of the #GtkWindow:fullscreened property.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
@@ -106904,57 +106962,74 @@ a specific value.</doc>
|
||||
</parameters>
|
||||
</function>
|
||||
<function name="test_accessible_has_property" c:identifier="gtk_test_accessible_has_property">
|
||||
<doc xml:space="preserve">Checks whether the #GtkAccessible has @property set.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the @property is set in the @accessible</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<parameter name="accessible" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkAccessible</doc>
|
||||
<type name="Accessible" c:type="GtkAccessible*"/>
|
||||
</parameter>
|
||||
<parameter name="property" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkAccessibleProperty</doc>
|
||||
<type name="AccessibleProperty" c:type="GtkAccessibleProperty"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function>
|
||||
<function name="test_accessible_has_relation" c:identifier="gtk_test_accessible_has_relation">
|
||||
<doc xml:space="preserve">Checks whether the #GtkAccessible has @relation set.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the @relation is set in the @accessible</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<parameter name="accessible" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkAccessible</doc>
|
||||
<type name="Accessible" c:type="GtkAccessible*"/>
|
||||
</parameter>
|
||||
<parameter name="relation" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkAccessibleRelation</doc>
|
||||
<type name="AccessibleRelation" c:type="GtkAccessibleRelation"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function>
|
||||
<function name="test_accessible_has_role" c:identifier="gtk_test_accessible_has_role">
|
||||
<doc xml:space="preserve">Checks whether the #GtkAccessible:accessible-role of the accessible
|
||||
is @role.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the role matches</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<parameter name="accessible" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkAccessible</doc>
|
||||
<type name="Accessible" c:type="GtkAccessible*"/>
|
||||
</parameter>
|
||||
<parameter name="role" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkAccessibleRole</doc>
|
||||
<type name="AccessibleRole" c:type="GtkAccessibleRole"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function>
|
||||
<function name="test_accessible_has_state" c:identifier="gtk_test_accessible_has_state">
|
||||
<doc xml:space="preserve">Checks whether the #GtkAccessible has @state set.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the @state is set in the @accessible</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
<parameter name="accessible" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkAccessible</doc>
|
||||
<type name="Accessible" c:type="GtkAccessible*"/>
|
||||
</parameter>
|
||||
<parameter name="state" transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #GtkAccessibleState</doc>
|
||||
<type name="AccessibleState" c:type="GtkAccessibleState"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
|
||||
Reference in New Issue
Block a user