org.gnu.gtk
Class AccelLabel
The AccelLabel widget is a subclass of Label that also displays an
accelerator key on the right side of the label text, e.g. 'Ctrl+S'. It is
commonly used in menus to show the keyboard shortcut for the command.
The accelerator key to display is not set explicitly. Instead, the AccelLabel
displays the accelerator which have been added to a particular widget. This
widget is set by calling setAccelWidget().
AccelLabel(Handle handle) - Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
AccelLabel(String str) - Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
static AccelLabel | getAccelLabel(Handle handle) - Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
Widget | getAccelWidget() - Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
int | getAccelWidth() - Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
static Type | getType() - Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
void | setAccelWidget(Widget accelWidget) - Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
getAngle , getAttributes , getEllipsize , getJustification , getLabel , getLabel , getLineWrap , getMaxWidthChars , getMnemonicWidget , getSelectable , getSelected , getSelectionEnd , getSelectionStart , getSingleLineMode , getText , getType , getUseMarkup , getUseMnemonic , getWidthChars , select , setAngle , setAttributes , setEllipsize , setJustification , setLabel , setLineWrap , setMarkup , setMarkup , setMaxWidthChars , setMnemonicWidget , setSelectable , setSingleLineMode , setText , setUnderlinePattern , setUseMarkup , setUseMnemonic , setWidthChars |
activate , addAccelerator , addEvents , addListener , addListener , addListener , addListener , addListener , addListener , addListener , addListener , addListener , addListener , addListener , canActivateAccel , createContext , createLayout , draw , drawArea , drawArea , finish , getAccessible , getAllocation , getCanFocus , getColormap , getContext , getData , getDisplay , getDragData , getEventListenerClass , getEventType , getExtensionEvents , getModifierStyle , getName , getParent , getParentWindow , getPointer , getRootWindow , getScreen , getSensitive , getStyle , getToplevel , getType , getWidget , getWindow , grabDefault , grabFocus , hasFocus , hasScreen , hide , hideAll , highlight , highlight , intersect , isAncestor , makeWidget , modifyStyle , popColormap , pushColormap , realize , removeAccelerator , removeListener , removeListener , removeListener , removeListener , removeListener , removeListener , removeListener , removeListener , removeListener , removeListener , removeListener , reparent , setBackgroundColor , setBaseColor , setCanFocus , setColormap , setDoubleBuffered , setDragDestination , setDragIcon , setDragIconPixbuf , setDragIconStock , setDragSource , setEvents , setExtensionEvents , setFont , setForegroundColor , setMinimumSize , setName , setNoDragDestination , setNoDragSource , setSensitive , setTextColor , shapeCombineMask , show , showAll , unHighlight , unHighlight |
AccelLabel
public AccelLabel(Handle handle)
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
Construct a AccelLabel using a handle to a native resource.
AccelLabel
public AccelLabel(String str)
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
Create an AccelLabel.
getAccelLabel
public static AccelLabel getAccelLabel(Handle handle)
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
Internal static factory method to be used by Java-Gnome only.
getAccelWidget
public Widget getAccelWidget()
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
Retrieve the widget for this AccelLabel
getAccelWidth
public int getAccelWidth()
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
Returns the width needed to display the accelerator key(s). This is used
by menus to align all of the MenuItem widgets and shouldn't be needed by
applications.
- The width needed to display the accelerator keys.
getType
public static Type getType()
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
Retrieve the runtime type used by the GLib library.
- getType in interface Label
setAccelWidget
public void setAccelWidget(Widget accelWidget)
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
Set the widget for this AccelLabel