エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
wxPython-users - [wxPython] How to delete items from ListBox
Hi, I have ListBox defined with wxLB_EXTENDED option like self.lb2 = wxListBox(self, 70, wxPoint(... Hi, I have ListBox defined with wxLB_EXTENDED option like self.lb2 = wxListBox(self, 70, wxPoint(280, 50), wxSize(130, 300), sampleList1, wxLB_EXTENDED) How can I delete items from this ListBox? I tried the following code but without any success. if (self.lb2.GetSelections()!=-1): for index2 in self.lb2.GetSelections(): self.lb2.Delete((index2)) That works only if I choose one item at a time only



2014/11/21 リンク