Changing border color of a frame



Try this :

GtkRcStyle *rc_style;
GdkColor color;
static GdkColor green =  { 0, 0,      0xffff, 0      };

/* Create a Frame */
  frame = gtk_frame_new (NULL);
  gtk_widget_modify_bg (frame, GTK_STATE_NORMAL, &green); 

Regards,
Naveen




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