-
Notifications
You must be signed in to change notification settings - Fork 2
/
gl_area.jl
35 lines (24 loc) · 993 Bytes
/
gl_area.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""
queue_render(w::GtkGLArea)
Queues a redraw of the widget.
Related GTK function: [`gtk_gl_area_queue_render`()]($(gtkdoc_method_url("gtk4","GtkGLArea","queue_render")))
"""
queue_render(w::GtkGLArea) = G_.queue_render(w)
"""
reveal(w::GtkGLArea)
Triggers a redraw of a widget by calling GTK's `gtk_glarea_queue_render`.
Related GTK function: [`gtk_gl_area_queue_render`()]($(gtkdoc_method_url("gtk4","GtkGLArea","queue_render")))
"""
reveal(w::GtkGLArea) = G_.queue_render(w)
"""
make_current(w::GtkGLArea)
Ensures that the `GdkGLContext` used by area is associated with the `GtkGLArea`.
Related GTK function: [`gtk_gl_area_make_current`()]($(gtkdoc_method_url("gtk4","GtkGLArea","make_current")))
"""
make_current(w::GtkGLArea) = G_.make_current(w)
"""
get_error(w::GtkGLArea)
Gets the current error set on `w`.
Related GTK function: [`gtk_gl_area_get_error`()]($(gtkdoc_method_url("gtk4","GtkGLArea","get_error")))
"""
get_error(w::GtkGLArea) = G_.get_error(w)