Popping a combo->list up?

edscott wilson garcia edscott at imp.mx
Sat Sep 27 15:15:00 CEST 2003


On Sat, 2003-09-27 at 05:42, Eduard Roccatello wrote:
> Hi there,
> i'm trying to improve my autocompletion patch a lil and i like to make the 
> combo list popping up if there is no text in the entry and you press TAB.
> (thanks for the notice :-)
> 
> My problem is that i'm not able to do this without accessing to private 
> field of the combo struct (ok, it's c and i could do this but i think it 
> isn't the best way).
> Has someone already done this?

Maybe if you:
1- do not disable the activate function on return
2- trap all keyboard input so that the activate signal is not generated
on return
3- send the activate signal on TAB key.

I have not had luck with the above procedure but I have not worked at it
very much.

regards,

Edscott






More information about the Xfce4-dev mailing list