[500] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: [new mini-widget] hbox vs viewport

daemon@ATHENA.MIT.EDU (Torsten Paul)
Tue Jul 22 05:13:29 1997

To: gtk-list@redhat.com
From: Torsten Paul <paul@os.inf.tu-dresden.de>
Date: 22 Jul 1997 11:12:57 +0200
In-Reply-To: Owen Taylor's message of 21 Jul 1997 15:42:46 -0400
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Owen Taylor <owt1@cornell.edu> writes:

> In fact, since it seemed like a generally useful thing, I did just
> that by hacking out the unnecessary stuff from GtkViewport, and adding
> in the necessary geometry propagation stuff. It's a lot simpler than
> the viewport widget.
> 
> I called the resulting widget, GtkEventBox. (though I don't really
> like the name, feel free to change it.) I've included it and a
> test program below. It's use is pretty straightforward:
> 

Wow! Today I wanted to ask how to do this as I need to capture
KeyPress and KeyRelease events :-). I tried using a DrawingArea
but I never got any key event...

Thanx.
  Torsten.

-- 
Torsten Paul				Es ist leichter, einen Atomkern zu
paul@os.inf.tu-dresden.de	//		spalten als ein Vorurteil.
__________________________ooO_(+ +)_Ooo________Albert Einstein_(1879-1955)
				U

--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post