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/b53d4ee8-e7c1-4cab-81b7-4122c6a935a1o%40googlegroups.com.
