2

wxBuilderFormでボタン付きの簡単なフォーム(フレーム)を作成しました。

コードを生成すると (wxFormBuilder で F8 キーを押したとき)、次の 3 つのファイルが生成されます。

noname.cpp
noname.h
test1.fbp

ダウンロードしたテンプレートと比較すると、次のファイルが含まれています..:

gui.fbp
gui.py
gui.pyc
main.py
MainFrame.py
MainFrame.pyc

(wxFormBuilder で F* を押して) Python ファイルを生成できないのはなぜですか?

4

3 に答える 3

3

Actually I believe the correct method is to set the project properties such that the 'code_generation' property is set to Python. Also you will need to provide a value for the 'file' property or else you will continue to get files named 'noname'.

You should be able to access your project's properties by selecting the root node in the Object Tree.

于 2013-08-27T15:36:04.557 に答える
1

気にしないでください。

とてもシンプルでした。

一番下に python というタグがあります。ここでコードを取得します。

于 2013-02-27T19:22:12.690 に答える