=?UTF-8?Q?Re=3A_How_to_be_informed_when_gtk=2Epaned_slider=E2=80=99s_pos?= =?UTF-8?Q?ition_changed=3F?=





On Mon, Dec 7, 2009 at 12:43 PM, robert2682 <robert2682 verizon net> wrote:
Raymond wrote:
I wanna the hpaned to remember the slider position, then I need to catch the event of hpaned's changing slider position. According to official doc, paned only have a few signals, and none of them is about slider's position.

So, is there a event about hpaned's slider? And how to catch it?

Try the gobject.notify signal using the position property of gtk_paned.

Hope this helps,

Bob


That's it. All I have to do is listen to the "notify::position" event. Thx bob : )


--
Raymond


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]