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)

Change History (1)

comment:1 Changed 12 years ago by Matthias Vogelgesang

Resolution: fixed
Status: newclosed

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__.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthias Vogelgesang.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.