#!/usr/bin/env python
# -*- coding: iso-8859-15 -*-
# generated by wxGlade 0.6.3 on Tue Jul 09 21:28:20 2013

import wx

# begin wxGlade: extracode
# end wxGlade



class ServoWindow(wx.Frame):
    def __init__(self, *args, **kwds):
        # begin wxGlade: ServoWindow.__init__
        kwds["style"] = wx.DEFAULT_FRAME_STYLE
        wx.Frame.__init__(self, *args, **kwds)
        self.slider_0 = wx.Slider(self, -1, 90, 0, 180, style=wx.SL_VERTICAL|wx.SL_AUTOTICKS|wx.SL_LABELS|wx.SL_LEFT)

        self.__set_properties()
        self.__do_layout()
        # end wxGlade

    def __set_properties(self):
        # begin wxGlade: ServoWindow.__set_properties
        self.SetTitle("ServoWindow")
        # end wxGlade

    def __do_layout(self):
        # begin wxGlade: ServoWindow.__do_layout
        horiSizer = wx.BoxSizer(wx.VERTICAL)
        vertiSizer = wx.BoxSizer(wx.VERTICAL)
        vertiSizer.Add(self.slider_0, 0, 0, 0)
        horiSizer.Add(vertiSizer, 1, wx.EXPAND, 0)
        self.SetSizer(horiSizer)
        horiSizer.Fit(self)
        self.Layout()
        # end wxGlade

# end of class ServoWindow


if __name__ == "__main__":
    app = wx.PySimpleApp(0)
    wx.InitAllImageHandlers()
    frame = ServoWindow(None, -1, "")
    app.SetTopWindow(frame)
    frame.Show()
    app.MainLoop()
