Viewer
Iface
constructor
parent
name
add_
renderer
count_
renderers
get_
renderer
insert_
renderer
remove_
renderer
GJS API Reference
GcrUi-3
GcrUi
ViewerIface
Class ViewerIface
The interface for #GcrViewer
record
Hierarchy
ViewerIface
Index
Constructors
constructor
Properties
parent
name
Methods
add_
renderer
count_
renderers
get_
renderer
insert_
renderer
remove_
renderer
Constructors
constructor
new
Viewer
Iface
(
)
:
ViewerIface
Returns
ViewerIface
Properties
parent
parent
:
TypeInterface
The parent interface
field
Static
name
name
:
string
Methods
add_
renderer
add_
renderer
(
viewer
:
Viewer
, renderer
:
GcrUi
.
Renderer
)
:
void
Parameters
viewer:
Viewer
renderer:
GcrUi
.
Renderer
Returns
void
count_
renderers
count_
renderers
(
viewer
:
Viewer
)
:
number
Parameters
viewer:
Viewer
Returns
number
get_
renderer
get_
renderer
(
viewer
:
Viewer
, index_
:
number
)
:
GcrUi
.
Renderer
Parameters
viewer:
Viewer
index_:
number
Returns
GcrUi
.
Renderer
insert_
renderer
insert_
renderer
(
viewer
:
Viewer
, renderer
:
GcrUi
.
Renderer
, before
:
GcrUi
.
Renderer
)
:
void
Parameters
viewer:
Viewer
renderer:
GcrUi
.
Renderer
before:
GcrUi
.
Renderer
Returns
void
remove_
renderer
remove_
renderer
(
viewer
:
Viewer
, renderer
:
GcrUi
.
Renderer
)
:
void
Parameters
viewer:
Viewer
renderer:
GcrUi
.
Renderer
Returns
void
Viewer
Iface
constructor
parent
name
add_
renderer
count_
renderers
get_
renderer
insert_
renderer
remove_
renderer
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHY3JVaV8zLkdjclVpLlZpZXdlcklmYWNlLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRl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