Re: [gtk-list] Re: GtkText widget handling of "default values"



On Thu, 8 Apr 1999 john@giorgio.hart.bbk.ac.uk wrote:

> When gtkentry sees a button press, it grabs the focus (triggering your
> select_region signal), and after that starts selection processing. It moves
> the cursor to the location of the button-click, and gets ready to do drag-area
> stuff to select a region and all that hoo-ha.
> 
> So ... your signal is triggered way too early. The only thing I can think of
> is to connect to "event" and look for BUTTON_UP ... I tried it and it does
> sort-of work. Anyone got a better idea? 
Hmm, this could work but the problem how to distinguish the first
BUTTON_UP from all others.  It would be confusing if each time I
click into the entry the text would be marked ...

Kind regards

          Andreas.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]