RE: Deleting text from a GtkExText
- From: "Dugas, Alan" <alan dugas analog com>
- To: gtk-app-devel-list gnome org, detlef reichl arcormail de, gtk-list gnome org
- Subject: RE: Deleting text from a GtkExText
- Date: Fri, 3 Nov 2000 16:53:34 -0500
> Thanks for your responses Chris and Detlef. I keep trying to use this
> widget as a gtktext. Have either of you run into problems with cpu usage
> when using gtkextext to insert text? After replacing gtktext with
> gtkextext, the update rate of the gtkextext is so slow my system locks up!
> In other words this widget appears to have an extremely large amount of
> overhead. Unless... I have something in my code that's messing with the
> gtkextext. Any ideas?
>
>
>
> -- Stupid Genius
>
>
> ----------
> From: Detlef Reichl[SMTP:detlef reichl arcormail de]
> Reply To: detlef reichl arcormail de
> Sent: Thursday, November 02, 2000 5:25 PM
> To: GTK app devel
> Subject: Re: Deleting text from a GtkExText
>
>
> On Thu, 2 Nov 2000, Dugas, Alan wrote:
> >
> > Has anyone else run in this problem? I am currently unable to delete
> > text,
> > from within my program, that I insert into a gtkextext. However, if I
> > manually move the cursor back into the text inserted then I am able to
> > manually delete the text. Unfortunately, I need to delete text from
> > within
> > the program since I need to set the widget as uneditable. I am running
> > Solaris (sunOS 5.6) gtk+-1.2.8, glib-1.2.8, & gtkextext-0.0.21. Any and
> > all
> > help would be GREATLY appreciated. Thanks in advance to those who
> > respond.
> >
>
> hi alan
>
> freeze the widget
> make it editable
> remove the unwonted chars with gtk_extext_delete_text()
> make it uneditable
> thaw it
>
> with freet n thaw you prevent the user while updaing
>
> hope that helps
> if not i can send you some code i use in muli.
>
> detlef
> --
> | Multipliciter Lingua |
> | muli.sourceforge.net |
>
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]