Maeomm Reference Documentation: hildonsmm
Main Page   Namespaces   Book  

Hildon::RangeEditor Class Reference
[Widgets]

Inheritance diagram for Hildon::RangeEditor:

Gtk::Container Gtk::Widget Gtk::Object Atk::Implementor Glib::Object Glib::Interface Glib::ObjectBase Glib::ObjectBase sigc::trackable sigc::trackable List of all members.

Detailed Description

Hildon::RangeEditor allows the user to enter a pair of integers, such as the lower and higher bounds of a range.

A minimum and maximum can also be set for the bounds.


Public Member Functions

int get_higher () const
int get_lower () const
int get_max () const
int get_min () const
void get_range (int& start, int& end) const
 Gets the range of the HildonRangeEditor widget.
Glib::ustring get_separator () const
const HildonRangeEditor* gobj () const
 Provides access to the underlying C GtkObject.
HildonRangeEditor* gobj ()
 Provides access to the underlying C GtkObject.
 RangeEditor (const Glib::ustring& separator)
 RangeEditor ()
void set_higher (int value)
void set_limits (int start, int end)
 Sets the range of the HildonRangeEditor widget.
void set_lower (int value)
void set_max (int value)
void set_min (int value)
void set_range (int start, int end)
 Sets a range to the editor.
void set_separator (const Glib::ustring& separator)
virtual ~RangeEditor ()

Related Functions

(Note that these are not member functions.)

Hildon::RangeEditorwrap (HildonRangeEditor* object, bool take_copy=false)
 
Parameters:
object The C instance


Constructor & Destructor Documentation

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

Hildon::RangeEditor::RangeEditor (  ) 

Hildon::RangeEditor::RangeEditor ( const Glib::ustring separator  )  [explicit]


Member Function Documentation

int Hildon::RangeEditor::get_higher (  )  const

int Hildon::RangeEditor::get_lower (  )  const

int Hildon::RangeEditor::get_max (  )  const

int Hildon::RangeEditor::get_min (  )  const

void Hildon::RangeEditor::get_range ( int &  start,
int &  end 
) const

Gets the range of the HildonRangeEditor widget.

Parameters:
start Ranges start value.
end Ranges end value.

Glib::ustring Hildon::RangeEditor::get_separator (  )  const

const HildonRangeEditor* Hildon::RangeEditor::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Container.

HildonRangeEditor* Hildon::RangeEditor::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Container.

void Hildon::RangeEditor::set_higher ( int  value  ) 

void Hildon::RangeEditor::set_limits ( int  start,
int  end 
)

Sets the range of the HildonRangeEditor widget.

Parameters:
start Minimum acceptable value (default: no limit).
end Maximum acceptable value (default: no limit).

void Hildon::RangeEditor::set_lower ( int  value  ) 

void Hildon::RangeEditor::set_max ( int  value  ) 

void Hildon::RangeEditor::set_min ( int  value  ) 

void Hildon::RangeEditor::set_range ( int  start,
int  end 
)

Sets a range to the editor.

(The current value)

Sets the range of the HildonRangeEditor widget.

Parameters:
start Range's start value.
end Range's end value.

void Hildon::RangeEditor::set_separator ( const Glib::ustring separator  ) 


Friends And Related Function Documentation

Hildon::RangeEditor* wrap ( HildonRangeEditor *  object,
bool  take_copy = false 
) [related]

Parameters:
object The C instance

Parameters:
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.1 © 1997-2001