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 Fixed
getFixed(Handle handle)
Internal static factory method to be used by Java-Gnome only.
static Type
getType()
Retrieve the runtime type used by the GLib library.
void
moveWidget(Widget widget, int x, int y)
Move a widget to a new location.
void
putWidget(Widget widget, int x, int y)
Add a Widget to the Fixed at the specified location.

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

Methods inherited from class org.gnu.gtk.Widget

activate, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getAllocation, getCanFocus, getColormap, getContext, getData, getDisplay, getDragData, getEventListenerClass, getEventType, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getType, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setCanFocus, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight

Methods inherited from class org.gnu.gtk.GtkObject

destroy, getType, sink

Constructor Details

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 Details

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.
Overrides:
getType in interface Container

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.