Re: About GtkTextBuffer and GtkTextTag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux