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

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
begin:vcard 
n:Rapp;Günther
tel;fax:+49 (0)7348-6086
tel;work:+49 (0)7348-7755
x-mozilla-html:TRUE
url:www.rapp-informatik.de
org:R=I+S;Rapp Informatik Systeme GmbH
adr:;;Rosenbühlstr. 24;D-89182  Bernstadt;Germany;;
version:2.1
email;internet:guenther@rapp-informatik.de
x-mozilla-cpt:;0
fn:Günther Rapp
end:vcard


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