Viewport Class Reference

Inheritance diagram for Viewport:

Bin List of all members.

Detailed Description

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)


Public Member Functions

 this (Adjustment hAdjustment, Adjustment vAdjustment)
 Creates a new viewport from a horizontal and vertical adjustments.
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.

Static Public Member Functions

GType getType ()
 Gets this class type.


Member Function Documentation

Adjustment Viewport.getHAdjustment  ) 
 

Gets the horizontal adjustment.

Returns:
the horizontal adjustment

GtkShadowType Viewport.getShadow  ) 
 

Gets the shadow type.

Returns:
the shadow type

GType Viewport.getType  )  [static]
 

Gets this class type.

Returns:
this class type

Reimplemented from Widget.

Adjustment Viewport.getVAdjustment  ) 
 

Gets the verticalment.

Returns:
the verticalment

void Viewport.setHAdjustment Adjustment  adjustment  ) 
 

Sets the horizontal adjustment.

Parameters:
adjustment the new horizontal adjustment

void Viewport.setShadow GtkShadowType  type  ) 
 

Sets the shadow type.

Parameters:
type the new shadow type

void Viewport.setVAdjustment Adjustment  adjustment  ) 
 

Sets the vertical adjustment.

Parameters:
adjustment the new vertical adjsutment

Viewport.this Adjustment  hAdjustment,
Adjustment  vAdjustment
 

Creates a new viewport from a horizontal and vertical adjustments.

Parameters:
hAdjustment the horizontal adjustment
vAdjustment the vertical adjustment


SourceForge.net Logo DSource.org Logo digitalmars.com Logo