switch_page function problem



hi friends,
             
                   when i use this function,

      gint  gtk_notebook_get_current_page()
      
   this does not return same page number for a page,
   each time page number is different,

   i mean to say if i have four pages in a notebook and if   i switch on
the pages in order then above function gives correct page number but if i
jump from 0 page to 4th page then no of 4th page comes 1...
          then whats the solution of it...
     
   if anybody knows please reply...

   thanx in advance...
               




                                              
                                              
                                              
                                              

                                              
                                              
                                              

                                            
                                                
                                                         
                                                      
            

                                     
  




                                                          

                             





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