Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ncurses
master
Cantrip
Window
Generated using Crystal 1.10.1
2024-01-09 19:25:08 UTC
class
Cantrip::
Window
Cantrip::Window
Reference
Object
Defined in:
ncurses.cr
Constructors
.new
(lines : Int32, columns : Int32, y : Int32, x : Int32)
.new
(window : Pointer(LibCurses::Window))
Instance Method Summary
#addch
(character : Int32)
#getch
#save
(filename : String)
#to_unsafe
: Pointer(LibCurses::Window)
Constructor Detail
def self.
new
(lines : Int32, columns : Int32, y : Int32, x : Int32)
#
[
View source
]
def self.
new
(window : Pointer(LibCurses::Window))
#
[
View source
]
Instance Method Detail
def
addch
(character : Int32)
#
[
View source
]
def
getch
#
[
View source
]
def
save
(filename : String)
#
[
View source
]
def
to_unsafe
: Pointer(LibCurses::Window)
#
[
View source
]