Re: gtk_window_set_default/set_focus()
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list gnome org
- Subject: Re: gtk_window_set_default/set_focus()
- Date: 31 Oct 2001 15:34:01 -0500
Owen Taylor <otaylor redhat com> writes:
> One thing to note is that if you actually want to _unset_
> the focus in a window (should this even be allowed?)
> gtk_window_set_focus (window, NULL); is the only way
> to do this.
Remembered that the case you need to do this is if you
make the focus widget !CAN_FOCUS. Which strongly implies
we should have gtk_widget_set_can_focus() ... it's not
the caller's responsibility to maintain internal GTK+
invariants.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]