Web lists-archives.com

Re: A toggled toggle button visually almost indistinct from untoggled





Hi Dan,

You can draw on the toggle button window, use an event box or use a drawing area to create a toggle button with any color that you like. Here is a short C example of drawing on a toggle button window.

https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/cairo_drawings/toggle_button1.c

Eric

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list