org.gnu.gtk
public class Layout extends Container
See Also: Container
| Constructor Summary | |
|---|---|
| Layout(Adjustment hAdj, Adjustment vAdj)
Construct a new Layout object.
| |
| Layout(Handle handle)
Construct a new Layout from a handle to a native resource. | |
| Method Summary | |
|---|---|
| void | addChild(Widget child, int x, int y)
Add a child Widget to this Layout.
|
| Window | getBinWindow()
Return the Layout's bin window, into which content is drawn. |
| Adjustment | getHorizontalAdjustment()
Return the Horizontal Adjustment. |
| static Layout | getLayout(Handle handle)
Construct a new Layout from a handle to a native resource. |
| Requisition | getSize()
Retrieve the size of the scrollabel area of the layout.
|
| static Type | getType()
Retrieve the runtime type used by the GLib library. |
| Adjustment | getVerticalAdjustment()
Return the Vertical Adjustment. |
| void | moveChild(Widget child, int x, int y)
Move a child Widget to a new position
|
| void | setHorizontalAdjustment(Adjustment adjust)
Set the Horizontal Adjustment. |
| void | setSize(int width, int height)
Set the size of the scrollable area of the layout.
|
| void | setVerticalAdjustment(Adjustment adjust)
Set the Vertical Adjustment. |
Parameters: hAdj The horizontal Adjustment object. vAdj The vertical Adjustment object.
Parameters: child The child Widget to add to this Layout. x The X coordinate to position the child. y The Y coordinate to position the child.
Returns: The size of the scrollabel area.
Parameters: child The child Widget to move. x The X coordinate for the new position. y The Y coordinate for the new position.
Parameters: width The width for the new size. height The height for the new size.