Getting notification of GtkTextBuffer changes
- From: Gustavo Giráldez <gustavo giraldez gmx net>
- To: Gtk Development <gtk-devel-list gnome org>
- Subject: Getting notification of GtkTextBuffer changes
- Date: 13 Mar 2003 17:59:07 -0300
Hi,
Is there a way for a GtkTextView derived widget to get notification when
the buffer is set? In gtksourceview we have a GtkSourceBuffer (derived
from GtkTextBuffer) and it has a signal we need to connect in the view.
Currently we track the buffer using a weak pointer and comparing it to
the GtkTextBuffer's text_buffer member, but that's rather messy.
I was going to file an enhancement bug report, but maybe there's a way
to handle this elegantly with the current API?
Thanks,
Gustavo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]