- add signal_connect to Gtk::Entry (hit Enter key to perform a search)
git-svn-id: file:///home/svn/framework3/trunk@4378 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
dca1bdbd0f
commit
98fbadd5fe
|
@ -19,6 +19,11 @@ class ModuleSearch
|
|||
@search_button = search_button
|
||||
@cancel_button = search_cancel_button
|
||||
|
||||
# Signals
|
||||
@search_entry.signal_connect('activate') do
|
||||
@search_button.activate
|
||||
end
|
||||
|
||||
@search_button.signal_connect('clicked') do
|
||||
search(@search_entry.text)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue