MegaGrid Example - Shows how to resize virtual grids

This is what I promised to deliver to Robin (potentially for use in the demo source)

Features:

This example attempts to show many examples and tricks of
using a virtual grid object. Hopefully the source isn't too jumbled.

Features:
   1) Uses a virtual grid
   2) Columns and rows have popup menus (right click on labels)
   3) Columns and rows can be deleted/appended (i.e. table can be
      resized)
   4) Dynamic renderers. Renderers are plugins based on
      column header name. Shows a simple Font Renderer and
      an Image Renderer.

Look for XXX in the code to indicate some workarounds for non-obvious
behavior and various hacks.

Enjoy!

MegaGridExample.py (14.7 KB)

···

--
Brian Kelley bkelley@wi.mit.edu
Whitehead Institute for Biomedical Research 617 258-6191

import images

What package provides 'images'?

I'm eager to check out your sample, but that's an
import error on my setup.

Thanks.

Run it from your wxpython demo directory. (It fhas images.py)

···

-----Original Message-----
From: news [mailto:news@main.gmane.org]On Behalf Of Jeff Kowalczyk
Sent: 22 May 2003 17:17
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython-users] Re: MegaGrid Example - Shows how to resize
virtual grids

import images

What package provides 'images'?

I'm eager to check out your sample, but that's an
import error on my setup.

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

_____________________________________________________________________
This e-mail is confidential and may be privileged. It may be read, copied
and used only by the intended recipient. No communication sent by e-mail to
or from Eutechnyx is intended to give rise to contractual or other legal
liability, apart from liability which cannot be excluded under English law.

This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Control Centre.

www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322

_____________________________________________________________________
This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. No communication sent by e-mail to or from Eutechnyx is intended to give rise to contractual or other legal liability, apart from liability which cannot be excluded under English law.

This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre.

www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322

Brian Kelley wrote:

This is what I promised to deliver to Robin (potentially for use in the demo source)

Thanks! I've tweaked it a bit and will check it in soon.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!