/usr/share/pyshared/pyface/dock/api.py is in python-pyface 4.0.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | #-------------------------------------------------------------------------------
#
# Copyright (c) 2005, Enthought, Inc.
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in enthought/LICENSE.txt and may be redistributed only
# under the conditions described in the aforementioned license. The license
# is also available online at http://www.enthought.com/licenses/BSD.txt
#
# Thanks for using Enthought open source!
#
# Author: David C. Morrill
# Date: 10/18/2005
#
#-------------------------------------------------------------------------------
""" Pyface 'DockWindow' support.
This package implements a Pyface 'dockable' window component that allows
child windows to be reorganized within the DockWindow using drag and drop.
The component also allows multiple sub-windows to occupy the same
sub-region of the DockWindow, in which case each sub-window appears as a
separate notebook-like tab within the region.
"""
#-------------------------------------------------------------------------------
# Imports:
#-------------------------------------------------------------------------------
from dock_window \
import DockWindow, DockWindowHandler
from dock_sizer \
import DockSizer, DockSection, DockRegion, DockControl, DockStyle, \
DOCK_LEFT, DOCK_RIGHT, DOCK_TOP, DOCK_BOTTOM, SetStructureHandler, \
add_feature, DockGroup
from idockable \
import IDockable
from idock_ui_provider \
import IDockUIProvider
from ifeature_tool \
import IFeatureTool
from dock_window_shell \
import DockWindowShell
from dock_window_feature \
import DockWindowFeature
|