Re: clipboard pasted text highlighting broken?
- From: Havoc Pennington <hp redhat com>
- To: "Dugas, Alan" <alan dugas analog com>
- Cc: gtk-app-devel-list gnome org, gtk-list gnome org
- Subject: Re: clipboard pasted text highlighting broken?
- Date: 16 Oct 2000 16:50:47 -0400
"Dugas, Alan" <alan dugas analog com> writes:
> gtk_entry_append_text(GTK_EDITABLE(GTK_ENTRY(entry)), " ");
>
> > > gtk_editable_select_region(GTK_EDITABLE(GTK_ENTRY(entry)), (gint) 0,
> > (gint) -1);
> > > gtk_widget_show(entry);
> >
> all of the text in the gtkentry gets selected/highlighted properly!?!?!?
> But wouldn't that mean it's somehow forcing the conditions mentioned below.
> Havoc/Owen, does this hack make sense to either of you?
>
Yes, if you paste into a selection, the selection is deleted and the
pasted text becomes selected.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]