Re: [gtk-list] Re: GTK-- How do I add some text to a Gtk_Text ?



Guillaume Laurent wrote:
> 
> Yes. Call show() first thing in the constructor :
> 
>   Modeling() :
>     adj(0,0,100),
>     itext(0,&adj),
>     iscrollbar(&adj)
>     {
>       show();
>       add(&ihbox);
>       ihbox.show();
>       ihbox.pack_start(&itext,false);

It's not what I wanted, but I write less this way and it's working :). 

Ionutz

PS: I have thought that the policy is to show the window in the end,
after showing the rest of the child widgets.



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