Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
MemStruct
org.gnu.gtk.BindingSet
public class BindingSet
extends MemStruct
Constructor Summary | |
|
Method Summary | |
boolean |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
void |
|
void |
|
void |
|
static BindingSet |
|
void |
|
void |
|
public BindingSet(String setName)
Construct a new BindingSet.
- Parameters:
setName
- The name of the BindingSet
public boolean activateBindingSet(int keyval, ModifierType modifier)
- Parameters:
keyval
- The key value for the BindingSet.modifier
- The key modifier for the BindingSet
- Since:
- 2.8.1
public boolean activateBindingSet(KeySymbol keyval, ModifierType modifier)
Deprecated.
- Parameters:
keyval
- The key value for the BindingSet.modifier
- The key modifier for the BindingSet
- See Also:
activateBindingSet(int,ModifierType)
public boolean activateBindings(int keyval, ModifierType modifier)
- Parameters:
keyval
- The key value for the BindingSet (fromKeyValue
).modifier
- The key modifier for the BindingSet
- Since:
- 2.8.1
public boolean activateBindings(KeySymbol keyval, ModifierType modifier)
Deprecated.
- Parameters:
keyval
- The key value for the BindingSet.modifier
- The key modifier for the BindingSet
- See Also:
activateBindings(int,ModifierType)
public boolean activateEvent(EventKey event)
Looks up key bindings for this BindingSet to find one that matches event, and if one was found, activate it.
- Returns:
- TRUE if a matching key binding was found.
public void addPath(PathType pathType, String pathPattern, PathPriorityType priority)
- Parameters:
pathType
-pathPattern
-priority
-
public void clearEntry(int keyval, ModifierType modifier)
Clears a BindingSet entry.
- Parameters:
keyval
- The key value for the BindingSet.modifier
- The key modifier for the BindingSet
- Since:
- 2.8.1
public void clearEntry(KeySymbol keyval, ModifierType modifier)
Deprecated.
Clears a BindingSet entry.
- Parameters:
keyval
- The key value for the BindingSet.modifier
- The key modifier for the BindingSet
- See Also:
clearEntry(int,ModifierType)
public static BindingSet findBindingSet(String setName)
Finds a BindingSet object given the name.
- Parameters:
setName
- The name of the BindingSet to find
- Returns:
- A BindingSet object
public void removeEntry(int keyval, ModifierType modifier)
Removes an entry from the BindingSet
- Parameters:
keyval
-modifier
-
- Since:
- 2.8.1
public void removeEntry(KeySymbol keyval, ModifierType modifier)
Deprecated.
- See Also:
removeEntry(int,ModifierType)