Re: [Gimp-developer] When writing a GIMP Plugin using Python, can the Plugin display a GIMP based Dialog box informing the user if they haven't provided an argument?

Carol Spears via gimp-developer-list <[email protected]>
Newsgroups gmane.comp.video.gimp.devel
Message-ID <CAJitFnZQsVXdZ9PaYM6AKfmvtQUtkLLjJ8ujKW7OesZ1_uv5_Q@mail.gmail.com>
On Wednesday, May 8, 2019, Craig Sanders via gimp-developer-list <
[email protected]> wrote:

> Hello.
>
> I am writing a GIMP Plugin using Python, and this Plugin expects to receive
> a list of files as one of its arguments. My question is, if the user
> doesn't provide any files as arguments, can my Plugin display a GIMP based
> Dialog box informing them of this?
>

gimp.message(You did not provide files)

The message part should be in quotes probably....
_______________________________________________
gimp-developer-list mailing list
List address:    [email protected]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.