summaryrefslogtreecommitdiff
path: root/examples/ide
Commit message (Collapse)AuthorAgeFilesLines
* Add 'import pygtk; pygtk.require('2.0') statements where neededDieter Verfaillie2011-02-171-1/+3
|
* Remove .cvsignore archivesJohan Dahlin2007-01-161-6/+0
| | | | svn path=/trunk/; revision=2801
* pyflakesJohan Dahlin2006-04-032-12/+12
|
* Run reindent.py on all python codeJohan Dahlin2006-04-033-7/+5
|
* Improve demo, patch by Fernando San Martin Woerner, fixes #171148Johan Dahlin2005-06-141-4/+46
| | | | | * examples/ide/edit.py: Improve demo, patch by Fernando San Martin Woerner, fixes #171148
* Add pygtk_postinstall.py Updated Deprecate gtk.idle_add and friends. MergeJohan Dahlin2005-01-081-3/+4
| | | | | | | | | * Makefile.am: Add pygtk_postinstall.py * docs/random/missing-symbols: Updated * gtk/__init__.py: Deprecate gtk.idle_add and friends. * gtk/gtk.defs: Merge in 2.6 api, for GtkLabel functions, thanks to Gian Mario Tagliaretti, fixes bug #163296 * tests/test_thread.py: Don't use gtk.idle_add
* Use stock items and other fixes for examples.Johan Dahlin2004-12-232-2/+2
| | | | Fixes #156402 (Alan Horkan)
* examples/ide/pyide.py examples/ide/browse.py examples/ide/edit.pyJohn Finlay2004-08-207-1192/+1463
| | | | | | | | | | | * examples/ide/pyide.py * examples/ide/browse.py * examples/ide/edit.py * examples/ide/gtkcons.py * examples/ide/gtkdb.py * examples/ide/gtkprof.py Update ide example program files. * examples/ide/dialogs.py Add helper dialogs.
* init as module gtk._gtk. Using just _gtk doesn't seem to work with pythonJames Henstridge2000-10-301-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-30 James Henstridge <james@daa.com.au> * gtk/gtkmodule.c (init_gtk): init as module gtk._gtk. Using just _gtk doesn't seem to work with python 2.0 2000-10-29 James Henstridge <james@james.daa.com.au> * examples/ide/gtkcons.py: small changes to make example run. * gtk/gtk-types.c: add GtkTextIter.forward_search implementation. * gtk/gtk.override: more override functions. * gtk/gtkobject-support.c: remove some of the unused functions from this file. 2000-10-28 James Henstridge <james@james.daa.com.au> * gtk/gtk.override: override the functions used to initialise GtkTextIter objects so that they return the iterator rather than setting up an static GtkTextIter structure. * gtk/gtk.defs (TextMark): add missing GtkTextMark object. Don't know why h2defs missed it. ("gtk-extrafuncs.defs"): include gtk-extrafuncs.defs. * codegen/argtypes.py: add GdkDevice and GtkTextIter to list of recognised boxed types. * gtk/gtk-types.c: add skeleton implementation of GtkTextIter. * gtk/pygtk.h, gtk/pygtk-private.h: add prototypes for GtkTextIter wrapper. * gtk/gtk.override: ref and sink GtkObjects which have their constructors listed in the overrides file. This should get rid of the last few warnings on exit related to reference counting. * codegen/codegen.py: use the keyword module to check for method and argument names that conflict with the python keywords. By using this module, we shouldn't have problems with new keywords in future versions of python. 2000-10-27 James Henstridge <james@james.daa.com.au> * gobjectmodule.c (pygobject_emit): support for emiting signals on GObjects from python. * codegen/codegen.py (write_constructor): sink GtkObjects. This prevents us losing our reference to the object if it is sunk. * codegen/argtypes.py (ArgMatcher.object_is_a): function to check if one object type is another type. * codegen/codegen.py (register_types): pass the parent type when registering a new GObject type. * gtk/gtk-types.c (_pygtk_register_boxed_types): register marshalers for the various boxed types, so that they work as expected inside the signal handlers. * gobjectmodule.c (pygobject_repr): small change to match style of other repr functions in python. * gtk/gtkmodule.c (init_gtk): only call g_thread_init() if pygtk threading support is enabled. * configure.in (enable_thread): add configure checks so that threading support can be disabled even if python was compiled with it. It defaults to off for now because GSignal has some mutex deadlocks at the moment.
* changed calls to GtkLabel.set to GtkLabel.set_text.James Henstridge1998-12-172-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-12-17 James Henstridge <james@daa.com.au> * examples/*/*.py: changed calls to GtkLabel.set to GtkLabel.set_text. * gtk.py: made changes to reflect those below. * generate/gtkbase.defs (gtk_widget_set_app_paintable): added this stub. * generate/gtkmisc.defs (gtk_label_set_text): renamed gtk_label_set to this, added gtk_label_set_line_wrap. * generate/gtkdnd.defs: Added gtk_drag_source_unset. * generate/gtklists.defs: moved reordering function stubs from ctree to clist. * generate/gtkcontainers.defs: removed GtkDrawWindow. Added gtk_paned_pack[12] * GtkExtra.py (MenuFactory.create): wasn't passing extra arguments onto signal connect. Bug fix from Sam Tannous <stannous@cisco.com> * gtkmodule.c: Applied some fixes to the ctree code from A.Hartgers@phys.tue.nl
* Accept NULL arguments for adjustments of a viewport. This is the correctJames Henstridge1998-12-074-17/+33
| | | | | | | | | | | | | | | | | | | | | | 1998-12-07 James Henstridge <james@daa.com.au> * generate/gtkcontainers.defs (gtk_viewport_new): Accept NULL arguments for adjustments of a viewport. This is the correct fix for Michael's other patch. * examples/*/*.py: got rid of deprecation messages. Put scrolled windows round all clists. * pyglade/build.py: Fixes a bug in scrolledwindow_new pointed out by Michael Hudson. Also made some changes so that it doesn't use any deprecated functions. * gtkmodule.c: fixed two typos pointed out by Michael Hudson 1998-12-07 James Henstridge <james@daa.com.au> * pygnome/examples/*.py: changed function calls so no deprecation messages are given.
* Initial revisionJames Henstridge1998-12-0617-0/+1582