Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Container
org.gnu.gtk.MenuShell
public abstract class MenuShell
extends Container
Method Summary | |
void |
|
void | |
void |
|
void |
|
void |
|
boolean | |
static Type |
|
void | |
void | |
void |
|
void |
|
void |
|
Methods inherited from class org.gnu.gtk.Container | |
add , addListener , getBooleanChildProperty , getBorderWidth , getChildProperty , getChildren , getEventListenerClass , getEventType , getIntChildProperty , getResizeMode , getType , remove , removeListener , resizeChildren , setBooleanChildProperty , setBorderWidth , setChildProperty , setIntChildProperty , setResizeMode |
public void activateItem(MenuItem menuItem, boolean forceDeactivate)
Deprecated. 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.
Activates the MenuItem within the MenuShell.
- Parameters:
menuItem
- The MenuItem to activate.forceDeactivate
- Iftrue
, force the deactivation of the MenuShell after the MenuItem is activated.
public void append(MenuItem child)
Deprecated. 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.
Append a new MenuItem to the end of the MenuShell's item list.
- Parameters:
child
- The MenuItem to add
public void cancel()
Deprecated. 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.
Cancels the selection within the menu shell.
public void deactivate()
Deprecated. 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.
Deactivates the MenuShell. Typically this results in the MenuShell being erased from the screen.
public void deselect()
Deprecated. 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.
Deselects the currently selected item from the MenuShell.
public boolean getTakeFocus()
public static Type getType()
Deprecated. 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.
public void insert(MenuItem child, int position)
Deprecated. 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.
Adds a new MenuItem to the MenuShell's item list at the requested position.
- Parameters:
child
- The MenuItem to add.position
- The position in the item list wherechild
is added. Positions are zero based.
public void prepend(MenuItem child)
Deprecated. 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.
Adds a new MenuItem to the beginning of the MenuShell's item list.
- Parameters:
child
- The MenuItem to add.
public void selectFirst(boolean searchSensitive)
Deprecated. 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.
Select the first visible or selectable child of the menu shell. It won't select tearoff items unless the only item is a tearoff item.
- Parameters:
searchSensitive
- If TRUE, search for the first selectable menu item, otherwise select nothing if the first item isn't sensitive. This should be FALSE if the menu is being popped up initially.
public void selectItem(MenuItem menuItem)
Deprecated. 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.
Selects the MenuItem from the MenuShell.
- Parameters:
menuItem
- The MenuItem to select.
public void setTakeFocus(boolean takeFocus)