Re: to change color to object ?



vaf wrote:

> in englis :
> to change color  to WIDGET  , ejample   gtk_button_new_with_label  ???
> wha this function ?

http://developer.gnome.org/doc/API/gtk/gtk-styles.html

    I have never done it, so maybe someone more experienced might
want to substantiate my guesses? If you want to set the colors of a
button, button_x, with the style you want, style_x then you call
gtk_widget_set_style ( button_x, style_x ). Also if you wanted to
change the colors of the label contained in the button, you would call
gtk_widget_set_style ( (GTK_BIN(button_x)->child, style_x ).

Aron

>
>
> tank you .
>
> en castellano :
>
> Como cambio de color a un  WIDGET ,como por ejemplo
> gtk_button_new_with_label  ?
> cual seria la funcion  asociada ? , por que no la encuentro en los
> documentos de  www.gtk.org !!
>
> muchas gracias por todo
> Diego Verzoletto .
>
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list

--

/*******************************************************
 * Aron Rubin                                          *
 *******************************************************
 * Phone:(609) 338-4270         Mail Stop: A&E 2W      *
 * Cell: (609) 320-8800         ICQ: n/a               *
 * Email:arubin@atl.lmco.com                           *
 *******************************************************/




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