gtk.cfg: Add support for gtk_label_new(), enhance gtk_label_get(). (#1706)

References:
https://developer.gnome.org/gtk3/stable/GtkLabel.html#gtk-label-new
https://developer.gnome.org/gtk2/stable/GtkLabel.html#gtk-label-get
Found by daca@home.
This commit is contained in:
Sebastian 2019-02-27 12:56:21 +01:00 committed by GitHub
parent 226f0c7544
commit 2a45d390f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -11091,9 +11091,24 @@
<leak-ignore/>
<noreturn>false</noreturn>
</function>
<!-- GtkWidget * gtk_label_new (const gchar *str); -->
<function name="gtk_label_new">
<noreturn>false</noreturn>
<use-retval/>
<returnValue type="GtkWidget *"/>
<arg nr="1">
<not-bool/>
<strz/>
</arg>
</function>
<!-- void gtk_label_get (GtkLabel *label, gchar **str); -->
<function name="gtk_label_get">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="void"/>
<warn severity="style" reason="Obsolete">gtk_label_get is deprecated and should not be used in newly-written code.</warn>
<arg nr="1"/>
<arg nr="2"/>
</function>
<function name="gtk_label_get_angle">
<leak-ignore/>