GTK TopLevel Window



Hello,

Here is the problem I am facing :

How do I get the TopLevel GtkWindow of a MenuItem object from a callback ?

I'd like to perform some action on the TopLevel Window when a MenuItem is
selected by the user.

gtk_widget_get_toplevel( widget ) doesn't work. It returns a pointer that do
not correspond to the actual window.

I couldn't find an answer in FAQ or emails.

Anyone to help me ?

Jean-Marc






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