summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.override
Commit message (Collapse)AuthorAgeFilesLines
* Update the address of the FSF by replacing old bits with new ones. FixesTobias Mueller2009-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-03-30 Tobias Mueller <tobiasmue@gnome.org> Update the address of the FSF by replacing old bits with new ones. Fixes bug 577154. * pango.override: * atkrectangle.override: * ltihooks.py: * gtk/libglade.override: * gtk/gdkcolor.override: * gtk/gdk.override: * gtk/deprecation.py: * gtk/__init__.py: * gtk/_lazyutils.py: * gtk/gdkdraw.override: * gtk/gtk.override: * gtk/gtkcontainer.override: * gtk/gtkwidget.override: * gtk/gtkobject-support.c: * gtk/gtkiconview.override: * gtk/gtk-types.c: * gtk/gtkbuilder.override: * gtk/gdkwindow.override: * gtk/gtktreeview.override: * gtk/pygtktreemodel.c: * gtk/gtkunixprint.override: * gtk/gtkstyle.override: * gtk/gdkevent.override: * gtk/pygtktreemodel.h: * gtk/gtkctree.override: * gtk/libglademodule.c: * gtk/gtkwindow.override: * gtk/keysyms.py: * gtk/gdkgc.override: * gtk/gtkunixprintmodule.c: * gtk/gdkpixbuf.override: * gtk/gdkcairo.override: * gtk/gtkclist.override: * gtk/gtktextview.override: * gtk/pygtkcellrenderer.c: * gtk/gdkrectangle.override: * gtk/compat.py: * gtk/pygtkcellrenderer.h: * gtk/gtkmodule.c: * pangomodule.c: * atk.override: * COPYING: * pangocairomodule.c: * atkmodule.c: svn path=/trunk/; revision=3120
* Wrap gtk_widget_list_accel_closures fixes #309554Gian Mario Tagliaretti2008-09-011-4/+25
| | | | svn path=/trunk/; revision=3033
* Bug 331445 – No gtk.Widget.get_activate_signalGustavo J. A. M. Carneiro2006-07-131-0/+61
|
* Add.John Finlay2006-06-251-0/+44
| | | | | * gtk/gtkwidget.override (_wrap_gtk_widget_class_find_style_property): Add.
* reviewed by: JohanJohn Finlay2006-04-011-0/+22
| | | | | | | | | | | | | | 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
* Revert Johns latest commit.Johan Dahlin2005-09-131-22/+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/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Fixes Bug 311309: subclassing gtk.Bin reports...Gustavo J. A. M. Carneiro2005-07-301-7/+1
|
* We have atomic ref counting in glib now, remove block/unblocking aroundJohan Dahlin2005-07-171-2/+0
| | | | | | | | | | | | | | * gobject/pygobject.c: (pygobject_new_full), (pygobject_dealloc), (pygobject_clear): * gtk/gdk.override: * gtk/gtk-types.c: (_pygtk_style_helper_new), (pygtk_style_helper_dealloc), (pygtk_style_helper_setitem), (pygtk_tree_model_row_dealloc), (pygtk_tree_model_row_iter_dealloc): * gtk/gtk.override: * gtk/gtkwidget.override: We have atomic ref counting in glib now, remove block/unblocking around reference counting.
* Impl. Patch by Gustavo, fixes #155679Johan Dahlin2005-07-101-0/+65
| | | | | | | | | * gtk/gtkwidget.override (_wrap_gtk_widget_set_set_scroll_adjustments_signal) (_wrap_gtk_widget_set_set_scroll_adjustments_signal): Impl. Patch by Gustavo, fixes #155679 * tests/test_signal.py (TestOldStyleOverride): Add unittests. Lazy Gustavo.
* Remove until we decide what we should return.Johan Dahlin2005-07-101-22/+0
| | | | | * gtk/gtkwidget.override (_wrap_gtk_widget_list_accel_closures): Remove until we decide what we should return.
* Remove gtk_ prefix on a couple of (unwrapped) functionsJohan Dahlin2005-07-091-0/+22
| | | | | | | | | | | | | | | | * 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.
* Implement as method of Widget Define as method of Widget.John Finlay2004-11-151-0/+21
| | | | | | | * gtk/gtkwidget.override (_wrap_gtk_menu_get_for_attach_widget): Implement as method of Widget * gtk/gtk.defs (gtk_menu_get_for_attach_widget): Define as method of Widget.
* Bug 150698: gtk.Widget subclassingGustavo J. A. M. Carneiro2004-08-221-1/+7
|
* make threading runtime optionalGustavo J. A. M. Carneiro2004-08-041-2/+2
|
* Add better support for boolean type now when we can require 2.3. Fixes bugJohan Dahlin2004-08-031-6/+1
| | | | | | | | | | | | | | | | | * codegen/argtypes.py: * gobject/gobjectmodule.c: (pyg_source_remove): * gobject/pygmaincontext.c: (_wrap_g_main_context_iteration), (_wrap_g_main_context_pending): * gobject/pygmainloop.c: (_wrap_g_main_loop_is_running): * gobject/pygobject.c: (pygobject_handler_is_connected): * gobject/pygparamspec.c: (pyg_param_spec_getattr): * gobject/pygtype.c: (pyg_value_as_pyobject): * gtk/gdk.override: * gtk/gtk.override: * gtk/gtktextview.override: * gtk/gtkwidget.override: * pango.override: Add better support for boolean type now when we can require 2.3. Fixes bug 149121
* Clean up most functions here to have only one return path.Johan Dahlin2004-08-031-2/+2
| | | | | | | | | | | | | | | | | | * 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.
* added dummy args so you can do win.connect ('delete-event',root2004-06-141-0/+14
| | | | | | | 2004-06-14 root <lgs@cvs.gnome.org> * gtk/gtkwidget.override (_wrap_gtk_widget_hide_on_delete): added dummy args so you can do win.connect ('delete-event', win.hide_on_delete)
* ImplJohan Dahlin2004-06-041-0/+56
| | | | | | | | | | | | | | | | | | | | | * gtk/gtkwidget.override (_wrap_gtk_widget_class_install_style_property): Impl * gtk/gtkcontainer.override (_wrap_gtk_container_class_list_child_properties): Rename first kwlist argument to klass (from widget), class should be a GObjectClass and not a GtkWidgetClass (_wrap_gtk_container_class_install_child_property): Impl. * gtk/gtk.defs: Change a couple of methods to functions and set correct class * pygobject.h: Add pyg_param_spec_from_object * gobjectmodule.c (create_property): Don't install the property here, return it instead. And don't require a GObjectClass as argument (pyg_param_spec_from_object): New function (add_properties): Update to new create_property (pygobject_api_functions): Export pyg_param_spec_from_object
* Impl. (_wrap_gtk_widget__set_window): Impl.Johan Dahlin2004-06-041-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gtk/gtkwidget.override (_wrap_gtk_widget__set_allocation): Impl. (_wrap_gtk_widget__set_window): Impl. * gtk/gtkclist.override (_wrap_gtk_clist_new_with_titles): put all clist overrides here. * gtk/gtk.override (_wrap_gtk_paint_polygon): Move gtk_widgets_* ignore definitions to gtkwidget.override and clist_* to gtkclist.override (_wrap_gtk_action_group_add_actions): guard ref call (_wrap_gtk_action_group_add_toggle_actions): ditto (_wrap_gtk_action_group_add_radio_actions): ditto * gtk/gtk-types.c (_pygtk_style_helper_new): guard ref call. * gtk/gdk.override (_wrap_gdk_event_tp_setattr): Impl. (I'll have nightmares about this code) (_wrap_gdk_window_new): Clean up a little bit: Proper use of enums and set a boolean to b instead of i. Block unref calls for thread safety issues. (_wrap_gdk_window_set_user_data): Impl. This is also a hairy implementation: If it's a GtkWidget, get the GObject, otherwise put the real pyobject in there. Maybe we should just always put the widget in there. (_wrap_gdk_window_add_filter): Thread safety.
* gtk/gtk.override (_wrap_gtk_widget_list_mnemonic_labels) Add.John Finlay2004-04-201-0/+25
| | | | * gtk/gtk.override (_wrap_gtk_widget_list_mnemonic_labels) Add.
* gtk/gtkwidget.ocerride (_wrap_gtk_widget_style_get_property)John Finlay2004-04-201-6/+13
| | | | | | * gtk/gtkwidget.ocerride (_wrap_gtk_widget_style_get_property) (_wrap_gtk_widget_class_list_style_properties) Add keyword arg processing.
* This is a function, not a method.Johan Dahlin2004-03-271-0/+75
| | | | | | | | | | | | * gtk/gtk.defs (widget_list_style_properties): This is a function, not a method. * pygobject-private.h, pygobject.h, gobjectmodule.c: Make PyGParamSpec_Type and pyg_param_spec_new part of the public API. * gtk/gtkwidget.override (_wrap_gtk_widget_style_get_property) (_wrap_gtk_widget_class_list_style_properties): Impl. Fixes bug 138104
* pass back the values instead of pointers to them. Thanks to Rob Melby forJohan Dahlin2003-10-231-1/+1
| | | | | | * gtk/gtkwidget.override (_wrap_gtk_widget_size_request): pass back the values instead of pointers to them. Thanks to Rob Melby for the patch, #125272
* add copyright notices, and update to LGPL 2.1.James Henstridge2003-06-261-1/+21
| | | | | | 2003-06-26 James Henstridge <james@daa.com.au> * (lots of stuff): add copyright notices, and update to LGPL 2.1.
* New files, splitted out from gtk.overrideJohan Dahlin2003-06-061-0/+132
* gtk/gtk*.override: New files, splitted out from gtk.override * gtk/Makefile.am (EXTRA_DIST): Add *.override here * codegen/override.py (Overrides.__parse_override): Added "include" keyword, to be able to include files in override files