|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.MemStruct
org.gnu.gtk.BindingSet
public class BindingSet
Key bindings for individual widgets. TODO: Complete javadocs.
| Constructor Summary | |
|---|---|
BindingSet(java.lang.String setName)
Construct a new BindingSet. |
|
| Method Summary | |
|---|---|
boolean |
activateBindings(int keyval,
ModifierType modifier)
|
boolean |
activateBindings(KeySymbol keyval,
ModifierType modifier)
Deprecated. |
boolean |
activateBindingSet(int keyval,
ModifierType modifier)
|
boolean |
activateBindingSet(KeySymbol keyval,
ModifierType modifier)
Deprecated. |
boolean |
activateEvent(EventKey event)
Looks up key bindings for this BindingSet to find one that matches event, and if one was found, activate it. |
void |
addPath(PathType pathType,
java.lang.String pathPattern,
PathPriorityType priority)
|
void |
clearEntry(int keyval,
ModifierType modifier)
Clears a BindingSet entry. |
void |
clearEntry(KeySymbol keyval,
ModifierType modifier)
Deprecated. |
static BindingSet |
findBindingSet(java.lang.String setName)
Finds a BindingSet object given the name. |
void |
removeEntry(int keyval,
ModifierType modifier)
Removes an entry from the BindingSet |
void |
removeEntry(KeySymbol keyval,
ModifierType modifier)
Deprecated. |
| Methods inherited from class org.gnu.glib.MemStruct |
|---|
getMemStructFromHandle |
| Methods inherited from class org.gnu.glib.Struct |
|---|
equals, getHandle, getNullHandle, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BindingSet(java.lang.String setName)
setName - The name of the BindingSet| Method Detail |
|---|
public static BindingSet findBindingSet(java.lang.String setName)
setName - The name of the BindingSet to find
public boolean activateBindings(int keyval,
ModifierType modifier)
keyval - The key value for the BindingSet (from
KeyValue).modifier - The key modifier for the BindingSet
public boolean activateBindings(KeySymbol keyval,
ModifierType modifier)
keyval - The key value for the BindingSet.modifier - The key modifier for the BindingSetactivateBindings(int, ModifierType)
public boolean activateBindingSet(int keyval,
ModifierType modifier)
keyval - The key value for the BindingSet.modifier - The key modifier for the BindingSet
public boolean activateBindingSet(KeySymbol keyval,
ModifierType modifier)
keyval - The key value for the BindingSet.modifier - The key modifier for the BindingSetactivateBindingSet(int, ModifierType)
public void clearEntry(int keyval,
ModifierType modifier)
keyval - The key value for the BindingSet.modifier - The key modifier for the BindingSet
public void clearEntry(KeySymbol keyval,
ModifierType modifier)
keyval - The key value for the BindingSet.modifier - The key modifier for the BindingSetclearEntry(int, ModifierType)
public void addPath(PathType pathType,
java.lang.String pathPattern,
PathPriorityType priority)
pathType - pathPattern - priority - public boolean activateEvent(EventKey event)
public void removeEntry(int keyval,
ModifierType modifier)
keyval - modifier -
public void removeEntry(KeySymbol keyval,
ModifierType modifier)
removeEntry(int, ModifierType)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||