Re: Changing focus from one window to another



"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]