Re: [code] question: lua + gtk

From: Mitchell <m.att.foicica.com>
Date: Wed, 16 Jan 2013 08:28:15 -0500 (Eastern Standard Time)

Hi,

On Wed, 16 Jan 2013, Rena wrote:

> On Wed, Jan 16, 2013 at 4:46 AM, Gilles Grégoire
> <gilles.gregoire.att.gmail.com> wrote:
>> Looking at the source, the code to interact with GTK is the strict
>> minimum required to implement textadept. Textadept does not use a GTK
>> bridge.
>>
>> 2013/1/16 Harald Lapp <harald.lapp.att.gmail.com>:
>>> hi,
>>>
>>> i stumbled over textadept when browsing texteditors.org. the concept looks
>>> very interesting to me.
>>>
>>> i have a question: is it possible to write an extension in lua that can open
>>> up a gtk dialog window and let it "interact" with the current selected
>>> editor buffer? how far can i go when developing gtk dialogs ... is there a
>>> complete gtk "bridge" available for lua or is it limited to a few widgets?
>>>
>>> thanks very much!
>>>
>>> harald
>> --
>> You are subscribed to code.att.foicica.com.
>> To change subscription settings, send an e-mail to code+help.att.foicica.com.
>> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>>
>
> lgi is a good binding to use GTK (and Glib, GDK, Pango etc) from Lua.
> I'm not sure how it'd interact with Textadept.

Depending on your needs, you might be able to use lgi and callbacks can do
things with the current buffer since you'd be in the same Lua state...

Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Wed 16 Jan 2013 - 08:28:15 EST

This archive was generated by hypermail 2.2.0 : Thu 17 Jan 2013 - 06:43:32 EST