GtkVnc.GrabSequence

Fields

Name

Type

Access

Description

keysyms

int

r/w

nkeysyms

int

r/w

Methods

class

new (keysyms)

class

new_from_string (str)

as_string ()

copy ()

free ()

get_nth (n)

Details

class GtkVnc.GrabSequence
classmethod new(keysyms)
Parameters:

keysyms ([int]) – the keysym values

Returns:

a new grab sequence object

Return type:

GtkVnc.GrabSequence

Creates a new grab sequence from a list of keysym values

classmethod new_from_string(str)
Parameters:

str (str) – string of keysym names

Returns:

a new grab sequence object

Return type:

GtkVnc.GrabSequence

Creates a new grab sequence from a list of keysym names

The returned struct must be freed by calling GtkVnc.GrabSequence.free when no longer required

as_string()
Returns:

the grab sequence as a string

Return type:

str

Convert the grab sequence to a string of keysym names

copy()
Returns:

the grab sequence

Return type:

GtkVnc.GrabSequence

Allocate a new grab sequence struct, initalizing it with a copy of data from self

The returned struct must be freed by calling GtkVnc.GrabSequence.free when no longer required

free()

Release memory associated with the grab sequence self.

get_nth(n)
Parameters:

n (int) – the index of the key symbol to obtain

Returns:

the nth key symbol

Return type:

int

Obtain the nth key symbol in the sequence