Re: Focus issues
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: gtk-app-devel-list gnome org
- Subject: Re: Focus issues
- Date: Sun, 5 Nov 2006 00:10:26 +0200
Adam Tee wrote:
Hi,
In my application, GNU Denemo, I have a toolbar which gets focussed on and I cannot seem to
change the focus to the main drawing area widget.
I have tried gtk_widget_grab_focus without success.
Probably your drawing area just cannot accept focus. Try
GTK_WIDGET_SET_FLAGS (drawing_area, GTK_CAN_FOCUS);
However, I'm not sure if a drawing area can do _anything_ with
keyboard focus (unless you do something with typed characters
yourself.)
Paul
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]