From wxpython-users-admin@server.python.net Mon Mar 06 16:32:44 2000 Received: (qmail 123 invoked by alias); Mon, 06 Mar 2000 21:32:44 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12S57M-0000Cl-00 for ; Mon, 06 Mar 2000 16:32:44 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Mon, 06 Mar 2000 16:32:44 -0500 (EST) Received: from uni00mh.unity.ncsu.edu (uni00mh.unity.ncsu.edu [152.1.1.53]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id QAA22448 for ; Mon, 6 Mar 2000 16:28:11 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni00mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id QAA23376 for ; Mon, 6 Mar 2000 16:28:04 -0500 (EST) Received: (qmail 13456 invoked from network); 6 Mar 2000 21:25:19 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 6 Mar 2000 21:25:19 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 13399 invoked from network); 6 Mar 2000 21:24:53 -0000 Received: from ip55229.transbay.net (HELO moon.localdomain) (root@209.133.55.229) by server.python.net with SMTP; 6 Mar 2000 21:24:53 -0000 Received: from localhost (huaiyu_zhu@localhost) by moon.localdomain (8.9.3/8.9.3) with ESMTP id KAA07558 for ; Sun, 5 Mar 2000 10:53:33 -0800 X-Authentication-Warning: moon.localdomain: huaiyu_zhu owned process doing -bs Date: Sun, 5 Mar 2000 10:53:32 -0800 (PST) From: Huaiyu Zhu X-Sender: huaiyu_zhu@moon.localdomain To: wxpython-users@server.python.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [wxPython] Re: [Solved] Q: quick start examples? Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 1569 Lines: 48 There was an error in my previous code. The problem is now solved. Here's a simple program that can be used to call some of these modules without generating exceptions, but it does not work for those with split windows or separate frames. Hopefully it will be useful for other people learning wxPython for the first time. -- Huaiyu Zhu huaiyu_zhu@yahoo.com """ Stand-alone program for calling modules in wxPython/demo. Call different modules by editing two module-dependent lines. """ from wxPython import wx from wxOGL import TestWindow # module-dependent #from PrintFramework import TestPrintPanel # module-dependent class MyFrame(wx.wxFrame): def __init__(self, parent = wx.NULL, ID = -1, title = "wxPython test"): wx.wxFrame.__init__(self, parent, ID, title, wx.wxDefaultPosition, wx.wxSize(400,300)) self.CreateStatusBar() self.SetStatusText("This is the status bar") class MyApp(wx.wxApp): def OnInit(self): parent = frame = MyFrame() log = -1 win = TestWindow(parent, log, frame) # module-dependent #win = TestPrintPanel(parent, log, frame) # module-dependent frame.Show(wx.TRUE) return wx.TRUE #---------------------------------------------------------------------- if __name__ == '__main__': app = MyApp(0) app.MainLoop() _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Mon Mar 06 19:23:21 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 00:23:21 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12S7mT-0000Yu-00 for ; Mon, 06 Mar 2000 19:23:21 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Mon, 06 Mar 2000 19:23:21 -0500 (EST) Received: from uni02mh.unity.ncsu.edu (uni02mh.unity.ncsu.edu [152.1.1.55]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id TAA29301 for ; Mon, 6 Mar 2000 19:14:42 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni02mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id TAA08460 for ; Mon, 6 Mar 2000 19:14:41 -0500 (EST) Received: (qmail 850 invoked from network); 7 Mar 2000 00:11:38 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 00:11:38 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 805 invoked from network); 7 Mar 2000 00:11:23 -0000 Received: from fb01.eng00.mindspring.net (207.69.229.19) by server.python.net with SMTP; 7 Mar 2000 00:11:23 -0000 Received: from smtp5.mindspring.com (smtp5.mindspring.com [207.69.200.82]) by fb01.eng00.mindspring.net (8.9.3/8.8.5) with ESMTP id TAA29475 for ; Mon, 6 Mar 2000 19:13:37 -0500 (EST) Received: from kgb10 (pool-207-205-151-21.dlls.grid.net [207.205.151.21]) by smtp5.mindspring.com (8.9.3/8.8.5) with SMTP id OAA07825 for ; Mon, 6 Mar 2000 14:57:46 -0500 (EST) Message-Id: <200003061957.OAA07825@smtp5.mindspring.com> Date: Mon, 06 Mar 2000 19:57:52 GMT To: wxpython-users@server.python.net From: bbarnes@operamail.com (Bill Barnes) X-Mailer: Mozilla/4.0 (Windows 95;US) Opera 3.62 [en] Subject: [wxPython] Database support Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 524 Lines: 16 Hi y'all. The database is question is DBMaker. It has an ODBC package. Scanned archives from December. Not a single reference regarding retrieval and update of a database. Surely that is one of the uses of GUI. Can't see how to do it from all of the wxPython documentation. Please help with a link or a pointer to the documents. TIA Bill Barnes _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 00:24:46 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 05:24:46 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SCUA-0002YX-00 for ; Tue, 07 Mar 2000 00:24:46 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 00:24:46 -0500 (EST) Received: from uni00mh.unity.ncsu.edu (uni00mh.unity.ncsu.edu [152.1.1.53]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id AAA29547 for ; Tue, 7 Mar 2000 00:19:13 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni00mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id AAA27938 for ; Tue, 7 Mar 2000 00:19:13 -0500 (EST) Received: (qmail 3641 invoked from network); 7 Mar 2000 05:16:16 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 05:16:16 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 3584 invoked from network); 7 Mar 2000 05:15:57 -0000 Received: from northstar.antistatic.com (root@207.60.199.137) by server.python.net with SMTP; 7 Mar 2000 05:15:57 -0000 Received: from localhost (jeff@localhost) (8.9.3/8.9.3+MAPS+DUL+AntiRelay+AntiSpam@northstar.antistatic.com/NO UCE) with ESMTP id AAA10441 for ; Tue, 7 Mar 2000 00:18:16 -0500 Date: Tue, 7 Mar 2000 00:18:16 -0500 (EST) From: Jeff To: wxpython-users@server.python.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [wxPython] help on grid - spreadsheet ap Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 829 Lines: 30 I'm new to wx, and sort of new to python. I've been doing research and it would seem that only wxPython has a useable spreadsheet widget. So I've read the tutorial on http://alldunn.com/wxPython/tut-intro.html and got "hello world" to work fine, but I'm stuck. I've also tried demo.py, but the "sample" code there doesn't run stand-alone. There would seem to be a simple test grid app at: http://alldunn.com/wxPython/wxpshots.html But there's no source. So, can someone get me on the right track here? Are there more tutorials? I can tell that wxPython would like to overtake tkinter, but without the documentation, there is no chance. -Jeff _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 04:45:31 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 09:45:31 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SGYV-0002e3-00 for ; Tue, 07 Mar 2000 04:45:31 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 04:45:31 -0500 (EST) Received: from uni01mh.unity.ncsu.edu (uni01mh.unity.ncsu.edu [152.1.1.54]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id EAA07739 for ; Tue, 7 Mar 2000 04:45:07 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni01mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id EAA18519 for ; Tue, 7 Mar 2000 04:45:07 -0500 (EST) Received: (qmail 1760 invoked from network); 7 Mar 2000 09:42:38 -0000 Received: from localhost (HELO starship.python.net) (nobody@127.0.0.1) by localhost with SMTP; 7 Mar 2000 09:42:38 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 16829 invoked from network); 7 Mar 2000 07:05:47 -0000 Received: from mercury.sun.com (192.9.25.1) by server.python.net with SMTP; 7 Mar 2000 07:05:47 -0000 Received: from France.Sun.COM ([129.157.188.1]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id XAA17633 for ; Mon, 6 Mar 2000 23:08:03 -0800 (PST) Received: from sunchorus.France.Sun.COM by France.Sun.COM (SMI-8.6/SMI-SVR4-sd.fkk205) id IAA29624; Tue, 7 Mar 2000 08:08:01 +0100 Received: from sunchorus.france (sqy-dhcp-173-238 [129.157.173.238]) by sunchorus.France.Sun.COM (8.8.8+Sun/8.8.8) with ESMTP id IAA27019 for ; Tue, 7 Mar 2000 08:08:01 +0100 (MET) Message-ID: <38C4AA61.53DCC03D@sunchorus.france> Date: Tue, 07 Mar 2000 08:06:09 +0100 From: Frederic Gedin Reply-To: Frederic.Gedin@sun.com Organization: Sun Microsystems X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: fr,en MIME-Version: 1.0 To: wxpython-users@server.python.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [wxPython] Menu items with small icons Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 436 Lines: 16 I don't know why my last message was screwed up. Let's make a new try! How is it possible to insert a small icon before a menu item? I tried to use the SetBitmaps method of the wxMenuItem but got a "attribute error message". Thank you for your help Frederic _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 06:25:53 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 11:25:53 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SI7d-0002hM-01 for ; Tue, 07 Mar 2000 06:25:53 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 06:25:53 -0500 (EST) Received: from uni01mh.unity.ncsu.edu (uni01mh.unity.ncsu.edu [152.1.1.54]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id GAA21350 for ; Tue, 7 Mar 2000 06:20:16 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni01mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id GAA24681 for ; Tue, 7 Mar 2000 06:20:17 -0500 (EST) Received: (qmail 13045 invoked from network); 7 Mar 2000 11:16:55 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 11:16:55 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 12955 invoked from network); 7 Mar 2000 11:16:32 -0000 Received: from mail1.registeredsite.com (root@209.35.159.6) by server.python.net with SMTP; 7 Mar 2000 11:16:32 -0000 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id GAA22858; Tue, 7 Mar 2000 06:21:40 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id A5CC821011C; Tue, 07 Mar 2000 06:19:40 -0500 Message-ID: <01a401bf8826$d0cd1820$0301a8c0@easystreet.com> From: "Robin Dunn" To: "Huaiyu Zhu" , References: Subject: Re: [wxPython] Q: quick start examples? Date: Tue, 7 Mar 2000 03:18:05 -0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_019C_01BF87E3.C10D3F20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 3735 Lines: 140 This is a multi-part message in MIME format. ------=_NextPart_000_019C_01BF87E3.C10D3F20 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit > I'm really impressed by the wxPython demos. Are there stand-alone > examples for using them? > > The tutorial only gives some very basic examples. My attempt at using > the modules from demo invariably core dumps. I'd like to see a minimum > program which can be used to call any given demo modules (by changing a > couple of lines). > Attached is a little program that should be able to run any of the indiviual demos. Output sent to the log will just go to sys.stdout. To run it specify the module name (not the file name) of one of the demos on the command line. -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! ------=_NextPart_000_019C_01BF87E3.C10D3F20 Content-Type: text/plain; name="run.py" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="run.py" #!/bin/env python #------------------------------------------------------------------------= ---- # Name: run.py # Purpose: Simple framework for running individual demos # # Author: Robin Dunn # # Created: 6-March-2000 # RCS-ID: $Id: $ # Copyright: (c) 2000 by Total Control Software # Licence: wxWindows license #------------------------------------------------------------------------= ---- """ This program will load and run one of the individual demos in this directory within its own frame window. Just specify the module name on the command line. """ import sys from wxPython.wx import * #------------------------------------------------------------------------= ---- class Log: def WriteText(self, text): sys.stdout.write(text) write =3D WriteText class RunDemoApp(wxApp): def __init__(self, name, module): self.name =3D name self.demoModule =3D module wxApp.__init__(self, 0) def OnInit(self): wxInitAllImageHandlers() frame =3D wxFrame(None, -1, "RunDemo: " + self.name, = size=3D(0,0)) frame.CreateStatusBar() frame.Show(true) win =3D self.demoModule.runTest(frame, frame, Log()) # a window will be returned if the demo does not create # its own top-level window if win: # so set the frame to a good size for showing stuff frame.SetSize((600, 450)) else: # otherwise the demo made its own frame, so just put a # button in this one if hasattr(frame, 'otherWin'): wxButton(frame, 1101, " Exit ") frame.SetSize((200, 100)) EVT_BUTTON(frame, 1101, self.OnButton) else: # It was probably a dialog or something that is already # gone, so we're done. frame.Destroy() return true self.SetTopWindow(frame) self.frame =3D frame return true def OnButton(self, evt): self.frame.Close(true) #------------------------------------------------------------------------= ---- def main(): if len(sys.argv) !=3D 2: print "Please specify a demo module name on the command-line" raise SystemExit name =3D sys.argv[1] module =3D __import__(name) app =3D RunDemoApp(name, module) app.MainLoop() if __name__ =3D=3D "__main__": main() ------=_NextPart_000_019C_01BF87E3.C10D3F20-- _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 06:25:53 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 11:25:53 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SI7d-0002hM-02 for ; Tue, 07 Mar 2000 06:25:53 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 06:25:53 -0500 (EST) Received: from uni00mh.unity.ncsu.edu (uni00mh.unity.ncsu.edu [152.1.1.53]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id GAA22029 for ; Tue, 7 Mar 2000 06:21:43 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni00mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id GAA27970 for ; Tue, 7 Mar 2000 06:21:43 -0500 (EST) Received: (qmail 13116 invoked from network); 7 Mar 2000 11:17:04 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 11:17:04 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 12965 invoked from network); 7 Mar 2000 11:16:36 -0000 Received: from mail1.registeredsite.com (root@209.35.159.6) by server.python.net with SMTP; 7 Mar 2000 11:16:36 -0000 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id GAA22854; Tue, 7 Mar 2000 06:21:37 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id A5C9F060122; Tue, 07 Mar 2000 06:19:37 -0500 Message-ID: <019b01bf8826$cea55620$0301a8c0@easystreet.com> From: "Robin Dunn" To: "Mahmoud Nikbakht" , References: <38C118A4.85F9134A@artin.telekabel.at> <008b01bf85f9$26d04ec0$34aab5d4@hagrid> Subject: Re: [wxPython] Problems with the Installation of wxPython Date: Tue, 7 Mar 2000 03:18:02 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 1142 Lines: 38 > Mahmoud Nikbakht wrote: > > After downloading the packages wxGTK-2.1.13-0.i386.rpm and > > wxPython-2.1.13-1.i386.rpm and following the usual way of > > installation of RPMs, I have tried to test the code of the > > first tutorial on the home page of wxPython > > (is wxPython really supposed to work from inside > IDLE? running two different user interface toolkits > at the same time tends to be a great way to mess > things up completely). No, they starve each other's event loops... > > ValueError: invalid literal for float(): 11.0 > > looks as if the wxPython library is screwing up the > locale setting. Python extensions aren't supposed > to do that... I think it's actually gtk, or at least burried somewhere in wxWindows. I'll add it to my list to dig into this and see if it can be turned off. -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 06:25:53 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 11:25:53 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SI7d-0002hM-03 for ; Tue, 07 Mar 2000 06:25:53 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 06:25:53 -0500 (EST) Received: from uni00mh.unity.ncsu.edu (uni00mh.unity.ncsu.edu [152.1.1.53]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id GAA22682 for ; Tue, 7 Mar 2000 06:22:54 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni00mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id GAA28111 for ; Tue, 7 Mar 2000 06:22:55 -0500 (EST) Received: (qmail 13214 invoked from network); 7 Mar 2000 11:17:22 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 11:17:21 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 12978 invoked from network); 7 Mar 2000 11:16:42 -0000 Received: from mail1.registeredsite.com (root@209.35.159.6) by server.python.net with SMTP; 7 Mar 2000 11:16:42 -0000 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id GAA22889; Tue, 7 Mar 2000 06:21:44 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id A5D1823011C; Tue, 07 Mar 2000 06:19:45 -0500 Message-ID: <01ad01bf8826$d37072c0$0301a8c0@easystreet.com> From: "Robin Dunn" To: "Jochen Schaeuble" , "wxPython-users" References: <005f01bf86b1$fa2befa0$6103a8c0@winserver> Subject: Re: [wxPython] Control color Date: Tue, 7 Mar 2000 03:18:10 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 906 Lines: 29 > Hi ! > Yeah... It's me once more *g*. This time I wanted to draw a wxChoice on a > black > background. The problem is that the control is drawn using this background > color... > And I have some minor problems to see a black control on a black > background *g*. > Is there a way to change the color used to draw the control? > Have you tried calling SetBackgroundColour on the wxChoice? Depending on the platform it may or may not do something. Another trick is to not set the background colour of the window until after the control has been created (it inherits it's parent's colours by default) -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 06:25:53 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 11:25:53 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SI7d-0002hM-04 for ; Tue, 07 Mar 2000 06:25:53 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 06:25:53 -0500 (EST) Received: from uni02mh.unity.ncsu.edu (uni02mh.unity.ncsu.edu [152.1.1.55]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id GAA23445 for ; Tue, 7 Mar 2000 06:24:25 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni02mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id GAA24726 for ; Tue, 7 Mar 2000 06:24:11 -0500 (EST) Received: (qmail 13251 invoked from network); 7 Mar 2000 11:17:27 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 11:17:27 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 12999 invoked from network); 7 Mar 2000 11:16:45 -0000 Received: from mail1.registeredsite.com (root@209.35.159.6) by server.python.net with SMTP; 7 Mar 2000 11:16:44 -0000 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id GAA22900; Tue, 7 Mar 2000 06:21:51 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id A5D8824011C; Tue, 07 Mar 2000 06:19:52 -0500 Message-ID: <01b301bf8826$d7a12420$0301a8c0@easystreet.com> From: "Robin Dunn" To: , "Bill Barnes" References: <200003061957.OAA07825@smtp5.mindspring.com> Subject: Re: [wxPython] Database support Date: Tue, 7 Mar 2000 03:18:17 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 780 Lines: 26 > > The database is question is DBMaker. It has an ODBC package. > Scanned archives from December. Not a single reference regarding retrieval and update > of a database. Surely that is one of the uses of GUI. > Sure it is, but it's not within the domain of wxPython, which is just a GUI toolkit. Python has several ways to access databases that will work just fine with wxPython. I'd suggest poking around on www.python.org, starship.python.net, or asking in comp.lang.python. -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 06:25:54 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 11:25:53 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SI7d-0002hM-05 for ; Tue, 07 Mar 2000 06:25:53 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 06:25:53 -0500 (EST) Received: from uni02mh.unity.ncsu.edu (uni02mh.unity.ncsu.edu [152.1.1.55]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id GAA23474 for ; Tue, 7 Mar 2000 06:25:24 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni02mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id GAA24815 for ; Tue, 7 Mar 2000 06:25:25 -0500 (EST) Received: (qmail 13347 invoked from network); 7 Mar 2000 11:17:42 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 11:17:42 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 13008 invoked from network); 7 Mar 2000 11:16:47 -0000 Received: from mail1.registeredsite.com (root@209.35.159.6) by server.python.net with SMTP; 7 Mar 2000 11:16:47 -0000 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id GAA22911 for ; Tue, 7 Mar 2000 06:21:54 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id A5DC825011C; Tue, 07 Mar 2000 06:19:56 -0500 Message-ID: <01b901bf8826$d99f8c30$0301a8c0@easystreet.com> From: "Robin Dunn" To: "wxPython-users" Subject: Fw: [wxPython] help on grid - spreadsheet ap Date: Tue, 7 Mar 2000 03:18:21 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 2352 Lines: 69 This message went to the wrong address, and since Chris answered the question pretty much the way I would I decided to just forward it... ----- Original Message ----- From: "chris davis" To: "Jeff" ; Sent: Monday, March 06, 2000 10:30 PM Subject: RE: [wxPython] help on grid - spreadsheet ap > The wxWindows user guide that comes with wxPython has very extensive > documentation on the wxGrid class. It's in C++, but the function names, > parameter and return values are pretty much the same. > > But a word of warning, the wxGrid is not very good grid. It's > implementation seems to vary by platform and it's events fire > inconsistently. I've been using the grid extensively lately and I'm finding > it difficult to write code that functions the same on multiple OSs. > However, I have been told they working on a new grid that will be replacing > the current grid. If you have any questions, don't hesitate to ask. > > -----Original Message----- > From: wxpython-users-admin@server.python.net > [mailto:wxpython-users-admin@server.python.net]On Behalf Of Jeff > Sent: Monday, March 06, 2000 11:18 PM > To: wxpython-users@server.python.net > Subject: [wxPython] help on grid - spreadsheet ap > > > > I'm new to wx, and sort of new to python. I've been doing research and it > would seem that only wxPython has a useable spreadsheet widget. So I've > read the tutorial on > > http://alldunn.com/wxPython/tut-intro.html > > and got "hello world" to work fine, but I'm stuck. > > I've also tried demo.py, but the "sample" code there doesn't run > stand-alone. > > There would seem to be a simple test grid app at: > > http://alldunn.com/wxPython/wxpshots.html > > But there's no source. > > So, can someone get me on the right track here? Are there more > tutorials? > > I can tell that wxPython would like to overtake tkinter, but without the > documentation, there is no chance. > > -Jeff > > > _______________________________________________ > wxPython-users maillist - wxPython-users@starship.python.net > http://starship.python.net/mailman/listinfo/wxpython-users > > _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 06:35:56 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 11:35:56 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SIHM-0002ls-00 for ; Tue, 07 Mar 2000 06:35:56 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 06:35:56 -0500 (EST) Received: from uni00mh.unity.ncsu.edu (uni00mh.unity.ncsu.edu [152.1.1.53]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id GAA23502 for ; Tue, 7 Mar 2000 06:26:18 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni00mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id GAA28479 for ; Tue, 7 Mar 2000 06:26:19 -0500 (EST) Received: (qmail 13360 invoked from network); 7 Mar 2000 11:17:45 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 11:17:45 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 13066 invoked from network); 7 Mar 2000 11:16:59 -0000 Received: from mail1.registeredsite.com (root@209.35.159.6) by server.python.net with SMTP; 7 Mar 2000 11:16:58 -0000 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id GAA22956; Tue, 7 Mar 2000 06:22:04 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id A5E4828011C; Tue, 07 Mar 2000 06:20:04 -0500 Message-ID: <01c801bf8826$df0e14c0$0301a8c0@easystreet.com> From: "Robin Dunn" To: "Bob Klimek" , "wxPython Post" References: <38C02091.D5565F68@grc.nasa.gov> <034b01bf8559$3a3c5800$0301a8c0@easystreet.com> <38C3F7FE.1A465651@grc.nasa.gov> Subject: Re: [wxPython] immediate image draw? Date: Tue, 7 Mar 2000 03:18:29 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 990 Lines: 29 > > If it works as you say then I would expect the result of the image > processing operation (threshold) to show up fast and then after a few > seconds the cross to be drawn. But what happens instead is the display > of the threshold is held up until those 4 lines finish executing. > > Can anything be done? A copy of the program is below. On MSW it does show up right away so I assume you are using wxGTK. It sounds like something is buffering up the drawing operations until the current event handler is done. You might try calling wxYield before your time-consuming function and see if that flushes it out. Let me know if it doesn't and I'll try to spend some time looking deeper... -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 06:35:56 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 11:35:56 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SIHM-0002ls-01 for ; Tue, 07 Mar 2000 06:35:56 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 06:35:56 -0500 (EST) Received: from uni01mh.unity.ncsu.edu (uni01mh.unity.ncsu.edu [152.1.1.54]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id GAA23549 for ; Tue, 7 Mar 2000 06:27:19 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni01mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id GAA25253 for ; Tue, 7 Mar 2000 06:27:19 -0500 (EST) Received: (qmail 13394 invoked from network); 7 Mar 2000 11:17:51 -0000 Received: from localhost (HELO starship.python.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2000 11:17:50 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 13065 invoked from network); 7 Mar 2000 11:16:59 -0000 Received: from mail1.registeredsite.com (root@209.35.159.6) by server.python.net with SMTP; 7 Mar 2000 11:16:58 -0000 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id GAA22947; Tue, 7 Mar 2000 06:22:01 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id A5E2827011C; Tue, 07 Mar 2000 06:20:02 -0500 Message-ID: <01c201bf8826$dd49cf80$0301a8c0@easystreet.com> From: "Robin Dunn" To: "Jeff" , References: Subject: Re: [wxPython] help on grid - spreadsheet ap Date: Tue, 7 Mar 2000 03:18:27 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 1141 Lines: 33 > So, can someone get me on the right track here? Are there more > tutorials? Are you volunteering? Actually, I hope to do some more soon. > > I can tell that wxPython would like to overtake tkinter, but without the > documentation, there is no chance. > The C++ docs really are quite useful once you learn how to translate on the fly from C++ nomenclature to Python. There have been six or eight people over the past year or so who have started documentation projects because they were frustrated by the C++ docs to start. All of the projects fizzled away, I beleive because by the time they knew enough to do the documentation they didn't need it anymore because the C++ was okay. Personally I'd like to see one of these succeed because it would be a big help for the newbies, (but mainly so I don't have to do it myself. ;-) -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 06:35:56 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 11:35:56 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SIHM-0002ls-02 for ; Tue, 07 Mar 2000 06:35:56 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 06:35:56 -0500 (EST) Received: from uni00mh.unity.ncsu.edu (uni00mh.unity.ncsu.edu [152.1.1.53]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id GAA23660 for ; Tue, 7 Mar 2000 06:28:12 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni00mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id GAA28731 for ; Tue, 7 Mar 2000 06:28:12 -0500 (EST) Received: (qmail 13420 invoked from network); 7 Mar 2000 11:17:57 -0000 Received: from localhost (HELO starship.python.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2000 11:17:57 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 13109 invoked from network); 7 Mar 2000 11:17:04 -0000 Received: from mail1.registeredsite.com (root@209.35.159.6) by server.python.net with SMTP; 7 Mar 2000 11:17:04 -0000 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id GAA22976; Tue, 7 Mar 2000 06:22:06 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id A5E7829011C; Tue, 07 Mar 2000 06:20:07 -0500 Message-ID: <01cb01bf8826$e0cc3f80$0301a8c0@easystreet.com> From: "Robin Dunn" To: , References: <38C4AA61.53DCC03D@sunchorus.france> Subject: Re: [wxPython] Menu items with small icons Date: Tue, 7 Mar 2000 03:18:32 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 748 Lines: 24 > > How is it possible to insert a small icon before a menu item? > I tried to use the SetBitmaps method of the wxMenuItem but got a > "attribute error message". > It's not currently possible. When the menu classes were refactored a couple months ago it was taken out in order to allow the classes share more code across ports. I expect that support for images in menus will be added back in sometime once it can be figured out for the other ports. -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 06:45:58 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 11:45:58 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SIR4-0002mX-00 for ; Tue, 07 Mar 2000 06:45:58 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 06:45:58 -0500 (EST) Received: from uni02mh.unity.ncsu.edu (uni02mh.unity.ncsu.edu [152.1.1.55]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id GAA23962 for ; Tue, 7 Mar 2000 06:36:29 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni02mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id GAA25879 for ; Tue, 7 Mar 2000 06:36:29 -0500 (EST) Received: (qmail 16053 invoked from network); 7 Mar 2000 11:33:22 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 11:33:22 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 15974 invoked from network); 7 Mar 2000 11:33:03 -0000 Received: from c103.170.nauticom.net (HELO vrtmail.robocity) (fwuser@209.195.170.103) by server.python.net with SMTP; 7 Mar 2000 11:33:02 -0000 Message-ID: From: Mike Fletcher To: wxpython-users@server.python.net Cc: Bill Barnes Subject: RE: [wxPython] Database support Date: Tue, 7 Mar 2000 06:23:47 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 1272 Lines: 28 I think Bill is wanting one of the VB-style data-view controls. They are really nice features of the enterprise data objects VB environment that let you do simple (or even complex!) database stuff just by dropping controls onto your forms and telling them to which database to connect. Very nice approach, but I'd think someone would have to be paid to go through the tedium of writing the thing for wxPython (but then I think anything with SQL is tedium, so if someone likes SQL, feel free to jump right in :) ). You could, of course, do the work for a given database by setting up a wxGrid and doing ODBC calls directly in the callback, but that's hardly going to be reusable code. You really need the abstraction layer for dealing with any database, and support for standard data-types in-cell (oh, you also want controls for choosing among values of an enumeration in-cell, and other standard database-manipulation features). Enjoy, Mike ... > Scanned archives from December. Not a single reference regarding retrieval and update > of a database. Surely that is one of the uses of GUI. ... _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 08:16:15 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 13:16:15 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SJqR-0002qI-00 for ; Tue, 07 Mar 2000 08:16:15 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 08:16:15 -0500 (EST) Received: from uni02mh.unity.ncsu.edu (uni02mh.unity.ncsu.edu [152.1.1.55]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id IAA09208 for ; Tue, 7 Mar 2000 08:12:11 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni02mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id IAA10346 for ; Tue, 7 Mar 2000 08:12:11 -0500 (EST) Received: (qmail 27389 invoked from network); 7 Mar 2000 13:09:18 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 13:09:17 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 27335 invoked from network); 7 Mar 2000 13:09:06 -0000 Received: from ks.mpi-dortmund.mpg.de (141.5.196.16) by server.python.net with SMTP; 7 Mar 2000 13:09:06 -0000 Received: from m99106 ([141.5.193.151] helo=mpi-dortmund.mpg.de) by ks.mpi-dortmund.mpg.de with esmtp (Exim 2.05 #1) id 12SJle-0001wz-00 for wxpython-users@server.python.net; Tue, 7 Mar 2000 14:11:18 +0100 Message-ID: <38C4FFF5.57034FBB@mpi-dortmund.mpg.de> Date: Tue, 07 Mar 2000 14:11:17 +0100 From: Marc Saric Organization: Max Planck Institut =?iso-8859-1?Q?f=FCr?= molekulare Physiologie X-Mailer: Mozilla 4.6 [de] (WinNT; I) X-Accept-Language: de,el,ja,zh MIME-Version: 1.0 To: wxPython Mailinglist Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [wxPython] wxPython 2.1.13 Tree display error Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 933 Lines: 33 Hi all, recently I upgraded to wxPython 2.1.13 and experienced a little display-error: Every time I open the wxPython-Demo, the tree on the left isnīt displayed properly. All Nodes have a black background and donīt show the usual plus-signs. This only happens in Win95b and WinNT (Service Pack 4), the wxGTK-port is ok. Any hints? Everything works as expected except this visual glitch (which wasnīt there with older wxPython versions under Win95/NT). My systems: P133/ 24MB RAM S3 Vision986 (wxGTK running under SuSE 6.2) PII 300 /128 MB RAM Matrox G200 (Win95b) PII 400 /128 MB RAM Matrox G200 (WinNTSP4) Thanks in advance! -- Bye, Marc Saric Max-Planck-Institut für molekulare Physiologie Otto-Hahn-Strasse 11 44227 Dortmund phone: +49 231 133 2168 _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 08:26:18 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 13:26:18 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SK0A-0002ql-00 for ; Tue, 07 Mar 2000 08:26:18 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 08:26:18 -0500 (EST) Received: from uni02mh.unity.ncsu.edu (uni02mh.unity.ncsu.edu [152.1.1.55]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id IAA10048 for ; Tue, 7 Mar 2000 08:18:09 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni02mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id IAA11803 for ; Tue, 7 Mar 2000 08:18:04 -0500 (EST) Received: (qmail 28225 invoked from network); 7 Mar 2000 13:15:25 -0000 Received: from localhost (HELO starship.python.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2000 13:15:24 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 28181 invoked from network); 7 Mar 2000 13:15:11 -0000 Received: from unknown (HELO frdmz005.nestle.fr) (194.4.39.133) by server.python.net with SMTP; 7 Mar 2000 13:15:11 -0000 Received: from frnsl122.nestle.fr (194.4.39.131 [194.4.39.131]) by frdmz005.nestle.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 18W6Z8C6; Tue, 7 Mar 2000 14:18:09 +0100 Received: by frnsl102.nestle.fr with Internet Mail Service (5.5.2448.0) id ; Tue, 7 Mar 2000 14:18:17 +0100 Message-ID: <8F39A83598A3D111B27D00805F8BA3CA01155E37@frnsl035.nestle.fr> From: "Boulay,Patrick,PARIS" To: "'Marc Saric'" , wxPython Mailinglist Subject: RE: [wxPython] wxPython 2.1.13 Tree display error Date: Tue, 7 Mar 2000 14:18:14 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 1476 Lines: 48 I have the same problem with my NT box ; but not under Linux=20 > -----Message d'origine----- > De: Marc Saric [SMTP:marc.saric@mpi-dortmund.mpg.de] > Date: mardi 7 mars 2000 14:11 > =C0: wxPython Mailinglist > Objet: [wxPython] wxPython 2.1.13 Tree display error >=20 > Hi all, >=20 > recently I upgraded to wxPython 2.1.13 and experienced a little > display-error: Every time I open the wxPython-Demo, the tree on the = left > isn=B4t displayed properly. All Nodes have a black background and = don=B4t > show the usual plus-signs. This only happens in Win95b and WinNT > (Service Pack 4), the wxGTK-port is ok. >=20 > Any hints? Everything works as expected except this visual glitch = (which > wasn=B4t there with older wxPython versions under Win95/NT). >=20 > My systems: >=20 > P133/ 24MB RAM S3 Vision986 (wxGTK running under SuSE 6.2) > PII 300 /128 MB RAM Matrox G200 (Win95b) > PII 400 /128 MB RAM Matrox G200 (WinNTSP4) >=20 > Thanks in advance! >=20 > --=20 > Bye, >=20 > Marc Saric >=20 > Max-Planck-Institut f=FCr molekulare Physiologie > Otto-Hahn-Strasse 11 > 44227 Dortmund >=20 > phone: +49 231 133 2168 >=20 > _______________________________________________ > wxPython-users maillist - wxPython-users@starship.python.net > http://starship.python.net/mailman/listinfo/wxpython-users _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 08:36:20 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 13:36:20 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SK9s-0002r5-00 for ; Tue, 07 Mar 2000 08:36:20 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 08:36:20 -0500 (EST) Received: from uni02mh.unity.ncsu.edu (uni02mh.unity.ncsu.edu [152.1.1.55]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id IAA13963 for ; Tue, 7 Mar 2000 08:31:37 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni02mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id IAA15387 for ; Tue, 7 Mar 2000 08:31:33 -0500 (EST) Received: (qmail 29679 invoked from network); 7 Mar 2000 13:29:03 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 13:29:03 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 29596 invoked from network); 7 Mar 2000 13:28:14 -0000 Received: from softdnserror (HELO proxyinverso.enersis.cl) (206.49.219.35) by server.python.net with SMTP; 7 Mar 2000 13:28:13 -0000 Received: from syn201.enersis.cl ([206.49.219.130]) by proxyinverso.enersis.cl (8.9.3/8.9.3) with ESMTP id KAA12373; Tue, 7 Mar 2000 10:23:36 -0300 Received: by SYN201 with Internet Mail Service (5.5.2448.0) id ; Tue, 7 Mar 2000 10:24:05 -0400 Message-ID: <40FB302B1970D311832A0008C7F4D3F402A8FCF0@SYN201> From: "Echeverria Rabi, Cristian Rodrigo, TRANSELEC S.A." To: Marc Saric , wxPython Mailinglist Subject: RE: [wxPython] wxPython 2.1.13 Tree display error Date: Tue, 7 Mar 2000 10:24:03 -0400 Importance: high X-Priority: 1 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 1664 Lines: 55 You need a common controls update, I have the file, but I don=B4t = remenber the address where I get it. Somewhere in microsoft site... Give some minutes and I tell you... or if you want I can send you the file I have... Cristian Echeverria > -----Original Message----- > From: Marc Saric [SMTP:marc.saric@mpi-dortmund.mpg.de] > Sent: Tuesday, March 07, 2000 9:11 AM > To: wxPython Mailinglist > Subject: [wxPython] wxPython 2.1.13 Tree display error >=20 > Hi all, >=20 > recently I upgraded to wxPython 2.1.13 and experienced a little > display-error: Every time I open the wxPython-Demo, the tree on the = left > isn=B4t displayed properly. All Nodes have a black background and = don=B4t > show the usual plus-signs. This only happens in Win95b and WinNT > (Service Pack 4), the wxGTK-port is ok. >=20 > Any hints? Everything works as expected except this visual glitch = (which > wasn=B4t there with older wxPython versions under Win95/NT). >=20 > My systems: >=20 > P133/ 24MB RAM S3 Vision986 (wxGTK running under SuSE 6.2) > PII 300 /128 MB RAM Matrox G200 (Win95b) > PII 400 /128 MB RAM Matrox G200 (WinNTSP4) >=20 > Thanks in advance! >=20 > --=20 > Bye, >=20 > Marc Saric >=20 > Max-Planck-Institut f=FCr molekulare Physiologie > Otto-Hahn-Strasse 11 > 44227 Dortmund >=20 > phone: +49 231 133 2168 >=20 > _______________________________________________ > wxPython-users maillist - wxPython-users@starship.python.net > http://starship.python.net/mailman/listinfo/wxpython-users _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 08:36:20 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 13:36:20 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SK9s-0002r5-01 for ; Tue, 07 Mar 2000 08:36:20 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 08:36:20 -0500 (EST) Received: from uni01mh.unity.ncsu.edu (uni01mh.unity.ncsu.edu [152.1.1.54]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id IAA14342 for ; Tue, 7 Mar 2000 08:34:44 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni01mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id IAA12608 for ; Tue, 7 Mar 2000 08:34:44 -0500 (EST) Received: (qmail 30165 invoked from network); 7 Mar 2000 13:31:49 -0000 Received: from localhost (HELO starship.python.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2000 13:31:48 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 30105 invoked from network); 7 Mar 2000 13:31:31 -0000 Received: from softdnserror (HELO proxyinverso.enersis.cl) (206.49.219.35) by server.python.net with SMTP; 7 Mar 2000 13:31:31 -0000 Received: from syn201.enersis.cl ([206.49.219.130]) by proxyinverso.enersis.cl (8.9.3/8.9.3) with ESMTP id KAA12409; Tue, 7 Mar 2000 10:27:13 -0300 Received: by SYN201 with Internet Mail Service (5.5.2448.0) id ; Tue, 7 Mar 2000 10:27:42 -0400 Message-ID: <40FB302B1970D311832A0008C7F4D3F402A8FD05@SYN201> From: "Echeverria Rabi, Cristian Rodrigo, TRANSELEC S.A." To: Marc Saric , wxPython Mailinglist Subject: RE: [wxPython] wxPython 2.1.13 Tree display error Date: Tue, 7 Mar 2000 10:27:41 -0400 Importance: high X-Priority: 1 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 1610 Lines: 54 I found this address on my history, I think this is the right http://download.microsoft.com/download/platformsdk/Comctl32/5.80.2614.36= 00/W 9XNT4/EN-US/50comupd.exe Cristian Echeverria > -----Original Message----- > From: Marc Saric [SMTP:marc.saric@mpi-dortmund.mpg.de] > Sent: Tuesday, March 07, 2000 9:11 AM > To: wxPython Mailinglist > Subject: [wxPython] wxPython 2.1.13 Tree display error >=20 > Hi all, >=20 > recently I upgraded to wxPython 2.1.13 and experienced a little > display-error: Every time I open the wxPython-Demo, the tree on the = left > isn=B4t displayed properly. All Nodes have a black background and = don=B4t > show the usual plus-signs. This only happens in Win95b and WinNT > (Service Pack 4), the wxGTK-port is ok. >=20 > Any hints? Everything works as expected except this visual glitch = (which > wasn=B4t there with older wxPython versions under Win95/NT). >=20 > My systems: >=20 > P133/ 24MB RAM S3 Vision986 (wxGTK running under SuSE 6.2) > PII 300 /128 MB RAM Matrox G200 (Win95b) > PII 400 /128 MB RAM Matrox G200 (WinNTSP4) >=20 > Thanks in advance! >=20 > --=20 > Bye, >=20 > Marc Saric >=20 > Max-Planck-Institut f=FCr molekulare Physiologie > Otto-Hahn-Strasse 11 > 44227 Dortmund >=20 > phone: +49 231 133 2168 >=20 > _______________________________________________ > wxPython-users maillist - wxPython-users@starship.python.net > http://starship.python.net/mailman/listinfo/wxpython-users _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 10:16:40 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 15:16:40 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SLiy-0002zw-00 for ; Tue, 07 Mar 2000 10:16:40 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 10:16:40 -0500 (EST) Received: from uni01mh.unity.ncsu.edu (uni01mh.unity.ncsu.edu [152.1.1.54]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id KAA05405 for ; Tue, 7 Mar 2000 10:07:13 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni01mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id KAA09663 for ; Tue, 7 Mar 2000 10:07:14 -0500 (EST) Received: (qmail 7868 invoked from network); 7 Mar 2000 15:03:21 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 15:03:21 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 7798 invoked from network); 7 Mar 2000 15:03:07 -0000 Received: from lombok-fi.lerc.nasa.gov (139.88.112.33) by server.python.net with SMTP; 7 Mar 2000 15:03:06 -0000 Received: from behemoth.lerc.nasa.gov (behemoth.lerc.nasa.gov [139.88.95.31]) KAA18935; Tue, 7 Mar 2000 10:05:02 -0500 (EST) Received: from grc.nasa.gov (eva.lerc.nasa.gov [139.88.97.57]) by behemoth.lerc.nasa.gov with ESMTP (NASA LeRC 8.7.4.1/2.01-local) id JAA11585; Tue, 7 Mar 2000 09:55:01 -0500 (EST) Message-ID: <38C5193E.1972B837@grc.nasa.gov> Date: Tue, 07 Mar 2000 09:59:10 -0500 From: Bob Klimek Organization: NASA Glenn Research X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: Robin Dunn , wxPython Post Subject: Re: [wxPython] immediate image draw? References: <38C02091.D5565F68@grc.nasa.gov> <034b01bf8559$3a3c5800$0301a8c0@easystreet.com> <38C3F7FE.1A465651@grc.nasa.gov> <01c801bf8826$df0e14c0$0301a8c0@easystreet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 1422 Lines: 37 Robin Dunn wrote: > > > > > If it works as you say then I would expect the result of the image > > processing operation (threshold) to show up fast and then after a few > > seconds the cross to be drawn. But what happens instead is the display > > of the threshold is held up until those 4 lines finish executing. > > > > Can anything be done? A copy of the program is below. > > On MSW it does show up right away so I assume you are using wxGTK. It sounds > like something is buffering up the drawing operations until the current event > handler is done. You might try calling wxYield before your time-consuming > function and see if that flushes it out. Let me know if it doesn't and I'll > try to spend some time looking deeper... Hello Robin, The wxYield() did the trick. Thanks very much. And yes, I'm using wxGTK. This wxYield function seems like a good function to know. Does it work like the PeekMessage loop in MFC? -- Basically the idea is to sprinkle this function around time-consuming parts of the code so that the system can read-off the various messages and event calls and not freeze up, is that right? Bob -- --------------------- Robert B. Klimek NASA Glenn Research Center robert.klimek@grc.nasa.gov --------------------- _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 11:26:58 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 16:26:58 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SMp0-00037B-02 for ; Tue, 07 Mar 2000 11:26:58 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 11:26:58 -0500 (EST) Received: from uni01mh.unity.ncsu.edu (uni01mh.unity.ncsu.edu [152.1.1.54]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id LAA25760 for ; Tue, 7 Mar 2000 11:24:28 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni01mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id LAA04838 for ; Tue, 7 Mar 2000 11:24:25 -0500 (EST) Received: (qmail 15554 invoked from network); 7 Mar 2000 16:05:42 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 16:05:42 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 15426 invoked from network); 7 Mar 2000 16:05:16 -0000 Received: from smtp.tuthill.com (HELO tuthill?p01.tuthill.com) (208.134.194.134) by server.python.net with SMTP; 7 Mar 2000 16:05:16 -0000 Received: by TUTHILL_P01 with Internet Mail Service (5.5.2650.21) id ; Tue, 7 Mar 2000 09:58:46 -0600 Message-ID: <11B151BF2510D111911E00805F85A43566163A@DFILLRITE_E01> From: "Cavanaugh, Craig" To: "wxPython List (E-mail)" Date: Tue, 7 Mar 2000 10:06:18 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Subject: [wxPython] Advanced use of wxHtmlWindow Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 1240 Lines: 26 Well, after a lot of frustration with layout controls I've decided to use a wxHtmlWindow to place the GUI elements in a wxPanel. There seems to be some benefits to doing this such as support for themes inside the application, support for different languages, and it makes it easy to include nice graphics and formatting. There are also alot of HTML editors that make page design easy. I'm running into a problem though. It's easy enough to create the objects inside a wxHtmlWindow and respond to events, but how do you get a reference to them after the wxHtmlWindow creates them? I've thought about creating a class that inherits the desired control and then just references the control that has been created before the wxHtmlWindow, but I'm not sure how to get and pass a text based reference or even it it's a safe thing to do. I've also considered enhancing or making a new version of wxpTag.py that provides the necessary functionality. Does anyone have any suggestions or pointers before I attempt to do this? Or, has this been done already? Thanks, Craig _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 11:26:58 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 16:26:58 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SMp0-00037B-03 for ; Tue, 07 Mar 2000 11:26:58 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 11:26:58 -0500 (EST) Received: from uni02mh.unity.ncsu.edu (uni02mh.unity.ncsu.edu [152.1.1.55]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id LAA26792 for ; Tue, 7 Mar 2000 11:26:28 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni02mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id LAA25826 for ; Tue, 7 Mar 2000 11:26:28 -0500 (EST) Received: (qmail 16880 invoked from network); 7 Mar 2000 16:15:14 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 16:15:14 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 16826 invoked from network); 7 Mar 2000 16:14:52 -0000 Received: from smtp.tuthill.com (HELO tuthill?p01.tuthill.com) (208.134.194.134) by server.python.net with SMTP; 7 Mar 2000 16:14:52 -0000 Received: by TUTHILL_P01 with Internet Mail Service (5.5.2650.21) id ; Tue, 7 Mar 2000 10:08:25 -0600 Message-ID: <11B151BF2510D111911E00805F85A43566163B@DFILLRITE_E01> From: "Cavanaugh, Craig" To: "wxPython List (E-mail)" Date: Tue, 7 Mar 2000 10:15:56 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Subject: [wxPython] FW: Advanced use of wxHtmlWindow Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 1718 Lines: 40 I took a closer look at wxpTag.py. It would be easy to change it so that a list of references is updated when a new object is created. What I don't know is what the order of the objects will be, and will it be predictable, and is there a better way yet. Craig > -----Original Message----- > From: Cavanaugh, Craig > Sent: Tuesday, March 07, 2000 11:06 AM > To: wxPython List (E-mail) > Subject: Advanced use of wxHtmlWindow > > Well, after a lot of frustration with layout controls I've decided to use > a wxHtmlWindow to place the GUI elements in a wxPanel. There seems to be > some benefits to doing this such as support for themes inside the > application, support for different languages, and it makes it easy to > include nice graphics and formatting. There are also alot of HTML editors > that make page design easy. > > I'm running into a problem though. It's easy enough to create the objects > inside a wxHtmlWindow and respond to events, but how do you get a > reference to them after the wxHtmlWindow creates them? > > I've thought about creating a class that inherits the desired control and > then just references the control that has been created before the > wxHtmlWindow, but I'm not sure how to get and pass a text based reference > or even it it's a safe thing to do. I've also considered enhancing or > making a new version of wxpTag.py that provides the necessary > functionality. > > Does anyone have any suggestions or pointers before I attempt to do this? > Or, has this been done already? > > Thanks, > Craig _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 11:37:00 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 16:37:00 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SMyi-00038M-01 for ; Tue, 07 Mar 2000 11:37:00 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 11:37:00 -0500 (EST) Received: from uni01mh.unity.ncsu.edu (uni01mh.unity.ncsu.edu [152.1.1.54]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id LAA27437 for ; Tue, 7 Mar 2000 11:30:42 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni01mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id LAA06696 for ; Tue, 7 Mar 2000 11:30:42 -0500 (EST) Received: (qmail 17879 invoked from network); 7 Mar 2000 16:22:27 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 16:22:26 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 17816 invoked from network); 7 Mar 2000 16:22:08 -0000 Received: from smtp.tuthill.com (HELO tuthill?p01.tuthill.com) (208.134.194.134) by server.python.net with SMTP; 7 Mar 2000 16:22:08 -0000 Received: by TUTHILL_P01 with Internet Mail Service (5.5.2650.21) id ; Tue, 7 Mar 2000 10:16:27 -0600 Message-ID: <11B151BF2510D111911E00805F85A43566163C@DFILLRITE_E01> From: "Cavanaugh, Craig" To: "wxPython List (E-mail)" Date: Tue, 7 Mar 2000 10:23:59 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Subject: [wxPython] FW: Advanced use of wxHtmlWindow Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 2391 Lines: 59 Ok, maybe I need to think a bit more before I push send ;-)? It's possible to use a dictionary instead of a list. wxpTag.py could be extended to look for a tag called "KEY" for instance. It would then use this as a key for the dictionary. That way, order of creation would not be an issue. Robin, is this something you would consider as excepting as an enhancement, or should it just be my own custom version of wxpTap.py..... Provided that this is an acceptable solution. Craig > -----Original Message----- > From: Cavanaugh, Craig > Sent: Tuesday, March 07, 2000 11:16 AM > To: wxPython List (E-mail) > Subject: FW: Advanced use of wxHtmlWindow > > I took a closer look at wxpTag.py. It would be easy to change it so that > a list of references is updated when a new object is created. What I > don't know is what the order of the objects will be, and will it be > predictable, and is there a better way yet. > > Craig > > -----Original Message----- > From: Cavanaugh, Craig > Sent: Tuesday, March 07, 2000 11:06 AM > To: wxPython List (E-mail) > Subject: Advanced use of wxHtmlWindow > > Well, after a lot of frustration with layout controls I've decided to use > a wxHtmlWindow to place the GUI elements in a wxPanel. There seems to be > some benefits to doing this such as support for themes inside the > application, support for different languages, and it makes it easy to > include nice graphics and formatting. There are also alot of HTML editors > that make page design easy. > > I'm running into a problem though. It's easy enough to create the objects > inside a wxHtmlWindow and respond to events, but how do you get a > reference to them after the wxHtmlWindow creates them? > > I've thought about creating a class that inherits the desired control and > then just references the control that has been created before the > wxHtmlWindow, but I'm not sure how to get and pass a text based reference > or even it it's a safe thing to do. I've also considered enhancing or > making a new version of wxpTag.py that provides the necessary > functionality. > > Does anyone have any suggestions or pointers before I attempt to do this? > Or, has this been done already? > > Thanks, > Craig _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 12:07:08 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 17:07:08 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SNRs-0003Bm-01 for ; Tue, 07 Mar 2000 12:07:08 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 12:07:08 -0500 (EST) Received: from uni01mh.unity.ncsu.edu (uni01mh.unity.ncsu.edu [152.1.1.54]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id MAA05658 for ; Tue, 7 Mar 2000 12:02:34 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni01mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id MAA17834 for ; Tue, 7 Mar 2000 12:02:21 -0500 (EST) Received: (qmail 21774 invoked from network); 7 Mar 2000 16:56:44 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 16:56:44 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 21710 invoked from network); 7 Mar 2000 16:56:29 -0000 Received: from hs6.hspeed.net (HELO ww1.hspeed.net) (195.88.216.6) by server.python.net with SMTP; 7 Mar 2000 16:56:29 -0000 Received: from hs5.hspeed.net ([195.211.86.225]) by ww1.hspeed.net (Netscape Mail Server v1.1) with ESMTP id AAA467 for ; Tue, 7 Mar 2000 17:58:34 +0100 Received: from snafu.de [195.88.216.225] by hs5.hspeed.net with ESMTP (SMTPD32-5.01) id A52D56401AC; Tue, 07 Mar 2000 17:58:21 +0100 Message-ID: <38C534EA.652FD383@snafu.de> Date: Tue, 07 Mar 2000 17:57:14 +0100 From: Udo Floegel X-Mailer: Mozilla 4.6 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: wxPython-users list Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [wxPython] wxHTMLHelpController problems Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 614 Lines: 21 Hallo, A jump to a location in a html-file via file.html#mark is not succesfull, if the file isn't still displayed, instead it jumps to the beginning of the file. After this, jumping in the same file, one can reach the mark. searching: it seems not be possible to search with the wildcard * As a german it's necessary to use the 'german Umlauts' in html: ü etc. in the *.hhc and *.hhk. Is there any support for this ? regards, Udo _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 14:17:37 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 19:17:37 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SPU9-0003Ig-00 for ; Tue, 07 Mar 2000 14:17:37 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 14:17:37 -0500 (EST) Received: from uni00mh.unity.ncsu.edu (uni00mh.unity.ncsu.edu [152.1.1.53]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id OAA06788 for ; Tue, 7 Mar 2000 14:10:12 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni00mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id OAA08630 for ; Tue, 7 Mar 2000 14:10:11 -0500 (EST) Received: (qmail 5554 invoked from network); 7 Mar 2000 19:07:27 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 19:07:27 -0000 Delivered-To: wxpython-users@starship.python.net Received: (qmail 5511 invoked from network); 7 Mar 2000 19:07:16 -0000 Received: from savaii.adeptsystemsinc.com (HELO adeptsystemsinc.com) (209.118.209.181) by server.python.net with SMTP; 7 Mar 2000 19:07:16 -0000 Received: from jabba (208.61.37.220) by adeptsystemsinc.com with SMTP (Eudora Internet Mail Server 2.2.2); Tue, 7 Mar 2000 14:09:26 -0500 From: "Kevin A. White" To: Date: Tue, 7 Mar 2000 14:08:46 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Subject: [wxPython] wxFRAME_NO_WINDOW_MENU not declared for wxMDIParentFrame Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 423 Lines: 9 I need to create my own 'Window' menu for an mdi app, but I need to remove the system default 'Window' menu. wxPython doesn't recognize the constant wxFRAME_NO_WINDOW_MENU in the style variable. Does anybody know the hex value of the constant? Thanks _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 15:37:58 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 20:37:57 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SQjt-0003Tm-03 for ; Tue, 07 Mar 2000 15:37:57 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 15:37:57 -0500 (EST) Received: from uni00mh.unity.ncsu.edu (uni00mh.unity.ncsu.edu [152.1.1.53]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id PAA29420 for ; Tue, 7 Mar 2000 15:33:53 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni00mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id PAA21987 for ; Tue, 7 Mar 2000 15:33:53 -0500 (EST) Received: (qmail 15224 invoked from network); 7 Mar 2000 20:31:05 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 20:31:04 -0000 Delivered-To: wxpython-users@starship.python.net Received: (qmail 15179 invoked from network); 7 Mar 2000 20:30:50 -0000 Received: from moutvdom00.kundenserver.de (195.20.224.149) by server.python.net with SMTP; 7 Mar 2000 20:30:50 -0000 Received: from [195.20.224.204] (helo=mrvdom00.schlund.de) by moutvdom00.kundenserver.de with esmtp (Exim 2.12 #2) id 12SQet-0005dz-00 for wxpython-users@starship.python.net; Tue, 7 Mar 2000 21:32:47 +0100 Received: from p3e9bb4c6.dip0.t-ipconnect.de ([62.155.180.198] helo=winserver) by mrvdom00.schlund.de with smtp (Exim 2.12 #2) id 12SQer-0003FF-00 for wxpython-users@starship.python.net; Tue, 7 Mar 2000 21:32:45 +0100 Message-ID: <017901bf8874$55030b70$6103a8c0@winserver> From: "Jochen Schaeuble" To: Date: Tue, 7 Mar 2000 21:32:46 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Subject: [wxPython] Major problem with wxMessageDialog Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 799 Lines: 22 I tried to display a messagebox in a function that is called by a class destructor using the following command: dlg=wxMessageDialog(gui.gui_mainframe, "text", "title", wxOK | wxICON_INFORMATION) gui.gui_mainframe is a global variable containing an existing and correct reference to the application frame (derived from wxFrame). My problem is that I always get a segmentation fault as soon as the Constructor of the MessageDialog is called (inside cmndlgs.py line 315). This is the following line: self.this = apply(cmndlgsc.new_wxMessageDialog, _args, _kwargs) Anyone has an idea what the problem might be? Thx Jochen _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 15:48:05 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 20:48:05 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SQth-0003VW-02 for ; Tue, 07 Mar 2000 15:48:05 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 15:48:05 -0500 (EST) Received: from uni02mh.unity.ncsu.edu (uni02mh.unity.ncsu.edu [152.1.1.55]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id PAA01284 for ; Tue, 7 Mar 2000 15:44:59 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni02mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id PAA11345 for ; Tue, 7 Mar 2000 15:44:59 -0500 (EST) Received: (qmail 16665 invoked from network); 7 Mar 2000 20:42:15 -0000 Received: from localhost (HELO starship.python.net) (nobody@127.0.0.1) by localhost with SMTP; 7 Mar 2000 20:42:12 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 3720 invoked from network); 7 Mar 2000 18:55:38 -0000 Received: from orr6072.hazmat.noaa.gov (HELO waves.hazmat.noaa.gov) (161.55.66.72) by server.python.net with SMTP; 7 Mar 2000 18:55:38 -0000 Received: from jps.net (waves.hazmat.noaa.gov [161.55.66.72]) by waves.hazmat.noaa.gov (8.9.3/8.9.3) with ESMTP id LAA13085 for ; Tue, 7 Mar 2000 11:15:04 -0800 Message-ID: <38C55537.F21EA9B6@jps.net> Date: Tue, 07 Mar 2000 11:15:03 -0800 From: Chris Barker X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: wxpython-users@server.python.net References: <200003071620.IAA27895@smtp3.jps.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [wxPython] Enclosures Getting Mangled Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO X-Status: A Content-Length: 1415 Lines: 39 Hi all, I've been haviong a problem with enclosed Python Code getting mangled on the list. I get the digest, and am reading it with Netscape under Linux. Pehaps no one else has a problem, but I get the following errors on some enclosures (most recently one of Robins): "=" turns into =3D and long lines are wrapped, with an "=" added to the end of the line before the wrap. I can usually fix these things easily with a few search and replaces, but occasionally it's been enough of a mess that I've given up. Perhaps we could all cut-and-paste code into the message, rather than using enclosures, it might be more reliable. -Thanks, Chris -- Christopher Barker, Ph.D. cbarker@jps.net --- --- --- http://www.jps.net/cbarker -----@@ -----@@ -----@@ ------@@@ ------@@@ ------@@@ Water Resources Engineering ------ @ ------ @ ------ @ Coastal and Fluvial Hydrodynamics ------- --------- -------- ------------------------------------------------------------------------ ------------------------------------------------------------------------ _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 15:48:06 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 20:48:05 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SQth-0003VW-03 for ; Tue, 07 Mar 2000 15:48:05 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 15:48:05 -0500 (EST) Received: from uni02mh.unity.ncsu.edu (uni02mh.unity.ncsu.edu [152.1.1.55]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id PAA01887 for ; Tue, 7 Mar 2000 15:47:47 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni02mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id PAA12394 for ; Tue, 7 Mar 2000 15:47:46 -0500 (EST) Received: (qmail 16713 invoked from network); 7 Mar 2000 20:42:24 -0000 Received: from localhost (HELO starship.python.net) (nobody@127.0.0.1) by localhost with SMTP; 7 Mar 2000 20:42:23 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 6498 invoked from network); 7 Mar 2000 19:12:30 -0000 Received: from orr6072.hazmat.noaa.gov (HELO waves.hazmat.noaa.gov) (161.55.66.72) by server.python.net with SMTP; 7 Mar 2000 19:12:30 -0000 Received: from jps.net (waves.hazmat.noaa.gov [161.55.66.72]) by waves.hazmat.noaa.gov (8.9.3/8.9.3) with ESMTP id LAA13097 for ; Tue, 7 Mar 2000 11:33:06 -0800 Message-ID: <38C55972.35CE0EAC@jps.net> Date: Tue, 07 Mar 2000 11:33:06 -0800 From: Chris Barker X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: wxpython-users@server.python.net References: <200003071620.IAA27895@smtp3.jps.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [wxPython] Documentation. Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 2500 Lines: 61 Hi all, I've been quite frustrated with the documentation situation as well, but this is a free software project, so something only gets done if someone chooses to do it. someone wrote: > I can tell that wxPython would like to overtake tkinter, but without the > documentation, there is no chance. I'm not sure wxPython wants to "take over" anything. There are simply a lot of folks that think it's a better way to write GUIs for Python. That being said, I would like to see wxPython be more widely adopted, because it would get more support that way. (Maybe a MAC port?) Anyway, I'd like to see a few things: 1: A document explaining how to translate the C++ docs to Python. Those of us that don't know C++ have a hard time with it. My apologies if this already exists, but I haven't found it. 2: More annotation in the Demos. The demo app is great, and is what I'm using for documentation, but it would be even better with more annotation. 3: A wxPython Documentation project: As Robin mentioned, a number of people have set out to write tutorials, but haven't managed to finish the project. I suggest that there be some central coordination of these efforts. If each of us were to write a little tutorial for some widget, as we figure out how to use it, and these were all put together, we'd have a pretty nice introduction. I am not qualified to do either (1) or (2), but I could be a central coordinator for (3) if people think it's a good idea. Let me know what you all think, and if anyone else wants to be involved in helping out. I can imagine a number of separate tasks that could be split up, so with a handful of people putting in a little time, we could make it happen. Let me know what you think. -Chris -- Christopher Barker, Ph.D. cbarker@jps.net --- --- --- http://www.jps.net/cbarker -----@@ -----@@ -----@@ ------@@@ ------@@@ ------@@@ Water Resources Engineering ------ @ ------ @ ------ @ Coastal and Fluvial Hydrodynamics ------- --------- -------- ------------------------------------------------------------------------ ------------------------------------------------------------------------ _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 16:08:10 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 21:08:10 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SRD8-0003Ym-00 for ; Tue, 07 Mar 2000 16:08:10 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 16:08:10 -0500 (EST) Received: from uni02mh.unity.ncsu.edu (uni02mh.unity.ncsu.edu [152.1.1.55]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id QAA06870 for ; Tue, 7 Mar 2000 16:02:55 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni02mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id QAA18746 for ; Tue, 7 Mar 2000 16:02:50 -0500 (EST) Received: (qmail 17969 invoked from network); 7 Mar 2000 20:58:32 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 20:58:32 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 17935 invoked from network); 7 Mar 2000 20:58:03 -0000 Received: from c103.170.nauticom.net (HELO vrtmail.robocity) (fwuser@209.195.170.103) by server.python.net with SMTP; 7 Mar 2000 20:58:03 -0000 Message-ID: From: Mike Fletcher To: "'Chris Barker'" , wxpython-users@server.python.net Subject: RE: [wxPython] Enclosures Getting Mangled Date: Tue, 7 Mar 2000 15:48:45 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 2275 Lines: 68 Robin's machine states that Python is plain text, so the text gets quoted (my machine, in contrast, seems to think that Python code is binary data). To automagically un-quote Robin's posts, something like the following works quite nicely (after saving the text to a file)... import mimetools mimetools.decode( open("z:\\temp\\temp.py"), open("z:\\temp\\qptest.py","w"), "quoted-printable" ) Copying the code into the message has a host of ways of mucking it up, of course :) . HTH, Mike -----Original Message----- From: Chris Barker [mailto:cbarker@jps.net] Sent: Tuesday, March 07, 2000 2:15 PM To: wxpython-users@server.python.net Subject: [wxPython] Enclosures Getting Mangled Hi all, I've been haviong a problem with enclosed Python Code getting mangled on the list. I get the digest, and am reading it with Netscape under Linux. Pehaps no one else has a problem, but I get the following errors on some enclosures (most recently one of Robins): "=" turns into =3D and long lines are wrapped, with an "=" added to the end of the line before the wrap. I can usually fix these things easily with a few search and replaces, but occasionally it's been enough of a mess that I've given up. Perhaps we could all cut-and-paste code into the message, rather than using enclosures, it might be more reliable. -Thanks, Chris -- Christopher Barker, Ph.D. cbarker@jps.net --- --- --- http://www.jps.net/cbarker -----@@ -----@@ -----@@ ------@@@ ------@@@ ------@@@ Water Resources Engineering ------ @ ------ @ ------ @ Coastal and Fluvial Hydrodynamics ------- --------- -------- ------------------------------------------------------------------------ ------------------------------------------------------------------------ _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 16:28:17 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 21:28:17 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SRWb-0003aK-00 for ; Tue, 07 Mar 2000 16:28:17 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 16:28:17 -0500 (EST) Received: from uni00mh.unity.ncsu.edu (uni00mh.unity.ncsu.edu [152.1.1.53]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id QAA12353 for ; Tue, 7 Mar 2000 16:24:31 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni00mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id QAA16141 for ; Tue, 7 Mar 2000 16:24:21 -0500 (EST) Received: (qmail 18587 invoked from network); 7 Mar 2000 21:20:17 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 21:20:17 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 18515 invoked from network); 7 Mar 2000 21:19:56 -0000 Received: from mail1.registeredsite.com (root@209.35.159.6) by server.python.net with SMTP; 7 Mar 2000 21:19:56 -0000 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id QAA03669; Tue, 7 Mar 2000 16:24:33 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id AE1B17A011E; Tue, 07 Mar 2000 16:01:15 -0500 Message-ID: <054201bf8878$3f886660$0301a8c0@easystreet.com> From: "Robin Dunn" To: "Bob Klimek" , "wxPython Post" References: <38C02091.D5565F68@grc.nasa.gov> <034b01bf8559$3a3c5800$0301a8c0@easystreet.com> <38C3F7FE.1A465651@grc.nasa.gov> <01c801bf8826$df0e14c0$0301a8c0@easystreet.com> <38C5193E.1972B837@grc.nasa.gov> Subject: Re: [wxPython] immediate image draw? Date: Tue, 7 Mar 2000 13:00:56 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 823 Lines: 28 > The wxYield() did the trick. Thanks very much. Glad to hear it. > And yes, I'm using wxGTK. > > This wxYield function seems like a good function to know. Does it work > like the PeekMessage loop in MFC? -- Basically the idea is to sprinkle > this function around time-consuming parts of the code so that the system > can read-off the various messages and event calls and not freeze up, is > that right? > Yes. It processes the event loop until there are no more events, then any pending idle-time tasks, and then returns. -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 16:28:17 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 21:28:17 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SRWb-0003aK-02 for ; Tue, 07 Mar 2000 16:28:17 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 16:28:17 -0500 (EST) Received: from uni00mh.unity.ncsu.edu (uni00mh.unity.ncsu.edu [152.1.1.53]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id QAA13213 for ; Tue, 7 Mar 2000 16:27:04 -0500 (EST) Received: from server.python.net (server.python.net [209.50.192.113]) by uni00mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id QAA17377 for ; Tue, 7 Mar 2000 16:27:02 -0500 (EST) Received: (qmail 18793 invoked from network); 7 Mar 2000 21:21:18 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 21:21:18 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 18721 invoked from network); 7 Mar 2000 21:21:00 -0000 Received: from mail1.registeredsite.com (root@209.35.159.6) by server.python.net with SMTP; 7 Mar 2000 21:21:00 -0000 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id QAB04163; Tue, 7 Mar 2000 16:25:09 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id AF25C60120; Tue, 07 Mar 2000 16:05:41 -0500 Message-ID: <055901bf8878$dcb75a40$0301a8c0@easystreet.com> From: "Robin Dunn" To: "Kevin A. White" , References: Subject: Re: [wxPython] wxFRAME_NO_WINDOW_MENU not declared for wxMDIParentFrame Date: Tue, 7 Mar 2000 13:05:24 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 570 Lines: 20 > I need to create my own 'Window' menu for an mdi app, but I need to remove > the system default 'Window' menu. wxPython doesn't recognize the constant > wxFRAME_NO_WINDOW_MENU in the style variable. Does anybody know the hex > value of the constant? Thanks > It's 0x0100 -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 18:08:41 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 23:08:41 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12ST5l-0003g8-00 for ; Tue, 07 Mar 2000 18:08:41 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 18:08:41 -0500 (EST) Received: from uni01mh.unity.ncsu.edu (uni01mh.unity.ncsu.edu [152.1.1.54]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id SAA04862 for ; Tue, 7 Mar 2000 18:01:18 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni01mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id SAA06174 for ; Tue, 7 Mar 2000 18:01:18 -0500 (EST) Received: (qmail 20687 invoked from network); 7 Mar 2000 22:58:39 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 22:58:39 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 20655 invoked from network); 7 Mar 2000 22:58:23 -0000 Received: from mail1.registeredsite.com (root@209.35.159.6) by server.python.net with SMTP; 7 Mar 2000 22:58:23 -0000 Received: from mail.ALLDUNN.COM (mail.alldunn.com [208.242.114.26]) by mail1.registeredsite.com (8.9.3/8.9.3) with ESMTP id QAA26399; Tue, 7 Mar 2000 16:16:16 -0500 Received: from rogue [209.162.215.68] by mail.ALLDUNN.COM (SMTPD32-6.00) id A10410B012C; Tue, 07 Mar 2000 16:13:40 -0500 Message-ID: <056301bf8879$fa3bb2e0$0301a8c0@easystreet.com> From: "Robin Dunn" To: "Chris Barker" , References: <200003071620.IAA27895@smtp3.jps.net> <38C55537.F21EA9B6@jps.net> Subject: Re: [wxPython] Enclosures Getting Mangled Date: Tue, 7 Mar 2000 13:13:23 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 1374 Lines: 39 > Hi all, > > I've been haviong a problem with enclosed Python Code getting mangled on > the list. > > I get the digest, and am reading it with Netscape under Linux. Pehaps no > one else has a problem, but I get the following errors on some > enclosures (most recently one of Robins): > > "=" turns into =3D > > and long lines are wrapped, with an "=" added to the end of the line > before the wrap. > That's a standard mime encoding for attachemnts, but the digest messages simply append all the text together. Just copy/pasting code into a message has problems too as some mailers will eat leading tabs or will wrap long lines, so attachments work best for me. There is another digest option you can try that will bundle all messages as separate mime attachments. You can go to http://starship.python.net/mailman/listinfo/wxpython-users and change your digest settings and see if it helps. If not and getting properly formatted code is importanto to you I would suggest turning off digest delivery and simply filtering incoming mail from the list into a separate folder. -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 18:18:43 2000 Received: (qmail 123 invoked by alias); Tue, 07 Mar 2000 23:18:43 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12STFT-0003gb-02 for ; Tue, 07 Mar 2000 18:18:43 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 18:18:43 -0500 (EST) Received: from uni02mh.unity.ncsu.edu (uni02mh.unity.ncsu.edu [152.1.1.55]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id SAA06952 for ; Tue, 7 Mar 2000 18:16:16 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni02mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id SAA03554 for ; Tue, 7 Mar 2000 18:16:16 -0500 (EST) Received: (qmail 21121 invoked from network); 7 Mar 2000 23:13:28 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 7 Mar 2000 23:13:28 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 21091 invoked from network); 7 Mar 2000 23:13:16 -0000 Received: from unknown (HELO gate.jenkon-dev.com) (216.190.92.2) by server.python.net with SMTP; 7 Mar 2000 23:13:16 -0000 Received: from rogue (dsl-209-162-215-68.easystreet.com [209.162.215.68]) by gate.jenkon-dev.com (8.7.5/8.7.3) with SMTP id PAA30041; Tue, 7 Mar 2000 15:04:46 -0800 Message-ID: <068b01bf888a$f72366a0$0301a8c0@easystreet.com> From: "Robin Dunn" To: , Subject: Re: [wxPython] FW: Advanced use of wxHtmlWindow Date: Tue, 7 Mar 2000 15:14:56 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 824 Lines: 30 > Ok, maybe I need to think a bit more before I push send ;-)? > > It's possible to use a dictionary instead of a list. wxpTag.py could be > extended to look for a tag called "KEY" for instance. It would then use > this as a key for the dictionary. That way, order of creation would not be > an issue. > > Robin, is this something you would consider as excepting as an enhancement, > or should it just be my own custom version of wxpTap.py..... Provided that > this is an acceptable solution. > Yes, that sounds useful. -- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out! _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Tue Mar 07 22:29:41 2000 Received: (qmail 123 invoked by alias); Wed, 08 Mar 2000 03:29:41 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SXAL-00040J-01 for ; Tue, 07 Mar 2000 22:29:41 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Tue, 07 Mar 2000 22:29:41 -0500 (EST) Received: from uni01mh.unity.ncsu.edu (uni01mh.unity.ncsu.edu [152.1.1.54]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id WAA26674 for ; Tue, 7 Mar 2000 22:22:44 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni01mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id WAA23209 for ; Tue, 7 Mar 2000 22:22:45 -0500 (EST) Received: (qmail 24196 invoked from network); 8 Mar 2000 03:19:33 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 8 Mar 2000 03:19:33 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 24155 invoked from network); 8 Mar 2000 03:19:19 -0000 Received: from dingo.cc.uq.edu.au (HELO mailbox.uq.edu.au) (root@130.102.2.14) by server.python.net with SMTP; 8 Mar 2000 03:19:19 -0000 Received: from fam001 (dyn-15-84.dialin.uq.net.au [203.100.15.84]) by mailbox.uq.edu.au (8.9.3/8.9.3) with SMTP id NAA23238 for ; Wed, 8 Mar 2000 13:21:25 +1000 (GMT+1000) Message-Id: <3.0.1.32.20000308131459.006edd8c@pophost.maths.uq.edu.au> X-Sender: chris@pophost.maths.uq.edu.au X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Wed, 08 Mar 2000 13:14:59 +1000 To: wxpython-users@server.python.net From: Chris Fama In-Reply-To: <200003071610.CAA29495@bunyip.cc.uq.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: [wxPython] Re: Advanced use of wxHtmlWindow Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 350 Lines: 14 I use code like EVT_BUTTON(self.FindWindowById(wxID_SAVE), wxID_SAVE, self.OnSaveMail) I hope this reply is not too late! Chris _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Wed Mar 08 01:50:25 2000 Received: (qmail 123 invoked by alias); Wed, 08 Mar 2000 06:50:25 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12SaIb-0004BR-00 for ; Wed, 08 Mar 2000 01:50:25 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Wed, 08 Mar 2000 01:50:25 -0500 (EST) Received: from uni01mh.unity.ncsu.edu (uni01mh.unity.ncsu.edu [152.1.1.54]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id BAB00897 for ; Wed, 8 Mar 2000 01:44:16 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni01mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id BAA22894 for ; Wed, 8 Mar 2000 01:44:17 -0500 (EST) Received: (qmail 26999 invoked from network); 8 Mar 2000 06:41:29 -0000 Received: from localhost (HELO starship.python.net) (nobody@127.0.0.1) by localhost with SMTP; 8 Mar 2000 06:41:29 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 26401 invoked from network); 8 Mar 2000 05:45:22 -0000 Received: from fb02.eng00.mindspring.net (207.69.229.20) by server.python.net with SMTP; 8 Mar 2000 05:45:22 -0000 Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by fb02.eng00.mindspring.net (8.9.3/8.8.5) with ESMTP id AAA02960 for ; Wed, 8 Mar 2000 00:47:49 -0500 (EST) Received: from sony (pool-207-205-169-142.snfr.grid.net [207.205.169.142]) by smtp6.mindspring.com (8.9.3/8.8.5) with SMTP id AAA09186 for ; Wed, 8 Mar 2000 00:47:42 -0500 (EST) Reply-To: From: "Eric Freese" To: Date: Tue, 7 Mar 2000 23:45:28 -0600 Message-ID: <000501bf88c1$824fd980$7b32fea9@sony> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Subject: [wxPython] Help on choice dialog/Python Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 5542 Lines: 166 HELP!!!!! I've already sent too much time trying to get a choice dialog to work and will hope that the experts on this list will be able to tell me what is wrong in the attached script. I'm sure it is something simple that I am missing. I am using wxPython 2.1.13 on Win NT4 and Win 98. Also, how do I grey out menu items which are not active? Any suggestions will be appreciated. Thanks in advance. Please reply to efreese@sprynet.com. Eric Freese =============================================================== import sys, os from wxPython.wx import * class MyFrame(wxFrame): def __init__(self, parent, id, title): wxFrame.__init__(self, parent, -1, title, wxDefaultPosition, wxSize(700, 550)) self.otherWin = None EVT_IDLE(self, self.OnIdle) self.Centre(wxBOTH) self.CreateStatusBar(1, wxST_SIZEGRIP) self.splitter = wxSplitterWindow(self, -1) self.splitterSelection = wxSplitterWindow(self.splitter, -1) self.splitterDisplay = wxSplitterWindow(self.splitter, -1) # Prevent TreeCtrl from displaying all items after destruction self.dying = false self.mainmenu = wxMenuBar() # Make a Find menu menu = wxMenu() mID = NewId() menu.Append(mID, '&Choice', 'Test choice') EVT_MENU(self, mID, self.OnTestChoice) mID = NewId() menu.Append(mID, 'E&xit', 'Get the heck outta here!') EVT_MENU(self, mID, self.OnFileExit) self.mainmenu.Append(menu, '&Test') self.SetMenuBar(self.mainmenu) # Set up a TextCtrl on the Display page # This will be an HTML page at some point self.dispPage = wxTextCtrl(self.splitterDisplay, -1, '', wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY) # Set up a log on the right page self.log = wxTextCtrl(self.splitterDisplay, -1, '', wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL) (w, self.charHeight) = self.log.GetTextExtent('X') #self.WriteText('wxPython Demo Log:\n') # add the windows to the splitter and split it. self.splitter.SetMinimumPaneSize(20) self.splitter.SplitHorizontally(self.splitterSelection, self.splitterDisplay) self.splitter.SetSashPosition(50) self.splitterDisplay.SplitHorizontally(self.dispPage, self.log) self.splitterDisplay.SetSashPosition(350) self.splitterDisplay.SetMinimumPaneSize(20) #--------------------------------------------- def WriteText(self, text): self.log.WriteText(text) w, h = self.log.GetClientSizeTuple() numLines = h/self.charHeight x, y = self.log.PositionToXY(self.log.GetLastPosition()) self.log.ShowPosition(self.log.XYToPosition(x, y-numLines+1)) def write(self, txt): self.WriteText(txt) #--------------------------------------------- def EvtChoice(self, event): self.log.WriteText('EvtChoice: %s\n' % event.GetString()) #--------------------------------------------- def OnFileExit(self, event): self.Close() #--------------------------------------------- def OnItemExpanded(self, event): item = event.GetItem() self.log.WriteText("OnItemExpanded: %s\n" % self.tree.GetItemText(item)) #--------------------------------------------- def OnCloseWindow(self, event): self.dying = true self.Destroy() #--------------------------------------------- def OnIdle(self, event): if self.otherWin: self.otherWin.Raise() self.otherWin = None #--------------------------------------------- def OnItemCollapsed(self, event): item = event.GetItem() self.log.WriteText("OnItemCollapsed: %s\n" % self.tree.GetItemText(item)) #--------------------------------------------- def OnSelChanged(self, event): item = event.GetItem() self.log.WriteText("OnSelChanged: %s\n" % self.tree.GetItemText(item)) #--------------------------------------------- def SetOverview(self, name, text): self.ovr.Clear() self.ovr.WriteText(text) self.ovr.SetInsertionPoint(0) self.ovr.ShowPosition(0) #--------------------------------------------- def OnTestChoice(self, event): tc = TestChoice(self.dispPage, self.log) return tc #--------------------------------------------------------------------------- class TestChoice(wxPanel): def __init__(self, parent, log): self.log = log global choiceList wxPanel.__init__(self, parent, -1) wxStaticText(self, -1, "Select one:", wxPoint(15, 50), wxSize(75, 20)) wxChoice(self, 40, wxPoint(80, 50), wxSize(95, 20), choiceList) EVT_CHOICE(self, 40, self.EvtChoice) def EvtChoice(self, event): frame.log.WriteText('EvtChoice: %s\n' % event.GetString()) #--------------------------------------------------------------------------- class MyApp(wxApp): def OnInit(self): frame = MyFrame(None, -1, "test choice") frame.Show(true) self.SetTopWindow(frame) return true #--------------------------------------------------------------------------- global choiceList choiceList = ['None', 'All'] app = MyApp(0) app.MainLoop() _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Wed Mar 08 08:41:47 2000 Received: (qmail 123 invoked by alias); Wed, 08 Mar 2000 13:41:47 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12Sgih-0004Vg-00 for ; Wed, 08 Mar 2000 08:41:47 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Wed, 08 Mar 2000 08:41:47 -0500 (EST) Received: from uni01mh.unity.ncsu.edu (uni01mh.unity.ncsu.edu [152.1.1.54]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id IAA28123 for ; Wed, 8 Mar 2000 08:32:36 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni01mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id IAA03190 for ; Wed, 8 Mar 2000 08:32:37 -0500 (EST) Received: (qmail 29704 invoked from network); 8 Mar 2000 13:29:21 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 8 Mar 2000 13:29:21 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 29671 invoked from network); 8 Mar 2000 13:29:02 -0000 Received: from smtp.tuthill.com (HELO tuthill?p01.tuthill.com) (208.134.194.134) by server.python.net with SMTP; 8 Mar 2000 13:29:02 -0000 Received: by TUTHILL_P01 with Internet Mail Service (5.5.2650.21) id ; Wed, 8 Mar 2000 07:23:21 -0600 Message-ID: <11B151BF2510D111911E00805F85A43566163F@DFILLRITE_E01> From: "Cavanaugh, Craig" To: wxpython-users@server.python.net Subject: RE: [wxPython] Re: Advanced use of wxHtmlWindow Date: Wed, 8 Mar 2000 07:30:50 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: wxpython-users-admin@server.python.net Errors-To: wxpython-users-admin@server.python.net X-Mailman-Version: 1.1 Precedence: bulk List-Id: The ultimate Python GUI X-BeenThere: wxpython-users@starship.python.net Status: RO Content-Length: 1184 Lines: 34 FindWindowById was the magic function I was looking for. Thanks! The dictionary kind of worked, but there were problems(i.e. a lot more work needed) when creating multiple instances of the panel that contained the wxHtmlWindow. I was not able to create multiple instances of the tag handler because of the way it adds itself automatically when it is imported ( wxHtmlWinParser_AddTagHandler(wxpTagHandler) ) Craig > -----Original Message----- > From: Chris Fama [SMTP:chris@maths.uq.edu.au] > Sent: Tuesday, March 07, 2000 10:15 PM > To: wxpython-users@server.python.net > Subject: [wxPython] Re: Advanced use of wxHtmlWindow > > I use code like > > EVT_BUTTON(self.FindWindowById(wxID_SAVE), > wxID_SAVE, > self.OnSaveMail) > > I hope this reply is not too late! > > Chris > > > _______________________________________________ > wxPython-users maillist - wxPython-users@starship.python.net > http://starship.python.net/mailman/listinfo/wxpython-users _______________________________________________ wxPython-users maillist - wxPython-users@starship.python.net http://starship.python.net/mailman/listinfo/wxpython-users From wxpython-users-admin@server.python.net Wed Mar 08 09:22:23 2000 Received: (qmail 123 invoked by alias); Wed, 08 Mar 2000 14:22:23 -0000 Received: from localhost ([127.0.0.1] ident=bgdarnel) by Sull-03-157.rh.ncsu.edu with esmtp (Exim 3.12 #1 (Debian)) id 12ShLz-0004YG-00 for ; Wed, 08 Mar 2000 09:22:23 -0500 Received: from bgdarnel.mail.ncsu.edu by localhost with IMAP (fetchmail-5.3.0) for bgdarnel@localhost (single-drop); Wed, 08 Mar 2000 09:22:23 -0500 (EST) Received: from uni02mh.unity.ncsu.edu (uni02mh.unity.ncsu.edu [152.1.1.55]) by uni00map.unity.ncsu.edu (8.8.4/US23Sep97) with ESMTP id JAA06230 for ; Wed, 8 Mar 2000 09:14:31 -0500 (EST) Received: from server.python.net (qmailr@server.python.net [209.50.192.113]) by uni02mh.unity.ncsu.edu (8.8.7/8.8.7) with SMTP id JAA14970 for ; Wed, 8 Mar 2000 09:14:28 -0500 (EST) Received: (qmail 30449 invoked from network); 8 Mar 2000 14:08:17 -0000 Received: from localhost (HELO starship.python.net) (alias@127.0.0.1) by localhost with SMTP; 8 Mar 2000 14:08:17 -0000 Delivered-To: wxpython-users@server.python.net Received: (qmail 30339 invoked from network); 8 Mar 2000 14:07:56 -0000 Received: from unknown (HELO frdmz005.nestle.fr) (194.4.39.133) by server.python.net with SMTP; 8 Mar 2000 14:07:56 -0000 Received: from frnsl122.nestle.fr (194.4.39.131 [194.4.39.131]) by frdmz005