Am Sonntag, 22. Februar 2015, 22:47:43 schrieb jeremy rosen: > Adding stuff to the lua API is a bit complicated but not undoable, > > however it's hard to explain in a simple mail... the best thing is to look > at the lua specific parts in src/views/map.c as a starting point, look > around at how similar things are done in other users of lua out of the lua/ > subdirectory (libs, storages, formats) and come discuss it with me on IRC > (i'm boucman on the chan) > > After that, you need to study src/views/lighttable.c and look at all the UI > functionalities in there that you want to map in lua (including focus > detection, but that's not the only one) and map them in a similar way as > how it's done in the modules I've mentionned above > > reading the lua reference manual (especially the C/lua binding) might help > too
Reading the original request I don't think that he is interested in any lighttable hooks, but he wants to use the core's feature to detect focus regions. Tobias [...]
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________ Darktable-users mailing list Darktable-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-users