Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.ScrolledWindow

Class ScrolledWindow

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.Widget.Widget
                        dui.Container.Container
                                dui.Bin.Bin
                                        dui.ScrolledWindow.ScrolledWindow

Implemented interfaces:


public class

ScrolledWindow



A container to display a widget larger then the available display space.
This is not a top level window, this is a widget that must have to have a parent widget.

Constructor Summary
(GtkWidget* gtkWidget)
          
public ()
          Creates a new ScrolledWindow
(Adjustment hAdjustment, Adjustment vAdjustment)
          Creates a new ScrolledWindow with horizontal and vertical adjustments
(PolicyType hPolicy, PolicyType vPolicy)
          Creates a new Scrolled window and set the policy type

Methods Summary
static GType getType()
          Gets this class type
void setHAdjustment(Adjustment hadjustment)
          Sets the horizontal adjustment
void setVAdjustment(Adjustment vadjustment)
          Sets the vertical adjustment
Adjustment getHAdjustment()
          Gets the horizontal adjustment
Adjustment getVAdjustmetn()
          Gets the vertical adjustment
void setPolicy(GtkPolicyType hscrollbar_policy, GtkPolicyType vscrollbar_policy)
          Sets the scrollbars display policy
void getPolicy(GtkPolicyType* hscrollbar_policy, GtkPolicyType* vscrollbar_policy)
          Gets the scrollbars display policy
void setPlacement(GtkCornerType window_placement)
          Sets some kind of placement ???
GtkCornerType getPlacement()
          Gets the current placement
void setShadow(GtkShadowType type)
          Sets the shadow type
GtkShadowType geShadow()
          Gets the shadow type
void addWithViewport(Widget child)
          Adds a widget child createing a viewport with scrollbars


getType

static GType getType()
Gets this class type

Returns:
this class type



ctor(ScrolledWindow)(GtkWidget* gtkWidget)



public ctor(ScrolledWindow)()
Creates a new ScrolledWindow



ctor(ScrolledWindow)(Adjustment hAdjustment, Adjustment vAdjustment)
Creates a new ScrolledWindow with horizontal and vertical adjustments

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



ctor(ScrolledWindow)(PolicyType hPolicy, PolicyType vPolicy)
Creates a new Scrolled window and set the policy type

Parameters:
hPolicy - the horizontal policy
vPolicy - the vertical policy

setHAdjustment

void setHAdjustment(Adjustment hadjustment)
Sets the horizontal adjustment

Parameters:
hadjustment - the new horizontal adjustment

setVAdjustment

void setVAdjustment(Adjustment vadjustment)
Sets the vertical adjustment

Parameters:
vadjustment - the new vertical adjustment

getHAdjustment

Adjustment getHAdjustment()
Gets the horizontal adjustment

Returns:
the current horizontal adjustment

getVAdjustmetn

Adjustment getVAdjustmetn()
Gets the vertical adjustment

Returns:
the current vertical adjustment

setPolicy

void setPolicy(GtkPolicyType hscrollbar_policy, GtkPolicyType vscrollbar_policy)
Sets the scrollbars display policy

Parameters:
hscrollbar_policy -
vscrollbar_policy -

getPolicy

void getPolicy(GtkPolicyType* hscrollbar_policy, GtkPolicyType* vscrollbar_policy)
Gets the scrollbars display policy

Parameters:
hscrollbar_policy -
vscrollbar_policy -

setPlacement

void setPlacement(GtkCornerType window_placement)
Sets some kind of placement ???

Parameters:
window_placement -

getPlacement

GtkCornerType getPlacement()
Gets the current placement

setShadow

void setShadow(GtkShadowType type)
Sets the shadow type

Parameters:
type - the shadow type

geShadow

GtkShadowType geShadow()
Gets the shadow type

Returns:
the shadow type

addWithViewport

void addWithViewport(Widget child)
Adds a widget child createing a viewport with scrollbars

Parameters:
child - the widget to add