| View previous topic :: View next topic |
| Author |
Message |
edlynn
Joined: 29 Sep 2006 Posts: 10
|
Posted: Mon Oct 02, 2006 2:53 pm Post subject: Notebook Tab Selected |
|
|
I am using a gtk notebook, and would like to set a global variable which reflects the current page selected, each time a different tab is clicked on. Can anyone tell me how i might do it please? I think i probably just need to know which signal is triggered by the user clicking on a tab.
Thanks |
|
| Back to top |
|
 |
ssiwek
Joined: 15 May 2006 Posts: 20
|
Posted: Mon Oct 02, 2006 3:43 pm Post subject: |
|
|
Hi!
There are some signals you can use.
The best way to find out yourself is to install the dev_inspector
from the gnope channel.
The program shows you information about signals which every class does emitt and lots more.
hope it helps you
sven |
|
| Back to top |
|
 |
edlynn
Joined: 29 Sep 2006 Posts: 10
|
Posted: Mon Oct 02, 2006 4:08 pm Post subject: |
|
|
Thanks for the suggestion. I have all the possible signals for each class, just couldnt figure out which one it was for this action. Turns out its the switch-page signal.
Thanks |
|
| Back to top |
|
 |
|