Re: gtk_window_get_focus (1.2)



On Tue, 2005-04-12 at 06:22 +0000, trupthi n t wrote:
  Hi,
 
To write/find a function which returns the the widget on which
        the current focus is,when i used the following function

GtkWidget*  gtk_window_get_focus(GtkWindow *window);

The compiler(gtk+1.2.10) gave the following error:

The function does not exists on gtk+-1.2
http://developer.gnome.org/doc/API/gtk/gtkwindow.html

Try to port your app to gtk+-2.0
http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-
get-focus
-- 
Iago Rubio



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