Subject: how make drawing area sensible to keyboard.
- From: Dave Andruczyk <djandruczyk yahoo com>
- To: gtk-app-devel-list gnome org
- Subject: Subject: how make drawing area sensible to keyboard.
- Date: Mon, 29 Sep 2003 10:14:52 -0700 (PDT)
Message: 3
Date: Mon, 29 Sep 2003 08:50:07 +0100 (BST)
From: =?iso-8859-1?q?manu=20aradhya?= <manu_aradhya yahoo co in>
Subject: how make drawing area sensible to keyboard.
To: gtk-app-devel-list gnome org
Assume that i have entry & a drawable in a
window,after entering some text into entry, i want to
focus the drawable where i want to draw some pixel in
it,drawing of pixel stops when Enter key is pressed.
my problem is
1)how to shift the focus onto drawable, or to set
"activate or focus_in event" for drawable.
2)how to set drawable to "key_press event"?
pls anybody suguest me some ideas.
Put the drawing ares inside of an event_box and then you
can do what you want (set focus, capture events, etc..)
=====
Dave J. Andruczyk
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]