The code that loads and saves user layouts is most likely the same code that saves and loads everything else since Blender uses a tagged binary format to make it easy to serialize C data structures over ever changing versions.  <span></span><br>
<br>On Saturday, October 12, 2013, Colin Knueppel  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I believe this would be a great option to inherently support within Blender, but it appears I may be able to implement some of this on my own. To try, there would be several things that would be very handy.<div>

<br></div><div>-Where can I look at existing UI code, or what files should I look at? </div><div>Namely, where can I see the code that loads user interface presets and panel layouts?</div><div>-Are there any tutorials or resources that would help me create my own panels in Blender? What files should I be looking at to create my own panel editor types? </div>

<div>-Is there a way to see the code for panel components? For instance, when creating a modifier, there must be some code that defines the properties that show in that modifier. If I am to create my own tools, I&#39;ll need a way to see the value and function names to call.</div>

<div>-If I want to add my own Blender UI element, for instance a dropdown of these environments into the header, how do I override Blender?</div></div>
</blockquote>