summaryrefslogtreecommitdiff
path: root/gtk/gtktreeview.override
Commit message (Collapse)AuthorAgeFilesLines
* Fix logic in negative index branch to avoid refcount corruption.Paul Pogonyshev2008-06-241-15/+28
| | | | | | | | | | | | | 2008-06-24 Paul Pogonyshev <pogonyshev@gmx.net> * gtk/gtktreeview.override (_wrap_gtk_tree_model_tp_getitem): Fix logic in negative index branch to avoid refcount corruption. (_wrap_gtk_tree_model_tp_setitem): Likewise (bug #537459). * tests/test_liststore.py (ListStoreTest.testNegativeIndexGet) (ListStoreTest.testNegativeIndexSet): Two new tests for the bug. svn path=/trunk/; revision=2999
* wrap gtk.TreeView.get_tooltip_context and use it in the demo, fixes #530145Gian Mario Tagliaretti2008-06-221-0/+38
| | | | svn path=/trunk/; revision=2996
* Revert wrong commit 2979Gian Mario Tagliaretti2008-05-181-36/+0
| | | | svn path=/trunk/; revision=2980
* gtk.gdk.DragContext.set_icon_widget allow mask parameter to be NULL, fixes ↵Gian Mario Tagliaretti2008-05-181-0/+36
| | | | | | #497781 svn path=/trunk/; revision=2979
* Fix wrapper (#479012)Jeremy Katz2007-09-211-6/+6
| | | | | | | | | | | | | | | 2007-09-21 Jeremy Katz <katzj@redhat.com> * gtk/gtktreeview.override (gtk_tree_view_convert_widget_to_bin_window_coords) (gtk_tree_view_convert_widget_to_tree_coords) (gtk_tree_view_convert_tree_to_widget_coords) (gtk_tree_view_convert_tree_to_bin_window_coords) (gtk_tree_view_convert_bin_window_to_widget_coords) (gtk_tree_view_convert_bin_window_to_tree_coords): Fix wrapper (#479012) svn path=/trunk/; revision=2908
* Plug a leak in pygtk_tree_sortable_sort_cb().Paul Pogonyshev2007-08-091-2/+2
| | | | svn path=/trunk/; revision=2876
* wrap gtk.TreeView new APIGian Mario Tagliaretti2007-07-111-0/+126
| | | | svn path=/trunk/; revision=2846
* gtk_tree_model_foreach bug fixGustavo J. A. M. Carneiro2006-11-251-3/+3
|
* Bug 337368 – Make PyGTK work with Python 2.5 and 64-bitGustavo J. A. M. Carneiro2006-10-031-4/+4
|
* pygtk_tree_sortable_sort_cb: fix refcount prob. introduced in 2.10.2Gustavo J. A. M. Carneiro2006-10-031-2/+2
|
* Fix problems introduced in fix of #347273 and relatedGustavo J. A. M. Carneiro2006-09-161-6/+8
|
* Fix typoJohn Finlay2006-07-191-1/+1
| | | | | | * gtk/gtktreeview.override (_wrap_gtk_tree_store_insert): Fix typo * docs/Makefile.am: Use more portable date generator.
* Re-add the old version so we still work on Gtk+ 2.8Johan Dahlin2006-07-191-1/+32
|
* (_wrap_gtk_tree_selection_set_select_function): Optionally provide fullJohn Finlay2006-07-191-12/+74
| | | | info to callback. #340475 (Wouter Bolsterlee)
* Don't copy TreeIter when passing to callback. #347273 (Stefano Maggiolo)John Finlay2006-07-181-9/+9
| | | | | | | | | * gtk/gtktreeview.override (pygtk_cell_data_func_marshal) (pygtk_tree_selection_foreach_marshal, pygtk_tree_sortable_sort_cb) (pygtk_tree_foreach_marshal, pygtk_tree_model_filter_visible_cb) (pygtk_filter_modify_func_marshal) (pygtk_set_search_equal_func_marshal): Don't copy TreeIter when passing to callback. #347273 (Stefano Maggiolo)
* Add. (_wrap_gtk_tree_store_insert): UseJohn Finlay2006-07-181-8/+88
| | | | | | * gtk/gtktreeview.override: (_wrap_gtk_tree_store_set_column_types): Add. (_wrap_gtk_tree_store_insert): Use gtk_tree_store_insert_with_valuesv.
* Allow entry arg to default to None.John Finlay2006-06-141-0/+60
| | | | | | | | * gtk/gtk-2.10.defs (gtk_tree_view_set_search_entry): Allow entry arg to default to None. * gtk/gtktreeview.override (_wrap_gtk_tree_view_set_search_position_func): Add.
* Add.John Finlay2006-06-121-0/+2
| | | | | | | | * gtk/gtk.override (_wrap_gtk_recent_manager_get_items) (_wrap_gtk_recent_manager_add_full): Add. * gtk/gtktreeview.override (gtk_tree_store_insert_with_values) (gtk_tree_store_insert_with_valuesv): Ignore
* Restore override for TreeView.get_visible_rectJohn Ehresman2006-05-021-0/+11
| | | | | * gtk/gtktreeview.override: Restore override for TreeView.get_visible_rect
* Allow callback to be set to None, found by Patrick O'BrienJohan Dahlin2006-04-051-1/+9
| | | | | | | | | * gtk/gtktreeview.override (_wrap_gtk_tree_sortable_set_default_sort_func): Allow callback to be set to None, found by Patrick O'Brien * tests/test_liststore.py (ListStoreTest.testSetDefaultSortFunc): Add test
* reviewed by: Johan Dahlin <jdahlin@async.com.br>Johan Dahlin2006-04-041-5/+17
| | | | | | * gtk/gtktreeview.override: Make sure gtk.TreeView.cell_get_size() allows the usage of the in argument.
* Remove gtk_tree_view_get_visible_rect duplicate override.Gustavo J. A. M. Carneiro2006-04-021-11/+0
| | | | | | | | | * gtk/gtktreeview.override: Remove gtk_tree_view_get_visible_rect duplicate override. * gtk/gtk.override: Make the "new-constructor GTK_TYPE_MESSAGE_DIALOG" declaration conditional on gtk+ >= 2.9, to match the contents of the constructor.
* remove unused duplicated functionsJohan Dahlin2006-04-021-102/+0
|
* reviewed by: JohanJohn Finlay2006-04-011-0/+21
| | | | | | | | | | | | | | 2006-04-01 John Finlay <finlay@moerari.com> reviewed by: Johan * gtk/gdk.defs: * gtk/gtk.defs: * gtk/gtk.override: * gtk/gtktextview.override: * gtk/gtktreeview.override: * gtk/gtkwidget.override: Add missing bindings, fixes #316881
* pygtk_set_search_equal_func_marshal fixGustavo J. A. M. Carneiro2005-10-151-2/+5
|
* Revert Johns latest commit.Johan Dahlin2005-09-131-21/+0
| | | | | | | | | | | * gtk/gdk.defs: * gtk/gtk.defs: * gtk/gtk.override: * gtk/gtktextview.override: * gtk/gtktreeview.override: * gtk/gtkwidget.override: Revert Johns latest commit.
* Add.John Finlay2005-09-071-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gtk/gdk.defs (set_urgency_hint): Add. * gtk/gtktreeview.override (_wrap_gtk_tree_view_get_visible_range): Add. * gtk/gtk.defs (set_drag_dest_item): Allow path to be None. (get_visible_range): Add. * gtk/gtk.defs (set_cursor): Allow cell to be None * gtk/gtkwidget.override (_wrap_gtk_drag_source_set_icon_name1): Add. * gtk/gtk.defs (gtk_drag_source_set_icon_name): Add as a widget method and deprecate function gtk.drag_source_set_icon_name. * gtk/gdk.defs (set_icon_name): Add. * gtk/gtktextview.override (_wrap_gtk_text_view_get_iter_at_position): Add. * gtk/gtk.override (_wrap_gtk_clipboard_request_image): Add. * gtk/gtk.defs (gtk_alternative_dialog_button_order) (gtk_clipboard_request_image, gtk_clipboard_wait_for_image) (gtk_clipboard_set_image, gtk_clipboard_wait_is_image_available) (drag_source_add_iamge_targets, drag_source_add_uri_targets): Add defs.
* Remove gtk_ prefix on a couple of (unwrapped) functionsJohan Dahlin2005-07-091-0/+2
| | | | | | | | | | | | | | | | * gtk/gtk.defs: Remove gtk_ prefix on a couple of (unwrapped) functions * gtk/gtk-types.defs: (IconViewDropPosition, PackDirection): Add. * gtk/gtkiconview.override: (_wrap_gtk_icon_view_enable_model_drag_dest) (_wrap_gtk_icon_view_enable_model_drag_source) (_wrap_gtk_icon_view_get_dest_item_at_pos) (_wrap_gtk_icon_view_get_drag_dest_item) (_wrap_gtk_icon_view_get_cursor) (_wrap_gtk_icon_view_get_visible_range) (_wrap_gtk_icon_view_get_item_at_pos): Impl.
* Bug 165373: crash due to extra Py_XDECREF in gtk.TreeView.map_expanded_rowsGustavo J. A. M. Carneiro2005-05-221-1/+0
|
* Regression, allow the second argument to be unspecified, fixes #171027Johan Dahlin2005-03-201-16/+20
| | | | | | | | * gtk/gtktreeview.override (_wrap_gtk_list_store_insert): Regression, allow the second argument to be unspecified, fixes #171027 (Ulrik Svensson) * tests/test_liststore.py: Add 2 new tests
* gcc4 patches stolen from redhatJohan Dahlin2005-03-151-1/+1
| | | | | * gtk/gdk.override: * gtk/gtktreeview.override: gcc4 patches stolen from redhat
* DittoJohan Dahlin2005-03-131-1/+0
| | | | * gtk/gtktreeview.override (_wrap_gtk_tree_store_reorder): Ditto
* You don't own a ref on the return value from PyList_GetItem so don'tRichard Hult2005-03-131-1/+0
| | | | | | | | 2005-03-13 Richard Hult <richard@imendio.com> * gtk/gtktreeview.override (_wrap_gtk_list_store_reorder): You don't own a ref on the return value from PyList_GetItem so don't decrease the ref count.
* Use gtk_list_store_insert_with_valuesv, improves performance when using aJohan Dahlin2005-03-101-8/+51
| | | | | | | | | * gtk/gtktreeview.override: (_wrap_gtk_list_store_insert): Use gtk_list_store_insert_with_valuesv, improves performance when using a sorted list. * configure.in: Post release version bump
* document micro_version as micro version.Manish Singh2005-03-051-1/+1
| | | | | | | | | | 2005-03-04 Manish Singh <yosh@gimp.org> * configure.in: document micro_version as micro version. * gtk/gtktreeview.override * gtk/libglade.override: get rid of a couple unnecessary G_OBJECT() casts.
* Undeprecate gtk.icon_size_get_name and gtk.icon_size_lookup and removeJohan Dahlin2005-02-151-1/+31
| | | | | * gtk/gtk.defs: Undeprecate gtk.icon_size_get_name and gtk.icon_size_lookup and remove broken methods.
* Implement. (gtk_tree_view_get_row_separator_func): Ignore.John Finlay2004-11-151-0/+77
| | | | | | * gtk/gtktreeview.override (_wrap_gtk_tree_view_set_row_separator_func): Implement. (gtk_tree_view_get_row_separator_func): Ignore.
* Don't access private 'length' field of GtkTreeStore, rather useOwen Taylor2004-08-221-4/+7
| | | | | | | | Sun Aug 22 09:47:12 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtktreeview.override (_wrap_gtk_list_store_reorder): Don't access private 'length' field of GtkTreeStore, rather use gtk_tree_model_iter_n_children().
* make threading runtime optionalGustavo J. A. M. Carneiro2004-08-041-18/+19
|
* Clean up most functions here to have only one return path.Johan Dahlin2004-08-031-18/+27
| | | | | | | | | | | | | | | | | | * gtk/pygtktreemodel.c: Clean up most functions here to have only one return path. * gobject/pygobject.c (pygobject_emit): Protect g_value_unset by UNBLOCK/BLOCK_THREADS since it might call pygobject_free which will result in a deadlock. * gobject/gobjectmodule.c (pyg_thread_init): New function, move thread initalization stuff in here. * All over the place: Kill pyg_block/unblock_threads and use PyGILState and Py_BEGIN/END_ALLOW_THREADS. unblock [code] block calls are replaced by Py_BEGIN/END and block [code] unblock calls are replaced by PyGILState.
* gtk/gtktreeview.override (_wrap_gtk_list_store_insert_before)John Finlay2004-07-291-14/+18
| | | | | | * gtk/gtktreeview.override (_wrap_gtk_list_store_insert_before) (_wrap_gtk_list_store_insert_after) Allow sibling to be None. Fixes #148751 (Steve Chaplin)
* gtk/gtktreeview.override (_wrap_gtk_tree_view_get_cursor)John Finlay2004-07-291-4/+4
| | | | | | | | | | | | | | | | | | | | | * gtk/gtktreeview.override (_wrap_gtk_tree_view_get_cursor) (_wrap_gtk_tree_sortable_get_sort_column_id) (_wrap_gtk_tree_view_get_drag_dest_row) (_wrap_gtk_tree_view_get_dest_row_at_pos) Fix reference leaks. * gtk/gtk.override (_wrap_gtk_box_query_child_packing) (_wrap_gtk_notebook_query_tab_label_packing) (_wrap_gtk_tooltips__get_active_tips_data) (_wrap_gtk_tooltips__get_tips_data_list) (_wrap_gtk_image_get_pixmap) (_wrap_gtk_image_get_image) (_wrap_gtk_image_get_stock) (_wrap_gtk_image_get_icon_set) (_wrap_gtk_scrolled_window_get_policy) (_wrap_gtk_tooltips_data_get) (_wrap_gtk_accel_map_lookup_entry) Fix reference leaks. * pango.override (pypango_attr_iterator_get_font) Fix reference leaks.
* Convert some more constructorsGustavo J. A. M. Carneiro2004-07-181-1/+3
|
* gtk/*.overrideJohan Dahlin2004-07-171-3/+6
| | | | | | | | | | | | | | | | | | | | * gtk/*.override * codegen/codegen.py: * codegen/argtypes.py: Update for enums * pygtype.c (pyg_value_as_pyobject): Use new enum/flag functions * pygenum.[ch]: Handle GFlag * pygflags.[ch]: Handle GFlag * atk-types.defs: Fix gtype-id for all enums * gobjectmodule.c (initgobject): Clean up and add convinience macros * tests/enum.py: New file * tests/common.py: New file, also stole from gst-python
* gtk/gtktreeview.override (_wrap_gtk_tree_model_rows_reordered) Allow None,John Finlay2004-07-041-1/+3
| | | | | * gtk/gtktreeview.override (_wrap_gtk_tree_model_rows_reordered) Allow None, () or "" for top level path.
* gtk/gtktreeview.override (_wrap_gtk_tree_store_new) Fix typo.John Finlay2004-07-041-3/+8
| | | | | | | * gtk/gtktreeview.override (_wrap_gtk_tree_store_new) Fix typo. (_wrap_gtk_tree_model_rows_reordered) Allow None for path and iter to allow reordering top level rows. Fixes #143834. John Ehresman's patch with mods.
* Fix constructor of TreeStore, as a different way to fix Bug 144509: ↵Gustavo J. A. M. Carneiro2004-07-041-1/+4
| | | | TreeStore.set_column_types is missing
* fix stupid bug in pygtk_set_search_equal_func_marshal, column parameterGustavo J. A. M. Carneiro2004-07-041-1/+1
|
* gtk/gtktreeview.override Ignore gtk_tree_view_get_search_equal_func.John Finlay2004-07-041-0/+1
| | | | | | | | | | | | | * gtk/gtktreeview.override Ignore gtk_tree_view_get_search_equal_func. * gtk/pygtktreemodel.c * gtk/pygtktreemodel.h * gtk/gtk.defs Add stamp to GenericTreeModel to use in detecting valid TreeIters. Add invalidate_iters() method to allow custom tree models to manage TreeIters when not persistent. Add iter_is_valid() method to allow apps to determine if a TreeIter for a custom tree model is valid.
* Fix crash on tree selection get selected rows when tree is emptyGustavo J. A. M. Carneiro2004-07-031-1/+1
|