GtkEntry - simple question




 Folks,

 ( GTK 1.2)
 Here is the dilema. How do I know when the user has finshed entering the text
into a GtkEntry ?

  This is what I have:

   File Name: 
   +---------------------------------+   +--------+
   |                                 |   | Browse |
   +---------------------------------+   +--------+


 The user can either browse (using the FileSelection) or he can type the file
name.
  I already got the file name from the "Browse" working.
  But I am still having difficulties "knowing" when the user has finiehd typing
the file name or done browsing so that I can check if the filename is valid
etc...
  I used the changed envent, but it is signaled every time the user types a
key.
  I also used other events to no avail (insert text, leave).

  So, how can I know: 

  1) the used is done typing the file name ?

  2) the user finished with the file selection (emit a signal myself ?)

Thanks in advance.




=====
"We should do smart things with stupid technology before we do stupid 
things with smart technology."
                              --Bill Buxton, Alias Research


Harring Figueiredo

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]