$window = Gtk2::Widget->new ('Gtk2::Window',
                             title => 'something cool',
                             allow_grow => TRUE);

This is really just a convenience function that wraps Glib::Object->new.