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

Tk override standard icons MessageBox

by Anonymous Monk
on Dec 02, 2019 at 19:23 UTC ( [id://11109565]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Simple question. Is it possible to override - locally or globally - the standard icons the come with the MessageBox, possibly with .png?

my $answer = $mw->messageBox( -icon => 'question', -type => 'yesno', -title => 'Some Message', -message => 'Do you like me so far?', );

Replies are listed 'Best First'.
Re: Tk override standard icons MessageBox
by Anonymous Monk on Dec 03, 2019 at 02:04 UTC

    Simple question. Is it possible to override - locally or globally - the standard icons the come with the MessageBox, possibly with .png?

    Hi

    Have you looked at the code? Or at the $mw->WidgetDump?

    Of course its possible

      Yes, I did, but did not help.

      There is no .pm for messageBox. I guess it is composite on the run (not expert at all). And I could not make out where icons are generated.

      $mw->WidgetDump did not say anything special about the Widget

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (8)
As of 2024-04-18 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found