CLASS_ATTR_STYLE and storing filepaths in attributes

Nov 23, 2008 at 5:09pm

CLASS_ATTR_STYLE and storing filepaths in attributes

I was wondering how to add a “choose” button to attributes, to choose a file? It doesn’t seem to be specified in CLASS_ATTR_STYLE which only gives the following options:

“text” : a text editor
“onoff” : a toggle switch
“rgba” : a color chooser
“enum” : a menu of available choices, whose symbol will be passed upon selection
“enumindex” : a menu of available choices, whose index will be passed upon selection
“rect” : a style for displaying and editing t_rect values
“font” : a font chooser

cheers,

oli

#41014
Nov 29, 2008 at 11:58am

bump. anyone?

oli

#145646
Dec 1, 2008 at 10:40pm

Sorry this hasn’t been documented yet. It is style “file”.

-Joshua

#145647

You must be logged in to reply to this topic.