관리-도구
편집 파일: pathbrowser.cpython-36.opt-1.pyc
3 � fy � @ s� d dl Zd dlZd dlZd dlmZmZ d dlmZ G dd� de�Z G dd� de�Z G dd � d e�Zd d� Ze dkr�d d lmZ edddd� d dlmZ ee� dS )� N)� ModuleBrowser�ModuleBrowserTreeItem)�TreeItemc @ s, e Zd Zddd�dd�Zdd� Zdd� Zd S ) �PathBrowserF)�_htest�_utestc C s || _ || _|| _| j� dS )zG _htest - bool, change box location when running htest N)�masterr r �init)�selfr r r � r �8/opt/alt/python36/lib64/python3.6/idlelib/pathbrowser.py�__init__ s zPathBrowser.__init__c C s | j jd� | j jd� dS )zSet window titles.zPath BrowserN)�topZwm_titleZwm_iconname)r r r r �settitle s zPathBrowser.settitlec C s t � S )N)�PathBrowserTreeItem)r r r r �rootnode s zPathBrowser.rootnodeN)�__name__� __module__�__qualname__r r r r r r r r s r c @ s e Zd Zdd� Zdd� ZdS )r c C s dS )Nzsys.pathr )r r r r �GetText s zPathBrowserTreeItem.GetTextc C s* g }x t jD ]}t|�}|j|� qW |S )N)�sys�path�DirBrowserTreeItem�append)r �sublist�dir�itemr r r � GetSubList"