#include <gtk/gtk.h>

int main(int argc, char** argv)
{
	gtk_init(&argc, &argv);

	g_object_set(
		gtk_settings_get_default(),
		"gtk-theme-name", "HighContrast",
		NULL
	);

	GtkWidget* const scale = gtk_scale_new_with_range(
		GTK_ORIENTATION_HORIZONTAL,
		0, 100, 10
	);

	GtkWidget* const window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
	g_signal_connect(G_OBJECT(window), "delete-event", G_CALLBACK(&gtk_main_quit), NULL);
	gtk_window_set_default_size(GTK_WINDOW(window), 200, 100);
	gtk_container_add(GTK_CONTAINER(window), scale);
	gtk_widget_show_all(window);

	gtk_main();
}
