hide patcher/patcherview when opened

    Mar 20 2013 | 7:26 pm
    is there a way to open a patcher with a invisible patcherview(hidden patcher window)? When opening it with stringload("xy") and setting it invisible two line after, like this:
    t_object* opened_patch = stringload("xy");
    t_object* open_p_topview = jpatcher_get_firstview(opened_patch);
    patcherview_set_visible(open_p_topview, 0);
    it is shown for a small moment.
    I would like to set the position and size first and make the patcher/patcherview visible just after that.
    Is it somehow possible? With intload("...") maybe?
    Greetings, Alex

    • Mar 22 2013 | 5:10 pm
      not really, I can see the window for the glimpse of a second before it dissappears. I want the window to be hidden when opened, not after.
    • Mar 22 2013 | 8:07 pm
      ...got this working through forcing another window to stay above the created one during the init.
    • Mar 23 2013 | 1:59 pm
      you're right this is not really clean. I can't use newobject_fromdictionary because it does not create a top-level patcher. It creates a (sub)patcher into a patcher. But there's something like jpatcher_load_fromdictionary. That looks promising. Good idea!
    • Mar 23 2013 | 2:52 pm
      don't mind, that dict idea was quite good. Of course I'll post it if I find a solution.