簡體   English   中英

有沒有一種方法可以將選項卡標簽放入數組中? -wxPython

[英]Is there a way to get the tab label into an array? - wxPython

我知道我可以使用GetSelection()獲取選定的標簽,但是它將返回標簽號,我想獲取標簽標簽。

我在用

print self.GetSelection()

我猜想您在談論標簽時問的是wx.Notebook。
然后使用方法GetPageText()

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM