GtkWindowHandle — A titlebar area widget
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkWindowHandle
GtkWindowHandle implements GtkAccessible, GtkBuildable and GtkConstraintTarget.
#include <gtk/gtk.h>
GtkWindowHandle is a titlebar area widget. When added into a window, it can be dragged to move the window, and handles right click, double click and middle click as expected of a titlebar.
GtkWindowHandle has a single CSS node with the name windowhandle.
GtkWindowHandle uses the GTK_ACCESSIBLE_ROLE_GROUP role.
GtkWidget *
gtk_window_handle_new (void); Creates a new GtkWindowHandle.
a new GtkWindowHandle.
GtkWidget *
gtk_window_handle_get_child (GtkWindowHandle *self); Gets the child widget of self .
self |
the child widget of self .
[nullable][transfer none]
void gtk_window_handle_set_child (GtkWindowHandle *self,GtkWidget *child);
Sets the child widget of self .
self | ||
child | the child widget. | [allow-none] |
typedef struct _GtkWindowHandle GtkWindowHandle;
“child” property“child” GtkWidget *
The child widget.
Owner: GtkWindowHandle
Flags: Read / Write
© 2005–2020 The GNOME Project
Licensed under the GNU Lesser General Public License version 2.1 or later.
https://developer.gnome.org/gtk4/4.0/GtkWindowHandle.html