in reply to Re: Eliminate blinking cursor from text widget
in thread Eliminate blinking cursor from text widget

Sorry but the entry widget seems to be limited to one line in height. I need a 8x8 text widget to represent the board.
  • Comment on Re^2: Eliminate blinking cursor from text widget

Replies are listed 'Best First'.
Re^3: Eliminate blinking cursor from text widget
by BrowserUk (Patriarch) on Jan 14, 2012 at 15:10 UTC

    I take it from that you've been using a multi-line Text widget.

    The problem I foresee is that whilst in a Text widget, a button-1 click sets the insertion cursor to the character under the mouse, if you make it readonly and disable the insertion cursor, will the button-1 binding still work?

    I would use an 8x8 grid of Entry widgets. That way, each click identifies which symbol is clicked.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

Re^3: Eliminate blinking cursor from text widget
by chessgui (Scribe) on Jan 14, 2012 at 15:12 UTC
    PROBLEM SOLVED:

    You should set the insertOnTime option (which controls the time in millisecons for which the blinking cursor is on) to zero.

    $text_widget->configure(-insertontime=>0);