Hello everybody

I have just commited the first widgets to do some UI elements in lua.

The documentation for all that stuff is in the usermanual (which you need
to recompile from trunk) but here is a little exerpt to show how it's done

tested_widget = dt.new_widget("check_button","test")


mainbox =dt.new_widget("box","GTK_ORIENTATION_VERTICAL")
mainbox:append(tested_widget)
action = dt.new_widget("button","test stuff")
action.label ="test"
mainbox:append(action)

action.clicked_callback = function(button)
  print "button clicked"
  end


dt.register_storage("test","test",nil,nil,nil,nil,realbox)





There is also a label, more widgets comming as I find the time to have them.
At this point you can only add UI elements to a lua storage (as shown above)
I intend to add complete libs made in lua, but that will come later.

Have fun guys
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to