Hildon::SortDialog Class Reference

#include <sort-dialog.h>

Inheritance diagram for Hildon::SortDialog:

Dialog List of all members.

Public Member Functions

virtual ~SortDialog ()
HildonSortDialog * gobj ()
 Provides access to the underlying C GtkObject.
const HildonSortDialog * gobj () const
 Provides access to the underlying C GtkObject.
 SortDialog ()
int get_sort_key () const
 Gets index to currently active sort key.
GtkSortType get_sort_order () const
 Gets current sorting order from "Sort order" field.
void set_sort_key (int key)
 Sets the index value of the Hildon::SortDialog widget.
void set_sort_order (Gtk::SortType order)
 Sets the index value of the Hildon::SortDialog widget.
int add_sort_key (const Glib::ustring &sort_key)
 Adds a new sort key and returns the respective index in sort key combobox.

Related Functions

(Note that these are not member functions.)

Hildon::SortDialogwrap (HildonSortDialog *object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Hildon::SortDialog::~SortDialog  )  [virtual]
 

Hildon::SortDialog::SortDialog  ) 
 


Member Function Documentation

int Hildon::SortDialog::add_sort_key const Glib::ustring &  sort_key  ) 
 

Adds a new sort key and returns the respective index in sort key combobox.

Parameters:
sort_key Combo box's index value.
Returns:
An integer which is the index of the added combo box's item.

int Hildon::SortDialog::get_sort_key  )  const
 

Gets index to currently active sort key.

Returns:
An integer which is the index value of the "Sort by" field.

GtkSortType Hildon::SortDialog::get_sort_order  )  const
 

Gets current sorting order from "Sort order" field.

Returns:
Current sorting order as Gtk::SortType.

const HildonSortDialog* Hildon::SortDialog::gobj  )  const [inline]
 

Provides access to the underlying C GtkObject.

HildonSortDialog* Hildon::SortDialog::gobj  )  [inline]
 

Provides access to the underlying C GtkObject.

void Hildon::SortDialog::set_sort_key int  key  ) 
 

Sets the index value of the Hildon::SortDialog widget.

Parameters:
key Combo box's index value.

void Hildon::SortDialog::set_sort_order Gtk::SortType  order  ) 
 

Sets the index value of the Hildon::SortDialog widget.

Parameters:
order Combo box's index value.


Friends And Related Function Documentation

Hildon::SortDialog * wrap HildonSortDialog *  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 on Wed Nov 8 17:20:41 2006 for hildon-libsmm by  doxygen 1.4.6