Re: gtkentry -- avoiding unwanted focus
- From: Olexiy Avramchenko <olexiy irtech cn ua>
- To: Allin Cottrell <cottrell wfu edu>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtkentry -- avoiding unwanted focus
- Date: Fri, 14 Nov 2003 16:09:23 +0200
Allin Cottrell wrote:
My app displays some named icons in a certain window. I'd like for
the user to be able to rename the icons, so the names are implemented
with gtkentries. However, I want the name entries to become focused
for editing only if the user clicks on them. At present, one or other
of the entry widgets always shows a blinking cursor when the parent
window is focused (even if they are all configured as not editable
until clicked). Suggestions on how to turn this off?
Use gtk_widget_grab_focus() on another widget - if you have smth like
"Ok"/"Cancel"/"Apply"
buttons, just focus default button.
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]