Hi,
I’m new to root and not from the HEP-Community. I want to use ROOT for storage of large datasets for machine learning tasks. For this reason I want to define my own classes and make them inherit from TNamed all their nice I/O and RTTI features.
However I want to define new MIME types for these Classes (by modifying etc/root.mimes) in order to specify icons and more important defaults-actions when I double-click them in a TBrowser.
I was adding the following code in the file root.mimes:
(Test is the name of my new Class)
[root/test]
pattern = Test
icon = test.xpm
action = ->Draw()
The icon was exchanged after that, but the default action not!
I’m working with root version 5.02 and CINT 5.16.1 compiled for MAC OSX
any suggestions?
thanks, greets
Martin