Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
This solution is acceptable, but not perfect. For some reason the dialog buttons stick to the right side of the window.

Tk::DialogBox mentions you have no control over appearance of buttons, from experience I know this is just following Tcl/Tk tradition , so I won't go digging to see where this is explained in Tk docs (its not in the obvious places)

In the meantime I found an alternative at http://tktable.sourceforge.net/tile/doc/dialog.html ...
package require ttk::dialog
from Tcl/Tk to Perl/Tkx. Hopefully one of you monks can help me along again.

You probably don't have that installed, so the following won't help

$ perl -MTkx -e " Tkx::package_require(q/ttk::dialog/); " can't find package ttk::dialog at -e line 1.

Even the undocumented (raw tcl commands) don't work

$ perl -MTkx -e " Tkx::i->interp->Eval(q/package require ttk::dialog/) + " can't find package ttk::dialog at -e line 1.

Safe to say ttk::dialog doesn't come standard (esp with activeperl) so you'd have to install it yourself if its possible. See also


In reply to Re^3: [Tkx] Search for dialog box for text input by Anonymous Monk
in thread [Tkx] Search for dialog box for text input by GUIfriend

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found