org.gnu.gtk
public abstract class ButtonBox extends Box
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may in the future have an equivalent in
java-gnome 4.0, try looking for
org.gnome.gtk.ButtonBox
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
See Also: HButtonBox
Method Summary | |
---|---|
boolean | getChildSecondary(Widget child)
Gets whether the child appears in a secondary group of children. |
ButtonBoxStyle | getLayout()
Returns the layout which is used to dictate how the buttons are
organised. |
static Type | getType()
Retrieve the runtime type used by the GLib library. |
void | setChildSecondary(Widget child, boolean isSecondary)
Sets whether child should appear in a secondary group of children. |
void | setLayout(ButtonBoxStyle layout)
Changes the way buttons are arranged in their container.
|
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.
Gets whether the child appears in a secondary group of children.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.
Returns the layout which is used to dictate how the buttons are organised.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.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.
Sets whether child should appear in a secondary group of children. A typical use of a secondary child is the help button in a dialog.This group appears after the other children if the style is ButtonBoxStyle.START, ButtonBoxStyle.SPREAD or ButtonBoxStyle.EDGE, and before the the other children if the style is ButtonBoxStyle.END. For horizontal button boxes, the definition of before/after depends on direction of the widget (see widget.setDirection). If the style is ButtonBoxStyle.START or ButtonBoxStyle.END, then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children.
Parameters: child A child widget of this button box. isSecondary If TRUE, the child appears in a secondary group of the button box.
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.
Changes the way buttons are arranged in their container.Parameters: layout The new layout style.