gtk.cfg: Add gtk_box_new(), gtk_hbox_new() and gtk_vbox_new() (#1975)
References: https://developer.gnome.org/gtk3/stable/GtkBox.html#gtk-box-new https://developer.gnome.org/gtk3/stable/GtkHBox.html#gtk-hbox-new https://developer.gnome.org/gtk3/stable/GtkVBox.html#gtk-vbox-new Found by daca@home
This commit is contained in:
parent
a1a14b8465
commit
1cb90f925e
41
cfg/gtk.cfg
41
cfg/gtk.cfg
|
@ -6284,6 +6284,19 @@
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- GtkWidget * gtk_box_new(GtkOrientation orientation, gint spacing); -->
|
||||||
|
<function name="gtk_box_new">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="GtkWidget *"/>
|
||||||
|
<use-retval/>
|
||||||
|
<arg nr="1" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
<function name="gtk_builder_error_quark">
|
<function name="gtk_builder_error_quark">
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
@ -6316,6 +6329,20 @@
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- GtkWidget * gtk_hbox_new(gboolean homogeneous, gint spacing); -->
|
||||||
|
<function name="gtk_hbox_new">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="GtkWidget *"/>
|
||||||
|
<use-retval/>
|
||||||
|
<warn severity="style">gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid.</warn>
|
||||||
|
<arg nr="1" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
<function name="gtk_hbutton_box_get_layout_default">
|
<function name="gtk_hbutton_box_get_layout_default">
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
@ -6560,6 +6587,20 @@
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- GtkWidget * gtk_vbox_new(gboolean homogeneous, gint spacing); -->
|
||||||
|
<function name="gtk_vbox_new">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="GtkWidget *"/>
|
||||||
|
<use-retval/>
|
||||||
|
<warn severity="style">gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid.</warn>
|
||||||
|
<arg nr="1" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
<function name="gtk_vbutton_box_get_layout_default">
|
<function name="gtk_vbutton_box_get_layout_default">
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
|
Loading…
Reference in New Issue