summaryrefslogtreecommitdiff
path: root/atk.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
* Bug 337368 – Make PyGTK work with Python 2.5 and 64-bitGustavo J. A. M. Carneiro2006-10-031-5/+6
|
* Ignore.John Finlay2006-07-241-0/+10
| | | | | | | | | | | | | | | | | | | * atk.override (AtkObjectFactory__do_create_accessible) (AtkObjectFactory__proxy_do_create_accessible) (AtkUtil__do_add_global_event_listener) (AtkUtil__proxy_do_add_global_event_listener) (AtkUtil__do_remove_global_event_listener) (AtkUtil__proxy_do_remove_global_event_listener) (AtkUtil__do_add_key_event_listener) (AtkUtil__proxy_do_add_key_event_listener) (AtkUtil__do_remove_key_event_listener) (AtkUtil__proxy_do_remove_key_event_listener): Ignore. * codegen/reversewrapper.py (StringReturn): Add const-gchar* as a StringReturn match. * codegen/codegen.py (GInterfaceWrapper.write_virtuals): Don't write interface_init if no proxies.
* don't ignore g_slist_append returnGustavo J. A. M. Carneiro2006-07-191-1/+1
|
* Fix reference leaks.John Finlay2006-07-061-2/+10
| | | | | * atk.override (_wrap_atk_state_set_contains_states) (_wrap_atk_state_set_add_states): Fix reference leaks.
* Ignore. (_wrap_atk_value_get_current_value)John Finlay2006-07-061-0/+71
| | | | | | | | * atk.override (atk_text_free_ranges): Ignore. (_wrap_atk_value_get_current_value) (_wrap_atk_value_get_maximum_value) (_wrap_atk_value_get_current_value) (_wrap_atk_value_set_current_value): Add.
* Add call to _pyatk_register_boxed_types()John Finlay2006-07-061-0/+218
| | | | | | | | | | | | | | | | | | * atkmodule.c (initatk): Add call to _pyatk_register_boxed_types() * Makefile.am (ATK_OVERRIDES): Add atkrectangle.override * atkrectangle.override: Add. * atk.override (_wrap_atk_text_get_text_at_offset) (_wrap_atk_text_get_text_before_offset) (_wrap_atk_text_get_character_extents) (_wrap_atk_text_get_run_attributes) (_wrap_atk_text_get_default_attributes) (_wrap_atk_text_get_bounded_ranges, _wrap_atk_text_get_selection) (_wrap_atk_text_get_range_extents): Add, * atk.defs (atk_rectangle_new): Add.
* (_wrap_atk_text_get_text_after_offset): Add.John Finlay2006-07-061-0/+25
|
* (_wrap_atk_table_get_selected_rows)John Finlay2006-07-061-0/+34
| | | | (_wrap_atk_table_get_selected_columns): Add.
* Add.John Finlay2006-07-051-0/+68
| | | | | * atk.override (_wrap_atk_state_set_contains_states) (_wrap_atk_state_set_add_states): Add.
* Add. (_wrap_atk_relation_new): Raise ValueError if targets is zero length.John Finlay2006-07-051-2/+26
| | | | | * atk.override (_wrap_atk_relation_get_target): Add. (_wrap_atk_relation_new): Raise ValueError if targets is zero length.
* Update defs for atk-1.8 Update defs for atk-1.8John Finlay2006-06-281-0/+154
| | | | | | | | | | | | * atk-types.defs: Update defs for atk-1.8 * atk.defs: Update defs for atk-1.8 * atk.override (_wrap_atk_component_get_size) (_wrap_atk_component_get_size, _wrap_atk_component_get_extents) (_wrap_atk_editable_text_set_run_attributes) (_wrap_atk_editable_text_insert_text) (_wrap_atk_image_get_image_position) (_wrap_atk_image_get_image_position): Add
* gtk/*.overrideJohan Dahlin2004-07-171-0/+1
| | | | | | | | | | | | | | | | | | | | * 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
* fix up order of dimensions in pixel array (bug #118839).James Henstridge2003-08-021-2/+1
| | | | | | | | | | | | | | | 2003-08-02 James Henstridge <james@daa.com.au> * gtk/gdk.override (_wrap_gdk_pixbuf__get_pixel_array): fix up order of dimensions in pixel array (bug #118839). * atk.override (NO_IMPORT_PYGOBJECT): define NO_IMPORT_PYGOBJECT to get rid of multiple definitions of symbols. Patch from Naofumi Yasufuku <naofumi@yasufuku.net> (bug #118835). * Makefile.am, gtk/Makefile.am (common_ldflags): switch the -no-undefined switch back to being win32 only. In particular, caused breakage on OS X.
* 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.
* fix up property listing.James Henstridge2002-03-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-16 James Henstridge <james@daa.com.au> * pygtype.c (add_property_docs): fix up property listing. * gtk/libglade.override: add modulename directive. * gtk/gdk.override: add modulename directive. * gtk/gtk.override: add modulename directive. * atk.override: add modulename directive. * pango.override: add modulename directive. * codegen/codegen.py (write_class): if override.modulename is set, put it into the classname. (write_interface): same here. (write_boxed): same here. (write_pointer): same here. * codegen/override.py (Overrides.__parse_override): add support for a "modulename" directive for overrides files.
* remove unused variable.James Henstridge2002-03-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-16 James Henstridge <james@daa.com.au> * atk.override (_wrap_atk_relation_new): remove unused variable. * gtk/gtk-types.defs (Window): transient_parent field is a GtkWindow, rather than a GtkWidget. * gtk/gtk.override (_wrap_gtk_ctree_node_tp_getattr): same here. * gtk/gdk.override (_wrap_gdk_event_tp_getattr): change to "override-slot". * codegen/codegen.py (slots_list): a list of slots that we allow overriding of. (typetmpl): add extra substs for some slots. (write_class): add code that sets up the slot substitutions. (interfacetypetmpl): add slot substitutions. (boxedtmpl): add slot substitutions. (write_interface): add code to set slots. (write_interface): add code to set slots, and get rid of the old getattr handling. * codegen/override.py (Overrides.__parse_override): add support for an "override-slot" section to overrides file for overriding a slot in the PyTypeObject vtable. * gtk/gtk.override (_wrap_gtk_selection_data_get_text): add an override for this -- it was the only one correctly making use of * codegen/argtypes.py (UCharArg.write_param): unimplement. (guchar *) does not mean unicode, and often uchar returns are just date (eg. pixbuf data). gtk_selection_data_get_text is the exception.
* fixed the constructor so it actually worksMatt Wilson2001-11-281-8/+10
| | | | | | | | | | | | | 2001-11-28 Matt Wilson <msw@redhat.com> * atk.override (_wrap_atk_relation_new): fixed the constructor so it actually works * gtk/Makefile.am ($(srcdir)/gtk.c): get the atk types * gtk/gtk.override: import atk.Object as PyAtkObject_Type * Makefile.am (EXTRA_DIST): added examples/atk/atk-demo.py
* added start of atk wrapperMatt Wilson2001-11-271-0/+54
2001-11-27 Matt Wilson <msw@redhat.com> * atk.defs, atk.override, atkmodule.c: added start of atk wrapper * gtk/Makefile.am (DISTCLEANFILES): remove generated files ($(srcdir)/gtk.c): modify targets to output generated files in the builddir, not the srcdir. ($(srcdir)/gdk.c): likewise. ($(srcdir)/libglade.c): likewise. * codegen/h2def.py (define_func): add check to workaround broken string.replace semantics on python 1.5 * codegen/codegen.py (write_enums): if the enum or flag doesn't have a GType, just add those enum values listed in the defs file by hand. * codegen/argtypes.py (ArgMatcher.register_enum): if defs file doesn't specify a GType for the enum, use G_TYPE_NONE. (ArgMatcher.register_flag): likewise. * gobjectmodule.c (pyg_enum_get_value): allow enums to pass G_TYPE_NONE in as the type, disabling the string to value conversion. (pyg_flags_get_value): likewise. (pyg_constant_strip_prefix): new function to combine common codepath. (pyg_enum_add_constants): use pyg_constant_strip_prefix (pyg_flags_add_constants): likewise. (functions): make pyg_constant_strip_prefix available to users of pygobject * pygobject.h: added pyg_constant_strip_prefix wrapper * configure.in: added ATK test, subst for ATK_CFLAGS and ATK_LIBS. * Makefile.am (%.c): added generic codegen target for pango and atk. Added DISTCLEANFILES so that generated files will be removed. Added atk targets, cflags, ldflags.