Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Tkx - new_table - how to resize columns ?

by johngg (Abbot)
on May 16, 2018 at 15:18 UTC ( #1214659=note: print w/replies, xml ) Need Help??

in reply to Tkx - new_table - how to resize columns ?

I've never had to use Tkx so I had a Google about and got rather confused as there appear mentions of modules named with the same letters but different cases; Tktable, TkTable, tkTable and tktable. Are they perhaps all versions of the same basic module or are they reinventions of the same wheel?

Your mention of ActiveState and your code implies that you are using this. No longer (not for years) having any ActiveState instance installed, I can't check in the documentation. Looking at the package details (browse to a particular architecture version) suggests that it is derived from this and again I could find no documentation.

The only useful documentation I could discover was this but in it I could see no method that would allow sizing of individual columns, all column-specific methods seem to apply globally. I hope the references I've found will help you to investigate further and find something more useful.



Replies are listed 'Best First'.
Re^2: Tkx - new_table - how to resize columns ?
by x-lours (Sexton) on May 17, 2018 at 12:14 UTC

    a enormous thank you ;-)
    thank to you i found my answer in the page
    that i can act on width even whith specifying a column

    adding this

    $t->width(0, 10); $t->width(1, 50); $t->width(2, 20); $t->width(3, 20);
    in place of the 4 lines $t->g_grid_columnconfigure(n, -weight => x); make my day !

    i can close this tip

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1214659]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2018-07-22 01:16 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (451 votes). Check out past polls.