This is a GtkFontSelection widget. (It was initially derived from the GnomeFontSelector widget but I've practically rewritten it - I didn't like all those awkward option menus.) Please check that it follows GTK widget standards - I've followed GtkFileSelection as much as possible but I may have missed something. There's also some test code to add to testgtk if you like. I'm unsure about one thing with the code - it had 75 dpi hard-coded in to the font name when getting fonts from X and when creating font names. I've changed this to '*' but I'm not sure what should really be done. Any thoughts? Hope you like it, Damon Chaplin (DAChaplin@msn.com), 22 May 1998. INSTALLATION To install in GTK add '#include ' to gtk/gtk.h, 'gtkfontsel.c' to the SOURCES & 'gtkfontsel.h' to the HEADERS in gtk/Makefile.am, run automake and make. Is that it? To use or test outside of GTK replace all the #include's in gtkfontsel.c after Xlib.h with: #include #include #include "gtkfontsel.h" #include