Tutorial |
||
|
||
|
Gtk::Entry* entry() const; Gtk::Button* button() const; Gtk::ScrolledWindow* popup() const; Gtk::Window* popwin() const; Gtk::Widget* list() const; |
Combo(); |
combo->entry()->set_text("My
String."); |
void
set_popdown_strings(const
std::vector<String>& strings); |
std::vector<String>
strings; strings.push_back("String 1"); strings.push_back("String 2"); strings.push_back("String 3"); strings.push_back("String 3"); set_popdown_strings(strings); |
void
set_use_arrows(bool use_arrows); void set_use_arrows_always(bool use_arrows_always); void set_case_sensitive(bool case_sensitive); |
entry()->sig_activate().connect(slot(this, &MyClass::my_signal_handler)); |
String get_text() const; |
String text =
combo->entry()->get_text(); |
void
disable_activate(); |
|
|||
|
|||