Re: Controlling a widget from an other
- From: Kalap kabat <kalap kabat freemail hu>
- To: gtk-list gnome org
- Subject: Re: Controlling a widget from an other
- Date: Sun, 12 Nov 2006 18:29:49 +0000 (UTC)
David Nečas (Yeti <yeti <at> physics.muni.cz> writes:
>
> > I made a Winforms GUI recently and there it was trivial to
> > send keypresses to an other widget using SendKeys. Surely, after all these
> > years of development GTK has to have some method to do that.
>
> Do you really expect someone will help you after this rant?
> Anyway, I will try to remain constructive.
It wasn't meant to be a rant. I just wondered why I cannot find explicit
examples about this in the tutorial or the documentation when I was sure GTK
had to have something like this.
English is not my native language. Maybe I didn't express myself properly.
>
> So if you still want this
>
> g_signal_connect(entry, "key-press-event",
> G_CALLBACK(key_pressed), treeview);
>
Thanks for the example. I'll try it out.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]