| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* fixes bug 614720
|
| |
|
|
|
|
|
|
|
|
| |
* Notably this adds GtkSpinner, GtkOffscreenWindow,
GtkCellRendererSpinner, GtkToolPalette objects
* Add new api to other objects
* Add gtk.ToolbarPalette demo
* Add gtk.Spinner demo
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-02-22 Gian Mario Tagliaretti <gianmt@gnome.org>
Bug 311008 – pygtk-demo fixes
* examples/pygtk-demo/pygtk-demo.py: Apply a patch from Andi Albrecht.
* examples/pygtk-demo/demos/pixbufs.py: Remove deprecation Warnings.
svn path=/trunk/; revision=3090
|
|
|
|
| |
svn path=/trunk/; revision=2998
|
|
|
|
| |
svn path=/trunk/; revision=2996
|
|
|
|
| |
svn path=/trunk/; revision=2982
|
|
|
|
| |
svn path=/trunk/; revision=2943
|
|
|
|
| |
svn path=/trunk/; revision=2934
|
|
|
|
| |
svn path=/trunk/; revision=2854
|
|
|
|
| |
svn path=/trunk/; revision=2801
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* examples/pygtk-demo/demos/treemodel.py:
Check for null, so it can be used with a model filter,
fixes #311459 (Stephen Kennedy)
|
|
|
|
|
| |
* examples/pygtk-demo/demos/pixbufs.py: Remove
discontinuous motion, fixes #327931
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #156402 (Alan Horkan)
|
|
|
|
|
| |
* examples/pygtk-demo/demos/dnd.py Fix popup dest code and
use gobject timeout functions.
|
|
|
|
|
| |
* examples/pygtk-demo/* Replace the pygtk-demo with the new
version written by Maik Hertha. Fixes #138823.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gtk/gtk.defs (gtk_label_new_with_mnemonic, gtk_label_new)
(render_icon): Allow some parameters to be NULL.
* gtk/gtk.override (_wrap_gtk_stock_lookup)
(_wrap_gtk_stock_list_ids)
(_wrap_gtk_tree_view_insert_column_with_data_func): Impl.
(ignore-glob): Remove gtk_accelerator_*
* examples/pygtk-demo/demos/stock_browser.py: Ported from C
|
|
|
|
|
|
| |
* examples/pygtk-demo/demos/editable_cells.py: New demo.
* examples/pygtk-demo/pygtk-demo.py: Rearrange code a bit.
* examples/pygtk-demo/demos/*.py: Clean up a bit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-24 James Henstridge <james@daa.com.au>
mingw32 patches from Cedric Gustin <cgustin@ibelgique.com>:
* gtk/gtk.override: ignore more socket/plug functions on win32.
* gtk/gdk.override: gdk_pixmap_lookup is not implemented on win32.
* gtk/Makefile.am (common_ldflags): and here.
* pango.override (PyPangoAttribute_Type): initialise tp_alloc and
tp_new in the init() function, rather than in the structure
definition itself.
* Makefile.am (common_ldflags): pass -no-undefined if we are on
windows.
* configure.in: turn on win32 DLL support, and add OS_WIN32 and
PLATFORM_WIN32 conditionals for use in makefiles.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-07 James Henstridge <james@daa.com.au>
* codegen/argtypes.py (GtkTreePathArg.write_return): update to use
this function.
(ArgMatcher.register_boxed): short circuit if there is already a
handler for the boxed type (helps with setting custom handlers for
boxed types).
* gtk/gtk-types.c (pygdk_rectangle_from_pyobject): new function to
parse a GdkRectangle from a PyObject.
* gtk/pygtktreemodel.c (pygtk_generic_tree_model_get_path): print
a warning if the return value could not be converted to a
GtkTreePath.
* gtk/gtk.override (_wrap_gtk_tree_model_get_value): don't assume
tree paths are tuples.
* codegen/argtypes.py (GtkTreePathArg.write_param): fix up code
generator to get rid of assumption that tree paths are tuples, and
catch case where pygtk_tree_path_from_pyobject() returns NULL.
* gtk/gtk-types.c (pygtk_tree_path_from_pyobject): change so that
we treat an integer PyObject as a tree path with a single index.
* pygtype.c (pyg_closure_marshal): apply patch from Arjan Molenaar
<arjanmolenaar@hetnet.nl> that fixes a reference leak for the
argument tuple passed to the callback.
(pyg_signal_class_closure_marshal): apply similar fix here.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-03 Matt Wilson <msw@redhat.com>
* gtk/gtk.override
(_wrap_gtk_tree_view_insert_column_with_attributes): implement
(code mostly from jrb@redhat.com, minor fixups from me)
* gtk/gdk-types.defs (EventExpose): added to make the code
generator write GdkEventExpose * for
_wrap_gtk_container_propagate_expose (gets rid of a warning)
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-31 Matt Wilson <msw@redhat.com>
* examples/pygtk-demo/demos/list_store.py (fixed_toggled): the
path argument must be a tuple. Ints are not automatically
converted to tuples any more.
* pygtype.c (pyg_value_as_pyobject): change the behavior of
G_TYPE_UINT to match the code generator's output on 32 bit
systems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-21 Hans Breuer <hans@breuer.org>
* codegen/codegen.py : added parameter --errorfilename
to allow redirection of stderr even with clumsy windoze
shell
* codegen/override.py : extended to allow 'sys.platform'
specific ignores
* examples/pygtk-demo/demos/colorsel.py : use
color = gtk.gdk.color_parse("blue")
to get the initial color
* examples/pygtk-demo/demos/draw.py : (new file)
demonstrating some simple drawing operations. It is
using the gtk.GC interface additions below.
* gtk/gdk.override : implement GdkGC.tp_getattr,
GdkGC.tp_setattr and gdk_gc_set_dashes (ported from #if 0'ed
code in gtk/gtk-types.c (should be removed there ?)
* gtk/gtk.override : ignore-win32 GTK_TYPE_PLUG
GTK_TYPE_SOCKET gtk_socket_new (the TYPE ignores do not work yet)
* config.h.win32 makefile.msc pygtk/makefile.msc :
new files to build pygtk on windoze using the established
glib/build/win32 infrastructure
* pygtk/gtk/gtk-fake-win32.c : (new file) implementing
gtk_plug_get_type() and gtk_socket_get_type(). It could
vanish if codegen/codegen.py has learned something like
'ignore-class-$(sys.platform) or my GtkPlug/GtkSocket
patch gets accepted with Gtk.
* gtk/gtkmodule.c : added a g_assert() to ensure importing
pygobject did work.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-25 Johan Dahlin <jdahlin@telia.com>
* examples/pygtk-demo/demos/appwindow.py: clean up a bit and add
broken stock icon registration
* examples/pygtk-demo/pygtk-demo.py: Use set_size_request instead of
set_usize
* gtk/gtk.override (_wrap_gtk_widget_translate_coordinates): Impl
(_wrap_gtk_editable_get_selection_bounds): Impl
(_wrap_gtk_entry_get_layout_offsets): Impl
* gtk/gtk.defs: Add GtkTreeView.columns_autosize
* gtk/gtk-types.defs: Add a few fields
2002-02-21 Johan Dahlin <jdahlin@telia.com>
* gtk/gtk.defs: Removed
gtk_tree_view_column_cell_render,
gtk_tree_view_column_cell_focus,
gtk_tree_view_column_cell_draw_focus and
gtk_tree_view_column_cell_set_dirty since they're now private
in gtk.
|
|
|
|
|
|
|
|
| |
2002-02-05 Johan Dahlin <jdahlin@telia.com>
* examples/pygtk-demo/demos/list_store.py: add toggle for the
check box column.
VS: ----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
| |
2002-01-24 James Henstridge <james@daa.com.au>
* examples/pygtk-demo/demos/colorsel.py:
* examples/pygtk-demo/demos/dialogs.py:
* examples/pygtk-demo/demos/panes.py:
* examples/pygtk-demo/demos/sizegroup.py: add examples translated
by Michelle Campeotto.
|
|
|
|
|
|
|
|
| |
2002-01-11 Matt Wilson <msw@redhat.com>
* Makefile.am (EXTRA_DIST): added appwindow.py
* examples/pygtk-demo/demos/appwindow.py: added demo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-11 Matt Wilson <msw@redhat.com>
* codegen/argtypes.py (GtkTreePathArg.normal): added missing newline
* gtk/gtk.defs (item_factory_path_from_widget): the return here
should be gconst-gchar*. The header in gtk is wrong, filed
#68527 against gtk.
* gtk/gtk.override (pygtk_item_factory_cb): if the user passed
data to GtkItemFactory.create_items, call the callable with the
function data as the first parameter.
(_wrap_gtk_item_factory_create_items): take an optional
callback_data argument. Use PyGtkCustomNotify and
g_object_weak_ref to free up the reference to the callable and
data after the item factory is freed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-07 James Henstridge <james@daa.com.au>
* examples/pygtk-demo/demos/itemfactory.py (main): the F10 key is
used to start navigating the menu -- not alt.
* gtk/gtk-types.c (PyGtkStyleHelper_Dealloc): use PyObject_DEL.
(PyGtkStyle_Dealloc): same here.
(PyGdkWindow_Dealloc): same here.
(PyGdkGC_Dealloc): same here.
(PyGdkColormap_Dealloc): same here.
(pygdk_atom_dealloc): same here.
* gobjectmodule.c (pyg_type_wrapper_dealloc): use PyObject_DEL to
prevent segfaults with pymalloc.
(pyg_param_spec_dealloc): same here.
|