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
This commit is contained in:
committed by
Havoc Pennington
parent
1a72ab2560
commit
e7a21a2eec
@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user