PyGtk CellRendererProgress 开始/结束位置
有没有办法填充 gtk.CellRendererProgress 指示开始 和最终位置?不只是结束。
作为我需要做的一个例子,而不是这样:
|##############################----------| (from 0% to 80%)
我需要这样做:
|--------######################----------| (from 25% to 80%)
它就像一个脉冲进度条,但没有移动,我需要指定条开始和结束的百分比。
谢谢
Is there any way to fill a gtk.CellRendererProgress indicating the start
and end positions? Not just the end.
As an example of what I would need to do is, instead of this:
|##############################----------| (from 0% to 80%)
I need to do this:
|--------######################----------| (from 25% to 80%)
It's like a pulsing ProgressBar but without moving and I need to specify at wich percentage the bar starts and ends.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,你不能那样做。但是您可以根据
CellRendererProgress
的代码编写一个自定义单元格渲染器来执行此操作。No, you can't do that. But you can write a custom cell renderer that does that, based on the code for
CellRendererProgress
.