Re: [ANNOUNCE] GnomeRSVP



Paolo Molaro wrote:

On 02/22/01 Gregory S Hayes wrote:
It runs great, but I did have several questions come to my mind when
developing it. Is there a way to append the glade file to the end of
your script and access it with Gtk::GladeXML? Also is there a way to

Yep, you can put the glade data in a __DATA__ section and load it
with:
$glade = new_from_memory Gtk::GladeXML(join("",<DATA>));

(this requires a fix I just committed to cvs).


AWSOME!

Is there a way to hide a filedialog before the
on_filedialog_ok_button_clicked handler completes?

I don't undesrtand: can't you hide it in the handler?

 
I do call my gtk_widget_hide() routine, but it seems the dialog does not
want to go away until it completes the on_filedialog_ok_button_clicked()
routine. I even tried to place a gtk_widget_hide($filedialog) at the
beginning of that routine, as well as change the order in which I bind
the signals... but no luck :(

Thank you very much for all your help! Gtk Perl is perhaps the quickest
way to develop rich full blown applications. I look forward to working
more with it in the future. (Esp. with bonobo componets, has anyone
played around with writing componets for Nautilus in Gtk Perl?)

Greg
-




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