GstGL.GLWindowClass

Fields

Name

Type

Access

Description

close

object

r

close the connection to the display

controls_viewport

object

r

Whether the window takes care of glViewport setup. and the user does not need to deal with viewports

draw

object

r

redraw the window with the specified dimensions

get_display

object

r

Gets the current windowing system display connection

get_window_handle

object

r

Gets the current window handle that this GstGL.GLWindow is rendering into. This may return a different value to what is passed into set_window_handle

handle_events

object

r

whether to handle ‘extra’ events from the windowing system. Basic events like surface moves and resizes are still valid things to listen for.

has_output_surface

object

r

Whether the window has output surface or not.

open

object

r

open the connection to the display

parent_class

Gst.ObjectClass

r

Parent class

queue_resize

object

r

request a resize to occur when possible

quit

object

r

send a quit to the mainloop

run

object

r

run the mainloop

send_message

object

r

invoke a function on the window thread. Required to be reentrant.

send_message_async

object

r

invoke a function on the window thread. run may or may not have been called. Required to be reentrant.

set_preferred_size

object

r

request that the window change surface size. The implementation is free to ignore this information.

set_render_rectangle

object

r

request a rectangle to render into. See GstVideo.VideoOverlay

set_window_handle

object

r

Set a window handle to render into

show

object

r

request that the window be shown to the user

Methods

None

Details

class GstGL.GLWindowClass