Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Your problem description is rather vague. Is this what you were after?

(By the way, it is helpful to provide a COMPLETE, RUNNABLE example of your code so people don't have to fill in the boilerplate just to look at what you are trying to do.)

UPDATE: Er... removed spurious message code from example. Copy/paste error :/

use strict; use warnings; use Tk; my $mw = MainWindow->new; my $fsdb_tab = $mw->Frame()->pack( -expand => 1, -fill => 'both' ) +; my $button_frame = $mw->Frame()->pack( -expand => 1, -fill => 'x' ); #### Label & Entry creation to select the test path my $frm_name = $fsdb_tab->Frame()->pack( -side => 'left', -fill => 'bo +th', -anchor => 'n' ); my $lab = $frm_name->Label( -text => "TEST PATH:" )->pack( -side => 'l +eft' ); my $ent = $frm_name->Entry( -width => 80 )->pack( -side => 'left' ); $ent->focus; #GUI building for Browser push buttons my $but = $frm_name->Button( -text => "Browse", -command => \&browser_button, -activebackground => 'lightblue', -activeforeground => 'black', -relief => 'raised', -borderwidth => 8 )->pack( -side => 'right' ); #### Button for "Run FSDB" my $final_frame = $button_frame->Frame( -borderwidth => '5', -relief => 'ridge' ) ->grid( -row => 0, -column => 0 ); my $run_fsdb = $final_frame->Button( -text => "Run FSDB", -command => \&run_fsdb, -activebackground => 'lightblue', -activeforeground => 'black', -relief => 'raised', -borderwidth => 8, -width => 10 )->pack( -side => 'left', -expand => 0 ); #### Button for "Refresh" my $refresh_frame = $button_frame->Frame( -borderwidth => '5', -relief => 'ridge' ) ->grid( -row => 0, -column => 1 ); my $refresh_fsdb = $refresh_frame->Button( -text => "Refresh", -command => \&refresh_fsdb, -activebackground => 'lightblue', -activeforeground => 'black', -relief => 'raised', -borderwidth => 8, -width => 10 )->pack( -side => 'left', -expand => 0 ); #### Button for "EXIT" my $exit_frame = $button_frame->Frame( -borderwidth => '5', -relief => 'ridge' )->grid( -row => 0, -column => 2 ); my $exit_fsdb = $exit_frame->Button( -text => "EXIT", -command => sub { $mw->destroy; exit; }, -activebackground => 'lightblue', -activeforeground => 'black', -relief => 'raised', -borderwidth => 8, -width => 10 )->pack( -side => 'right' ); MainLoop;

In reply to Re: Regarding Perl/Tk by thundergnat
in thread Regarding Perl/Tk by sammy_01

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

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    [Petroza]: Hey there, I'm new here. I tried to post a question under ''Seekers of Perl Wisdom'' and when I tried to create it An Error appeared stating that I don't have permissions to post there. Do I need some sort of an Authorization?

    How do I use this? | Other CB clients
    Other Users?
    Others studying the Monastery: (8)
    As of 2017-10-17 15:11 GMT
    Find Nodes?
      Voting Booth?
      My fridge is mostly full of:

      Results (233 votes). Check out past polls.