Re: [pygtk] pyGTK + windows + skins

2004-03-18 Thread Michal Pasternak
Fabien COUTANT [Thu, Mar 18, 2004 at 04:19:06PM +0100]: > On Thursday, 18 March 2004, you (Michal Pasternak) wrote: > | Fabien COUTANT [Thu, Mar 18, 2004 at 01:46:52PM +0100]: > | > All themes mostly work with some off-by-one glitch drawing seen on the > | > right of some border

Re: [pygtk] pyGTK + windows + skins

2004-03-18 Thread Michal Pasternak
Fabien COUTANT [Thu, Mar 18, 2004 at 01:46:52PM +0100]: > All themes mostly work with some off-by-one glitch drawing seen on the > right of some borders. Do you mean this right-lower corner pixel missing in buttons? I'd really like to see it fixed. -- Michal Paster

Re: [pygtk] Clean UI and data seperation

2004-03-14 Thread Michal Pasternak
on.org/pipermail/python-list/2004-January/203088.html http://twistedmatrix.com/documents/current/api/twisted.python.mvc.html http://www.daa.com.au/pipermail/pygtk/2004-January/006752.html http://mail.python.org/pipermail/python-list/2003-August/176537.html -- Michal Pasternak :: http://pa

Re: [pygtk] On displaying a TreeView and selecting the right element...

2004-03-12 Thread Michal Pasternak
Martin Gadbois [Fri, Mar 12, 2004 at 01:56:52PM -0500]: [...] Err, back out my last e-mail, that was an obvious brainfart, I'm overworked recently - sorry! ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the P

Re: [pygtk] On displaying a TreeView and selecting the right element...

2004-03-12 Thread Michal Pasternak
Martin Gadbois [Fri, Mar 12, 2004 at 01:56:52PM -0500]: > How to select the right initial value in a gtk.TreeView when displaying it? Use TreeSelection object. If your tree is really a flat list, set TreeSelection path to (n,) (n being number of the selected item)

Re: [pygtk] pygtk vs. py2exe

2004-02-29 Thread Michal Pasternak
Thomas Moore [Sun, Feb 29, 2004 at 07:18:34PM +0800]: > Is this a problem to py2exe, or is it caused by some lost modules as it > states? As a workaround, try explictly importing those missing modules in your program. HTH. ___ pygtk mailing list [EMAIL

Re: [pygtk] Stability and Speed

2004-02-23 Thread Michal Pasternak
Jeremy Cowgar [Mon, Feb 23, 2004 at 11:19:34AM -0500]: > I am new to pygtk and I am thinking of using it for a medium size > application and was curious about it's stability on Win32 and speed? Stability is pretty okay - even if my program coredumped sometimes because of gtk2 issues on FreeBSD, i

Re: [pygtk] Window existance

2004-02-15 Thread Michal Pasternak
Russell Shaw [Sun, Feb 15, 2004 at 08:01:07PM +1100]: > Hi, > I get this error: > > File "db.py", line 81, in get_table > if self.window != None: > AttributeError: Edit_Manufs instance has no attribute 'window' > > However, i figured out this way: > > if 'window' in dir(self): >

Re: [pygtk] Window existance

2004-02-15 Thread Michal Pasternak
Russell Shaw [Sun, Feb 15, 2004 at 07:06:10PM +1100]: > Hi, > > In a class, i have: > > self.window=gtk.Window(gtk.WINDOW_TOPLEVEL) > > Later on, there is: > > if(self.window) > self.window.destroy() > > I get an error: > > File "db.py", line 82 > if(self.window) >

Re: [pygtk] Font manipulations

2004-02-08 Thread Michal Pasternak
David G. Mackay [Sun, Feb 08, 2004 at 05:15:20PM -0600]: > Is there a set of code snippets showing how to set font characteristics > (size, slant, weight, etc.) under pango? I found the section in the FAQ > describing the markup capabilities, but that doesn't seem like it would > apply to gtk.Entr

Re: [pygtk] Window's installers

2004-02-05 Thread Michal Pasternak
Dave Aitel [Thu, Feb 05, 2004 at 04:47:01PM -0800]: > >If anyone feels interested, please help with http://winsrc.sf.net [...] > That's totally cool! Has anyone tested this on gtk and pygtk? No, because I didn't make yet even atk and pango (glib2 builds okay anyway) ___

Re: [pygtk] Window's installers

2004-02-05 Thread Michal Pasternak
Lorenzo Gil Sanchez [Thu, Feb 05, 2004 at 02:16:02PM +0100]: > There is no offical installer. As I said before, I suggest using only dropline.net installer. This one seems to be the best and the most complete out of those 3 you gave. > Hope this help to pygtk Windows developers. HTH also. ... a

Re: [pygtk] how to generate scroll wheel mouse event.

2004-01-22 Thread Michal Pasternak
karthik karthik [Thu, Jan 22, 2004 at 02:15:34AM -0800]: > hi! > i'm trying to generate all mouse events using, > > "win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN,100,100,0)" > > and got stuck up in generating scroll wheel mouse > events such as scroll wheel up, scroll wheel down and > scr

Re: [pygtk] [ANN] MVC-0.3.0 released

2004-01-14 Thread Michal Pasternak
Roberto Cavada [Wed, Jan 14, 2004 at 05:35:03PM +0100]: > MVC is an implementation of the Model-View-Controller and Observer > patterns for the Pygtk2 toolkit. MVC is a pattern that can be Cool. I've used MVC with Twisted Python's Woven (www.twistedmatrix.com) to do some web stuff; as this model,

Re: [pygtk] ImportError: _gtk

2004-01-06 Thread Michal Pasternak
Cousin Stanley [Tue, Jan 06, 2004 at 06:17:55AM -0700]: > In C:\Windows\System I found and renamed > old versions of > > iconv.dll > libglib-2.0-0.dll I've wrote about this 4 days ago. ___ pygtk mailing list [EMAIL PROTECTED] h

Re: [pygtk] ImportError: _gtk

2004-01-06 Thread Michal Pasternak
Cedric Gustin [Tue, Jan 06, 2004 at 09:35:47AM +0100]: > http://www.gimp.org/~tml/gimp/win32/downloads.html, namely I rather suggest GTK 2 from Dropline Systems -- dropline.net/win32/ ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mail

Re: [pygtk] thread support on windows ?

2004-01-03 Thread Michal Pasternak
Michal Pasternak [Sat, Jan 03, 2004 at 05:22:17PM +0100]: > Ionutz Borcoman [Sat, Jan 03, 2004 at 06:41:58PM +0200]: > > I am trying to use threads and PyGTK together (under M$ Windows) with no > > success. I have attached the small program to this e-mail. > > http://www

Re: [pygtk] thread support on windows ?

2004-01-03 Thread Michal Pasternak
ent-driven environments instead, like Twisted Python, http://twistedmatrix.com -- Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net :: free, legal mp3 :: darmowe, legalne mp3 :: http://magnatune.com :: ___ pygtk mailing list

Re: [pygtk] add pixmap to button

2004-01-02 Thread Michal Pasternak
Daniel Kirkegaard Mouritsen [Fri, Jan 02, 2004 at 07:20:42PM +0100]: > There's a good tutorial on buttons here: > http://www.moeraki.com/pygtktutorial/pygtk2tutorial/ch-ButtonWidget.html Please, remember to cut unneeded quoted text next time. ___ pygtk m

Re: [pygtk] ImportError: _gtk

2004-01-02 Thread Michal Pasternak
quot; and needed files and _not_ overwrite your existing GTK Runtime. In case DLLs from glade went to win32 system directory, they should be deleted. -- Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net ___ pygtk mailing list

Re: [pygtk] ImportError: _gtk

2004-01-02 Thread Michal Pasternak
e a standard one? Could you please deinstall it, install a standard one and see if PyGTK works? I don't think we support Python-derivates. It can be your-Python-edition failure, not pygtk. Did you checked "Enthought Edition" e-mailing lists or user support forums? -- Michal Pastern

Re: [pygtk] TreeView, Windows Look & Feel

2004-01-01 Thread Michal Pasternak
Bert Marco Schuldes [Fri, Jan 02, 2004 at 09:40:58AM +0800]: > somewhere (maybe even with a working example??), > how to get a TreeView, which looks more like a > TreeView as it is common under Windows, not this > triangle-style expanders, but (+) and (-) > Icons and especially visible lines conne

[pygtk] Colorized TextView background in pygtk2

2003-12-30 Thread Michal Pasternak
Hi, I am able to set a text background for the text and spaces in TextView, but I would like it to span to the full width of window. Eg. now I have (~ means the letter above is gray) | some text | ~- this has gray background and I would like to

Re: [pygtk] I need inscrible this list

2003-11-29 Thread Michal Pasternak
Lucas [Sun, Nov 30, 2003 at 01:58:42AM -0300]: > Please Who doesn't! -- Michal Pasternak :: http://pasternak.w.lub.pl ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.asyn

Re: [pygtk] TreeView accessing every row of my custom TreeModel?

2003-11-06 Thread Michal Pasternak
; of the rows at the initialization of the widget - which, of course, is painfully slow in case you have 1,000,000,000 rows in your model. Anyway, common sense tells me, that if you want to have automatically sized columns, the widget will still be performing such scan. Take care,

Re: [pygtk] GtkDialog error?

2003-10-18 Thread Michal Pasternak
ling packages from sources a breeze. Gentoo Ports system could also be nice, but as a pkgsrc advocate, fan and contributor, I shouldn't suggest it :) -- Michal Pasternak :: http://pasternak.w.lub.pl Joni Mitchell never lies. ___ pygtk mailing list

Re: [pygtk] UnicodeError/LookupError and exe installers

2003-10-16 Thread Michal Pasternak
py2exe and McMillan Installer give me MemoryError after exe'fying my app (I didn't consult this with authors yet) - cxFreeze doesn't - and it's good to have choice in case some utilities fail and you need that .exe for yesterday ;) Regards, -- Michal Pasternak :: http://pasternak.w.lu

Re: [pygtk] New FAQ entry about TreeView.expand_row

2003-10-16 Thread Michal Pasternak
Christian Robottom Reis [Thu, Oct 16, 2003 at 01:51:34AM -0300]: > On Sat, Oct 11, 2003 at 10:50:19PM +0000, Michal Pasternak wrote: > > Q: Why TreeView.expand_row doesn't work for paths logner, than 1 element? > > > > A: TreeView.expand_row expands only the specifie

[pygtk] UnicodeError/LookupError and exe installers

2003-10-15 Thread Michal Pasternak
Hi, I put up a simple page about fixing UnicodeError exception after exefication with some installers. http://pasternak.w.lub.pl/python-installers-unicode.html Hope it can be useful. Regards, -- Michal Pasternak :: http://pasternak.w.lub.pl

[pygtk] New FAQ entry about TreeView.expand_row

2003-10-13 Thread Michal Pasternak
a in range(len(path)): tree_view.expand_row(path[:a+1], gtk.TRUE) to make sure all rows get expanded. -- Michal Pasternak :: http://pasternak.w.lub.pl ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] pygtk and databases

2003-09-26 Thread Michal Pasternak
TK+ developers just told me, that one of the scans is for sure a "validation scan" - and there's no possilibity of turning it off. Such possibility will be added in 2.4. Thank you. Regards, -- Michal Pasternak :: http://pasternak.w.lub.pl Noise to meet you. _

Re: [pygtk] pygtk and databases

2003-09-26 Thread Michal Pasternak
Gary Herron [Wed, Sep 24, 2003 at 10:14:54PM -0700]: > On Wednesday 24 September 2003 11:45 pm, Michal Pasternak wrote: > > Hi, > > > > do you know about any tips or documentation about using GTK widgets > > to display large amounts of data? > > > > I

[pygtk] PyGTK is just great.

2003-09-26 Thread Michal Pasternak
, on Win32 platforms, the different look of GTK (when not using GTK-WIMP) might be even a feature (did you notice, that there's a tendency in Windows world to create applications, which don't look too standard?). Thanks for it! Regards, -- Michal Pasternak :: http://pasternak.w.lub.pl Noi

Re: [pygtk] (sin asunto)

2003-09-25 Thread Michal Pasternak
doubt and looking for a quick fix, put the needed DLL into application directory, or c:\windows\system. And please note, that this is english-speaking list ;) -- Michal Pasternak :: http://pasternak.w.lub.pl Noise to meet you. ___ pygtk mailing list

Re: [pygtk] (no subject)

2003-09-25 Thread Michal Pasternak
Jose Reina [Thu, Sep 25, 2003 at 06:40:05PM +0200]: > Estoy utilizando python 2.3 con el módulo pygtk-2.0.0 para python 2.3. Las > librerías runtime de gtk que estoy utilizando es la versión 2.2.4. El sistema > operativo que estoy utilizando es win98se y win2k. Cuando ejecuto los ejemplos > del tut

[pygtk] pygtk and databases

2003-09-24 Thread Michal Pasternak
x27;t there any tips and tricks to make it a bit faster / less memory-consuming? Regards, -- Michal Pasternak :: http://pasternak.w.lub.pl Noise to meet you. ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the

Re: [pygtk] PyGTK, Win32 and py2exe: no luck

2003-09-21 Thread Michal Pasternak
Schmalki [Sun, Sep 21, 2003 at 03:12:44PM +0100]: > Hi, > > I've put a quick how-to up on my experiences with py2exe and pygtk. > Find it here: > > http://www.anti-particle.com/py2exe.shtml I never used py2exe. Why py2exe and why not McMillan Installer? -- M

Re: [pygtk] PyGTK, Win32 and py2exe: no luck

2003-09-04 Thread Michal Pasternak
days ago I made a distribution using McMillan's installer without any problems (py-gtk 1.99 and Python 2.2). Just remember to do the above things. BTW, mr. McMillan, if you're reading this - thanks for that wonderful utility ;) -- Michal Pasternak :: http://pasternak.w.lub.pl __

Re: [pygtk] using pygtk to create plots on a server w/ no DISPLAY

2003-08-31 Thread Michal Pasternak
"display" - or use Xvnc server. You can still set DISPLAY variable to :0.0 and try disturbing the local X user, if your host doesn't have enough secure settings ;) Or, install Cygwin's XFree86 on your Windows machine, or other Xservers, or ... Regards, -- Michal Pasternak