Re: marks API
- From: Havoc Pennington <hp redhat com>
- To: Tim Janik <timj gtk org>
- Cc: gtk-devel-list gnome org
- Subject: Re: marks API
- Date: 15 Jul 2000 11:47:51 -0400
Havoc Pennington <hp@redhat.com> writes:
> > >
> > > gboolean gtk_text_mark_deleted (GtkTextMark *mark);
> >
> > this simply returns whether a mark got deleted meanwhile?
> > could i get "delete notification" of such an event occouring?
> >
>
> This could also be called gtk_text_mark_not_in_buffer()
> or gtk_text_buffer_mark_in_buffer(). There's a signal on the buffer
> you could use to get notification.
>
I should clarify that the purpose of this function is basically for
g_return_if_fail() statements; you should know when you delete a mark,
and there are no valid operations on a mark once you delete it.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]