Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.Viewport

Class Viewport

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.Widget.Widget
                        dui.Container.Container
                                dui.Bin.Bin
                                        dui.Viewport.Viewport

Implemented interfaces:


public class

Viewport



A container for a widget large then the available display size.
Probably you want to use the ScrolledWindow widget instead (no, ScrolledWindow it's not a Window)

Constructor Summary
protected (GtkWidget* gtkWidget)
          
(Adjustment hAdjustment, Adjustment vAdjustment)
          Creates a new viewport from a horizontal and vertical adjustments

Methods Summary
public static GType getType()
          Gets this class type
Adjustment getHAdjustment()
          Gets the horizontal adjustment
Adjustment getVAdjustment()
          Gets the verticalment
void setHAdjustment(Adjustment adjustment)
          Sets the horizontal adjustment
void setVAdjustment(Adjustment adjustment)
          Sets the vertical adjustment
void setShadow(GtkShadowType type)
          Sets the shadow type
GtkShadowType getShadow()
          Gets the shadow type




protected ctor(Viewport)(GtkWidget* gtkWidget)

getType

public static GType getType()
Gets this class type

Returns:
this class type



ctor(Viewport)(Adjustment hAdjustment, Adjustment vAdjustment)
Creates a new viewport from a horizontal and vertical adjustments

Parameters:
hAdjustment - the horizontal adjustment
vAdjustment - the vertical adjustment

getHAdjustment

Adjustment getHAdjustment()
Gets the horizontal adjustment

Returns:
the horizontal adjustment

getVAdjustment

Adjustment getVAdjustment()
Gets the verticalment

Returns:
the verticalment

setHAdjustment

void setHAdjustment(Adjustment adjustment)
Sets the horizontal adjustment

Parameters:
adjustment - the new horizontal adjustment

setVAdjustment

void setVAdjustment(Adjustment adjustment)
Sets the vertical adjustment

Parameters:
adjustment - the new vertical adjsutment

setShadow

void setShadow(GtkShadowType type)
Sets the shadow type

Parameters:
type - the new shadow type

getShadow

GtkShadowType getShadow()
Gets the shadow type

Returns:
the shadow type