Thanks a lot. However it's for a menu not a button ...here is some code menubar2 = gtk_menu_bar_new (); gtk_widget_show (menubar2); gtk_box_pack_start (GTK_BOX (hbox2), menubar2, FALSE, FALSE, 0);
time_date1 = gtk_menu_item_new_with_mnemonic ("MENU"); gtk_widget_show (time_date1); gtk_container_add (GTK_CONTAINER (menubar2), time_date1); This line: time_date1 = gtk_menu_item_new_with_mnemonic ("MENU"); I've changed to time_date1 = gtk_menu_item_new_with_mnemonic (x); this works, the menu button gets the string stored in x..however the string stored in x changes (with the current time). I'm very new to programming..especially GTK so I'm probably just doing silly things. -- View this message in context: http://www.nabble.com/Update-text-label-t1390768.html#a3743033 Sent from the Gtk+ - Apps Dev forum at Nabble.com. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list