Reid Ellis wrote:
I've written up my thoughts on implementing a fairly simple class that
derives from wxBitmapButton to handle the additional functionality
required for the buttons on the Markup Bar.
Any comments appreciated:
Reid - there is an existing Python-based Bitmap Button which works
fairly well, and I'm sure we could extend it further to add the things
we need. We're using it in the calendar already (that's what the
next/back buttons are) - its in wx.lib.buttons.GenBitmapButton
http://svn.osafoundation.org/chandler/trunk/internal/wx/wxPython/wx/lib/buttons.py
The problem with wx.BitmapButton is that it is really (REALLY)
inconsistent across platforms - its really a piece of junk. On Mac I
think you get this nasty old-style native 3d border. On Linux you get a
strange border during hover, and it looks fine on windows.
GenBitmapButton is identical on all three platforms.
Alec
http://wiki.osafoundation.org/bin/view/Journal/MarkupBarImplementationNotes
Reid
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev