mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[view] improvement: allowing max_width to be defined for the confirmation dialogs
This commit is contained in:
@@ -21,7 +21,8 @@ class ProcessWatcher:
|
||||
confirmation_label: str = None, deny_label: str = None, deny_button: bool = True,
|
||||
window_cancel: bool = False, confirmation_button: bool = True,
|
||||
min_width: Optional[int] = None,
|
||||
min_height: Optional[int] = None) -> bool:
|
||||
min_height: Optional[int] = None,
|
||||
max_width: Optional[int] = None) -> bool:
|
||||
"""
|
||||
request a user confirmation. In the current GUI implementation, it shows a popup to the user.
|
||||
:param title: popup title
|
||||
@@ -34,6 +35,7 @@ class ProcessWatcher:
|
||||
:param confirmation_button: if the confirmation button should be displayed
|
||||
:param min_width: minimum width for the confirmation dialog
|
||||
:param min_height: minimum height for the confirmation dialog
|
||||
:param max_width: maximum width for the confirmation dialog
|
||||
:return: if the request was confirmed by the user
|
||||
"""
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user