Re: [gtk-list] gtk-text(activate) only 1 enter key!!!
- From: Stephen Witkop <switk worldnet att net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] gtk-text(activate) only 1 enter key!!!
- Date: Mon, 14 Jun 1999 22:09:19 -0400
"David J. Topper" wrote:
>
> Hey folks,
>
> I've connected a vscale to a text box to get a nice little widget set
> which acts like a spin button with a slider. But here's the thing, I
> can only connect signals:
>
> activate
> changed
>
> to the text area. The former only comes into play when I hit the ENTER
> key, not the ENTER key on my keypad. The latter is a problem because I
> do some significant digit calculation, which gets triggered with every #
> I hit (makes for paranoid numeric entry).
>
> Can this be changed? The whole purpose here is to rapidly enter
> numbers, that little 2nd enter key is nice, eh?
>
> Thanks all,
>
> Dave Topper
> --
> Technical Director, Virginia Center for Computer Music
> Programmer / Analyst, Dean's Office (School of A&S)
> http://www.people.virginia.edu/~djt7p
> (804) 924-6887
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
The way that I've been getting around this is to connect to the
key_press_event and watch for a GDK_KP_enter key and handle it yourself.
--
Stephen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]