Dazzle.ShortcutChordTable

Fields

None

Methods

add (chord, data)

foreach (foreach_func, *foreach_data)

free ()

lookup (chord, data)

lookup_data (data)

printf ()

remove (chord)

remove_data (data)

set_free_func (notify)

size ()

Details

class Dazzle.ShortcutChordTable
add(chord, data)
Parameters:
foreach(foreach_func, *foreach_data)
Parameters:

This function will call foreach_func for each chord in the table.

free()
lookup(chord, data)
Parameters:
Return type:

Dazzle.ShortcutMatch

lookup_data(data)
Parameters:

data (object or None) –

Return type:

Dazzle.ShortcutChord

printf()
remove(chord)
Parameters:

chord (Dazzle.ShortcutChord) –

Return type:

bool

remove_data(data)
Parameters:

data (object or None) –

Return type:

bool

set_free_func(notify)
Parameters:

notify (GLib.DestroyNotify) –

size()
Return type:

int