Re: gtk_notebook_get_tab_label_text ()

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

 




 
Narcisse Doudieu Siewe
Ingenieur telecom
Option : reseaux et services mobiles
 
 Tel:    (221) 77-801-10-75  
: wambenarcisse@xxxxxxxx


gint cur_page = gtk_notebook_get_current_pageg();
GtkWidget* child = gtk_notebook_get_nth_page(note_book, cur_page);
GtkWidget* label = gtk_notebook_get_tab_label(note_book, child);
const gchar* cur_text = gtk_label_get_text(GTK_LABEL(label));


Le Vendredi 13 décembre 2013 2h21, Mohd Naim Inche Ibrahim <naim@xxxxxxxxx> a écrit :
Hi everyone!

Regarding gtk_notebook_get_tab_label_text (), the function returns all the text labels of the created tabs in a notebook.

There is a function gint gtk_notebook_get_current_page   (GtkNotebook *notebook);


My question is, how to return the text label of current page? Not to return the number (int) of current page?


Regards,
Naim

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux