Forums > Dev

CLASS_ATTR_STYLE and storing filepaths in attributes

November 23, 2008 | 5:09 pm

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


November 29, 2008 | 11:58 am

bump. anyone?

oli


December 1, 2008 | 10:40 pm

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

-Joshua


Viewing 3 posts - 1 through 3 (of 3 total)