Re: [gnome-love] example request: The Saga Continues



Okay so I fixed the dialog bugs in Keith's example code using a "show
and hide" method (and I added cut/copy/paste functionality too) and was
already to send it back to the list when I saw Keith's reply about the
bug. He recommended a different method which I altered slightly and now
call the "create and destroy" method. So I now offer both examples to
the list for comments/discussion/feedback. 

http://www.ethanzimmerman.com/stuff/gnome-love-examples.tar.gz

Some of my thoughts are...
 - I like the "create and destroy" method more primarily because it
breaks things up into more functions

 - The only thing I don't like about the "create and destroy" is that
the main window never receives the destroy signal (the quit button just
calls gtk_main_quit). I don't know why but to me this seems like "not
cleaning up after yourself" I would think you would want to destroy the
main window and then once all your work is done and you've "put away all
your toys" then you call gtk_main_quit. Are these reasonable concerns or
am I just being crazy?

Thank you everyone for your help.

No longer frustrated or confused
-ethan




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