Class WindowHandle

All Implemented Interfaces:
PointerInterface

public class WindowHandle extends Widget
`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.

# CSS nodes

`GtkWindowHandle` has a single CSS node with the name `windowhandle`.

# Accessibility

`GtkWindowHandle` uses the %GTK_ACCESSIBLE_ROLE_GROUP role.

https://docs.gtk.org/gtk4/class.WindowHandle.html

  • Constructor Details

    • WindowHandle

      public WindowHandle(PointerContainer pointer)
    • WindowHandle

      public WindowHandle()
      Creates a new `GtkWindowHandle`.
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getChild

      public Widget getChild()
      Gets the child widget of @self.
      Returns:
      the child widget of @self
    • setChild

      public void setChild(@Nullable Widget child)
      Sets the child widget of @self.
      Parameters:
      child - the child widget
    • asAccessible

      public Accessible asAccessible()
      Implements interface Accessible. Call this to get access to interface functions.
      Overrides:
      asAccessible in class Widget
      Returns:
      Accessible
    • asBuildable

      public Buildable asBuildable()
      Implements interface Buildable. Call this to get access to interface functions.
      Overrides:
      asBuildable in class Widget
      Returns:
      Buildable
    • asConstraintTarget

      public ConstraintTarget asConstraintTarget()
      Implements interface ConstraintTarget. Call this to get access to interface functions.
      Overrides:
      asConstraintTarget in class Widget
      Returns:
      ConstraintTarget
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()