Maeomm Reference Documentation: hildon-libsmm
Main Page   Namespaces   Book  

Hildon::NumberEditor Class Reference
[Widgets]

Inheritance diagram for Hildon::NumberEditor:

Inheritance graph
[legend]
List of all members.

Detailed Description

Hildon::NumberEditor is used to enter a number from a specific range.

There are two buttons to scroll the value in number field. Manual input is also possible.


Public Member Functions

int get_value () const
const HildonNumberEditor* gobj () const
 Provides access to the underlying C GtkObject.
HildonNumberEditor* gobj ()
 Provides access to the underlying C GtkObject.
 NumberEditor (int min, int max)
void set_range (int min, int max)
 Sets accepted number range for editor.
void set_value (int value)
 Sets numeric value for number editor.
Glib::SignalProxy1< bool,
NumberEditorErrorType
signal_range_error ()
virtual ~NumberEditor ()

Related Functions

(Note that these are not member functions.)

Hildon::NumberEditorwrap (HildonNumberEditor* object, bool take_copy=false)


Constructor & Destructor Documentation

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

Hildon::NumberEditor::NumberEditor ( int  min,
int  max
[explicit]
 


Member Function Documentation

int Hildon::NumberEditor::get_value (  )  const
 

Returns:
Current NumberEditor value.

const HildonNumberEditor* Hildon::NumberEditor::gobj (  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Container.

HildonNumberEditor* Hildon::NumberEditor::gobj (  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Container.

void Hildon::NumberEditor::set_range ( int  min,
int  max
 

Sets accepted number range for editor.

Parameters:
min Minimum accepted value.
max Maximum accepted value.

void Hildon::NumberEditor::set_value ( int  value  ) 
 

Sets numeric value for number editor.

Parameters:
value Numeric value for number editor.

Glib::SignalProxy1<bool,NumberEditorErrorType> Hildon::NumberEditor::signal_range_error (  ) 
 

Prototype:
bool range_error(NumberEditorErrorType type)


Friends And Related Function Documentation

Hildon::NumberEditor* wrap ( HildonNumberEditor*  object,
bool  take_copy = false
[related]
 

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 hildon-libsmm by Doxygen 1.4.2 © 1997-2001