-
Notifications
You must be signed in to change notification settings - Fork 4
TextBuffer.insertWithTagsByName method is missing #27
Copy link
Copy link
Open
Description
Looks like gidgen did not generate this method. I did check the GIR files and not GTK3 and GTK4 GIR files have it.
GTK3: https://docs.gtk.org/gtk3/method.TextBuffer.insert_with_tags_by_name.html
GTK4: https://docs.gtk.org/gtk4/method.TextBuffer.insert_with_tags_by_name.html
GTK3 Gir:
<method name="insert_with_tags_by_name"
c:identifier="gtk_text_buffer_insert_with_tags_by_name"
introspectable="0">
<doc xml:space="preserve"
filename="gtk/gtktextbuffer.c"
line="1550">Same as gtk_text_buffer_insert_with_tags(), but allows you
to pass in tag names instead of tag objects.</doc>
<source-position filename="gtk/gtktextbuffer.h" line="232"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="buffer" transfer-ownership="none">
<doc xml:space="preserve"
filename="gtk/gtktextbuffer.c"
line="1552">a #GtkTextBuffer</doc>
<type name="TextBuffer" c:type="GtkTextBuffer*"/>
</instance-parameter>
<parameter name="iter" transfer-ownership="none">
<doc xml:space="preserve"
filename="gtk/gtktextbuffer.c"
line="1553">position in @buffer</doc>
<type name="TextIter" c:type="GtkTextIter*"/>
</parameter>
<parameter name="text" transfer-ownership="none">
<doc xml:space="preserve"
filename="gtk/gtktextbuffer.c"
line="1554">UTF-8 text</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve"
filename="gtk/gtktextbuffer.c"
line="1555">length of @text, or -1</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="first_tag_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="gtk/gtktextbuffer.c"
line="1556">name of a tag to apply to @text</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve"
filename="gtk/gtktextbuffer.c"
line="1557">more tag names</doc>
<varargs/>
</parameter>
</parameters>
</method>I am porting by DIDE application to gid:gtk3 and that is where I found out that this method is missing...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels