Re: [gtk-list] Re: GTK-- How do I add some text to a Gtk_Text ?
- From: Guillaume Laurent <glaurent worldnet fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: GTK-- How do I add some text to a Gtk_Text ?
- Date: 19 Jul 1998 15:58:56 +0200
Ionut Borcoman at home <borco@mailbox.ro> writes:
> I've just found a solution for this: to add a handler for the show event
> of the Modeling class and insert the text in Gtk_Text there. Is there
> other solution ?
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);
...
--
Guillaume.
http://www.worldnet.fr/~glaurent
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]