Re: rc files



Try changing this:

    widget "boton comenzar.GtkButton" style "boton_verde"

to this:

    widget "boton comenzar" style "boton_verde"



On 11 May 2001 19:03:16 +0200, J. Eusebio Roza Pando wrote:


----------
From:       J. Eusebio Roza Pando[SMTP:EUSEBIO ROZA UAH ES]
Sent:       Friday, May 11, 2001 11:03:16 AM
To:         Lista Gtk+
Subject:    rc files
Auto forwarded by a Rule

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




_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


-- 





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