in reply to I can't create a new Gtk2 window

Try removing the Gtk2->main in the newWindow subroutine, and replace it with $mw->show;. You already have the Gtk2->main in main:: and you don't need it again.

Replies are listed 'Best First'.
Re^2: I can't create a new Gtk2 window
by Muskovitz (Scribe) on Jan 06, 2015 at 14:01 UTC

    how can i make this question `mark as solve`, you just solved my problem dude! ty

      Update your original post's title with '(SOLVED)' at the end.

      --MidLifeXis