CLASS_ATTR_STYLE and storing filepaths in attributes


    Nov 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

    • Nov 29 2008 | 11:58 am
      bump. anyone?
      oli
    • Dec 01 2008 | 10:40 pm
      Sorry this hasn't been documented yet. It is style "file".
      -Joshua