设为首页 收藏本站
查看: 792|回复: 0

[经验分享] wxpython 中的所有控件及高级应用

[复制链接]

尚未签到

发表于 2017-6-21 19:33:18 | 显示全部楼层 |阅读模式
  转自http://xoomer.virgilio.it/infinity77/Phoenix/lib.agw.html,,,哈哈终于找到了这块的内容,书上基本没有讲解
  This is the Advanced Generic Widgets package (AGW). It provides many custom-drawn wxPython controls: some of them can be used as a replacement of the platform native controls, others are simply an addition to the already rich wxPython widgets set.
  Description:
  AGW contains many different modules, listed below. Items labelled with an asterisk were already present in lib before:

  • AdvancedSplash: reproduces the behaviour of SplashScreen, with more advanced features like custom shapes and text animations;
  • AquaButton: this is another custom-drawn button class which approximatively mimics the behaviour of Aqua buttons on the Mac;
  • AUI: a pure-Python implementation of aui, with many bug fixes and new features like HUD docking and AuiNotebook tab arts;
  • BalloonTip: allows you to display tooltips in a balloon style window (actually a frame), similarly to the Windows XP balloon help;
  • ButtonPanel (*): a panel with gradient background shading with the possibility to add buttons and controls still respecting the gradient background;
  • CubeColourDialog: an alternative implementation of ColourDialog, it offers different functionalities like colour wheel and RGB cube;
  • CustomTreeCtrl (*): mimics the behaviour of TreeCtrl, with almost the same base functionalities plus a bunch of enhancements and goodies;
  • FlatMenu: as the name implies, it is a generic menu implementation, offering the same MenuBar / Menu / ToolBar capabilities and much more;
  • FlatNotebook (*): a full implementation of the Notebook, and designed to be a drop-in replacement for Notebook with enhanced capabilities;
  • FloatSpin: this class implements a floating point spinctrl, cabable (in theory) of handling infinite-precision floating point numbers;
  • FoldPanelBar (*): a control that contains multiple panels that can be expanded or collapsed a la Windows Explorer/Outlook command bars;
  • FourWaySplitter: this is a layout manager which manages four children like four panes in a window, similar to many CAD software interfaces;
  • GenericMessageDialog: it is a possible replacement for the standard MessageDialog, with a fancier look and extended functionalities;
  • GradientButton: another custom-drawn button class which mimics Windows CE mobile gradient buttons, using a tri-vertex blended gradient background;
  • HyperLinkCtrl (*): this widget acts line an hyper link in a typical browser;
  • HyperTreeList: a class that mimics the behaviour of gizmos.TreeListCtrl, with almost the same base functionalities plus some more enhancements;
  • InfoBar: a transient window shown at top or bottom of its parent window to display non-critical information to the user;
  • KnobCtrl: a widget which lets the user select a numerical value by rotating it, like a slider with a wheel shape;
  • LabelBook and FlatImageBook: these are a quasi-full implementations of ListBook, with additional features;
  • MultiDirDialog: it represents a possible replacement for DirDialog, with the additional ability of selecting multiple folders at once and a fancier look;
  • PeakMeter: this widget mimics the behaviour of LED equalizers that are usually found in stereos and MP3 players;
  • PersistentControls: widgets which automatically save their state when they are destroyed and restore it when they are recreated, even during another program invocation;
  • PieCtrl and ProgressPie: these are simple classes that reproduce the behavior of a pie chart, in a static or progress-gauge-like way;
  • PyBusyInfo: constructs a busy info window and displays a message in it: it is similar to BusyInfo;
  • PyCollapsiblePane: a pure Python implementation of the original wxWidgets C++ code of CollapsiblePane, with customizable buttons;
  • PyGauge: a generic Gauge implementation, it supports the determinate mode functions as Gauge;
  • PyProgress: it is similar to ProgressDialog in indeterminated mode, but with a different gauge appearance and a different spinning behavior;
  • RibbonBar: the RibbonBar library is a set of classes for writing a ribbon user interface, similar to the user interface present in recent versions of Microsoft Office;
  • RulerCtrl: it implements a ruler window that can be placed on top, bottom, left or right to any wxPython widget. It is somewhat similar to the rulers you can find in text editors software;
  • ShapedButton: this class tries to fill the lack of “custom shaped” controls in wxPython. It can be used to build round buttons or elliptic buttons;
  • ShortcutEditor: a widget that allows the user to customize and change keyboard shortcuts via a dialog;
  • SpeedMeter: this widget tries to reproduce the behavior of some car controls (but not only), by creating an “angular” control;
  • SuperToolTip: a class that mimics the behaviour of TipWindow and generic tooltips, with many features and highly customizable;
  • ThumbnailCtrl: a widget that can be used to display a series of images in a “thumbnail” format; it mimics, for example, the Windows Explorer behavior when you select the “view thumbnails” option;
  • ToasterBox: a cross-platform widget to make the creation of MSN-style “toaster” popups easier;
  • UltimateListCtrl: mimics the behaviour of ListCtrl, with almost the same base functionalities plus some more enhancements;
  • XLSGrid: a class based on grid.Grid that can be used to faithfully reproduce the appearance of a Microsoft Excel spreadsheets;
  • ZoomBar: a class that appoximatively mimics the behaviour of the Mac Dock, inside a Panel.
  Bugs and Limitations: many, patches and fixes welcome :-D
  See the demos for an example of what AGW can do, and on how to use it.
  Copyright: Andrea Gavana
  License: Same as the version of wxPython you are using it with.
  SVN for latest code: http://svn.wxwidgets.org/viewvc/wx/wxPython/3rdParty/AGW/
  Mailing List: wxpython-users@lists.wxwidgets.org
  My personal web page: http://xoomer.alice.it/infinity77
  Please let me know if you are using AGW!
  You can contact me at:
  andrea.gavana@gmail.com andrea.gavana@maerskoil.com
  AGW version: 0.9.6
  Last updated: 09 Apr 2012, 11.00 GMT

DSC0000.png Packages Summary
auiAUI is an Advanced User Interface library that aims to implement “cutting-edge”
persistIntroduction
ribbonThe RibbonBar library is a set of classes for writing a ribbon user interface.



DSC0001.png Modules Summary
advancedsplashAdvancedSplash tries to reproduce the behavior of SplashScreen, with
aquabuttonAquaButton is another custom-drawn button class which approximatively mimics
artmanagerThis module contains drawing routines and customizations for the AGW widgets
balloontipBalloonTip is a class that allows you to display tooltips in a balloon style
buttonpanelA custom panel class with gradient background shading with the possibility to
cubecolourdialogCubeColourDialog is an alternative implementation of ColourDialog.
customtreectrlCustomTreeCtrl is a class that mimics the behaviour of TreeCtrl, with some more
flatmenuFlatMenu is a generic menu implementation.
flatnotebookFlatNotebook is a full, generic and owner-drawn implementation of Notebook.
floatspinFloatSpin implements a floating point SpinCtrl.
fmcustomizedlgThis module contains a custom dialog class used to personalize the appearance of a
fmresources
foldpanelbarFoldPanelBar is a control that contains multiple panels, which can be expanded
fourwaysplitterFourWaySplitter is a layout manager which manages 4 children like 4 panes in a
genericmessagedialogThis class is a possible, fancy replacement for MessageDialog.
gradientbuttonGradientButton is another custom-drawn button class which mimics Windows CE mobile
hyperlinkHyperLinkCtrl is a control for wxPython that acts like a hyper link
hypertreelistHyperTreeList is a class that mimics the behaviour of gizmos.TreeListCtrl, with
infobarAn info bar is a transient window shown at top or bottom of its parent window to display
knobctrlKnobCtrl lets the user select a numerical value by rotating it.
labelbookLabelBook and FlatImageBook are a quasi-full generic and owner-drawn
multidirdialogThis class represents a possible replacement for DirDialog, with the additional
peakmeterPeakMeterCtrl mimics the behaviour of equalizers that are usually found in stereos
piectrlPieCtrl and ProgressPie are simple classes that reproduce the behavior of a pie
pybusyinfoPyBusyInfo constructs a busy info window and displays a message in it.
pycollapsiblepanePyCollapsiblePane is a container with an embedded button-like control which
pygaugePyGauge is a generic Gauge implementation.
pyprogressPyProgress is similar to ProgressDialog in indeterminated mode, but with a
rulerctrlRulerCtrl implements a ruler window that can be placed on top, bottom, left or right
shapedbuttonShapedButton tries to fill the lack of “custom shaped” controls in wxPython
shortcuteditorShortcutEditor is a widget that allows the user to customize and change keyboard
speedmeterSpeedMeter tries to reproduce the behavior of some car controls (but not only),
supertooltipSuperToolTip is a class that mimics the behaviour of TipWindow and generic tooltip
thumbnailctrlThumbnailCtrl is a widget that can be used to display a series of images in
toasterboxToasterBox is a cross-platform widget to make the creation of MSN style “toaster”
ultimatelistctrlDescription
xlsgridXLSGrid is a class based on grid.Grid that can be used to faithfully
zoombarZoomBar is a class that appoximatively mimics the behaviour of the Mac Dock,

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-386477-1-1.html 上篇帖子: C#访问Win 32的一些尝试 下篇帖子: 20155229付钰涵
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表