Re: gtk_window_set_default/set_focus()



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]