wxPython API
wxPython API is a set of functions and widgets. Widgets are essential building blocks of a GUI application.
Under Windows widgets are calles controls.
We can roughly divide programmers into two groups. They code applications or libraries.
In our case, wxPython is a library that is used by application programmers to code applications.
Technically, wxPython is a wrapper over a C++ GUI API called wxWidgets.
So it is not a native API. e.g. not written directly in Python.
The only native GUI library for an interpreted language that I know is Java's Swing library.
Wxpython API は関数とウィジットのセットである。ウィジットは肝心な GUI アプリケーションの一部である。
Windows環境下では、ウィジットはコントロールを呼んでいる。
だいたい、アプリケーションとライブラリの二つのグループに分けることができるだろう。
wxPython はアプリケーション作成者がアプリケーションを記述する時に使うライブラリである。
技術的には wxPython は wxWidgets の C++ GUI API を呼ぶラッパーだ。
そう、ネイティブな API ではない。直接 Python で書かれていない。
(?)インタプリタ言語でネイティブ GUI ライブラリなものは、私の知る限り Java の Swing ライブラリのみである。
In wxPython we have lot's of widgets. These can be divided into some logical groups.
wxPython には沢山のウィジットがある。論理的なグループに分けてみよう。
Base Widgets
ベース ウィジット
These widgets provide basic functionality for derived widgets. They are usually not used directly.
これらのウィジットは基本的な機能をウィジットに付与している。ただ、普通は直接使わない。
Top level Widgets
トップレベル ウィジット
These widgets exist independently of each other.
これらのウィジットはそれぞれ独立している。
Containers
コンテナ
Containers contain other widgets. These widgets are called children.
コンテナは他のウィジットを収納できる。収納されたウィジットは「子ウィジット」と呼ばれる。
Dynamic Widgets
ダイナミック ウィジット
These widgets can be edited by users.
これらのウィジットはユーザーによって編集される。
Static Widgets
スタティック ウィジット
These widgets display informatin. They cannot be edited by user.
これらのウィジットは情報を表示する。これらはユーザーが編集できない。
Other Widgets
その他のウィジット
These widgets implement statusbar, toolbar and menubar in an application.
これらのウィジットはアプリケーションのステータスバーやツールバー、メニューバーになる。