Re: gtk_widget_get_window() method needed



Michael Natterer <mitch gimp org> writes:

> Stefan Kost <kost imn htwk-leipzig de> writes:
>
>> hi hi,
>>
>> I wonder why there is no gtk_widget_get_window() method.
>> Whe I e.g. whould like to set a wait-cursor for my main-window I need to
>> directly acces the window member of the GtkWidget structure, which is not nice.
>>
>> Further it is inconsitent as there are methods like
>> gtk_widget_get_{parent|root}_window.
>>
>> What you think? It would be a tiny addition anyway.
>
> gtk_widget_get_toplevel()

Um, ignore me :) You want an accessor for widget->window...
I should read twice before replying.

ciao,
--mitch



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