mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-24 17:54:01 +08:00
PyInstaller: Complete types in splash.pyi (#13568)
--------- Co-authored-by: Avasam <samuel.06@hotmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from _typeshed import Incomplete, StrPath
|
||||
from _typeshed import StrPath
|
||||
|
||||
from PyInstaller.building.datastruct import Target, _TOCTuple
|
||||
|
||||
@@ -8,20 +8,22 @@ splash_requirements: list[str]
|
||||
# Not to be imported during runtime, but is the type reference for spec files which are executed as python code
|
||||
class Splash(Target):
|
||||
image_file: str
|
||||
full_tk: Incomplete
|
||||
name: Incomplete
|
||||
script_name: Incomplete
|
||||
minify_script: Incomplete
|
||||
max_img_size: Incomplete
|
||||
text_pos: Incomplete
|
||||
text_size: Incomplete
|
||||
text_font: Incomplete
|
||||
text_color: Incomplete
|
||||
text_default: Incomplete
|
||||
always_on_top: Incomplete
|
||||
uses_tkinter: Incomplete
|
||||
script: Incomplete
|
||||
splash_requirements: Incomplete
|
||||
full_tk: bool
|
||||
tcl_lib: str
|
||||
tk_lib: str
|
||||
name: str
|
||||
script_name: StrPath
|
||||
minify_script: bool
|
||||
max_img_size: tuple[int, int]
|
||||
text_pos: tuple[int, int] | None
|
||||
text_size: int
|
||||
text_font: str
|
||||
text_color: str
|
||||
text_default: str
|
||||
always_on_top: bool
|
||||
uses_tkinter: bool
|
||||
script: str
|
||||
splash_requirements: set[str]
|
||||
binaries: list[_TOCTuple]
|
||||
def __init__(
|
||||
self,
|
||||
@@ -37,7 +39,7 @@ class Splash(Target):
|
||||
full_tk: bool = False,
|
||||
minify_script: bool = True,
|
||||
name: str = ...,
|
||||
script_name: str = ...,
|
||||
script_name: StrPath = ...,
|
||||
max_img_size: tuple[int, int] | None = (760, 480),
|
||||
always_on_top: bool = True,
|
||||
) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user