lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, 08 Feb 2013 20:22:35 -0500, Rena wrote:

> I'm curious if there are WebKit bindings for Lua? I know about LuaKit,
> but that appears to be more of a "build your own UI for a browser"
> project, about the opposite of what I'm after. I'd like to load WebKit
> as a module in a Lua script, feed it some HTML generated for the
> purpose, and display it in a window, query positions and sizes of DOM
> elements, basically use it as more of a UI toolkit than a web browser.
> Has anyone done this before?

Apart from already mentioned good possibilities there is also lgi.  
Recently I saw Craig's markdown viewer [1], - a very good and simple 
sample on how to use WebKit using lgi.

Pavel

[1] https://github.com/craigbarnes/mdview