Maeomm Reference Documentation: hildonsmm |
Inheritance diagram for Hildon::FindToolbar:
Maemo applications can have several toolbars, which are then attached on top of each other. The Find toolbar is generally placed on the top of the main toolbar, as in the example covered in this section.
This is a predefined toolbar for text searching purposes. It contains a Gtk::ListStore which has the text items that the user has searched. The programmer may get the Gtk::ListStore via the "list" property, in order to use the information.
Note that once the search button is pressed, the string in the ComboBoxEntry will be automatically added to the existing model, unless it is empty.
The Find toolbar should be opened and hidden when appropriate.
Public Member Functions | ||||
FindToolbar (const Glib::ustring& label, const Glib::RefPtr<Gtk::ListStore>& list, int column) | ||||
FindToolbar (const Glib::ustring& label) | ||||
FindToolbar () | ||||
const HildonFindToolbar* | gobj () const | |||
Provides access to the underlying C GtkObject. | ||||
HildonFindToolbar* | gobj () | |||
Provides access to the underlying C GtkObject. | ||||
void | highlight_entry (bool get_focus=true) | |||
| ||||
Glib::SignalProxy0<void> | signal_close () | |||
| ||||
Glib::SignalProxy0<bool> | signal_history_append () | |||
| ||||
Glib::SignalProxy0<void> | signal_invalid_input () | |||
| ||||
Glib::SignalProxy0<void> | signal_search () | |||
| ||||
virtual | ~FindToolbar () | |||
Related Functions | ||||
(Note that these are not member functions.) | ||||
Hildon::FindToolbar* | wrap (HildonFindToolbar* object, bool take_copy=false) | |||
|
virtual Hildon::FindToolbar::~FindToolbar | ( | ) | [virtual] |
Hildon::FindToolbar::FindToolbar | ( | ) |
Hildon::FindToolbar::FindToolbar | ( | const Glib::ustring & | label | ) | [explicit] |
Hildon::FindToolbar::FindToolbar | ( | const Glib::ustring & | label, | |
const Glib::RefPtr< Gtk::ListStore > & | list, | |||
int | column | |||
) | [explicit] |
const HildonFindToolbar* Hildon::FindToolbar::gobj | ( | ) | const [inline] |
HildonFindToolbar* Hildon::FindToolbar::gobj | ( | ) | [inline] |
void Hildon::FindToolbar::highlight_entry | ( | bool | get_focus = true |
) |
get_focus | If user passes true to this value, then the text in the entry will not only get highlighted, but also get focused. |
Glib::SignalProxy0< void > Hildon::FindToolbar::signal_close | ( | ) |
void close()
Glib::SignalProxy0< bool > Hildon::FindToolbar::signal_history_append | ( | ) |
bool history_append()
Glib::SignalProxy0< void > Hildon::FindToolbar::signal_invalid_input | ( | ) |
void invalid_input()
Glib::SignalProxy0< void > Hildon::FindToolbar::signal_search | ( | ) |
void search()
Hildon::FindToolbar* wrap | ( | HildonFindToolbar * | object, | |
bool | take_copy = false | |||
) | [related] |
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. |