Answers for "how to set gdkcolor c"

0

how to set gdkcolor c

GdkColor color;
  gdk_color_parse( "#0080FF", &color );
  gtk_widget_modify_fg( GTK_WIDGET(button), GTK_STATE_SELECTED, &color );
  gtk_widget_modify_fg( GTK_WIDGET(button), GTK_STATE_NORMAL, &color );
Posted by: Guest on December-10-2020

Browse Popular Code Answers by Language