summaryrefslogtreecommitdiff
path: root/gtk/gtktextbuffer.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-03-16 19:32:20 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-03-16 19:32:20 +0000
commite7a21a2eec40ddb38e4b27b4fe818dbd20351259 (patch)
tree5273faa56958657e5b5d930c7b7d372b682d31c4 /gtk/gtktextbuffer.h
parent1a72ab25606c885d8fda1f0de77ec751df1b12d5 (diff)
downloadgtk+-e7a21a2eec40ddb38e4b27b4fe818dbd20351259.tar.gz
add varargs for properties to set on the tag.
2001-03-15 Havoc Pennington <hp@redhat.com> * gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): add varargs for properties to set on the tag. * gtk/testtext.c: fixups to reflect create_tag change * gtk/gtktexttag.c (gtk_text_tag_set_property): background/foreground stipple are objects, not boxed. * demos/gtk-demo/textview.c: intellihancing
Diffstat (limited to 'gtk/gtktextbuffer.h')
-rw-r--r--gtk/gtktextbuffer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h
index 85e42d08aa..54f245e8aa 100644
--- a/gtk/gtktextbuffer.h
+++ b/gtk/gtktextbuffer.h
@@ -271,9 +271,10 @@ void gtk_text_buffer_remove_tag_by_name (GtkTextBuffer *buffer,
/* You can either ignore the return value, or use it to
* set the attributes of the tag. tag_name can be NULL
*/
-/* FIXME this should take a varargs list of tag attributes I think */
GtkTextTag *gtk_text_buffer_create_tag (GtkTextBuffer *buffer,
- const gchar *tag_name);
+ const gchar *tag_name,
+ const gchar *first_property_name,
+ ...);
/* Obtain iterators pointed at various places, then you can move the
iterator around using the GtkTextIter operators */