hbox and color



hi...

i want create a hbox with a personalized colour, in the hbox i want put 3 labels.
i want have the foreground color of the labels in white and this ok with
  label=gtk_label_new("Sistema");
  gtk_widget_set_size_request(GTK_WIDGET(label), -1, 30);
  gtk_box_pack_start(GTK_BOX(hbx_admin), label, TRUE, TRUE, 5);
  gtk_widget_modify_fg(GTK_WIDGET(label), GTK_STATE_NORMAL, color);
but if i set the foregroud color of this widget i haven't any kind of change!
and between the labels i want color the space in othe color, but i have try to change the hbox color without any effect.

where are the mistake??
thanks......................

-- 
/**********************
Pallucchini Roberto

e-mail: palluk infinito it
web: palluk.netfirms.com
**********************/
User registered to LINUX COUNTER #284557
Powered by RedHat Linux 7.3 2.4.18-r1


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