Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 18 additions & 16 deletions stubs/pyinstaller/PyInstaller/building/splash.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from _typeshed import Incomplete, StrPath
from _typeshed import StrPath

from PyInstaller.building.datastruct import Target, _TOCTuple

Expand All @@ -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
Comment thread
Avasam marked this conversation as resolved.
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,
Expand All @@ -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: ...
Expand Down