… = Window[…] (gb.ncurses)
Dim hWindow
As Window
Dim hCharAttrs
As .Char.Attrs
hCharAttrs
= hWindow
[ Y As Integer, X As Integer ]
Returns a virtual object that can be used to change the attributes connected to the character identified by the
Y,
X coordinates in the
Window.
Note that you must first specify the Y position and then X! Think of the Window as an array of lines.
Examples
' Highlight the last line of the Window as a kind of status bar
Dim iX As Integer
Window.Print("Everything worked fine so far...", 0, Window.H - 1)
For iX = 0 To Window.W - 1 Step 1
Window[Window.H - 1, iX].Reverse = True
Next