org.gnu.gtk

Class Fixed

public class Fixed extends Container

The Fixed container enables your program to place widgets at a fixed location with fixed sizes in pixels and to move widgets from one location to another. Most applications should not use this container. This container could result in truncated text, overlapping widgets and other display bugs as the user changes their themes, fonts, or preferences.
Constructor Summary
Fixed()
Construct a new Fixed object.
Fixed(Handle handle)
Construct a new Fixed from a handle to a native resource.
Method Summary
static FixedgetFixed(Handle handle)
Internal static factory method to be used by Java-Gnome only.
static TypegetType()
Retrieve the runtime type used by the GLib library.
voidmoveWidget(Widget widget, int x, int y)
Move a widget to a new location.
voidputWidget(Widget widget, int x, int y)
Add a Widget to the Fixed at the specified location.

Constructor Detail

Fixed

public Fixed()
Construct a new Fixed object.

Fixed

public Fixed(Handle handle)
Construct a new Fixed from a handle to a native resource.

Method Detail

getFixed

public static Fixed getFixed(Handle handle)
Internal static factory method to be used by Java-Gnome only.

getType

public static Type getType()
Retrieve the runtime type used by the GLib library.

moveWidget

public void moveWidget(Widget widget, int x, int y)
Move a widget to a new location.

putWidget

public void putWidget(Widget widget, int x, int y)
Add a Widget to the Fixed at the specified location.