f*ck it, :) didnt wait for an anwser hehe: I Made @buttons a reality, merged it on the 'dev' branch, you guys tell me if it works for you. (log pane has a small delay in its refresh its normal) G'night ! -- Félix
p.s. I may add more icons/eye candy to the buttons later when cleaning up for a new 0.1.13 release sometime before august. On Saturday, July 11, 2020 at 2:07:49 AM UTC-4, Félix wrote: > > I guess my real question was : what (event) should trigger the button > being defined as a "@button <label>" node, to appear in the button bar? > > On Saturday, July 11, 2020 at 2:03:48 AM UTC-4, Félix wrote: >> >> I'm just learning about those @buttons by reading the mod_scripting >> 'readme' and trying to bring'em into leoInteg : >> >> if I understand correctly, you cannot just name any random node anywhere >> in an outline "@button hello" and expect to see a "hello" button appear in >> the top button bar upon saving, like you would expect a file to be >> generated, were you to name any node in an outline "@file myfile.txt", and >> save... >> >> But closing Leo and reopening shows me the file with the button proudly >> sitting up there in the button bar :) Also having the node selected and >> clicking the already present 'script button' adds a button. >> >> just wondering if i've got something off in my settings or is this normal >> behavior >> >> I'm also reading about the @button having to be in a setting file or a >> @setting node ? but that would be to make them 'global' in all opened files >> if I got it right...? >> >> Thanks! >> >> Félix >> > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/3630f083-82a2-4119-b0e3-dccc7e0677dco%40googlegroups.com.
