Maeomm Reference Documentation: hildonsmm |
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.
Public Member Functions | |
virtual void | add (Gtk::Widget& widget) |
const Gtk::Widget* | get_child_at (double x, double y) const |
Gtk::Widget* | get_child_at (double x, double y) |
const Gtk::Adjustment* | get_hadjustment () const |
Gtk::Adjustment* | get_hadjustment () |
SizeRequestPolicy | get_size_request_policy () const |
const Gtk::Adjustment* | get_vadjustment () const |
Gtk::Adjustment* | get_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 (MovementMode 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::PannableArea* | wrap (HildonPannableArea* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
virtual Hildon::PannableArea::~PannableArea | ( | ) | [virtual] |
Hildon::PannableArea::PannableArea | ( | ) |
Hildon::PannableArea::PannableArea | ( | MovementMode | mode, | |
bool | enabled, | |||
double | velocity_min, | |||
double | velocity_max, | |||
double | deceleration, | |||
guint | sps | |||
) | [explicit] |
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 | ( | ) |
void on_my_horizontal_movement(MovementDirection direction, double x, double y)
Glib::SignalProxy3<void,MovementDirection,double,double> Hildon::PannableArea::signal_vertical_movement | ( | ) |
void on_my_vertical_movement(MovementDirection direction, double x, double y)
Hildon::PannableArea* wrap | ( | HildonPannableArea * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
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. |