no text dispalyed to a toolbar button widget



Hallo to all

I have a problem to add text to a toolbar
doing this  code it works

  tmp_toolbar_icon = create_pixmap (main_window, xpm_file);
  button = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar),
                                GTK_TOOLBAR_CHILD_BUTTON,
                                NULL,
                                title,
                                tipp, NULL,
                                tmp_toolbar_icon, NULL, NULL);
  gtk_widget_show (button);

all works fine until the (gchar *) title variable has special german
character
like   ö  ä   ü.  If such characters are inside the title no text is
displayed
under the button.

I use gtk 1-2 under Redhat 7.2.
can the text be assigned later after showing the widget

best regards
günther

-- 
R=I+S  Rapp Informatik Systeme GmbH
       Rosenbühlstr. 24
       D-89182 Bernstadt
       Tel:  +49 (0)7348-7755
       Fax:  +49 (0)7348-6086
E-MAIL  mailto: guenther rapp-informatik de
WEB             www.rapp-informatik.de

Attachment: guenther.vcf
Description: Visitenkarte für Günther Rapp



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