]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
First stab at a GTK layout engine. It's missing all sorts of stuff
authorSimon Tatham <anakin@pobox.com>
Thu, 13 Mar 2003 19:52:28 +0000 (19:52 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 13 Mar 2003 19:52:28 +0000 (19:52 +0000)
commitdf85003ea56581734754d7404fa08e4081f9dd34
tree70290bf651287ffcb4a208db4115069dbb807432
parenta816d2df1830bdb7be6f7297fd2262329cd55ab0
First stab at a GTK layout engine. It's missing all sorts of stuff
(list boxes are particularly conspicuously absent), it has no event
handling at all, and it isn't in any way integrated into pterm - you
have to build it specially using the test stubs in gtkdlg.c. But
what there is so far seems to work plausibly well, so it's a start.
Rather than browbeat the existing GTK container/layout widgets into
doing what I wanted, I decided to implement two subclasses of
GtkContainer myself, which implement precisely the layout model
assumed by the config box specification; this has the rather cool
consequence that the box can be resized and will maintain the same
layout at all times that it would have had if initially created at
that size.

[originally from svn r2931]
config.c
unix/gtkcols.c [new file with mode: 0644]
unix/gtkcols.h [new file with mode: 0644]
unix/gtkdlg.c [new file with mode: 0644]
unix/gtkpanel.c [new file with mode: 0644]
unix/gtkpanel.h [new file with mode: 0644]
unix/unix.h