Re: [Sugar-devel] help about the get_preview function of activity.Activity class to take screenshots

2009-07-20 Thread Martin Sevior
Hi Sumit, I just fixed the example code in the pyabiword module of abiword to give an example of how this works. The important line in this example is: i.props.pixbuf = abi.render_page_to_image(1) The converts page number 1 to a GdkPixbuf. Once you have a GdkPixbuf, in this case in a

Re: [Sugar-devel] creating your own templates in write activity

2009-07-16 Thread Martin Sevior
Hi Manusheel, There is no specific pyabiword binding for insert textbox but your can use the following technique to access the abiword/src/wp/ap/xp/ap_EditMethods.cpp function that provide the interface to libabiword. do: self._abiword_canvas.invoke_cmd(insTextbox,,0,0) To

RE: [sugar] Programming environments on the XO

2008-08-01 Thread Martin Sevior
On Thu, 2008-07-31 at 22:12 +0200, J.M. Maurer wrote: On Thu, 2008-07-31 at 21:37 +1000, Martin Edmund Sevior wrote: Thanks Tomeu and Eben. Yes, we'll need to expand the abiwidget api. I'll look to do this if I can can get sugar-jhbuild to work again. That, or we could just add an

Re: [sugar] Programming environments on the XO

2008-07-29 Thread Martin Sevior
On Fri, 2008-07-18 at 14:50 +1000, Martin Sevior wrote: On Thu, 2008-07-17 at 23:32 -0400, Brian Jordan wrote: The open source project Gobby also uses this sort of who-wrote-what text highlighting, SJ and I have recently (right before he left for Wikimania) been looking into getting similar

Re: [sugar] Programming environments on the XO

2008-07-17 Thread Martin Sevior
On Thu, 2008-07-17 at 20:45 -0400, Walter Bender wrote: I'd vote that we not expend too much effort in supporting multiple development environments in Pippy at the moment--there are so many other high-priority things to be working on. Is there really a lot of demand for this from the field?

Re: [sugar] Programming environments on the XO

2008-07-17 Thread Martin Sevior
On Fri, 2008-07-18 at 02:53 +0100, Gary C Martin wrote: On 18 Jul 2008, at 02:25, Martin Sevior wrote: On Thu, Jul 17, 2008 at 11:28 AM, Benjamin M. Schwartz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Ball wrote: | Another useful feature would

Re: [sugar] Programming environments on the XO

2008-07-17 Thread Martin Sevior
On Thu, 2008-07-17 at 18:54 -0700, Edward Cherlin wrote: On Thu, Jul 17, 2008 at 6:25 PM, Martin Sevior [EMAIL PROTECTED] wrote: On Thu, 2008-07-17 at 20:45 -0400, Walter Bender wrote: I'd vote that we not expend too much effort in supporting multiple development environments in Pippy

Re: [sugar] Programming environments on the XO

2008-07-17 Thread Martin Sevior
-abicollab --with-abicollab-service-backend --enable-abimathview --enable-abicommand --enable-loadbindings --enable-presentation --enable-OpenDocument Cheers, Martin Brian On Thu, Jul 17, 2008 at 10:30 PM, Martin Sevior [EMAIL PROTECTED] wrote: On Thu, 2008-07-17 at 18:54 -0700, Edward Cherlin

Re: [sugar] Programming environments on the XO

2008-07-16 Thread Martin Sevior
Hi Samuel, Marc Maurer has done 95% of the work required to do multi-programming language syntax highlighting in libabiword. The advantage of using libabiword is that you get collaboration for free. It is easy enough to embed this in your own canvas and hook up the controls you need or

Re: [sugar] Recent Updates to Sugar Almanac

2008-06-13 Thread Martin Sevior
Hi Faisal, You might want to gather together the documentation we wrote for abiwidget which explains how to embed the collaborative Rich Text widget (as used by write) in python programs. The links are on our wiki here: http://www.abisource.com/wiki/AbiWidget

Re: [Production] Amharic input

2008-05-08 Thread Martin Sevior
Hi Kim, Judging by the fact that AbiWord (Write) won't let you enter English characters, I suspect that the Gtk IM is permently triggered. I would guess that somehow we need to overide the locale seen by environment for the English characters to be entered. With regards to Write, I