org.gnu.gtk

Class AccelKey

public class AccelKey extends MemStruct

Constructor Summary
AccelKey(Handle hndl)
Creates a new AccelKey from an existing native resource
Method Summary
AccelFlagsgetAccelFlags()
Returns the flags for this object
static AccelKeygetAccelKey(Handle hndl)
Returns a new AccelKey object with the given native resouce
intgetKey()
Get the KeySymbol associated with this object
ModifierTypegetModifier()
Returns the modifiers for this object

Constructor Detail

AccelKey

public AccelKey(Handle hndl)
Creates a new AccelKey from an existing native resource

Parameters: hndl The native resource from which to create the object

Since: 2.8.1

Method Detail

getAccelFlags

public AccelFlags getAccelFlags()
Returns the flags for this object

Returns: The AccelFlags associated with the AccelKey

Since: 2.8.1

getAccelKey

public static AccelKey getAccelKey(Handle hndl)
Returns a new AccelKey object with the given native resouce

Parameters: hndl The native resource to use

Returns: a new AccelKey

getKey

public int getKey()
Get the KeySymbol associated with this object

Returns: The KeySymbol associated with the AccelKey

Since: 2.8.1

getModifier

public ModifierType getModifier()
Returns the modifiers for this object

Returns: The ModifierType associated with the AccelKey

Since: 2.8.1