Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Arrange tk progressbar in tk table column.

by Anonymous Monk
on Mar 10, 2020 at 16:27 UTC ( [id://11114084]=perlquestion: print w/replies, xml ) Need Help??

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

Hi Monks,

I have tk table,which has below widgets embedded in to it

$gmail_table->put(1,0,$lab1); $gmail_table->put(1,1,$lab_ent1); $gmail_table->put(2,0,$lab2); $gmail_table->put(2,1,$lab_ent2); $gmail_table->put(3,0,$lab3); $gmail_table->put(3,1,$email_auth_button); $gmail_table->put(4,0,$progress_bar); ##i need to have this progres +s bar spanned for two columns on the same row,how can i achieve the s +ame. $gmail_table->put(5,0,$lab4); $gmail_table->put(5,1,$lab_chkbutton);
Thank you.

Replies are listed 'Best First'.
Re: Arrange tk progressbar in tk table column. ( Tk::grid columnspan )
by Anonymous Monk on Mar 10, 2020 at 21:43 UTC

    Tk::Table documents no options for spanning columns

    Tk::grid documents a columnspan option

    You should use Tk::grid

Re: Arrange tk progressbar in tk table column.
by Marshall (Canon) on Mar 12, 2020 at 00:41 UTC
    It would be very helpful if you could supply an short example that is "runnable as posted". Then explain what you want that is different than what your posted code does. There is often more than one way to achieve what you want.

    As a side note, be careful with progress bars... as this can be a very "expensive" operation in terms of MIPs. Holds true even you have say a gizmo that displays number of files processed, or a numerical percentage of total work done. You don't want the display of progress to actually slow down the work toward progress itself in any significant way. This can happen if you update the GUI too often.

    I recommend that you register as a user on Perl Monks. Doesn't cost anything. A question like this involves back-and-forth and you can't update your post as anon to comply with my request.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-26 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found