Re: What's the point of realizing?




Landshark <lndshark@megsinet.net> writes:

> What exactly is the point of realizing a widget?
> 
> I've seen it done in a few places, but the one that confuses me is for a
> window.  In testgtk, the create_toolbar function realizes the window it
> creates.  I've never done this before and am wondering if I should be.

If you need to access the widget->window field of a widget, or the
widget's style immediately after creating it, than you should
force-realize it. 

Regards,
                                        Owen



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