Re: Ok button key binding
- From: "Till Harbaum / Lists" <lists harbaum org>
- To: gtk-app-devel-list gnome org
- Cc: Garth's KidStuff <garthskidstuff gmail com>
- Subject: Re: Ok button key binding
- Date: Fri, 14 Nov 2008 21:02:05 +0100
Hi,
Am Freitag 14 November 2008 schrieb Garth's KidStuff:
The one subtle point for me was that any Gtk::Entry controls in the dialog
ate the return unless I did the following:
Gtk::Entry m_IDC_ADD_PAGE_TITLE;
...
m_IDC_ADD_PAGE_TITLE.set_activates_default(true); // Enter while editing
should activate default OK
Thanks, that was my problem! This works in those dialogs that have entries.
Now i am still facing a similar issue with dialogs containing a gtktreeview based
list. Pressing return selects an item in that list, but not the default dialog button.
Any hint how to cope with the treeview? Unfortunately it doesn't have a
set_activates_default() function ...
Thanks again,
Till
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]