Re: Gtk 1.2 gtk_menu_get_title ()



amitjain wrote:

>Hi All
>I am using Gtk 1.2.
>I want to get title of Gtk Menu so is there any function for getting it.
>we know about gtk_menu_set_title () , but couldn't find like 
>gtk_menu_get_title (); so if anybody knows how to change GtkMenu
>title please let me know.
>
You can use this to get the title of GtkMenu:
(gchar*)gtk_object_get_data(menu, "gtk-menu-title");

Olexiy





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