[vala] gtk+-2.0: set default values for Gtk.Box.pack_start and end arguments
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0: set default values for Gtk.Box.pack_start and end arguments
- Date: Fri, 21 May 2010 08:13:58 +0000 (UTC)
commit da05ac3adba1223fadc8f898559a5ebd045f6f3e
Author: Evan Nemerson <evan coeus-group com>
Date: Thu May 20 23:37:14 2010 -0700
gtk+-2.0: set default values for Gtk.Box.pack_start and end arguments
vapi/gtk+-2.0.vapi | 4 ++--
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 6 ++++++
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 83904e0..5557352 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -401,8 +401,8 @@ namespace Gtk {
public weak GLib.List<Gtk.Widget> children;
public bool get_homogeneous ();
public int get_spacing ();
- public void pack_end (Gtk.Widget child, bool expand, bool fill, uint padding);
- public void pack_start (Gtk.Widget child, bool expand, bool fill, uint padding);
+ public void pack_end (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
+ public void pack_start (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
public void query_child_packing (Gtk.Widget child, out bool expand, out bool fill, out uint padding, out Gtk.PackType pack_type);
public void reorder_child (Gtk.Widget child, int position);
public void set_child_packing (Gtk.Widget child, bool expand, bool fill, uint padding, Gtk.PackType pack_type);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 93acd5a..02b1f79 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -57,6 +57,12 @@ GtkBindingSet.widget_class_pspecs hidden="1"
GtkBindingSet.widget_path_pspecs hidden="1"
GtkBorder is_value_type="1"
GtkBox.children type_arguments="Widget"
+gtk_box_pack_start.expand default_value="true"
+gtk_box_pack_start.fill default_value="true"
+gtk_box_pack_start.padding default_value="0"
+gtk_box_pack_end.expand default_value="true"
+gtk_box_pack_end.fill default_value="true"
+gtk_box_pack_end.padding default_value="0"
gtk_box_query_child_packing.expand is_out="1"
gtk_box_query_child_packing.fill is_out="1"
gtk_box_query_child_packing.padding is_out="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]