Connection
Class
constructor
_vnc_
reserved
parent_
class
name
vnc_
auth_
choose_
subtype
vnc_
auth_
choose_
type
vnc_
auth_
credential
vnc_
auth_
failure
vnc_
auth_
unsupported
vnc_
bell
vnc_
connected
vnc_
cursor_
changed
vnc_
desktop_
rename
vnc_
desktop_
resize
vnc_
disconnected
vnc_
error
vnc_
framebuffer_
update
vnc_
initialized
vnc_
led_
state
vnc_
pixel_
format_
changed
vnc_
pointer_
mode_
changed
vnc_
power_
control_
failed
vnc_
power_
control_
initialized
vnc_
server_
cut_
text
GJS API Reference
GVnc-1.0
GVnc
ConnectionClass
Class ConnectionClass
Hierarchy
ConnectionClass
Index
Constructors
constructor
Properties
_vnc_
reserved
parent_
class
name
Methods
vnc_
auth_
choose_
subtype
vnc_
auth_
choose_
type
vnc_
auth_
credential
vnc_
auth_
failure
vnc_
auth_
unsupported
vnc_
bell
vnc_
connected
vnc_
cursor_
changed
vnc_
desktop_
rename
vnc_
desktop_
resize
vnc_
disconnected
vnc_
error
vnc_
framebuffer_
update
vnc_
initialized
vnc_
led_
state
vnc_
pixel_
format_
changed
vnc_
pointer_
mode_
changed
vnc_
power_
control_
failed
vnc_
power_
control_
initialized
vnc_
server_
cut_
text
Constructors
constructor
new
Connection
Class
(
)
:
GVnc
.
ConnectionClass
Returns
GVnc
.
ConnectionClass
Properties
_vnc_
reserved
_vnc_
reserved
:
object
[]
parent_
class
parent_
class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
vnc_
auth_
choose_
subtype
vnc_
auth_
choose_
subtype
(
conn
:
GVnc
.
Connection
, type
:
number
, subtypes
:
GObject
.
ValueArray
)
:
void
Parameters
conn:
GVnc
.
Connection
type:
number
subtypes:
GObject
.
ValueArray
Returns
void
vnc_
auth_
choose_
type
vnc_
auth_
choose_
type
(
conn
:
GVnc
.
Connection
, types
:
GObject
.
ValueArray
)
:
void
Parameters
conn:
GVnc
.
Connection
types:
GObject
.
ValueArray
Returns
void
vnc_
auth_
credential
vnc_
auth_
credential
(
conn
:
GVnc
.
Connection
, creds
:
GObject
.
ValueArray
)
:
void
Parameters
conn:
GVnc
.
Connection
creds:
GObject
.
ValueArray
Returns
void
vnc_
auth_
failure
vnc_
auth_
failure
(
conn
:
GVnc
.
Connection
, reason
:
string
)
:
void
Parameters
conn:
GVnc
.
Connection
reason:
string
Returns
void
vnc_
auth_
unsupported
vnc_
auth_
unsupported
(
conn
:
GVnc
.
Connection
, authType
:
number
)
:
void
Parameters
conn:
GVnc
.
Connection
authType:
number
Returns
void
vnc_
bell
vnc_
bell
(
conn
:
GVnc
.
Connection
)
:
void
Parameters
conn:
GVnc
.
Connection
Returns
void
vnc_
connected
vnc_
connected
(
conn
:
GVnc
.
Connection
)
:
void
Parameters
conn:
GVnc
.
Connection
Returns
void
vnc_
cursor_
changed
vnc_
cursor_
changed
(
conn
:
GVnc
.
Connection
, cursor
:
GVnc
.
Cursor
)
:
void
Parameters
conn:
GVnc
.
Connection
cursor:
GVnc
.
Cursor
Returns
void
vnc_
desktop_
rename
vnc_
desktop_
rename
(
conn
:
GVnc
.
Connection
, name
:
string
)
:
void
Parameters
conn:
GVnc
.
Connection
name:
string
Returns
void
vnc_
desktop_
resize
vnc_
desktop_
resize
(
conn
:
GVnc
.
Connection
, width
:
number
, height
:
number
)
:
void
Parameters
conn:
GVnc
.
Connection
width:
number
height:
number
Returns
void
vnc_
disconnected
vnc_
disconnected
(
conn
:
GVnc
.
Connection
)
:
void
Parameters
conn:
GVnc
.
Connection
Returns
void
vnc_
error
vnc_
error
(
conn
:
GVnc
.
Connection
, message
:
string
)
:
void
Parameters
conn:
GVnc
.
Connection
message:
string
Returns
void
vnc_
framebuffer_
update
vnc_
framebuffer_
update
(
conn
:
GVnc
.
Connection
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
conn:
GVnc
.
Connection
x:
number
y:
number
width:
number
height:
number
Returns
void
vnc_
initialized
vnc_
initialized
(
conn
:
GVnc
.
Connection
)
:
void
Parameters
conn:
GVnc
.
Connection
Returns
void
vnc_
led_
state
vnc_
led_
state
(
conn
:
GVnc
.
Connection
)
:
void
Parameters
conn:
GVnc
.
Connection
Returns
void
vnc_
pixel_
format_
changed
vnc_
pixel_
format_
changed
(
conn
:
GVnc
.
Connection
, format
:
GVnc
.
PixelFormat
)
:
void
Parameters
conn:
GVnc
.
Connection
format:
GVnc
.
PixelFormat
Returns
void
vnc_
pointer_
mode_
changed
vnc_
pointer_
mode_
changed
(
conn
:
GVnc
.
Connection
, absPointer
:
boolean
)
:
void
Parameters
conn:
GVnc
.
Connection
absPointer:
boolean
Returns
void
vnc_
power_
control_
failed
vnc_
power_
control_
failed
(
conn
:
GVnc
.
Connection
)
:
void
Parameters
conn:
GVnc
.
Connection
Returns
void
vnc_
power_
control_
initialized
vnc_
power_
control_
initialized
(
conn
:
GVnc
.
Connection
)
:
void
Parameters
conn:
GVnc
.
Connection
Returns
void
vnc_
server_
cut_
text
vnc_
server_
cut_
text
(
conn
:
GVnc
.
Connection
, text
:
GLib
.
String
)
:
void
Parameters
conn:
GVnc
.
Connection
text:
GLib
.
String
Returns
void
Connection
Class
constructor
_vnc_
reserved
parent_
class
name
vnc_
auth_
choose_
subtype
vnc_
auth_
choose_
type
vnc_
auth_
credential
vnc_
auth_
failure
vnc_
auth_
unsupported
vnc_
bell
vnc_
connected
vnc_
cursor_
changed
vnc_
desktop_
rename
vnc_
desktop_
resize
vnc_
disconnected
vnc_
error
vnc_
framebuffer_
update
vnc_
initialized
vnc_
led_
state
vnc_
pixel_
format_
changed
vnc_
pointer_
mode_
changed
vnc_
power_
control_
failed
vnc_
power_
control_
initialized
vnc_
server_
cut_
text
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHVm5jXzFfMC5HVm5jLkNvbm5lY3Rpb25DbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibm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