This file contains the SVN revision history for toasterbox, at revision 68881.
Available information include commit date, the name of the committer, the file size, the SVN log messages and a diff from the previous version (if available).
The following log message was entered by the committer:
AGW: General overhaul of the documentation, much improved. All the widgets have their own sample usage in the docs as well;
FlatNotebook: Added the FNB_NAV_BUTTONS_WHEN_NEEDED style, which hides the navigation left/right arrows if all tabs fit;
RibbonBar: - Added the EVT_RIBBONBAR_TAB_LEFT_DCLICK event, which generates a special event
when a ribbon bar tab is double-clicked;
XLSGrid: a new widget was added to AGW, termed XLSGrid. It’s based on wx.grid.Grid and can be used to faithfully reproduce the appearance of a Microsoft Excel spreadsheets.
Version SVN diff:
--- wxPython/3rdParty/AGW/agw/toasterbox.py 2011/07/24 21:36:47 68362
+++ wxPython/3rdParty/AGW/agw/toasterbox.py 2011/08/25 16:40:17 68881
@@ -3,7 +3,7 @@
# Ported And Enhanced From wxWidgets Contribution (Aj Bommarito) By:
#
# Andrea Gavana, @ 16 September 2005
-# Latest Revision: 22 Jul 2011, 21.00 GMT
+# Latest Revision: 17 Aug 2011, 15.00 GMT
#
#
# TODO/Caveats List
@@ -49,6 +49,48 @@
speed of ToasterBox.
+Usage
+=====
+
+Usage example::
+
+ import wx
+ import wx.lib.agw.toasterbox as TB
+
+ class MyFrame(wx.Frame):
+
+ def __init__(self, parent):
+
+ wx.Frame.__init__(self, parent, -1, "ToasterBox Demo")
+
+ toaster = TB.ToasterBox(self, tbstyle=TB.TB_COMPLEX)
+ toaster.SetPopupPauseTime(3000)
+
+ tbpanel = toaster.GetToasterBoxWindow()
+ panel = wx.Panel(tbpanel, -1)
+ sizer = wx.BoxSizer(wx.VERTICAL)
+
+ button = wx.Button(panel, wx.ID_ANY, "Simple button")
+ sizer.Add(button, 0, wx.EXPAND)
+
+ panel.SetSizer(sizer)
+ toaster.AddPanel(panel)
+
+ wx.CallLater(1000, toaster.Play)
+
+
+ # our normal wxApp-derived class, as usual
+
+ app = wx.PySimpleApp()
+
+ frame = MyFrame(None)
+ app.SetTopWindow(frame)
+ frame.Show()
+
+ app.MainLoop()
+
+
+
Supported Platforms
===================
@@ -87,7 +129,7 @@
ToasterBox is distributed under the wxPython license.
-Latest revision: Andrea Gavana @ 22 Jul 2011, 21.00 GMT
+Latest revision: Andrea Gavana @ 17 Aug 2011, 15.00 GMT
Version 0.3