を使用してツールバーにボタンを作成しました
GPS.Toolbar().append(button)
ボタンのOn_Click
機能で、現在のファイルの名前を出力したい。
私は書きましたがprint GPS.Current_Context().file()
、それは機能せず、エラーが表示されます:Current_Context has no attribute file
誰でも理由を知っていますか?
を使用してツールバーにボタンを作成しました
GPS.Toolbar().append(button)
ボタンのOn_Click
機能で、現在のファイルの名前を出力したい。
私は書きましたがprint GPS.Current_Context().file()
、それは機能せず、エラーが表示されます:Current_Context has no attribute file
誰でも理由を知っていますか?