Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API documentation on cdl.core.gui.objectmodel.ObjectModel #109

Open
PierreRaybaut opened this issue Dec 3, 2024 · 0 comments
Open
Labels
documentation Improvements or additions to documentation

Comments

@PierreRaybaut
Copy link
Contributor

The class cdl.core.gui.objectmodel.ObjectModel represents a DataLab object model (groups of signals/images).
Each data panel (signal or image panel) has a member objmodel which is an instance of ObjectModel.

ObjectModel has some interesting methods available:

  • get_all_objects: Return all objects, in order of appearance in groups
  • get_object_or_group: Return object or group with uuid
  • get_group: Return group with uuid
  • get_group_from_number: Return group from its number
  • get_group_from_object: Return group containing object
  • get_groups: Return groups
  • ...
@PierreRaybaut PierreRaybaut added the documentation Improvements or additions to documentation label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant