Re: Can't write to unmapped (unrealized) text widget




beach@ataman.com writes:

> Owen writes:
> 
> > It has to do with the fact that the Text widget needs the
> > widget->style field to be initialized so it can get the 
> > default colors and fonts.
> > 
> > But in short:
> > 
> >  - You'll need realize the text widget with 1.0, sorry.
> >  - It has been fixed in the devel branch, so you won't need
> >    to in 1.2.
> 
> Thanks for the help.  Are there other widgets for which this is true?

Except for the text widget, the only time in which you need
to force-realize a widget is if you want to access
widget->window directly.
                                        Owen



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