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