File: //lib64/python3.9/distutils/command/__pycache__/bdist_msi.cpython-39.pyc
a
    �DOg��  �                   @   s�   d Z ddlZddlZddlZddlmZ ddlmZ ddlm	Z	 ddl
mZ ddlm
Z
 ddlmZ dd	lmZ ddlZdd
lmZmZmZ ddlmZmZmZmZ G dd
� d
e�ZG dd� de�ZdS )z#
Implements the bdist_msi command.
�    N)�Command)�remove_tree)�get_python_version)�
StrictVersion)�DistutilsOptionError)�get_platform)�log)�schema�sequence�text)�	Directory�Feature�Dialog�add_datac                   @   sF   e Zd ZdZdd� Zdd� Zddd	�Zddd�Zddd�Zdd� Z	dS )�PyDialogz�Dialog class with a fixed layout: controls at the top, then a ruler,
    then a list of buttons: back, next, cancel. Optionally a bitmap at the
    left.c                 O   s@   t j| g|�R �  | jd }d| d }| �dd|| jd� dS )zbDialog(database, name, x, y, w, h, attributes, title, first,
        default, cancel, bitmap=true)�$   �   iH  Z
BottomLiner   N)r   �__init__�h�line�w)�self�args�kwZrulerZbmwidth� r   �3/usr/lib64/python3.9/distutils/command/bdist_msi.pyr      s    
zPyDialog.__init__c              
   C   s   | � ddddddd| � dS )	z,Set the title text of the dialog at the top.�Title�   �
   �@  �<