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

Re: Varying font settings within a cell in Tk::TableMatrix?

by elef (Friar)
on Jun 02, 2013 at 07:23 UTC ( #1036553=note: print w/replies, xml ) Need Help??


in reply to Varying font settings within a cell in Tk::TableMatrix?

No comment from anyone?
One solution I thought of is to put Label widgets in every cell, which TableMatrix supports out of the box. Then if I can find the code for putting mixed fonts in labels, I'm all set. It would probably be simpler and more efficient to do this within TableMatrix, of course.
  • Comment on Re: Varying font settings within a cell in Tk::TableMatrix?

Replies are listed 'Best First'.
Re^2: Varying font settings within a cell in Tk::TableMatrix?
by Anonymous Monk on Jun 02, 2013 at 08:37 UTC

    No comment from anyone?

    <Nelson Muntz>Ha-ha!</Nelson Muntz>

    It would probably be simpler and more efficient to do this withing TableMatrix, of course.

    The docs don't show that its possible, although it might be :) its not

    So stick a Tk::Text into a cell and there you go, $table->get('row,col') then tagAdd/tagConfigure ... in theory

    Or patch/extend Tk-TableMatrix-1.23\pTk\tkTableTag.c and ... c-fudge :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1036553]
help
Chatterbox?
[Lady_Aleena]: I don't want to have to do: alpha_menu($hash, undef, $type);
[Lady_Aleena]: Or what Discipulus said.
[shmem]: Lady_Aleena: geany supports ctags.
[Discipulus]: a good compromise can be my ($need, $opts_ref) = @_ a scalar and an hash reference
[Discipulus]: see you monks!
[Lady_Aleena]: shmem, let me get this sub rewritten, then I will look into how to use ctags in geany. Deal? 8)
[shmem]: Discipulus: yeah, that might eventually prepare the path for OO ;-)
[Lady_Aleena]: See you, Discipulus.
[shmem]: Lady_Aleena: that's up to you. I only wanted to show you a path that might be more comforting than command line grep ;-)
[Lady_Aleena]: shmem, I don't think any of my modules could be converted to OO. They are too procedural.

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2017-04-27 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (506 votes). Check out past polls.