Hi,
I'm working on the Python bindings (again) and I had a simple question. How can we know which struct members in the plugin API are supposed to be settable vs those which should be read-only?
For example, in the GeanyDocument struct there's a member called 'readonly', which no doubt if set directly by plugin developer will not update the read-only status of the document (ie. change GtkMenus in the UI, tab colors, etc). Are any of the exposed struct members supposed to be settable by the plugin developer or are they all supposed to be read-only? In some cases in the API there are accessor functions, so can one assume that none of the struct members should be set directly and only ever set through an acessor function, if available? Are there any exceptions to this, for example, some of the prefs structs?
Any hints will be much appreciated.
Cheers, Matthew Brush