module Gdk::Toplevel

Overview

A GdkToplevel is a freestanding toplevel surface.

The GdkToplevel interface provides useful APIs for interacting with the windowing system, such as controlling maximization and size of the surface, setting icons and transient parents for dialogs.

Defined in:

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

Class Method Summary

Instance Method Summary

Class Method Detail

def self.g_type : UInt64 #

Instance Method Detail

def begin_move(device : Gdk::Device, button : Int32, x : Float64, y : Float64, timestamp : UInt32) : Nil #

def begin_resize(edge : Gdk::SurfaceEdge, device : Gdk::Device?, button : Int32, x : Float64, y : Float64, timestamp : UInt32) : Nil #

def compute_size_signal #

def decorated=(decorated : Bool) : Nil #

def decorated? : Bool #

def deletable=(deletable : Bool) : Nil #

def deletable? : Bool #

def focus(timestamp : UInt32) : Nil #

def fullscreen_mode : Gdk::FullscreenMode #

def fullscreen_mode=(value : Gdk::FullscreenMode) : Gdk::FullscreenMode #

def icon_list : Pointer(Void) #

def icon_list=(value : Pointer(Void)) : Pointer(Void) #

def icon_list=(surfaces : GLib::List) : Nil #

def inhibit_system_shortcuts(event : Gdk::Event?) : Nil #

def lower : Bool #

def minimize : Bool #

def modal=(modal : Bool) : Nil #

def modal? : Bool #

def present(layout : Gdk::ToplevelLayout) : Nil #

def restore_system_shortcuts : Nil #

def shortcuts_inhibited? : Bool #

def show_window_menu(event : Gdk::Event) : Bool #

def startup_id : String #

def startup_id=(startup_id : String) : Nil #

def state : Gdk::ToplevelState #

def supports_edge_constraints : Bool #

def title : String #

def title=(title : String) : Nil #

def titlebar_gesture(gesture : Gdk::TitlebarGesture) : Bool #

abstract def to_unsafe #

def transient_for : Gdk::Surface? #

def transient_for=(parent : Gdk::Surface) : Nil #

def transient_for=(value : Gdk::Surface?) : Gdk::Surface? #