Package | Description |
---|---|
org.eclipse.swt.widgets |
Modifier and Type | Method and Description |
---|---|
ToolBar |
ToolItem.getParent()
Returns the receiver's parent, which must be a
ToolBar . |
ToolBar |
Shell.getToolBar()
Returns the instance of the ToolBar object representing the tool bar that can appear on the
trim of the shell.
|
Constructor and Description |
---|
ToolItem(ToolBar parent,
int style)
Constructs a new instance of this class given its parent
(which must be a
ToolBar ) and a style value
describing its behavior and appearance. |
ToolItem(ToolBar parent,
int style,
int index)
Constructs a new instance of this class given its parent
(which must be a
ToolBar ), a style value
describing its behavior and appearance, and the index
at which to place it in the items maintained by its parent. |
Copyright (c) EclipseSource and others 2002, 2014.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0