org.gnu.gtk
Class Fixed

java.lang.Object
  |
  +--org.gnu.glib.GObject
        |
        +--org.gnu.gtk.GtkObject
              |
              +--org.gnu.gtk.Widget
                    |
                    +--org.gnu.gtk.Container
                          |
                          +--org.gnu.gtk.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(int handle)
          Construct a new Fixed from a handle to a native resource.
 
Method Summary
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, getBorderWidth, getEventListenerClass, getEventType, getResizeMode, remove, removeListener, resizeChildren, setBorderWidth, setResizeMode
 
Methods inherited from class org.gnu.gtk.Widget
activate, addListener, addListener, addListener, addListener, addListener, addListener, createContext, createLayout, destroy, draw, drawArea, drawArea, getAccessible, getColormap, getContext, getModifierStyle, getName, getParent, getParentWindow, getPointer, getSensitive, getStyle, getToplevel, grabDefault, grabFocus, hasFocus, hide, hideAll, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setColormap, setDoubleBuffered, setDragDestination, setDragSource, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, equals, getData, getHandle, removeEventHandler, setData
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fixed

public Fixed()
Construct a new Fixed object.


Fixed

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

Method Detail

putWidget

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


moveWidget

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


getType

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


Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net