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
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to