Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Change the Behaviour of a Button in Tk::Dialog

by Discipulus (Canon)
on May 15, 2017 at 17:49 UTC ( [id://1190328]=note: print w/replies, xml ) Need Help??


in reply to Re: Change the Behaviour of a Button in Tk::Dialog
in thread Change the Behaviour of a Button in Tk::Dialog

Hi ++zentara, as always you got the simplest and clearest solution, but:

> The perldoc fro Tk::Dialog says it has the same advertised widgets as Tk::DialogBox

I cannot find this explicitally said, I only see Tk::DialogBox in the see also section.

When i read the doc of Tk::Dialog i've not understood what advertised was supposed to mean. It is a general Tk concept?

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^3: Change the Behaviour of a Button in Tk::Dialog
by zentara (Archbishop) on May 15, 2017 at 18:12 UTC
    Hi Discipulus, right in the link you gave to Tk::Dialog it says:

    ADVERTISED WIDGETS
    Because Tk::Dialog is a subclass of Tk::DialogBox it inherits all the advertised subwidgets of its superclass: e.g. "B_button-text", where 'button-text' is a Button's -text value. Additionally, Tk::Dialog advertises:

    Yes, advertised widgets are a general feature of Tk, and most compound widgets will have them. See perldoc Tk::mega . All subclasses of mega widgets inherit the parent widgets advertised widgets.


    I'm not really a human, but I play one on earth. ..... an animated JAPH
      ah! i was reading http://search.cpan.org/~ni-s/Tk/pod/DupName/Dialog.pod instead of http://search.cpan.org/dist/Tk/pod/Dialog.pod !!

      Infact i'm at home with some line of fever but i was wondering if i was going blind and why i was not seing the same of you..

      Nothing worst than read the wrong doc!

      L*

      There are no rules, there are no thumbs..
      Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found