logo top
Main Page   Widgets   Namespaces   Book  

Gtk::Viewport Class Reference
[WidgetsContainer Widgets]

Inheritance diagram for Gtk::Viewport:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Viewport ()
GtkViewport* gobj ()
 Provides access to the underlying C GtkObject.

const GtkViewport* gobj () const
 Provides access to the underlying C GtkObject.

 Viewport (Adjustment& hadjustment, Adjustment& vadjustment)
Gtk::Adjustmentget_hadjustment ()
 Returns the horizontal adjustment of the viewport.

const Gtk::Adjustmentget_hadjustment () const
 Returns the horizontal adjustment of the viewport.

Gtk::Adjustmentget_vadjustment ()
 Returns the vertical adjustment of the viewport.

const Gtk::Adjustmentget_vadjustment () const
 Returns the vertical adjustment of the viewport.

void set_hadjustment (Gtk::Adjustment* adjustment=0)
 Sets the horizontal adjustment of the viewport.

void set_hadjustment (Gtk::Adjustment& adjustment)
 Sets the horizontal adjustment of the viewport.

void set_vadjustment (Gtk::Adjustment* adjustment=0)
 Sets the vertical adjustment of the viewport.

void set_vadjustment (Gtk::Adjustment& adjustment)
 Sets the vertical adjustment of the viewport.

void set_shadow_type (ShadowType type)
 Sets the shadow type of the viewport.

ShadowType get_shadow_type () const
 Gets the shadow type of the Gtk::Viewport.

Glib::SignalProxy2< void,
Gtk::Adjustment*, Gtk::Adjustment* > 
signal_set_scroll_adjustments ()
Glib::PropertyProxy<Gtk::Adjustment*> property_hadjustment ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy<Gtk::Adjustment*> property_vadjustment ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy<ShadowTypeproperty_shadow_type ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.


Protected Member Functions

virtual void on_set_scroll_adjustments (Gtk::Adjustment* hadjustment, Gtk::Adjustment* vadjustment)

Related Functions

(Note that these are not member functions.)

Gtk::Viewportwrap (GtkViewport* object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Gtk::Viewport::~Viewport (  )  [virtual]
 

Gtk::Viewport::Viewport ( Adjustment hadjustment,
Adjustment vadjustment
[explicit]
 


Member Function Documentation

const Gtk::Adjustment* Gtk::Viewport::get_hadjustment (  )  const
 

Returns the horizontal adjustment of the viewport.

Returns:
The horizontal adjustment of viewport .

Gtk::Adjustment* Gtk::Viewport::get_hadjustment (  ) 
 

Returns the horizontal adjustment of the viewport.

Returns:
The horizontal adjustment of viewport .

ShadowType Gtk::Viewport::get_shadow_type (  )  const
 

Gets the shadow type of the Gtk::Viewport.

See set_shadow_type().

Returns:
The shadow type.

const Gtk::Adjustment* Gtk::Viewport::get_vadjustment (  )  const
 

Returns the vertical adjustment of the viewport.

Returns:
The vertical adjustment of viewport .

Gtk::Adjustment* Gtk::Viewport::get_vadjustment (  ) 
 

Returns the vertical adjustment of the viewport.

Returns:
The vertical adjustment of viewport .

const GtkViewport* Gtk::Viewport::gobj (  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Bin.

GtkViewport* Gtk::Viewport::gobj (  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Bin.

virtual void Gtk::Viewport::on_set_scroll_adjustments ( Gtk::Adjustment hadjustment,
Gtk::Adjustment vadjustment
[protected, virtual]
 

Glib::PropertyProxy<Gtk::Adjustment*> Gtk::Viewport::property_hadjustment (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<ShadowType> Gtk::Viewport::property_shadow_type (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<Gtk::Adjustment*> Gtk::Viewport::property_vadjustment (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

void Gtk::Viewport::set_hadjustment ( Gtk::Adjustment adjustment  ) 
 

Sets the horizontal adjustment of the viewport.

Parameters:
adjustment A Gtk::Adjustment.

void Gtk::Viewport::set_hadjustment ( Gtk::Adjustment adjustment = 0  ) 
 

Sets the horizontal adjustment of the viewport.

Parameters:
adjustment A Gtk::Adjustment.

void Gtk::Viewport::set_shadow_type ( ShadowType  type  ) 
 

Sets the shadow type of the viewport.

Parameters:
type The new shadow type.

void Gtk::Viewport::set_vadjustment ( Gtk::Adjustment adjustment  ) 
 

Sets the vertical adjustment of the viewport.

Parameters:
adjustment A Gtk::Adjustment.

void Gtk::Viewport::set_vadjustment ( Gtk::Adjustment adjustment = 0  ) 
 

Sets the vertical adjustment of the viewport.

Parameters:
adjustment A Gtk::Adjustment.

Glib::SignalProxy2<void,Gtk::Adjustment*,Gtk::Adjustment*> Gtk::Viewport::signal_set_scroll_adjustments (  ) 
 

Prototype:
void set_scroll_adjustments(Gtk::Adjustment* hadjustment, Gtk::Adjustment* vadjustment)


Friends And Related Function Documentation

Gtk::Viewport* wrap ( GtkViewport*  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm2.2 by Doxygen 1.3.4 © 1997-2001