# Gtk::Notebook#page

**URL:** <https://www.ruby-forum.com/t/gtk-notebook-page/63446>\
**Category:** Ruby\
**Created:** [January 20, 2006, 4:59pm UTC](https://www.ruby-forum.com/t/gtk-notebook-page/63446 "2006-01-20T16:59:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gargemello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e19adc/32.png) [@Gargemello](https://www.ruby-forum.com/u/Gargemello)\
**Post date:** [January 20, 2006, 4:59pm UTC](https://www.ruby-forum.com/t/gtk-notebook-page/63446/1 "2006-01-20T16:59:51Z")

</div>

Hi all.  
Why is it that Gtk::Notebook#page doesn’t always return the same index  
for the same page if switching between multiple tabs? Didn’t I  
understand something about those indeces? Shouldn’t that be a constant  
numeric for each tab?

---

<div class="post-metadata">

**Author:** ![Gargemello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e19adc/32.png) [@Gargemello](https://www.ruby-forum.com/u/Gargemello)\
**Post date:** [January 21, 2006, 2:20am UTC](https://www.ruby-forum.com/t/gtk-notebook-page/63446/2 "2006-01-21T02:20:31Z")

</div>

Ok sorry, my mistake. _ashamed_  
I interpreted the wrong value. Works now as expected.
