Re: About GtkTextBuffer and GtkTextTag
- From: Havoc Pennington <hp redhat com>
- To: Harobed <mailing harobed org>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>, "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: About GtkTextBuffer and GtkTextTag
- Date: Thu, 09 Oct 2003 14:53:41 -0400
On Thu, 2003-10-09 at 07:21, Harobed wrote:
User selectes nothing. The insert cursor is at end of buffer, or between
two chars. User selectes one tag in menu. After that, when user types
char, the texttag selected will be apply to this char.
Basically you will need to keep track of the text attributes the user
has selected that haven't yet been applied to any text, and apply the
attributes when they start typing. You can g_signal_connect_after() to
insert_text perhaps to catch text just after it's added.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]