Re: GtkEditable and GtkTextView
- From: Tim Janik <timj gtk org>
- To: Havoc Pennington <hp redhat com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: GtkEditable and GtkTextView
- Date: Thu, 19 Oct 2000 04:25:03 +0200 (CEST)
On 18 Oct 2000, Havoc Pennington wrote:
>
> Hi,
>
> Owen just reminded me why we didn't reimplement GtkText in terms of
> TextView, and the same thing applies to GtkEditable.
>
> The problem is that the GtkEditable interface includes three signals:
> changed, insert_text, and delete_text. changed works fine, you just
> propagate changed from the buffer to GtkEditable. The problem is
> insert_text and delete_text; these are used for filtering. i.e. their
> default handler has to actually insert the text or delete the text.
> To get this to work right, while keeping GtkTextBuffer working right,
> and allowing multiple views on GtkTextBuffer, is pretty much
> impossible as far as we can tell.
hm, could you elaborate a bit?
i'm not sure i understand the problem and i have to admit at this point
i'm not even sure anymore which of the things you're talking about is
an object, an interface, an aggregate object.
>
> Havoc
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]