Christian Robottom Reis wrote:
On Fri, May 20, 2005 at 01:19:40PM +0200, Martijn Brouwer wrote:
I have a Debian Sarge system with python 2.3 and python-gnome-2.6.1.
Importing pygtk in the way described by the tutorial does not work:
import pygtk
pygtk.require("2.0")
import gtk
im
-device-manager works correctly, because it does not first import
pygtk.
Is this a feature change that should be reflected into the code of the
applications, or is this a bug?
Bye,
Martijn Brouwer
___
pygtk mailing list pygtk@daa.com.au
http://ww
has no content other than window1.
>
>
> On Wed, 24 Nov 2004 08:38:32 +0100, Martijn Brouwer
> <[EMAIL PROTECTED]> wrote:
> > Yes, I did.
> >
> > Martijn
> >
> >
> >
> >
> > On Tue, 2004-11-23 at 17:28 -0500, Chris
has no content other than window1.
>
>
> On Wed, 24 Nov 2004 08:38:32 +0100, Martijn Brouwer
> <[EMAIL PROTECTED]> wrote:
> > Yes, I did.
> >
> > Martijn
> >
> >
> >
> >
> > On Tue, 2004-11-23 at 17:28 -0500, Chris
Yes, I did.
Martijn
On Tue, 2004-11-23 at 17:28 -0500, Chris Lambacher wrote:
> Did you set window1 invisible in your glade file?
>
> > Thanks for your fast answer. Your suggestion works partially. I changed
> > my test program to what is shown below.
> > import gtk
> > import gtk.glade
> > im
On Tue, 2004-11-23 at 21:20 +, Gustavo J. A. M. Carneiro wrote:
> On Tue, 2004-11-23 at 20:51 +0100, Martijn Brouwer wrote:
> You are connecting the signal _after_ it being emitted. Try setting
> the 'visibile' property of window to false, in glade. Then, in the
&
ld function is not called.
Where is my mistake?
Thanks in advance for helping,
Martijn Brouwer
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
lthough not
in the correct status. When I then press cancel in the quit dialog, the
main window does not react, except that I can quit it. But when I do so,
gtk.main_quit() is not called.
I hope somebody on the list can point me to the solution of my problem
and explain me the behaviour I described.
do this in a gtk interface.
I guess, the gtk.mainloop has to take care for calling my function. How
do I achieve this.
Bye,
Martijn Brouwer
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ
have already fixed back to the way I want them.
> >
> > -Original Message-
> > From: Martijn Brouwer [mailto:[EMAIL PROTECTED]
>
> I spent about 1 minute trying to figure out why you were flaming Martijn
> after such a polite request. ;)
>
> Take car
Hi,
For a program I am writing I need a text editor that is written in Python and has a
gtk2 or gnome2 interface. I searched freshmeat but found nothing. I contacted the
author of Moleskine quit some time ago and he said he would come up with at gtk2
version, but the developement seems quite dea
Hi,
I need a GdkGeometry struct for use in a gtk.Window.set_geometry_hints() command, but
I cannot find how to create such an object. I imported gtk and then gtk.gdk, but
dir(gtk.gdk) did not show me anything relevant.
Martijn
--
Physics is a approximate description of a part of the physical
Hi,
I need a GdkGeometry struct for use in a gtk.Window.set_geometry_hints() command, but
I cannot find how to create such an object. I imported gtk and then gtk.gdk, but
dir(gtk.gdk) did not show me anything relevant.
Martijn
--
Physics is a approximate description of a part of the physical
Hi,
I have added a scrolled window to my application. I want it to display always the
lowest part of the widget inside it (a gtk.textview). How can I achieve this?
Bye,
Martijn
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/l
On Sun, 9 Feb 2003 22:55:11 +0100
Martijn Brouwer <[EMAIL PROTECTED]> wrote:
> I read this code example in the faq about caputering key strokes.
> I do not understand the meaning of *args. It looks like a c pointer ;-) I guess it
>is something else, but I could not find anythin
I read this code example in the faq about caputering key strokes.
I do not understand the meaning of *args. It looks like a c pointer ;-) I guess it is
something else, but I could not find anything in the python docs.
Bye,
Martijn
def on_key_press(widget, event, *args):
key = event.keyval
Hi John,
I is a good idea to contact eachother by i.c.q. about this problem? Is faster than
mailing once or twice a day...
Martijn
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.as
On 16 Jan 2003 11:47:20 -0200
Johan Dahlin <[EMAIL PROTECTED]> wrote:
> > > Strange.
> > > I seems that the code generator was interrupted when generating atk.c
> > > Try to remove atk.c (it's generated) and the build/ directory (it's used
> > > by distutils)
> > >
> > > If it still doesn't work,
On 16 Jan 2003 20:47:34 -0200
Johan Dahlin <[EMAIL PROTECTED]> wrote:
>
> > > It might be due to a bogus import statement of some kind.
> > >
> > > Could you try to add a debug output and print out bmod just before that.
> > > And modify setup.py to print out the argument send to the codegenerat
On 16 Jan 2003 11:47:20 -0200
Johan Dahlin <[EMAIL PROTECTED]> wrote:
> Looking on the output of atk.c it looks like the error is in the
> following part of the code, codegen/codegen.py line 665
>
> # This is working well
> bymod = {}
> for module, pyname, cname in imports:
> bymod.setdefa
On 13 Jan 2003 17:03:24 -0200
Johan Dahlin <[EMAIL PROTECTED]> wrote:
> mån 2003-01-13 klockan 16.53 skrev Martijn Brouwer:
> > When I compile pygtk using distuitls (./setup.py install
>--prefix=/home/martijn/sys/) compilation of atk.c fails with:
> >
> > buildin
On 13 Jan 2003 17:03:24 -0200
Johan Dahlin <[EMAIL PROTECTED]> wrote:
> mån 2003-01-13 klockan 16.53 skrev Martijn Brouwer:
> > When I compile pygtk using distuitls (./setup.py install
>--prefix=/home/martijn/sys/) compilation of atk.c fails with:
> >
> > buildin
When I compile pygtk using distuitls (./setup.py install --prefix=/home/martijn/sys/)
compilation of atk.c fails with:
building 'atk' extension
skipping atkmodule.c (build/temp.linux-i686-2.2/atkmodule.o up-to-date)
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DVERSION="1.99.14"
-DPYGTK_
I have problems creating a read-only tag in gtk.TextBuffer.
I have the following information:
1) from the API documentation of gtk.TextView:
gtk.TextView.set_editable
def set_editable(setting)
setting : whether it's editable
Sets the default editability of the gtk.TextView. You can overrid
On Mon, 06 Jan 2003 10:54:12 +0800
James Henstridge <[EMAIL PROTECTED]> wrote:
> Martijn Brouwer wrote:
>
> >That was what I understood from the faq too, however it seems that 1.99 requires
>importation of pygtk before gtk even when only one version of pygtk is installed.
On Thu, 2 Jan 2003 15:41:49 -0500
Andrew Reid <[EMAIL PROTECTED]> wrote:
> I have something which may be related -- we had a requirement
> for a "command-line console" which could operate while our
> application was in GUI mode, which we used mainly for debugging
> the GUI. It subclasses the Py
On Thu, 2 Jan 2003 16:14:50 -0200
Christian Reis <[EMAIL PROTECTED]> wrote:
> > > On Thu, Jan 02, 2003 at 08:50:39AM +0100, Martijn Brouwer wrote:
> > I would like to be able to communicate in two ways with an interactive program:
>
> What does `interactive program
On Thu, 2 Jan 2003 11:53:09 -0200
Christian Reis <[EMAIL PROTECTED]> wrote:
> So, is import pygtk required or not for pygtk2?
>From my experience: yes
Martijn
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read
On Thu, 2 Jan 2003 11:52:46 -0200
Christian Reis <[EMAIL PROTECTED]> wrote:
> On Thu, Jan 02, 2003 at 08:50:39AM +0100, Martijn Brouwer wrote:
> > Hi,
> > I would like to write an gtk/gnome frondend to an interactive program.
> > This can be easily done using the zvt
Hi,
I would like to write an gtk/gnome frondend to an interactive program. This can be
easily done using the zvt terminal widget. However I would like my application to be
able to communicate with the interactive program without displaying this on the
terminal.
When the application is forked usi
nces where this is required?
>
> Thanks
>
> john
>
> Martijn Brouwer wrote:
>
> >On Sat, 28 Dec 2002 23:18:30 +0100
> >Tom Cato Amundsen <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >>>ImportError: No module named gtk
&g
On Sat, 28 Dec 2002 23:18:30 +0100
Tom Cato Amundsen <[EMAIL PROTECTED]> wrote:
> > ImportError: No module named gtk
> >
> I guess you forgot to
> import pygtk
> pygtk.require("2.0")
>
> before "import gtk"
No I did not forget it, I just did not know I had to. :) Now I read something about it
I have two versions of python installed (2.1 and 2.2) on a linux system running debian
testing. For 2.1 I have PyGtk installed using the packages from the distribution,
which works fine. Now I want to write a program myself using PyGtk and Gnome-Python
version 1.99.13. Both are now installed in
33 matches
Mail list logo