Modify ↓
Opened 12 years ago
Closed 12 years ago
#161 closed enhancement (fixed)
Accessing plugin enum values from Python
Reported by: | Matthias Vogelgesang | Owned by: | Matthias Vogelgesang |
---|---|---|---|
Priority: | major | Milestone: | libuca-1.2 |
Component: | libuca | Version: | |
Keywords: | Cc: |
Description
Right now introspecion information is generated for the base camera class only and it is not foreseeable to merge this information with other sources. When configuring cameras that define their own enum values, it is thus not possible to set them by name, because they aren't imported into the Uca module namespace.
Attachments (0)
Note: See
TracTickets for help on using
tickets.
This is kind of fixed with 01aefc6. It will still not be possible to get the enum names from derived plugins but you can always query a map with possible values from a specific camera with
camera.props.enum_property.__enumvalues__
.