$widget->has_focus use ?

hi everyone
does someone know how to know if a widget has the focus ?

I tried $widget->has_focus() but in the doc it takes as arg something
called newvalue. What is that exactly ?

Anyway if I use it with or without arg, I got some "undefined variable
line 40"
which is just where I have the Gtk main loop started.

Any Ideas ?


Fred Wagner

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]