These are simple screenshots for very simple gsmarkup, which should give you a rough idea of how the package 'looks'. For every example, we provide -

  • a small example of Renaissance XML code;
  • a screenshot of the window generated by that XML code on GNUstep and Apple Mac OS X.

The examples here are very simple; with more complex Renaissance XML code you can basically create any sort of window you wish.


Empty window

<window title="Example" width="200" height="66"/>


Window with button

<window title="Example">
  <button title="Click this button to quit" action="terminate:"/>


Window with label and button

<window title="Example">
    <label font="big">
      Click the button below to quit the application
    <button title="Quit" action="terminate:"/>


Preference panel

<window title="Preferences">
   <box title="Game preferences">
     <button title="Enable monsters" type="switch"
       tag="0" action="changedPrefs:" halign="left"/>
     <button title="Enable advanced AI in monsters" type="switch"
       tag="1" action="changedPrefs:" halign="left"/>
     <button title="Enable infinite lives (cheat mode)" type="switch"
       tag="2" action="changedPrefs:" halign="left"/>


Preference panel with DisplayAutoLayout enabled

The same file, with DisplayAutoLayout enabled. DisplayAutoLayout is used while developing and causes boxes and other autolayout containers to display themselves using helpful red lines.