Re: GtkNotebook "change-current-page" signal problems



On Wed, Nov 19, 2003 at 12:19:23AM +0100, Kristian Rietveld wrote:
On Wed, 2003-11-19 at 00:07, Rob van der Leek wrote:
Hello list,

Hoi,


I must be missing something obvious, but can someone please explain why 
the (complete) program below doesn't print a message saying the notebook 
page has changed when I switch between the two pages?

"change_current_page" is an action signal (for keybindings) and
callbacks connected to action signals will never get called.

The signal which you actually want to use is the "switch_page" signal.
hope this helps,

Thank you Kris, I couldn't make that distinction between the GtkNotebook 
signals from the API docs. "switch-page" works fine.

Regards,
-- 
Rob van der Leek                  | rob(at)ricardis(dot)tudelft(dot)nl
Ricardishof 73-A                  | http://www.ricardis.tudelft.nl/~rob 
2614 JE Delft, The Netherlands     
+31 (0)6 155 244 60                



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