Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Tk override standard icons MessageBox

by Anonymous Monk
on Dec 02, 2019 at 19:23 UTC ( #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? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2022-05-19 01:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?