Re: turn on italics in TextView
- From: cecashon aol com
- To: dougm bravoecho net
- Cc: gtk-app-devel-list gnome org
- Subject: Re: turn on italics in TextView
- Date: Tue, 20 Jun 2017 19:48:34 -0400
Another option is to look at the properties of the tags to get the information that you need. This might work
better than saving globals and matching pointers.
Eric
...
GSList *tlist=NULL;
GSList *next=NULL;
tlist=gtk_text_iter_get_tags(&start);
if(tlist!=NULL)
{
do
{
next=tlist->next;
gchar *string=NULL;
g_object_get(G_OBJECT(tlist->data), "name", &string, NULL);
g_print("%s\n", string);
g_free(string);
tlist=g_slist_next(tlist);
}while(next!=NULL);
}
else g_print("No Tags\n");
if(tlist!=NULL) g_slist_free(tlist);
...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]