Workbench
Workbench copied to clipboard
Document internal variables to use
For example workbench.window or workbench.builder.
If you don't have the source code of workbench, it is impossible to find out for example how to access the widgets from javascript to connect a signal to it.
Yup!
Might be a good idea to rework / come up with an API that doesn't break. Open to suggestions.
Should we have workbench.application? Not sure if it's helpful.
I think we should keep workbench.builder but perhaps workbench.builder.get_object("welcome").append; in the example is not super intuitive or portable – you probably wouldn't do that in apps ? Maybe we could do something like workbench.preview which points to the GtkScrolledWindow of Preview ?