Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Gtk2::Dialog window size

by smittypaddler (Acolyte)
on Jul 02, 2016 at 14:13 UTC ( [id://1167040]=note: print w/replies, xml ) Need Help??


in reply to Re: Gtk2::Dialog window size
in thread Gtk2::Dialog window size

I solved my problem with this, which granted is simple, but I still think there should be a strait forward one-statement way of determining text size in pixels:
$title=($answer eq $Answer) ? "Yes" : "No, s/b $Answer"; $dialog=Gtk2::Dialog->new($title,$parent, [qw/modal destroy-with-parent/], $title => 'ok', );

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1167040]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2024-04-18 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found