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
    • Sep 27 2017 | 12:12 pm
      even 10 years on I feel like the SDK doc attrs section really needs some TLC..
      trying to pick this stuff up now with bits missing is kinda painful!