Check-in [b66fd70acf]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make full layout occupy entire area of its parent window. Until now, we were leaving a little space on each side for debugging; that doesn't seem necessary any more...
Timelines: family | ancestors | descendants | both | dev1.x
Files: files | file ages | folders
SHA1: b66fd70acf90314d2b14df0f7f16f6ec618a5636
User & Date: manuv 2013-07-30 00:21:04.419
Context
2013-07-30
01:54
Some minor reorganization of the X event handlers:
  • Moved focus change event handlers from minx.core.xevents to minx.layout.base.
  • Removed reparent notification handler from minx.core.xevents in favour of handling the event entirely from minx.layout.base.

This should pretty much all the code that's needed for the 0.2.0 release. Now to tackle the documentation... check-in: 4dc459e610 user: manuv tags: dev1.x

00:21
Make full layout occupy entire area of its parent window. Until now, we were leaving a little space on each side for debugging; that doesn't seem necessary any more... check-in: b66fd70acf user: manuv tags: dev1.x
00:17
Added a function and default key binding to quit Minx. check-in: 33a1e31904 user: manuv tags: dev1.x
Changes
Unified Diff Ignore Whitespace Patch
Changes to layout/full.py.
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

        Since Minx layouts are X windows, this constructor will create a
        child window of the specified parent, set appropriate properties
        to mark it as a layout, set the event mask, etc., and then map
        the layout window.

        """
        x, y, w, h = parent.geometry()[:4] # don't need border width
        base.__init__(self, wm, parent, (x+5, y+5, w-10, h-10))

    # Reparent notification
    def reparented(self, w):
        """Reparent notification.

        @param w The @ref minxlib::window "minxlib.window" that was reparented.








<
|







75
76
77
78
79
80
81

82
83
84
85
86
87
88
89

        Since Minx layouts are X windows, this constructor will create a
        child window of the specified parent, set appropriate properties
        to mark it as a layout, set the event mask, etc., and then map
        the layout window.

        """

        base.__init__(self, wm, parent)

    # Reparent notification
    def reparented(self, w):
        """Reparent notification.

        @param w The @ref minxlib::window "minxlib.window" that was reparented.