|
|
|
|
@@ -7,7 +7,7 @@ and/or use gtk-doc annotations. -->
|
|
|
|
|
<include name="Gsk" version="4.0"/>
|
|
|
|
|
<package name="gtk4"/>
|
|
|
|
|
<c:include name="gtk/gtk.h"/>
|
|
|
|
|
<namespace name="Gtk" version="4.0" shared-library="libgtk-4.so.0" c:identifier-prefixes="Gtk" c:symbol-prefixes="gtk">
|
|
|
|
|
<namespace name="Gtk" version="4.0" shared-library="libgtk-4.so.1" c:identifier-prefixes="Gtk" c:symbol-prefixes="gtk">
|
|
|
|
|
<alias name="Allocation" c:type="GtkAllocation">
|
|
|
|
|
<doc xml:space="preserve">A #GtkAllocation-struct of a widget represents region
|
|
|
|
|
which has been allocated to the widget by its parent. It is a subregion
|
|
|
|
|
@@ -103456,15 +103456,15 @@ titlebars.</doc>
|
|
|
|
|
</parameters>
|
|
|
|
|
</method>
|
|
|
|
|
<method name="fullscreen" c:identifier="gtk_window_fullscreen">
|
|
|
|
|
<doc xml:space="preserve">Asks to place @window in the fullscreen state. Note that you
|
|
|
|
|
shouldn’t assume the window is definitely full screen afterward,
|
|
|
|
|
because other entities (e.g. the user or
|
|
|
|
|
[window manager][gtk-X11-arch]) could unfullscreen it
|
|
|
|
|
again, and not all window managers honor requests to fullscreen
|
|
|
|
|
windows. But normally the window will end up fullscreen. Just
|
|
|
|
|
don’t write code that crashes if not.
|
|
|
|
|
<doc xml:space="preserve">Asks to place @window in the fullscreen state.
|
|
|
|
|
|
|
|
|
|
You can track iconification via the #GdkToplevel:state property</doc>
|
|
|
|
|
Note that you shouldn’t assume the window is definitely full screen afterward,
|
|
|
|
|
because other entities (e.g. the user or [window manager][gtk-X11-arch]) could
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
|
|
<return-value transfer-ownership="none">
|
|
|
|
|
<type name="none" c:type="void"/>
|
|
|
|
|
@@ -103477,10 +103477,15 @@ You can track iconification via the #GdkToplevel:state property</doc>
|
|
|
|
|
</parameters>
|
|
|
|
|
</method>
|
|
|
|
|
<method name="fullscreen_on_monitor" c:identifier="gtk_window_fullscreen_on_monitor">
|
|
|
|
|
<doc xml:space="preserve">Asks to place @window in the fullscreen state. Note that you shouldn't assume
|
|
|
|
|
the window is definitely full screen afterward.
|
|
|
|
|
<doc xml:space="preserve">Asks to place @window in the fullscreen state on the given @monitor.
|
|
|
|
|
|
|
|
|
|
You can track iconification via the #GdkToplevel:state property</doc>
|
|
|
|
|
Note that you shouldn't assume the window is definitely full screen
|
|
|
|
|
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.</doc>
|
|
|
|
|
|
|
|
|
|
<return-value transfer-ownership="none">
|
|
|
|
|
<type name="none" c:type="void"/>
|
|
|
|
|
@@ -103860,17 +103865,14 @@ initial requested state is maximized.</doc>
|
|
|
|
|
</parameters>
|
|
|
|
|
</method>
|
|
|
|
|
<method name="maximize" c:identifier="gtk_window_maximize">
|
|
|
|
|
<doc xml:space="preserve">Asks to maximize @window, so that it becomes full-screen. Note that
|
|
|
|
|
you shouldn’t assume the window is definitely maximized afterward,
|
|
|
|
|
because other entities (e.g. the user or
|
|
|
|
|
[window manager][gtk-X11-arch]) could unmaximize it
|
|
|
|
|
again, and not all window managers support maximization. But
|
|
|
|
|
normally the window will end up maximized. Just don’t write code
|
|
|
|
|
that crashes if not.
|
|
|
|
|
<doc xml:space="preserve">Asks to maximize @window, so that it fills the screen.
|
|
|
|
|
|
|
|
|
|
It’s permitted to call this function before showing a window,
|
|
|
|
|
in which case the window will be maximized when it appears onscreen
|
|
|
|
|
initially.
|
|
|
|
|
Note that you shouldn’t assume the window is definitely maximized afterward,
|
|
|
|
|
because other entities (e.g. the user or [window manager][gtk-X11-arch])
|
|
|
|
|
could unmaximize it again, and not all window managers support maximization.
|
|
|
|
|
|
|
|
|
|
It’s permitted to call this function before showing a window, in which case
|
|
|
|
|
the window will be maximized when it appears onscreen initially.
|
|
|
|
|
|
|
|
|
|
You can track the result of this operation via the #GdkToplevel:state
|
|
|
|
|
property, or by listening to notifications on the #GtkWindow:maximized
|
|
|
|
|
@@ -104280,8 +104282,9 @@ will then disallow lowering the dialog below the parent.</doc>
|
|
|
|
|
</parameters>
|
|
|
|
|
</method>
|
|
|
|
|
<method name="set_resizable" c:identifier="gtk_window_set_resizable">
|
|
|
|
|
<doc xml:space="preserve">Sets whether the user can resize a window. Windows are user resizable
|
|
|
|
|
by default.</doc>
|
|
|
|
|
<doc xml:space="preserve">Sets whether the user can resize a window.
|
|
|
|
|
|
|
|
|
|
Windows are user resizable by default.</doc>
|
|
|
|
|
|
|
|
|
|
<return-value transfer-ownership="none">
|
|
|
|
|
<type name="none" c:type="void"/>
|
|
|
|
|
@@ -104405,15 +104408,17 @@ much as the window manager would have done on X.</doc>
|
|
|
|
|
</parameters>
|
|
|
|
|
</method>
|
|
|
|
|
<method name="unfullscreen" c:identifier="gtk_window_unfullscreen">
|
|
|
|
|
<doc xml:space="preserve">Asks to toggle off the fullscreen state for @window. Note that you
|
|
|
|
|
shouldn’t assume the window is definitely not full screen
|
|
|
|
|
afterward, because other entities (e.g. the user or
|
|
|
|
|
[window manager][gtk-X11-arch]) could fullscreen it
|
|
|
|
|
again, and not all window managers honor requests to unfullscreen
|
|
|
|
|
windows. But normally the window will end up restored to its normal
|
|
|
|
|
state. Just don’t write code that crashes if not.
|
|
|
|
|
<doc xml:space="preserve">Asks to remove the fullscreen state for @window, and return to its previous
|
|
|
|
|
state.
|
|
|
|
|
|
|
|
|
|
You can track iconification via the #GdkToplevel:state property</doc>
|
|
|
|
|
Note that you shouldn’t assume the window is definitely not full screen afterward,
|
|
|
|
|
because other entities (e.g. the user or [window manager][gtk-X11-arch]) could
|
|
|
|
|
fullscreen it again, and not all window managers honor requests to unfullscreen
|
|
|
|
|
windows; normally the window will end up restored to its normal state. Just don’t
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
|
|
<return-value transfer-ownership="none">
|
|
|
|
|
<type name="none" c:type="void"/>
|
|
|
|
|
@@ -104426,12 +104431,11 @@ You can track iconification via the #GdkToplevel:state property</doc>
|
|
|
|
|
</parameters>
|
|
|
|
|
</method>
|
|
|
|
|
<method name="unmaximize" c:identifier="gtk_window_unmaximize">
|
|
|
|
|
<doc xml:space="preserve">Asks to unmaximize @window. Note that you shouldn’t assume the
|
|
|
|
|
window is definitely unmaximized afterward, because other entities
|
|
|
|
|
(e.g. the user or [window manager][gtk-X11-arch])
|
|
|
|
|
could maximize it again, and not all window
|
|
|
|
|
managers honor requests to unmaximize. But normally the window will
|
|
|
|
|
end up unmaximized. Just don’t write code that crashes if not.
|
|
|
|
|
<doc xml:space="preserve">Asks to unmaximize @window.
|
|
|
|
|
|
|
|
|
|
Note that you shouldn’t assume the window is definitely unmaximized afterward,
|
|
|
|
|
because other entities (e.g. the user or [window manager][gtk-X11-arch]) could
|
|
|
|
|
maximize it again, and not all window managers honor requests to unmaximize.
|
|
|
|
|
|
|
|
|
|
You can track the result of this operation via the #GdkToplevel:state
|
|
|
|
|
property, or by listening to notifications on the #GtkWindow:maximized
|
|
|
|
|
@@ -104517,7 +104521,13 @@ and should not be set by applications.</doc>
|
|
|
|
|
<property name="focus-widget" writable="1" transfer-ownership="none">
|
|
|
|
|
<type name="Widget"/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="fullscreen" writable="1" construct="1" transfer-ownership="none">
|
|
|
|
|
<property name="fullscreened" writable="1" construct="1" transfer-ownership="none">
|
|
|
|
|
<doc xml:space="preserve">Whether the window is fullscreen.
|
|
|
|
|
|
|
|
|
|
Setting this property is the equivalent of calling gtk_window_fullscreen()
|
|
|
|
|
and gtk_window_unfullscreen(); either operation is asynchronous, which
|
|
|
|
|
means you will need to connect to the #GObject::notify signal in order to
|
|
|
|
|
know whether the operation was successful.</doc>
|
|
|
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="hide-on-close" writable="1" transfer-ownership="none">
|
|
|
|
|
@@ -104532,6 +104542,12 @@ use as the window icon. See #GtkIconTheme for more details.</doc>
|
|
|
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximized" writable="1" construct="1" transfer-ownership="none">
|
|
|
|
|
<doc xml:space="preserve">Whether the window is maximized.
|
|
|
|
|
|
|
|
|
|
Setting this property is the equivalent of calling gtk_window_maximize()
|
|
|
|
|
and gtk_window_unmaximize(); either operation is asynchronous, which
|
|
|
|
|
means you will need to connect to the #GObject::notify signal in order to
|
|
|
|
|
know whether the operation was successful.</doc>
|
|
|
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="mnemonics-visible" writable="1" transfer-ownership="none">
|
|
|
|
|
|