Re: gtk_widget_get_toplevel() weirdness.




John C Atkeson <jcatkeson@juno.com> writes:

>   
>   I've narrowed it down...  gtk_widget_get_toplevel()  considers a popup
> menu to be a top-level window.
>   
>   Is this a bug or a feature?

Feature. It _is_ a top-level window, just not the one you
want. You need to use the code-snippet that Damon posted
in response to your question.

Regards,
                                        Owen



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