rc files



Hi again,

Why does the first block work (it changes the color of all buttons) and
the second blocks do not work??

1st block:
    window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    gtk_widget_set_name(window,"main window");

   (in rc file)
   widget "main window.*GtkButton*" style "boton_verde"

2nd block:
   b_comenzar= gtk_button_new_with_label ("Start");
   gtk_widget_set_name(b_comenzar,"boton comenzar");

  (in rc file)
  widget "boton comenzar.GtkButton" style "boton_verde"

Thanks your preceding answer!!!
Cheers,
 Eusebio







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