Re: [pygtk] gtk.TextBuffer.cut_clipboard problem and testcase

2004-06-21 Thread John Finlay
Dennis Craven wrote: Hello, I have written a small testcase/demo program that uses the cut_clipboard, copy_clipboard, and paste_clipboard gtk.TextBuffer functions that were introduced in PyGTK 2.4. The small program demonstrates the copy and paste functions working properly, and while the cut funct

[pygtk] gtk.TextBuffer.cut_clipboard problem and testcase

2004-06-21 Thread Dennis Craven
Hello, I have written a small testcase/demo program that uses the cut_clipboard, copy_clipboard, and paste_clipboard gtk.TextBuffer functions that were introduced in PyGTK 2.4. The small program demonstrates the copy and paste functions working properly, and while the cut function deletes the sel

Re: [pygtk] pygtk tutorial win32 problems

2004-06-21 Thread John Finlay
vector180 wrote: I apologise for being so rudimentary but these first steps are worse than crawling. I have python and pygtk up and running on winxp. I went to the pygtk tutorial site http://www.moeraki.com/pygtktutorial/pygtk2tutorial/index.html and started the learning curve. base.py seems t

Re: [pygtk] pygtk tutorial win32 problems

2004-06-21 Thread Christian Robottom Reis
On Tue, Jun 22, 2004 at 09:53:44AM +1000, vector180 wrote: > I have python and pygtk up and running on winxp. I went to the pygtk > tutorial site > http://www.moeraki.com/pygtktutorial/pygtk2tutorial/index.html and > started the learning curve. base.py seems to work :) however neither > pygtkco

[pygtk] pygtk tutorial win32 problems

2004-06-21 Thread vector180
I apologise for being so rudimentary but these first steps are worse than crawling. I have python and pygtk up and running on winxp. I went to the pygtk tutorial site http://www.moeraki.com/pygtktutorial/pygtk2tutorial/index.html and started the learning curve. base.py seems to work :) however

[pygtk] Re: signal handling

2004-06-21 Thread Alex Roitman
Sorry for the false alarm, I have figured what was wrong. It turned out that CanvasGroup was not the child of the canvas. Instead, they were both children of the canvas's parent. So connecting the overall handler to the parent's signal (insead of canvas's signal) solved the problem. I guess it's

[pygtk] signal handling

2004-06-21 Thread Alex Roitman
Hi all, I'm trying to figure out the proper signal handling for the following situation. I have gnome.canvas object, with some gnome.canvas.CanvasGroup things added to it. I would like to have two handlers for the events: one when e.g. the click is made over CanvasGroup and another one when e.g. c

R: [pygtk] how to print from pygtk?

2004-06-21 Thread Gatti Lorenzo
There is a "print" command line tool, taking as parameters the file name and the printer name; since something similar is probably available on Linux, the program could open a shell and execute a platform-dependent command with the same overall logic. Lorenzo Gatti > -Messaggio originale--

Re: [pygtk] how to print from pygtk?

2004-06-21 Thread Jakub Piotr Cłapa
Ivan Brkanac wrote: Xavier Ordoquy wrote: On Fri, 2004-06-18 at 20:57, Christian Robottom Reis wrote: On Fri, Jun 18, 2004 at 03:11:28PM +0200, Ivan Brkanac wrote: I would like to do some printing from pygtk (on windows) how can it be done I haw data in text buffer and it needs to go to print

Re: [pygtk] how to print from pygtk?

2004-06-21 Thread Rubens Ramos
--- Ivan Brkanac <[EMAIL PROTECTED]> wrote: > > > Xavier Ordoquy wrote: > > >On Fri, 2004-06-18 at 20:57, Christian Robottom Reis wrote: > > > > > >>On Fri, Jun 18, 2004 at 03:11:28PM +0200, Ivan Brkanac wrote: > >> > >> > >>>I would like to do some printing from pygtk (on windows) > >>>ho

Re: [pygtk] how to print from pygtk?

2004-06-21 Thread Ivan Brkanac
Xavier Ordoquy wrote: On Fri, 2004-06-18 at 20:57, Christian Robottom Reis wrote: On Fri, Jun 18, 2004 at 03:11:28PM +0200, Ivan Brkanac wrote: I would like to do some printing from pygtk (on windows) how can it be done I haw data in text buffer and it needs to go to printer, as I searche

Re: [pygtk] Threading

2004-06-21 Thread Toon Verstraelen
Prash wrote: Can anyone give me an example of threading or point me to a resource please? Basically I have a textview where I display live newsfeed at regular intervals. The main thread hangs whilst it's doing the fetching and displaying work. So I want a separate thread that will do the job withou

[pygtk] Threading

2004-06-21 Thread Prash
Hi Peeps, Can anyone give me an example of threading or point me to a resource please? Basically I have a textview where I display live newsfeed at regular intervals. The main thread hangs whilst it's doing the fetching and displaying work. So I want a separate thread that will do the job without