Re: Text buffer API
- From: Havoc Pennington <hp redhat com>
- To: Darin Adler <darin eazel com>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: Text buffer API
- Date: 10 Jul 2000 17:52:40 -0400
Darin Adler <darin@eazel.com> writes:
> For undo, we have a need to distinguish changes to text that happen as a
> result of a user action from those that are done by the code. In GtkEntry we
> found no signal (other than the widget key down signals) emitted as part of
> typing that was not also emitted as a result of calling
> gtk_entry_insert_text or gtk_entry_delete_text. As a workaround, we started
> on a subclass (poorly implemented -- just good enough for our purposes now)
> called NautilusEntry with an additional signal, "user_changed", that we
> intend to be emitted only when the change was actually done by the user.
>
We already have "interactive" versions of insert_text and
delete_text. Would it be sufficient to make a boolean arg to the
virtual function indicating interactivity?
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]