Do you have a question? Post it now! No Registration Necessary. Now with pictures!
March 31, 2008, 10:13 pm
rate this thread
I'm making a glade-based tool: there is a window "father" that have to
open more child windows, here my code:
my $newWin = Gtk2::GladeXML->new('gui/wSMS.glade');
my $newForm = $newWin->get_widget('wSMS');
sub init #it's on form.show()
ok, if I open more than 1 windows, when i click btnOk i get the some
result from all windows.
so when i run the init(), I overwrite the data of the previous window.
What could be the correct method to open more of the some window? i
don't think the package is the best solution.