Created
November 15, 2019 09:23
-
-
Save oscar9/24f6e89b013f3991a8cef2704481b241 to your computer and use it in GitHub Desktop.
Show message in the application status bar #gvsig #scripting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
import gvsig | |
from org.gvsig.app import ApplicationLocator | |
from javax.swing import JOptionPane | |
""" | |
JOptionPane -> messageType disponibles | |
- ERROR_MESSAGE | |
- INFORMATION_MESSAGE | |
- WARNING_MESSAGE | |
- QUESTION_MESSAGE | |
- PLAIN_MESSAGE | |
""" | |
def main(*args): | |
manager = ApplicationLocator.getManager() | |
manager.message("Loading...", JOptionPane.INFORMATION_MESSAGE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment