class Gdk::ToplevelLayout

Overview

The Gdk::ToplevelLayout struct contains information that is necessary to present a sovereign window on screen.

The Gdk::ToplevelLayout struct is necessary for using Gdk::Toplevel#present.

Toplevel surfaces are sovereign windows that can be presented to the user in various states (maximized, on all workspaces, etc).

Defined in:

lib/gi-crystal/src/auto/gdk-4.0/toplevel_layout.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def copy : Gdk::ToplevelLayout #

def equal(other : Gdk::ToplevelLayout) : Bool #

def finalize #

def fullscreen(fullscreen : Bool) : Bool #

def fullscreen_monitor : Gdk::Monitor? #

def maximized(maximized : Bool) : Bool #

def maximized=(maximized : Bool) : Nil #


def resizable : Bool #

def resizable=(resizable : Bool) : Nil #

def set_fullscreen(fullscreen : Bool, monitor : Gdk::Monitor?) : Nil #

def to_unsafe : Pointer(Void) #

def unref : Nil #