Re: [pygtk] How to get the gtk stock button label translated?

2013-02-05 Thread F Wolff
On Tue, Jan 22, 2013 at 6:28 AM, 卢亚德 wrote: > I used self.btnNew = gtk.MenuToolButton (gtk.STOCK_ADD) to get a > menutoolbutton. But the label of this menu button didn't get translated. It > always displays ad 'Add' in the user interface. I got the information that > the translation is pre-built i

Re: [pygtk] Windows File/Folder Chooser

2011-05-04 Thread F Wolff
Op Di, 2011-05-03 om 13:14 +0530 skryf Shrihari Sankaran: > What is the best way to display the native file/folder chooser dialog > on Windows ? I did a google search and found some posts in the > archives. But they were about 4 years old. So i thought there might be > an easier way now. Is thr ?

Re: [pygtk] Recent changes to the PyGTK Reference Manual

2011-04-11 Thread F Wolff
Op Ma, 2011-04-11 om 09:30 +0800 skryf Jason Heeris: > I'd like to offer some criticism of the new format of the "PyGTK 2.0 > Reference Manual" at http://developer.gnome.org/pygtk/stable/ > > I use this reference all the time, but the recent changes make it > extremely difficult to use — primaril

Re: [pygtk] ANNOUNCE: PyGTK All-in-one Installer 2.22.6

2011-01-26 Thread F Wolff
Op Wo, 2011-01-19 om 20:23 +0100 skryf Dieter Verfaillie: > We are pleased to announce release 2.22.6 of the PyGTK All-in-one > installer for Windows. > > More information can be found in the README file at: > https://github.com/dieterv/pygtk-installer#readme Thank you for these, Dieter! Any ch

Re: [pygtk] To load any encoding textfile in textview

2010-04-22 Thread F Wolff
Op Vr, 2010-04-23 om 02:10 +0530 skryf varnikat t: > How to load any encoding text file in textview of glade as it supports > only UTF-8 encoded text files and loads them only? > Any solutions > waiting eagerly The best might be to convert it to you unicode yourself and pass that to the textvi

Re: [pygtk] Language translation not working in Windows

2009-09-22 Thread F Wolff
Op Sa, 2009-09-19 om 13:58 +0530 skryf muhamed niyas: > Hi All, > > I am trying to translate my application to the language en_CA, > For translating, the following comands i used > > intltool-extract --type=gettext/glade myapp.glade > > xgettext --language=Python --keyword=_ --keyword=N_ --ou

Re: [pygtk] OS X Deployment

2009-07-21 Thread F Wolff
Op Ma, 2009-07-20 om 10:59 -0600 skryf Bertrand Son Kintanar: > Hi List, > > Is there a guide that I can follow on how to deploy my application in > an OS X environment? currently my application has an Win32 installer > and it runs smoothly in Linux since it's my main development platform. > I als

Re: [pygtk] reply address for this list - retry

2009-06-01 Thread F Wolff
Op Vr, 2009-05-29 om 15:14 +0200 skryf Alessandro Dentella: > I did it again, so I repost the same request as some months ago. Even if you > are not the person in the position to modify it, I'd like to know if there > are any objections to setting a default reply to the list. > > sandro > *:-) >

Re: [pygtk] gnome-python-extras release?

2009-01-19 Thread F Wolff
Op Ma, 2009-01-19 om 09:20 +0100 skryf Murray Cumming: > Could we have a new release of gnome-python-extras from svn trunk, > please? Or should I do that? > > I need it for Glom. And any chance of a build for Windows (at least for the bits that aren't gnome specific)? I'm thinking specifically ab

[pygtk] Any guide for py2app and imendio's pygtk?

2009-01-15 Thread F Wolff
Hallo list I'm trying to use py2app to create an app bundle for my application using Imendio's GTK port on Mac OSX 10.5. The application is running correctly, GTK is definitely working in my install. The app bundle is built without any errors. GTK libraries and python bindings are included in the

Re: [pygtk] Problem with Notebook

2008-12-23 Thread F Wolff
On Di, 2008-12-23 at 15:46 +0100, Frédéric wrote: > def __onNoteBookSwitchedPage(self, widget, page, page_num): > if page_num == 0 and self._model.camera.lens.type_ == 'fisheye': > controller = WarningMessageController(_("Warning"), > _("Can

Re: [pygtk] Python To Exe That's PyGTK-Friendly

2008-10-30 Thread F Wolff
On Wo, 2008-10-29 at 16:43 -0700, [EMAIL PROTECTED] wrote: > Is anyone aware of a Python-To-Exe utility that's both PyGTK friendly > and pkg_resources friendly (packages that use disutils or a setup.py > script)? I have heard about py2exe and PyInstaller. > > Thanks in advance, > Patty Hallo Pat

Re: [pygtk] PyGTK .dmg for OS X

2008-10-11 Thread F Wolff
On So, 2008-10-05 at 14:17 -0400, Dave Aitel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I wanted to forward this since some other people on this list may be > running a Mac and want something like it... > > - -dave Hi Dave Thanks a lot for this. I was able to get our software

Re: [pygtk] Dynamically resize text to fit a fixed sized label

2008-03-13 Thread F Wolff
Op Dinsdag 2008-03-11 skryf Darwin Bautista: > Hi all, > > I'm planning to dynamically resize the text to fit a fixed sized label > when it overflows. > How do I determine if a certain text (variable length) will overflow a > fixed sized label? > Also, is there a way of estimating the required fon

[pygtk] GtkSpell on Windows with Python

2008-01-08 Thread F Wolff
Hello list I want to use gtkspell in my PyGTK program, but it seems that the Python bindings of gtkspell are only available as part of GnomePythonExtras, which it seems are not cross platform, and therefore not available on Windows. Can anybody correct my facts here and/or have ideas on how to ad

Re: [pygtk] gtk.TextView dimensions

2007-12-18 Thread F Wolff
Op Dinsdag 2007-12-18 skryf A.T.Hofkamp: > Lennon Cook wrote: > > "A.T.Hofkamp" <[EMAIL PROTECTED]> wrote: > >> For a fixed font, take any character, query its width and height, > > How would I do this? > > For text in 'self.name', I do > > pango_layout.set_text(self.name) > xle

Re: [pygtk] Drawing widgets in a custom cellrenderer

2007-12-07 Thread F Wolff
Thanks for your reply, Johan. I'll try to clarify my question more below... Op Vrydag 2007-12-07 skryf Johan Dahlin: > F Wolff wrote: > > Hi list. ... > > > > (by the way, why isn't the gtk.Widget.draw() method documented?) > > Because it is dep

[pygtk] Drawing widgets in a custom cellrenderer

2007-12-06 Thread F Wolff
Hi list. I'm doing a custom cellrenderer similar to this FAQ entry: http://faq.pygtk.org/index.py?req=show&file=faq13.045.htp As part of my rendering I want to display a normal gtk.Widget (a container, in my case), but I fail to see how to display it correctly. By following the FAQ entry, I get t