开发者

PyGtk CellRendererProgress start/end positions

开发者 https://www.devze.com 2023-04-11 07:41 出处:网络
Is there any way to fill a gtk.CellRendererProgress indicating the start and end positions? Not just the end.

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


No, you can't do that. But you can write a custom cell renderer that does that, based on the code for CellRendererProgress.

0

精彩评论

暂无评论...
验证码 换一张
取 消