]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Add gtk_tree_view_row_expanded binding
authorJürg Billeter <j@bitron.ch>
Mon, 15 Jun 2009 12:15:20 +0000 (14:15 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 15 Jun 2009 12:15:20 +0000 (14:15 +0200)
Fixes bug 536480.

vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index 552983e9526f5b1c49af9c886e9bb7a9955abdb9..5700dd767a34237bc85cc2c74e8c45782c091698 100644 (file)
@@ -4725,6 +4725,8 @@ namespace Gtk {
                public int insert_column (Gtk.TreeViewColumn column, int position);
                public int insert_column_with_attributes (int position, string? title, Gtk.CellRenderer cell, ...);
                public int insert_column_with_data_func (int position, string title, Gtk.CellRenderer cell, owned Gtk.TreeCellDataFunc func);
+               [CCode (cname = "gtk_tree_view_row_expanded")]
+               public bool is_row_expanded (Gtk.TreePath path);
                public bool is_rubber_banding_active ();
                public void map_expanded_rows (Gtk.TreeViewMappingFunc func, void* data);
                public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn base_column);
@@ -4794,7 +4796,6 @@ namespace Gtk {
                [HasEmitter]
                public virtual signal void row_activated (Gtk.TreePath path, Gtk.TreeViewColumn column);
                public virtual signal void row_collapsed (Gtk.TreeIter iter, Gtk.TreePath path);
-               [HasEmitter]
                public virtual signal void row_expanded (Gtk.TreeIter iter, Gtk.TreePath path);
                public virtual signal bool select_all ();
                public virtual signal bool select_cursor_parent ();
index 8e6f1125e555ef9eb5ff79846da78b335f20fd37..8cef002c9b40872887081f458d24613135640e0b 100644 (file)
@@ -544,6 +544,7 @@ gtk_tree_view_insert_column_with_attributes.title nullable="1"
 gtk_tree_view_insert_column_with_data_func.func transfer_ownership="1"
 gtk_tree_view_insert_column_with_data_func.data hidden="1"
 gtk_tree_view_insert_column_with_data_func.dnotify hidden="1"
+gtk_tree_view_row_expanded name="is_row_expanded"
 gtk_tree_view_set_model.model nullable="1"
 gtk_tree_view_set_search_equal_func.search_equal_func transfer_ownership="1"
 gtk_tree_view_set_search_equal_func.search_user_data hidden="1"
@@ -553,7 +554,6 @@ gtk_tree_view_scroll_to_cell.column nullable="1"
 gtk_tree_view_set_cursor.focus_column nullable="1"
 gtk_tree_view_set_drag_dest_row.path nullable="1"
 GtkTreeView::row_activated has_emitter="1"
-GtkTreeView::row_expanded has_emitter="1"
 GtkTreeViewColumn::clicked has_emitter="1"
 gtk_tree_view_column_new_with_attributes ellipsis="1"
 gtk_tree_view_column_new_with_attributes.title nullable="1"