From: Andrew S. <and...@gm...> - 2008-11-04 07:22:54
|
Hi, I use Python and PythonCard on the Windows (XP) platform so I can answer Item 3; yes - in Windows simply draw a rectangle with your mouse around the components (or Ctrl-click) to select multiple items and drag them in unison. I have a few questions of my own that I would like to throw out to the broader PythonCard community. 1. I have attempted to establish what the status of PythonCard is (without success), because the project appears to have terminated some years ago. Does anyone know? Is there any comprehensive documentation on PythonCard? 2. I have a particular problem; does anyone know how to right-align a column in a multi column list in PythonCard? In commercial systems this is a common requirement. Similarly, is there a way of setting the font type and size for a particular column in a multi column list? Regards, Andrew. On Tue, Nov 4, 2008 at 3:46 AM, Morgan Venable <ve...@gm...> wrote: > Hi all, > > Item 1: > I'm having a hard time getting PythonCard to run cleanly on my Ubuntu > machine, seeing some peculiar errors that keep my program from > terminating properly on exit. Things generally work okay (the > resourceEditor is a disaster area, but I've managed to get what I need > done) but exiting any app spits out a bunch of errors like the > following: > > [from exit of Minimal.py:] > > me@mylocalhost:~/somepath/$ python minimal.py > > (python:29257): GLib-GObject-WARNING **: > /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance > `0x165c380' has no handler with id `224' > > (python:29257): GLib-GObject-WARNING **: > /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance > `0x139f510' has no handler with id `121' > > (python:29257): GLib-GObject-WARNING **: > /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance > `0x139f030' has no handler with id `49' > > In this case all I did was run Minimal.py, and exit it. > I get similar errors when I run any other PythonCard application. > > My installation is... complicated. Multiple versions of things, some > from Synaptic, others not. > > I'm running Ubuntu 8.04. > Python 2.5 (but older versions are installed too) > PythonCard 0.8.2, installed via the setup script in the tar.gz > PythonCard 0.8.1, installed via Synaptic (installed 0.8.2 before i > realized there was a package) > libwxgtk2.6-0, via Synaptic > libwxgtk2.8-0, via Synaptic > > I deleted the 0.8.2 version of PythonCard, but the problems persist. > Are the multiple versions of libwxgtk part of my problem here? > > > > Item 2: > It appears to be impossible to get a StaticText widget to render in > front of a BitmapCanvas. I need to use some bitmapcanvases to show > colored areas behind my interface. No matter what the order of the > items is in the resource file, the static text ALWAYS renders behind > the BitmapCanvas. > Other widgets like buttons, gauges etc all render fine, according to > order in the file. > > Bug or Feature? > > [the semantics of "Front = behind everything" and "Back = in front of > everything" puzzle me, but whatever.] > > I know I can work around it by drawing that text in the BitmapCanvas > itself, but this seems pretty wrong. > > > Item 3: > Is it possible to select and move multiple items together? This > doesn't work in Ubuntu AFAICT. > Is this implemented/working on any other platforms? > > > Thanks! > > > I'm still super-stoked on how easy it's been to put together a basic > interface for this application -- I migrated my entire project from > Ruby into Python so that I could use a reasonable GUI toolkit. Just > trying to clean up the loose ends so other people can run it and not > throw errors all over the place! > > cheers > > morgan > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > |