test.led added by jj086709 on Sun Jan 10 03:28:26 2016

btn-left-cent = button[TIP = "left button"]("&Left", 0)
btn-right-cent = button[TIP = "right button"]("&Right", 0)
btn-cent-cent = button[TIP = "center button"]("&Center", 0)
btn-left-top = button[TIP = "Top left button"]("&Left", 0)
btn-right-top = button[TIP = "Top right button"]("&Right", 0)
btn-cent-top = button[TIP = "Top center button"]("&Center", 0)
btn-left-bot = button[TIP = "Bottom left button"]("&Left", 0)
btn-right-bot = button[TIP = "Bottom right button"]("&Right", 0)
btn-cent-bot = button[TIP = "Bottom center button"]("&Center", 0)

btn-close = button[TIP = "Close Window", EXPAND = Yes]("&Close", 0)

dlg = dialog[TITLE = Fill, SIZE = 120](
            menu(
                menu-item("&File"
                          menu(
                              menu-item("&Open"),
                              menu-item("&Save"),
                              menu-item("&Exit")
                          )
                )
            )
            vbox(
                frame[TITLE = LEFT](
                     hbox(
                         vbox(
                             btn-left-top,
                             btn-left-cent,
                             btn-left-bot
                         ),
                         fill()
                     )
                ),
                frame[TITLE = CENTER](
                     hbox(
                         fill(),
                         vbox(
                              btn-cent-top,
                              btn-cent-cent,
                              btn-cent-bot
                         ),
                         fill()
                     )
                ),
                frame[TITLE = RIGHT](
                     hbox(
                         fill(),
                         vbox(
                             btn-right-top,
                             btn-right-cent,
                             btn-right-bot
                         )
                     )
                ),
                hbox(
                    btn-close
                )
        )
)