Re: gtk_window_set_default/set_focus()
- From: Soeren Sandmann <sandmann daimi au dk>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: gtk_window_set_default/set_focus()
- Date: 31 Oct 2001 21:49:20 +0100
Owen Taylor <otaylor redhat com> writes:
> 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.
In the keyboard navigation patch for GtkPaned I set CAN_FOCUS when the
handle should be focused, and !CAN_FOCUS when it shouldn't.
Søren
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]