GLWindow
Class
constructor
parent
Class
name
close
controls
Viewport
draw
get
Display
get
Window
Handle
handle
Events
has
Output
Surface
open
queue
Resize
quit
run
send
Message
send
Message
Async
set
Preferred
Size
set
Render
Rectangle
set
Window
Handle
show
NODE-GTK API Reference
GstGL-1.0
GstGL
GLWindowClass
Class GLWindowClass
Hierarchy
GLWindowClass
Index
Constructors
constructor
Properties
parent
Class
name
Methods
close
controls
Viewport
draw
get
Display
get
Window
Handle
handle
Events
has
Output
Surface
open
queue
Resize
quit
run
send
Message
send
Message
Async
set
Preferred
Size
set
Render
Rectangle
set
Window
Handle
show
Constructors
constructor
new GLWindow
Class
(
)
:
GLWindowClass
Returns
GLWindowClass
Properties
parent
Class
parent
Class
:
Gst
.
ObjectClass
Parent class
field
Static
name
name
:
string
Methods
close
close
(
window
:
GLWindow
)
:
void
Parameters
window:
GLWindow
Returns
void
controls
Viewport
controls
Viewport
(
window
:
GLWindow
)
:
boolean
Parameters
window:
GLWindow
Returns
boolean
draw
draw
(
window
:
GLWindow
)
:
void
Parameters
window:
GLWindow
Returns
void
get
Display
get
Display
(
window
:
GLWindow
)
:
number
Parameters
window:
GLWindow
Returns
number
get
Window
Handle
get
Window
Handle
(
window
:
GLWindow
)
:
number
Parameters
window:
GLWindow
Returns
number
handle
Events
handle
Events
(
window
:
GLWindow
, handleEvents
:
boolean
)
:
void
Parameters
window:
GLWindow
handleEvents:
boolean
Returns
void
has
Output
Surface
has
Output
Surface
(
window
:
GLWindow
)
:
boolean
Parameters
window:
GLWindow
Returns
boolean
open
open
(
window
:
GLWindow
)
:
boolean
Parameters
window:
GLWindow
Returns
boolean
queue
Resize
queue
Resize
(
window
:
GLWindow
)
:
void
Parameters
window:
GLWindow
Returns
void
quit
quit
(
window
:
GLWindow
)
:
void
Parameters
window:
GLWindow
Returns
void
run
run
(
window
:
GLWindow
)
:
void
Parameters
window:
GLWindow
Returns
void
send
Message
send
Message
(
window
:
GLWindow
, callback
:
GLWindowCB
)
:
void
Parameters
window:
GLWindow
callback:
GLWindowCB
Returns
void
send
Message
Async
send
Message
Async
(
window
:
GLWindow
, callback
:
GLWindowCB
)
:
void
Parameters
window:
GLWindow
callback:
GLWindowCB
Returns
void
set
Preferred
Size
set
Preferred
Size
(
window
:
GLWindow
, width
:
number
, height
:
number
)
:
void
Parameters
window:
GLWindow
width:
number
height:
number
Returns
void
set
Render
Rectangle
set
Render
Rectangle
(
window
:
GLWindow
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
boolean
Parameters
window:
GLWindow
x:
number
y:
number
width:
number
height:
number
Returns
boolean
set
Window
Handle
set
Window
Handle
(
window
:
GLWindow
, handle
:
number
)
:
void
Parameters
window:
GLWindow
handle:
number
Returns
void
show
show
(
window
:
GLWindow
)
:
void
Parameters
window:
GLWindow
Returns
void
GLWindow
Class
constructor
parent
Class
name
close
controls
Viewport
draw
get
Display
get
Window
Handle
handle
Events
has
Output
Surface
open
queue
Resize
quit
run
send
Message
send
Message
Async
set
Preferred
Size
set
Render
Rectangle
set
Window
Handle
show
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RHTF8xXzAuR3N0R0wuR0xXaW5kb3dDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR3N0R0xfMV8wLkdzdEdMLkdMV2luZG93Q2xhc3MuaHRtbCNwYXJlbnRDbGFzcyIsIm5hbWUiOiJwYXJlbnRDbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6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