Variety of initial-stage windows work

Sorry for the rather grab-bag nature of this.
I first factored out the widget creation code and standardized that, since the win32 API seems to do everything the same at least with the controls we're dealing with. I then used this new widget base class to implement the label widget and text input
I also made tab navigation work in non-dialogs.
I fixed a minor issue in the debug library.
Not sure, but the original code was casting them all to ints, so I did 
so too.

On 9/4/2014 2:55 PM, Russell Keith-Magee wrote:
>
> In toga_win32/widgets/base.py:
>
> >
> >      @property
> >      def _height_hint(self):
> > -        return self._impl.get_preferred_height()
> > +        return (100, 100)
> > +
> > +    def create_win32_window(self, window_class=None, text="", style=0, identifier=None, ):
> > +        window_class = window_class or self.window_class
> > +        window_class = c_wchar_p(window_class)
> > +        text = c_wchar_p(text)
> > +        style |= self.default_style
> > +        style |= self.control_style
> > +        x, y, width, height = [int(i) for i in self._geometry]
>
> What's the use case where self._geometry won't return an integer?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/pybee/toga-win32/pull/2/files#r17141594>.
>


-- 
		-Q

	Accessible Software for the Blind
http://GetAccessibleApps.com