Mr. Picklesworth
April 21st, 2007, 08:49 PM
I am pondering building a custom colour picker widget. I hunted down composite widgets and it's fairly clear now that the colour picker, file loader etc. are composite widgets. However, I'm still wondering about the following:
-Is it possible to have my own widget replace the normal one without recompiling anything? (For example, can I have my colour picker widget be instantly used in every program on my desktop that pulls up GTK's colour picker?).
-How are these composite widgets done? Are the normal ones coded straight into the GTK library and the custom ones straight into the program that owns them, or do they work at run-time as a sort of plugin type thing?
Any words of advice or links to tutorials / articles would be much appreciated.
-Is it possible to have my own widget replace the normal one without recompiling anything? (For example, can I have my colour picker widget be instantly used in every program on my desktop that pulls up GTK's colour picker?).
-How are these composite widgets done? Are the normal ones coded straight into the GTK library and the custom ones straight into the program that owns them, or do they work at run-time as a sort of plugin type thing?
Any words of advice or links to tutorials / articles would be much appreciated.