• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

haiiliin / abqpy / 6433593370

06 Oct 2023 03:30PM UTC coverage: 73.825% (-9.3%) from 83.134%
6433593370

push

github

web-flow
[feature] Add GUI Toolkit Commands (backport #5260) (#5285)

[feature] Add GUI Toolkit Commands (#5260)

* Markdown

* Delete

* Add AFXApp and AFXBoolKeyword

* Delete

* Update headings

* Create parse.py

* Update parse.py

* Unicode Spaces

* Update .pre-commit-config.yaml

* Update md types

* Update Kernel plug-in registration commands.md

* Generated python stubs

* Add class inheritance

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Revert "Update .pre-commit-config.yaml"

This reverts commit 9d3aef3cc.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix mypy errors

* Delete parse.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix return types and imports

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update AFXColumnItems.md

* Update abaqusGui.py

* Add class/global flags

* Delete flags.py

* Fix flags

* Fix

* Skip mypy

* Update abaqusGui.py

* Update constants.py

* Create kernelAccess.py

* Add plugin docs

* Revert changes by docformatter

* Delete markdown files

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit a65ff5df8)

Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>

3661 of 3661 new or added lines in 151 files covered. (100.0%)

24137 of 32695 relevant lines covered (73.82%)

0.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/abaqus/PlugInRegistration/MessageDialogs.py
1
"""The following methods provide access to the standard message dialogs."""
2

3
from __future__ import annotations
×
4

5
from .FXObject import FXObject
×
6
from .FXWindow import FXWindow
×
7

8

9
def showAFXDismissableWarningDialog(owner: FXWindow, message: str, tgt: FXObject | None = None, sel: int = 0):
×
10
    """Posts a modal dismissable warning dialog box that has a "Show this dialog next time" check button, via
11
    which the user can request not to see a specific type of messages in the future. The dialog box has a
12
    getCheckButtonState method that can be called to get the state of the check button in the dialog box.
13

14
    Parameters
15
    ----------
16
    owner : FXWindow
17
        Window over which the dialog box is to be centered.
18
    message : str
19
        Text to be displayed in the dialog box.
20
    tgt : FXObject
21
        Message target.
22
    sel : int
23
        Message ID.
24
    """
25

26

27
def showAFXErrorDialog(owner: FXWindow, message: str, tgt: FXObject | None = None, sel: int = 0):
×
28
    """Shows an error dialog box.
29

30
    Parameters
31
    ----------
32
    owner : FXWindow
33
        Window over which the dialog box is to be centered.
34
    message : str
35
        Text to be displayed in the dialog box.
36
    tgt : FXObject
37
        Message target.
38
    sel : int
39
        Message ID.
40
    """
41

42

43
def showAFXItemsWarningDialog(
×
44
    owner: FXWindow, topMessage: str, items: str, bottomMessage: str, tgt: FXObject | None = None, sel: int = 0
45
):
46
    """Shows a modal warning dialog box that has a scrollable list of items and two messages: one placed above and one below the list. .
47

48
    Parameters
49
    ----------
50
    owner : FXWindow
51
        Window over which the dialog box is to be centered.
52
    topMessage : str
53
        Text to be displayed on top of the list of items.
54
    items : str
55
        A String containing a comma-separated list of items to be displayed between the topMessage and bottomMessage.
56
    bottomMessage : str
57
        Text to be displayed below the list of items.
58
    tgt : FXObject
59
        Message target.
60
    sel : int
61
        Message ID.
62
    """
63

64

65
def showAFXWarningDialog(owner: FXWindow, message: str, tgt: FXObject | None = None, sel: int = 0):
×
66
    """Shows a warning dialog box.
67

68
    Parameters
69
    ----------
70
    owner : FXWindow
71
        Window over which the dialog box is to be centered.
72
    message : str
73
        Text to be displayed in the dialog box.
74
    tgt : FXObject
75
        Message target.
76
    sel : int
77
        Message ID.
78
    """
79

80

81
def showAFXInformationDialog(owner: FXWindow, message: str, tgt: FXObject | None = None, sel: int = 0):
×
82
    """Shows an information dialog box.
83

84
    Parameters
85
    ----------
86
    owner : FXWindow
87
        Window over which the dialog box is to be centered.
88
    message : str
89
        Text to be displayed in the dialog box.
90
    tgt : FXObject
91
        Message target.
92
    sel : int
93
        Message ID.
94
    """
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc