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) #

[View source]

Class Method Detail

def self.g_type : UInt64 #

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


[View source]

Instance Method Detail

def copy : Gdk::ToplevelLayout #

[View source]
def equal(other : Gdk::ToplevelLayout) : Bool #

[View source]
def finalize #

[View source]
def fullscreen(fullscreen : Bool) : Bool #

[View source]
def fullscreen_monitor : Gdk::Monitor | Nil #

[View source]
def maximized(maximized : Bool) : Bool #

[View source]
def maximized=(maximized : Bool) : Nil #

[View source]

[View source]
def resizable : Bool #

[View source]
def resizable=(resizable : Bool) : Nil #

[View source]
def set_fullscreen(fullscreen : Bool, monitor : Gdk::Monitor | Nil) : Nil #

[View source]
def to_unsafe : Pointer(Void) #

[View source]
def unref : Nil #

[View source]