Re: [gtk-list] [new mini-widget] hbox vs viewport
- From: Torsten Paul <paul os inf tu-dresden de>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] [new mini-widget] hbox vs viewport
- Date: 22 Jul 1997 11:12:57 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]