开发者

Example for custom Range in Gtkmm

I am working on a Potentiometer style widg开发者_C百科et in Gtkmm and I'd like to use Range as the baseclass.

Does anyone know of a proper example for doing this?


I'm not sure exactly what you're asking for. I know that there is a simple example of using the range widget here. It does handle the creation of the Adjustment object that you'll need. You'll need to define an abstract potentiometer class, then create your vertical and/or horizontal potentiometers separately for flexibility.

The closest thing that I could find to an example of what you'd need to override in order to make your own custom range-like widget is on Old Nabble.

I wish that I could give you more help with this, but I'm rather new to Gtkmm.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜