in reply to Gtk2::Dialog window size

Try with this:
$dialog->set_default_size ($width, $height); # or #$dialog->set_default_size (700, 400);
I, personally, would also make the window non-resizable as well.

Replies are listed 'Best First'.
Re^2: Gtk2::Dialog window size
by smittypaddler (Acolyte) on Jun 30, 2016 at 23:43 UTC
    set_default_size needs sizes in pixels. I had tried $dialog->set_size_request(500,-1), which worked, sort of. I know the size of my title in characters, but I don't know the width of the font used, so I can only guess at the required width in pixels, hence the 500. If my title is e.g. "No, whatever" I need something that will tell me how many pixels is equivalent to length("No, whatever").