Commit Graph

32 Commits

Author SHA1 Message Date
Chris Jones
1aadbae30b Rework layout config to flatten and build up trees 2010-02-02 00:39:41 +00:00
Chris Jones
678057a0d3 First run at layout loading, creating, enumerating and saving. It sucks and works poorly at the moment, but here it is 2010-02-01 12:11:44 +00:00
Chris Jones
789092bb07 Refactor some code from Notebook into a standalone function that finds all descendant widgets of a given container that are Containers or Terminals and returns lists of them, and use this when closing a tab. This function will form the basis of layout enumeration 2010-01-28 13:41:44 +00:00
Chris Jones
9e625ed16b split a long line 2010-01-22 18:56:12 +00:00
Chris Jones
ac95dddfbe start working on a set of methods to walk the widget tree to find the visible ones, and collect their gtk allocation (i.e. where they are and how big they are). This is expected to form the basis of directional navigation and layout display/saving 2010-01-19 13:06:09 +00:00
Chris Jones
8ad7ac07b1 Create a new class Signalman which is used to track the glib signals on a widget since at least two of our classes were doing this themselves. Also integrated it into one of those classes, Container() where it is only used by VPaned and HPaned. Also add doctests for it 2010-01-18 13:17:35 +00:00
Chris Jones
df317bd2cd mildly change the debugging output of objects, and handle ^C a little better 2009-12-23 16:40:54 +00:00
Chris Jones
88cd14ac64 Remove a couple of stale FIXMEs 2009-12-11 14:25:38 +00:00
Chris Jones
7d897eaef7 Make title propagation work properly 2009-12-10 23:25:52 +00:00
Chris Jones
602c6a3b57 Make title changes propagate better, albeit not perfectly yet 2009-12-10 13:20:03 +00:00
Chris Jones
c31758179e pylint fixes 2009-12-09 13:22:34 +00:00
Chris Jones
7b24823fd6 Fix a stupid typo 2009-12-09 13:01:41 +00:00
Chris Jones
34da8ffe3a fix a bunch of bugs in tab handling and attempt to handle closing a tab with multiple children, but all of this is still entirely buggy 2009-12-08 13:57:29 +00:00
Chris Jones
db3ac95171 introduce the dialog to confirm closing something 2009-11-21 12:09:47 -06:00
Chris Jones
0deda2434d pylint fixes 2009-11-20 16:52:39 -06:00
Chris Jones
132daeb447 Fix up some handling of unzooming and closing terminals while zoomed 2009-11-19 23:16:20 -06:00
Chris Jones
7d9575df5f Make drag and drop of terminals work 2009-11-16 22:56:55 -06:00
Chris Jones
29d661b26a self.signals shouldn't be a class variable. add helper functions to connect child widget signals and disconnect them. 2009-11-14 22:57:35 +00:00
Chris Jones
0190f2dea9 make signal registration more robust, and add a function to walk up the widget tree to find the top-level Window object 2009-11-14 18:54:12 +00:00
Chris Jones
e5301362e4 tidy up some pylint issues 2009-11-14 17:30:03 +00:00
Chris Jones
5dd6ae0154 improve container signal registration function to never double-register. add a fake resize-term signal to Paned for nested terminal resizes. Implement terminal resizing. 2009-11-08 23:06:26 +00:00
Chris Jones
6b4c660cbc Start implementing our Paned container and switch to it 2009-11-07 01:40:43 +00:00
Chris Jones
7605957efa pylint fix 2009-10-09 00:24:58 +01:00
Chris Jones
414e7f0731 Add a mechanism to de-register a Terminal() that's being destroyed 2009-10-05 22:15:22 +01:00
Chris Jones
93d8118c33 add some more add/remove love to Window 2009-08-28 00:20:22 +01:00
Chris Jones
96114aa863 now config is borg we don't need to pass handles around 2009-08-19 01:04:53 +01:00
Chris Jones
1ab776bcb8 remove the unnecessary __main__ code 2009-08-09 23:56:08 +01:00
Chris Jones
adb1c2a1f8 raise the correct exception if methods are called from the base class that must be overridden by subclasses. Remove unnecessary dependencies and achieve 10/10 from pylint 2009-08-09 23:54:14 +01:00
Chris Jones
3df46d1d85 attempt to dodge gobject's inability to do multiple inheritance 2009-08-09 22:00:43 +01:00
Chris Jones
ea767f4164 migrate many more methods 2009-08-09 18:48:06 +01:00
Chris Jones
8700c9456f migrate window class to its own file 2009-08-08 00:31:44 +01:00
Chris Jones
c2cf103374 start an epic refactor 2009-08-07 10:21:37 +01:00