Re: GtkEntry
- From: Harring Figueiredo <harringf yahoo com>
- To: Gus Koppel <gtk spamkiller bytechase cx>, gtk-app-devel-list gnome org
- Subject: Re: GtkEntry
- Date: Fri, 17 Oct 2003 07:07:12 -0700 (PDT)
Certainly --This is exactly what I am doing. -- I try to avoid learning cut &
paste :P)
Thanks again.
--- Gus Koppel <gtk spamkiller bytechase cx> wrote:
Harring Figueiredo wrote:
There is only one problem: If the user chose the button as the input
method and selected the file using the FileSelection, the Entry never
had the focus int the first place.
I will just put yet another check on the FileSelection call and check
before I return.
Certainly. You wouldn't want to put complex testing functionality inside
a specific event handler funbction, would you? Write a separate function
like test_filename () and call it on either
1. the filename GtkEntry lost focus or
2. the GtkFileSelection concluded with GTK_RESPONSE_ACCEPT /
GTK_RESPONSE_OK.
You could even call this function if, for instance, your application
supports a file menu containing a last recently used (LRU) file list and
the user selects a recently used filename from that menu.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]