Re: Changing focus from one window to another
- From: Havoc Pennington <hp redhat com>
- To: "Ian King" <king eiffel com>
- Cc: <gtk-list gnome org>
- Subject: Re: Changing focus from one window to another
- Date: 19 Jun 2001 19:36:01 -0400
"Ian King" <king eiffel com> writes:
> Does that mean the gtk_widget_set_focus (window) will never work? If so,
> then an autocomplete window that comes up when you are typing code would
> then surely be impossible to implement, or is there another way?
>
gtk_widget_set_focus() does something else, not what you are hoping
for here. It's a semi-internal function.
gdk_keyboard_grab(), or just getting the keypresses on your editor
widget and updating the complete widget appropriately, would be two
ways to do this.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]