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



Ionut Borcoman at home <borco@mailbox.ro> writes:
> >     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 :). 
> 
> PS: I have thought that the policy is to show the window in the end,
> after showing the rest of the child widgets.

I think plain realize() will help too if you dont want the widget in screen
that early. (I didnt test it:)

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --



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