#include <gtk/gtk.h>

int
main (int argc, char *argv[])
{
	GtkWidget *window;
	GtkWidget *scale;

	gtk_init (&argc, &argv);
	gtk_rc_parse_string (
"style \"myscale-style\" {\n"
" GtkRange::trough-side-details = 0\n"
"}\n"
"class \"GtkHScale\" style : rc \"myscale-style\"\n"
        );
	window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
	gtk_window_set_default_size (GTK_WINDOW (window), 200, -1);
	scale = gtk_hscale_new_with_range (0, 100, 1);
	gtk_widget_set_name (scale, "myscale");
	gtk_scale_set_draw_value (GTK_SCALE (scale), FALSE);
	gtk_container_add (GTK_CONTAINER (window), scale);

	gtk_widget_show_all (window);

	gtk_main ();

	return 0;
}
