Maeomm Reference Documentation: hildonsmm
Main Page   Namespaces   Book  

Hildon::PannableArea Class Reference

Inheritance diagram for Hildon::PannableArea:

Inheritance graph
[legend]

List of all members.


Detailed Description

A scrolling widget designed for touch screens.

Hildon::PannableArea is a container widget that can be "panned" (scrolled) up and down using the touchscreen with fingers. The widget has no scrollbars, but it rather shows small scroll indicators to give an idea of the part of the content that is visible at a time. The scroll indicators appear when a dragging motion is started on the pannable area.

The scrolling is "kinetic", meaning the motion can be "flicked" and it will continue from the initial motion by gradually slowing down to an eventual stop. The motion can also be stopped immediately by pressing the touchscreen over the pannable area.

See also:
Gtk::ScrolledWindow

Public Member Functions

virtual void add (Gtk::Widget& widget)
const Gtk::Widgetget_child_at (double x, double y) const
Gtk::Widgetget_child_at (double x, double y)
const Gtk::Adjustmentget_hadjustment () const
Gtk::Adjustmentget_hadjustment ()
SizeRequestPolicy get_size_request_policy () const
const Gtk::Adjustmentget_vadjustment () const
Gtk::Adjustmentget_vadjustment ()
const HildonPannableArea* gobj () const
 Provides access to the underlying C GtkObject.
HildonPannableArea* gobj ()
 Provides access to the underlying C GtkObject.
void jump_to (int x, int y)
void jump_to_child (const Gtk::Widget& child)
 PannableArea (PannableAreaMode mode, bool enabled, double velocity_min, double velocity_max, double deceleration, guint sps)
 PannableArea ()
void scroll_to (int x, int y)
void scroll_to_child (const Gtk::Widget& child)
void set_size_request_policy (SizeRequestPolicy size_request_policy)
Glib::SignalProxy3< void,
MovementDirection, double,
double > 
signal_horizontal_movement ()
Glib::SignalProxy3< void,
MovementDirection, double,
double > 
signal_vertical_movement ()
virtual ~PannableArea ()

Related Functions

(Note that these are not member functions.)

Hildon::PannableAreawrap (HildonPannableArea* object, bool take_copy=false)
 A Glib::wrap() method for this object.

Constructor & Destructor Documentation

virtual Hildon::PannableArea::~PannableArea (  )  [virtual]

Hildon::PannableArea::PannableArea (  ) 

Hildon::PannableArea::PannableArea ( PannableAreaMode  mode,
bool  enabled,
double  velocity_min,
double  velocity_max,
double  deceleration,
guint  sps 
) [explicit]


Member Function Documentation

virtual void Hildon::PannableArea::add ( Gtk::Widget widget  )  [virtual]

Reimplemented from Gtk::Container.

const Gtk::Widget* Hildon::PannableArea::get_child_at ( double  x,
double  y 
) const

Gtk::Widget* Hildon::PannableArea::get_child_at ( double  x,
double  y 
)

const Gtk::Adjustment* Hildon::PannableArea::get_hadjustment (  )  const

Gtk::Adjustment* Hildon::PannableArea::get_hadjustment (  ) 

SizeRequestPolicy Hildon::PannableArea::get_size_request_policy (  )  const

const Gtk::Adjustment* Hildon::PannableArea::get_vadjustment (  )  const

Gtk::Adjustment* Hildon::PannableArea::get_vadjustment (  ) 

const HildonPannableArea* Hildon::PannableArea::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Bin.

References Glib::ValueBase::gobject_.

HildonPannableArea* Hildon::PannableArea::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Bin.

References Glib::ValueBase::gobject_.

void Hildon::PannableArea::jump_to ( int  x,
int  y 
)

void Hildon::PannableArea::jump_to_child ( const Gtk::Widget child  ) 

void Hildon::PannableArea::scroll_to ( int  x,
int  y 
)

void Hildon::PannableArea::scroll_to_child ( const Gtk::Widget child  ) 

void Hildon::PannableArea::set_size_request_policy ( SizeRequestPolicy  size_request_policy  ) 

Glib::SignalProxy3<void,MovementDirection,double,double> Hildon::PannableArea::signal_horizontal_movement (  ) 

Prototype:
void on_my_horizontal_movement(MovementDirection direction, double x, double y)

Glib::SignalProxy3<void,MovementDirection,double,double> Hildon::PannableArea::signal_vertical_movement (  ) 

Prototype:
void on_my_vertical_movement(MovementDirection direction, double x, double y)


Friends And Related Function Documentation

Hildon::PannableArea* wrap ( HildonPannableArea *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
object The C instance.
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:

Generated for hildonmm by Doxygen 1.5.6 © 1997-2001