The tool bar usually does not have widgets as children. Instead, it has specialized children called tools (EwTool). Tools are user interface elements that look like widgets but do not actually use all of the platform resources required by a widget. Tools collaborate with the parent tool bar to display themselves and handle user events. You add widgets as children of a tool bar by associating a widget with a widget tool.Creates a group tool inside the tool bar. The first argument is the name for the new tool; the second is its argument block. A group is a tool that contains other tools.Creates a simple group inside the tool bar. A simple group is a tool that contains only buttons. It provides protocol for specifying collections of images to be displayed in the group as buttons.
|