Not able to call set_accept_focus(bool) member function



Hi,
I am trying to call the method set_accept_focus ( false ) on an object of Gtk::Window.
that is: Gtk::Window* win;
            win->set_accept_focus ( false );

But the compiler says : 'class Gtk::Window' has no member named 'set_accept_focus'.

set_accept_focus ( bool ) method is presented in the documentation. The documentation clearly says that this is a member function of Gtk::Window. I am not able to understand what is going wrong.

please clarify this!




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