[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lgi / gtk : how to create a button from stock ?
- From: Laurent FAILLIE <l_faillie@...>
- Date: Fri, 6 Jul 2012 17:23:14 -0700 (PDT)
Hello,
I'm wondering if it's possible to create a button using "Lua syntaxe".
I mean, for label, I can use the following code :
child = Gtk.Button{
label = "_hello",
use_underline = true
}
but is it a way to do do te same to create an stock based button ?
I know for Gtk.ToolButton, it's working by setting stock_id, but I didn't find equivalent for Gtk.Button ...
Thanks
Laurent