wx.checklistbox [英] wx.checklistbox

查看:160
本文介绍了wx.checklistbox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我用以下文件写了一个文件:.......(我认为可以写下我列表中的所有

行)

luca = open(''/ tmp / luca'',''w'')

luca.writelines(list)


当我再次打开应用程序时,我使用:


leggi = open(''/ tmp / luca'',''r'')

leggi .readlines()


如何将这一行存入wx.checkbox .....


谢谢Luca

Hello
I write one file using:.......(i think that is ok for write all the
lines of my list)
luca = open(''/tmp/luca'', ''w'')
luca.writelines(list)

when i open the application again i use:

leggi = open(''/tmp/luca'', ''r'')
leggi.readlines()

How can i store this line in to a wx.checkbox.....

Thanks Luca

推荐答案

不确定我理解:wx.CheckBox最多有三种状态(开,关......

不适用/灰色)


这是你从文件中读到的内容吗?


Philippe


luca72写道:
Not sure I understand: a wx.CheckBox has up to three states (on, off ...
does not apply/greyed)

Is that what you read from your file ?

Philippe

luca72 wrote:
你好
我写一个文件使用:.......(我认为可以写所有的
我的清单行)
luca = open(''/ tmp / luca'',''w'')
luca.writelines(列表)

当我我再次打开应用程序:

leggi = open(''/ tmp / luca'',''r'')
leggi.readlines()
我如何将这一行存储到wx.checkbox中.....

谢谢Luca
Hello
I write one file using:.......(i think that is ok for write all the
lines of my list)
luca = open(''/tmp/luca'', ''w'')
luca.writelines(list)

when i open the application again i use:

leggi = open(''/tmp/luca'', ''r'')
leggi.readlines()

How can i store this line in to a wx.checkbox.....

Thanks Luca






对不起Philippe

是一个Wx.checklistbox

Sorry Philippe
is a Wx.checklistbox


我用appen.items解决了()

问候


Luca

I have solved with appen.items()
Regards

Luca


这篇关于wx.checklistbox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆