Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I a signal a callback when a gtk.Paned widget handle is dragged?

callback dragged signal widget
0
10 Posted

How do I a signal a callback when a gtk.Paned widget handle is dragged?

0
10

The gtk.Paned widget provides a ‘move-handle’ signal that would seem to be appropriate, but Skip Montanaro points out that the ‘move-handle’ signal is only emitted when the handle is moved by use of the keyboard. If the paned window handle is dragged using the mouse, the signal is not emitted. John Finlay suggests a good solution: Connect to the ‘notify’ signal and watch for changes in the ‘position’ property of the paned window. The ‘notify’ signal will be emitted when any property of a GObject changes.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.