Walter Leibbrandt wrote:
> Have you tried packing your TreeView in a ScrolledWindow?
> You can then use the ScrolledWindow's set_policy() method to specify when to
> shown which scrollbar(s).
Now I did and it work perfectly.
Thanks a lot!
Regards,
--
Roberto Bonvallet
___
Frédéric wrote:
> In several places, instead of having my application name, I get '-c'.
This could be a result of the app having got launched
via 'python -c' somewhere along the way:
% python -c 'import sys; print sys.argv[0]'
-c
Not sure whether to regard this as a bug or not. It's
not clear wh
Frédéric wrote:
> Le 14/10/2008, "Walter Leibbrandt" <[EMAIL PROTECTED]> a écrit:
>
> No, it won't work, at least in local, because I would have a
> papywizard.py file which will mask the papywizard/ module. So the import
> will fail. That's why I used a shell script. But it should work once
> i
Le 14/10/2008, "Walter Leibbrandt" <[EMAIL PROTECTED]> a écrit:
>
>$ cat papywizard.sh
>#/bin/sh
>
>python -c "from papywizard.scripts.main import main; main()" $@
>
>... and there's your "-c".
Yes.
>If you had replaced papywizard.sh with
>papywizard.py:
>
>#!/usr/bin/env python
>from papywizar
Le 14/10/2008, "Willie Walker" <[EMAIL PROTECTED]> a écrit:
>Here's the hack we did in Orca to prevent this from happening:
>
># We're going to force the name of the app to "orca" so pygtk
># will end up showing us as "orca" to the AT-SPI. If we don't
># do this, the name can end up being "-c".
Hi,
$ cat papywizard.sh
#/bin/sh
python -c "from papywizard.scripts.main import main; main()" $@
... and there's your "-c". If you had replaced papywizard.sh with
papywizard.py:
#!/usr/bin/env python
from papywizard.scripts.main import main
main()
... and `chmod +x papywizard.py`, you also w
Here's the hack we did in Orca to prevent this from happening:
# We're going to force the name of the app to "orca" so pygtk
# will end up showing us as "orca" to the AT-SPI. If we don't
# do this, the name can end up being "-c". See bug 364452 at
# http://bugzilla.gnome.org/show_bug.cgi?id=3644
Hi Kevin,
The examples and pygtk-demo can be found in the pygtk source tarball :
http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.12/
They run out of the box once you have installed the windows binaries.
Cédric
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behal
Greetings,
A silly question, perhaps, but I can't seem to find the pygtk examples that are
so handy in Linux in any of the Windows packages. Are they hidden somewhere?
Or do they just not run under Windows for some reason (at least, without
Cygwin) ? In Linux, they're in /usr/share/doc/pygtk
Le 14/10/2008, "Walter Leibbrandt" <[EMAIL PROTECTED]> a écrit:
>This is just a hunch, but I'll bet that you don't get that behavior when
>you run your program from the command-line? My first guess is that it
>has something to do with the way in which your program is launched (ie.
>the exact comm
Frédéric wrote:
> In several places, instead of having my application name, I get '-c'.
> It can be on warnings, like:
>
> (-c:24058): Gtk-WARNING **: Locale not supported by C library.
> Using the fallback 'C' locale.
>
> or in the taskbar of my KDE desktop (only when 2 or more windows of
In several places, instead of having my application name, I get '-c'.
It can be on warnings, like:
(-c:24058): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
or in the taskbar of my KDE desktop (only when 2 or more windows of the
application are opened)
Roberto Bonvallet wrote:
> Dear all,
> I have written a small PyGTK program for the first time in order to
> help me visualize some data, but I have this problem I hope someone
> can help me to solve.
>
> The window contains a VBox, whose bottom cell contains a HBox with a
> TreeView and its VSc
13 matches
Mail list logo