Quote:
Originally Posted by chaley
It is very hard to answer you without more information about what you want to do with them.
To directly answer the question, use gui.db.custom_field_keys(include_composites=True) to get a list of keys (lookup names) of the custom columns in the current library.
There are many methods in gui.db.new_api (db/cache.py) to manipulate fields. Custom columns are just another example of fields.
|
I am newbie in python programming and trying to learn it a bit. I want to populate drop down menu with custom column list. Selected custom column will be proceeded after.
I will place maybe more general question, is there updated list/documentation of all methods usable in calibre plugin programming or I have to go through the cache.py as suggested?