<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python">
    <title>gmane.comp.gnome.gtk+.python</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16190"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16187"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16186"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16185"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16184"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16183"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16182"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16181"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16180"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16179"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16175"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16174"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16173"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16169"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16168"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16167"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16166"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16165"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16164"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16163"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16190">
    <title>gtk.SpinButton - weird behaviour</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16190</link>
    <description>&lt;pre&gt;Hello,

we have a GTK2 python app which uses a gtk.SpinButton with a precision 
of 1, i.e. numbers like 1234.5. This widget behaves oddly when trying to 
enter values directly with the keyboard. It is difficult to describe; 
when you click the field and enter some digits, only the first is 
accepted, then the marker jumps to the end of the field (after the 
decimal digit) where you cannot enter anything. You can move the mark 
manually again and enter some more digits. It just isn't possible to 
click the field once and enter "1234.5" like it should.

Is this a known GTK problem/bug? We're using GTK 2.20. The spinButton is 
configured with digits=1, numeric=True, snap-to-ticks=False, 
alignment=1, increments=0.1,10.

Thanks,
Andreas
_______________________________________________
pygtk mailing list   pygtk&amp;lt; at &amp;gt;daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

&lt;/pre&gt;</description>
    <dc:creator>Andreas Heinlein</dc:creator>
    <dc:date>2012-05-16T08:08:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16187">
    <title>Re: Porting to gobject and pygi questions?</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16187</link>
    <description>&lt;pre&gt;Op 09-05-12 16:13, Stuart Axon schreef:
Not really minimal, but see the example folder in the PyGObject package: 
http://git.gnome.org/browse/pygobject/tree/examples/cairo-demo.py

It basicly comes down to this:

def lets_draw(da, ctx):
     print da, ctx
da = Gtk.DrawingArea()
da.connect('draw', lets_draw)

Cheers,
Timo


_______________________________________________
pygtk mailing list   pygtk&amp;lt; at &amp;gt;daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

&lt;/pre&gt;</description>
    <dc:creator>Timo</dc:creator>
    <dc:date>2012-05-09T18:17:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16186">
    <title>Re: Porting to gobject and pygi questions?</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16186</link>
    <description>&lt;pre&gt;In  https://live.gnome.org/PyGObject/IntrospectionPorting#Step_1:_The_Great_Renaming

it mentions "change expose-event to draw and do drawing with cairo." is there a really minimal example of this somewhere ?


- My App uses gtk DrawingArea fairly extensively.


S++


pygtk mailing list   pygtk&amp;lt; at &amp;gt;daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/&lt;/pre&gt;</description>
    <dc:creator>Stuart Axon</dc:creator>
    <dc:date>2012-05-09T14:13:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16185">
    <title>Re: Porting to gobject and pygi questions?</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16185</link>
    <description>&lt;pre&gt;
Hi,

all those links should be here:

https://live.gnome.org/PyGObject

If it's still not clear, please say so and the page will be completed.

Regards,

Tomeu
_______________________________________________
pygtk mailing list   pygtk&amp;lt; at &amp;gt;daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

&lt;/pre&gt;</description>
    <dc:creator>Tomeu Vizoso</dc:creator>
    <dc:date>2012-05-09T13:47:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16184">
    <title>Porting to gobject and pygi questions?</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16184</link>
    <description>&lt;pre&gt;Hello All,


  Appologies for asking on the pygtk list but -

I'm starting to port my app from pygtk to pygobject and running up against various problems... however I can't work out where to ask questions about pygi - the bugtracker on gnome says it's closed and I can't find a mailinglist for it (!)

 
S++_______________________________________________
pygtk mailing list   pygtk&amp;lt; at &amp;gt;daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/&lt;/pre&gt;</description>
    <dc:creator>Stuart Axon</dc:creator>
    <dc:date>2012-05-09T11:49:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16183">
    <title>Re: PyGTK Windows debugging.</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16183</link>
    <description>&lt;pre&gt;Op 07-05-12 17:26, cwr&amp;lt; at &amp;gt;netcom.co.uk schreef:
Why not do the same? Press the Windows/Super key on your keyboard and 
type cmd.exe. Now do the usual stuff: cd to the right directory and run 
with "python myapp.py".

Timo



_______________________________________________
pygtk mailing list   pygtk&amp;lt; at &amp;gt;daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

&lt;/pre&gt;</description>
    <dc:creator>Timo</dc:creator>
    <dc:date>2012-05-07T18:22:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16182">
    <title>Re: PyGObject 3.3.1 released</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16182</link>
    <description>&lt;pre&gt;I imagine a lot of apps are going to break with the removal of
gobject.set_data and gobject.get_data. I know half of my apps are
broken as a result. :-(

I'm also noticing some apps are not loading properly or at all on my
desktop after the update to this version (Fedora Rawhide).

It would have been nice to deprecate these functions for a few
releases and giving developers the change to port/update their code
before removing them completely. Isn't this the correct procedure with
regards to breaking/removing APIs?

Also removing this makes PyGObject inconsistent with the C GObject API
which as far as I know still uses it.

On Mon, Apr 30, 2012 at 10:25 AM, Martin Pitt &amp;lt;martin.pitt&amp;lt; at &amp;gt;ubuntu.com&amp;gt; wrote:
_______________________________________________
pygtk mailing list   pygtk&amp;lt; at &amp;gt;daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/&lt;/pre&gt;</description>
    <dc:creator>Mystilleef</dc:creator>
    <dc:date>2012-05-07T17:15:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16181">
    <title>PyGTK Windows debugging.</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16181</link>
    <description>&lt;pre&gt;I usually debug PyGTK programs in the first instance
by starting them from a terminal and reading any error
messages written to stdout.  This works on Linux, but
apparently not on Windows, and for some reason I can't
find a clear Windows equivalent.

What's the usual way of getting error messages out of
a GUI under Windows?  Do I have to open a second window
and feed the messages across with eg. a pipe?

Thanks for any ideas - Will





_______________________________________________
pygtk mailing list   pygtk&amp;lt; at &amp;gt;daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

&lt;/pre&gt;</description>
    <dc:creator>cwr&lt; at &gt;netcom.co.uk</dc:creator>
    <dc:date>2012-05-07T15:26:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16180">
    <title>Re: PyGObject 3.3.1 released</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16180</link>
    <description>&lt;pre&gt;I don't claim to be an expert on PyGObject, just a user, and I think the
differences lay partly in the fact that gnome-sudoku is a game, while
SmartTE is not. If you or anyone else has suggestions, though, I'm more
than happy to hear them. I'm still a student, and I'm still learning
myself. :)

Smartboy

On Wed, May 2, 2012 at 12:21 AM, Mark Summerfield &amp;lt;list&amp;lt; at &amp;gt;qtrac.plus.com&amp;gt;wrote:

_______________________________________________
pygtk mailing list   pygtk&amp;lt; at &amp;gt;daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/&lt;/pre&gt;</description>
    <dc:creator>Smartboy</dc:creator>
    <dc:date>2012-05-02T17:48:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16179">
    <title>Re: PyGObject 3.3.1 released</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16179</link>
    <description>&lt;pre&gt;On Tue, 1 May 2012 09:03:48 -0700
Smartboy &amp;lt;smartboyathome&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

Thanks. The code seems rather different in style from gnome-sudoku, but
I have only looked very briefly at them so far.


&lt;/pre&gt;</description>
    <dc:creator>Mark Summerfield</dc:creator>
    <dc:date>2012-05-02T07:21:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16175">
    <title>Re: PyGObject 3.3.1 released</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16175</link>
    <description>&lt;pre&gt;Hi Tomeu,

On Tue, 1 May 2012 12:16:01 +0200
Tomeu Vizoso &amp;lt;tomeu&amp;lt; at &amp;gt;tomeuvizoso.net&amp;gt; wrote:
[snip]

Yes, that's interesting to learn from.

Is the "Python GTK+3 Tutorial"
(http://readthedocs.org/docs/python-gtk-3-tutorial/en/latest/index.html)
valid for PyGObject? It seems to use gi.repository, so it looks like it
is good to use?

Thanks!

&lt;/pre&gt;</description>
    <dc:creator>Mark Summerfield</dc:creator>
    <dc:date>2012-05-01T13:15:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16174">
    <title>Re: PyGObject 3.3.1 released</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16174</link>
    <description>&lt;pre&gt;
This one may be useful:

http://git.gnome.org/browse/gnome-games/tree/gnome-sudoku/src

Regards,

Tomeu
_______________________________________________
pygtk mailing list   pygtk&amp;lt; at &amp;gt;daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

&lt;/pre&gt;</description>
    <dc:creator>Tomeu Vizoso</dc:creator>
    <dc:date>2012-05-01T10:16:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16173">
    <title>Re: PyGObject 3.3.1 released</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16173</link>
    <description>&lt;pre&gt;Hi Tomeu,

On Tue, 1 May 2012 11:01:23 +0200
Tomeu Vizoso &amp;lt;tomeu&amp;lt; at &amp;gt;tomeuvizoso.net&amp;gt; wrote:

I can't see such a list on that page. There is a link to some demos and
examples and to the ported GNOME modules, but no end user _applications_
that I can see?

&lt;/pre&gt;</description>
    <dc:creator>Mark Summerfield</dc:creator>
    <dc:date>2012-05-01T10:06:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16169">
    <title>Questions about PyGObject</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16169</link>
    <description>&lt;pre&gt;Hi,

I hope this is the right list for PyGObject?
(If not, please ignore the rest and tell me what the right one is!)

I want to use PyGObject to create some GUI applications using Python 3.1
and Gtk 3.

And I want to test the applications against Python 3.1, 3.2, 3.3, ... on
Linux, Windows, and Mac OS X.

On the plus side, Fedora 16 and Ubuntu 11 both provide packages for
Python 3.2 + PyGObject + Gtk 3, so I can create the applications.

I have locally built and installed versions of Python 3.1, 3.2 (and soon
3.3), but have not been able to install PyGObject with any of them. Has
anyone done this who can point me to or provide (simple!) instructions?

I tried using jhbuild as per http://live.gnome.org/PyGObject It
wouldn't build gnome-doc-utils so I told it to skip that; but it also
failed to build glib so there was no point in continuing. Strangly it
looked like a Python 2 vs. Python 3 problem.

Also, there only seem to be Windows binaries for Python 2 (and they are
all a year old); and none for Python 3. &lt;/pre&gt;</description>
    <dc:creator>Mark Summerfield</dc:creator>
    <dc:date>2012-04-27T09:00:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16168">
    <title>gtk.TreeView displays all right on Windows, but can't see the values on Ubuntu(sry, i don't know why the indentation became a mess last time )</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16168</link>
    <description>&lt;pre&gt;Sorry, every time i finish writing an email which has codes in, the indentation no problem, but when i send it, i found it becomes a mess....

so i have to send it again

Hi, All,
first thanks the people who gave helps to me, 

now i encountered another question...
my first program LionCalculator, works ok on Windows, but there is a
problem on Ubuntu.

LionCalculator has a function that can store the previous calculation
results to the gtk.ListStore.

when pressing F1--F12 or clicking the gtk.CellRendererRadio, the gtk.Entry
will get the corresbonding values stored in ListStore.

when i run the program on Windows, no problem, i can see everything that
should display on the screen. but when i run it on Ubuntu, i can't see
the "F1" -- "F12" in the ListStore, can't see the calculation results
that should also display on ListStore, only the gtk.CellRendererRadio
showed. i don't understand...

and when i add "print ...get_store()[0][0]" and run it again, it print
"F1"! strange... and when i press F1 or F2..., the&lt;/pre&gt;</description>
    <dc:creator>Lion Chen</dc:creator>
    <dc:date>2012-04-25T07:33:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16167">
    <title>gtk.TreeView displays all right on Windows, but can't see the values on Ubuntu</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16167</link>
    <description>&lt;pre&gt;Hi, All,
first thanks the people who gave helps to me, :)

now i encountered another question...
my first program LionCalculator, works ok on Windows, but there is a
problem on Ubuntu.

LionCalculator has a function that can store the previous calculation
results to the
gtk.ListStore((gobject.TYPE_STRING, gobject.TYPE_BOOLEAN,
gobject.TYPE_STRING))

for i in xrange(12):
self.results_store.append(["F%d" % (i+1), None, None])

when pressed F1--F12 or click the gtk.CellRendererRadio, the gtk.Entry
will get the corresbonding values stored in ListStore.

when i run the program on Windows, no problem, i can see everything that
should display on the screen. but when i run it on Ubuntu, i can't see
the "F1" -- "F12" in the ListStore, can't see the calculation results
that should also display on ListStore, only the gtk.CellRendererRadio
showed.
i don't understand...

and when i add "print ...get_store()[0][0]" and run it again, it print
"F1"! strange... and when i press F1 or F2..., the result will copy to
the entry,&lt;/pre&gt;</description>
    <dc:creator>Lion Chen</dc:creator>
    <dc:date>2012-04-25T04:41:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16166">
    <title>Re: gobject.connect</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16166</link>
    <description>&lt;pre&gt;Op 23-04-12 12:44, Pierre Barthelemy schreef:
It could be a couple of things, but the easiest way to find out is (and 
this applies to all Python functions in the future when you encounter 
this exception):
def handler(*args):
     print args

And see for yourself which arguments are passed.

If the error is in the data.connect() call, try with only one argument 
and see if it passes, then two, then ...
Without code, it's impossible for us to say what it expects.

Cheers,
Timo


_______________________________________________
pygtk mailing list   pygtk&amp;lt; at &amp;gt;daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

&lt;/pre&gt;</description>
    <dc:creator>Timo</dc:creator>
    <dc:date>2012-04-23T17:58:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16165">
    <title>Re: why gtk.Entry does not give me right answers?</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16165</link>
    <description>&lt;pre&gt;See http://www.codinghorror.com/blog/2009/05/why-do-computers-suck-at-math.html
and maybe http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html

Christian
_______________________________________________
pygtk mailing list   pygtk&amp;lt; at &amp;gt;daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

&lt;/pre&gt;</description>
    <dc:creator>Christian Mallwitz</dc:creator>
    <dc:date>2012-04-23T11:30:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16164">
    <title>why gtk.Entry does not give me right answers?</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16164</link>
    <description>&lt;pre&gt;Hi, All,

i am trying write a calculator, now normal calculation works ok. but if
i enter long numbers, for example 333333333333333333 + 7, it gives me
"333333333333333312".....

there are 18 "3"s, if the length is more than 17, the calculation will
be wrong on Windows and Ubuntu.

the following is some of my codes:

def pre_calc(self, op):
#if entry is empty, any operators are invalid except "-"
if not self.entry.get_text() and op != "-":
return

if not self.entry.get_text() and op == "-":
self.entry.set_text(op)
self.cleared = 1
self.negative_sign = True#indicates there's already a "-"
return

#retrieve the 1st num and operator
if not self.op and self.entry.get_text():
if op != "=":
self.op = op
#print "text typ:", type(self.entry.get_text())
self.first_num = self.entry.get_text()
self.cleared = 0 # ready to input 2nd num
#print "op:", self.op, "-----", "1st num:", self.first_num
return
else:
self.first_num = None
self.second_num = None
self.op = None
self.cleared = 0
self.negative_sign = False
return

#re&lt;/pre&gt;</description>
    <dc:creator>Lion Chen</dc:creator>
    <dc:date>2012-04-23T11:25:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16163">
    <title>gobject.connect</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16163</link>
    <description>&lt;pre&gt;Hi everyone,

I am new to this mailing list. I am working on a program to perform data
analysis in python. This program is based on a library already developped,
that uses pygtk to create data-handling objects.
This data object inherits from gobject.GObject, and defines a few signals
"new-data-point".

I would like to connect this signal to a few functions, specifying the
arguments of these functions. I have read the PyGTK webpage (
http://www.pygtk.org/docs/pygobject/class-gobject.html#method-gobject--connect),
which specifies that i just have to concatenate in the "connect" call the
arguments: "object.connect("signal_name",handler,arg1,arg2,arg3)

I therefore have written:

data.connect("new-data-point", handler,'text')


and defined the handler function as suggested: def
handler(object,arg1,arg2,arg3)

def handler(data,argument):
    print data
    print argument

However, when i do execute the "connect" function, i get the error message:
"connect takes exactly 3 arguments (4 given).

Could you tell me ho&lt;/pre&gt;</description>
    <dc:creator>Pierre Barthelemy</dc:creator>
    <dc:date>2012-04-23T10:44:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16162">
    <title>gtk.window hide by closing trash</title>
    <link>http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/16162</link>
    <description>&lt;pre&gt;hi all
i have an pygtk application. i run it full screen  in the gnome start-up. when i open trash and close it, application will be hide! i know it is running yet but didn't show.  this problem only occur with trash not another nautilus windows or other applications.
do you have any suggestion why this problem happen?
tanks
_______________________________________________
pygtk mailing list   pygtk&amp;lt; at &amp;gt;daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/&lt;/pre&gt;</description>
    <dc:creator>zahra rokni</dc:creator>
    <dc:date>2012-04-23T06:14:45</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.gnome.gtk+.python">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.gnome.gtk+.python</link>
  </textinput>
</rdf:RDF>

