Commit Graph

18 Commits

Author SHA1 Message Date
Pietro Gagliardi d1702d33e0 Updated the GTK+ backend to have the new parenting and sizing changes. Now to implement Tab! ...though I should probably implement the changes on Mac OS X first. 2014-07-25 19:44:32 -04:00
Pietro Gagliardi e989c953fa Moved Window.SetControl() into window.go pending addition of fake resize events. 2014-07-22 00:07:41 -04:00
Pietro Gagliardi d60d176472 Actually, switch back to GtkLayout, as GtkFixed has the side effect of not allowing truly arbitrary resizes. 2014-07-21 10:48:56 -04:00
Pietro Gagliardi d319d9f4ac Switched the GTK+ layout control from GtkLayout back to GtkFixed; the size-allocate thing overrides the size-request issue I had earlier that prompted the switch away. 2014-07-21 10:45:37 -04:00
Pietro Gagliardi 7d3504e25b Implemented initial window size on the GTK+ backend. 2014-07-21 10:37:15 -04:00
Pietro Gagliardi 48c5055eb9 Started dropping the whole request/response system because it fell apart... time to make a ui.Do(func(){ ... }) 2014-07-19 09:44:32 -04:00
Pietro Gagliardi 847690bb10 Fixed window resizing in GTK+ acting wonky AND several related TODOs to boot! 2014-07-18 19:36:29 -04:00
Pietro Gagliardi e2be30c6e4 Changed the GTK+ files so they would not compile on Windows; this is needed now that the Windows build uses cgo too. 2014-07-17 23:50:14 -04:00
Pietro Gagliardi a253f39d68 Ported over the sizing framework from the old package and implemented it on the GTK+ backend. 2014-07-16 21:30:19 -04:00
Pietro Gagliardi d6a8a72662 Fixed a flaw in the SetControl() for GTK+ Window: it forgot to unparent old children. 2014-07-15 22:34:12 -04:00
Pietro Gagliardi 5ebd89984a Added parenting/unparenting of controls to the GTK+ backend and the test program. 2014-07-15 20:48:16 -04:00
Pietro Gagliardi b3cba4bfb1 Added window resize handling to the GTK+ backend. 2014-07-14 22:54:57 -04:00
Pietro Gagliardi daafb7aef8 Added the widget container to the GTK+ code. 2014-07-14 16:32:45 -04:00
Pietro Gagliardi b4357db4be Added the beginning of the Mac OS X code. 2014-07-08 16:47:28 -04:00
Pietro Gagliardi 60d0953fe9 Implemented the Window OnClosing() event on GTK+. It works! 2014-07-08 12:04:51 -04:00
Pietro Gagliardi d874148760 Fixed most compilation errors and added GTK+ string helper functions to common_unix.go. 2014-07-07 22:46:23 -04:00
Pietro Gagliardi 0c57837676 Made event handler setters return a Request, implemented stubs on GTK+ so I can build a test, and made documentation consistent. 2014-07-07 16:51:17 -04:00
Pietro Gagliardi c0c38ac8f5 Added the GTK+ implementation of Window, added the Window constructors, and rewrote the GTK+ Button constructor to use Requests. 2014-07-07 15:30:55 -04:00