---
name: "Padre::Wx::Dialog::OpenURL"
section: "3pm"
platform: "linux"
package: "padre"
version: "1.00+dfsg-3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Padre::Wx::Dialog::OpenURL"
---

# Padre::Wx::Dialog::OpenURL(3pm)

a dialog for opening URLs

## NAME

Padre::Wx::Dialog::OpenURL - a dialog for opening URLs

### "new"

```
  my $find = Padre::Wx::Dialog::OpenURL->new($main);
```

Create and return a `"Padre::Wx::Dialog::OpenURL"` "Open URL" widget.

### "modal"

```
  my $url = Padre::Wx::Dialog::OpenURL->modal($main);
```

Single-shot modal dialog call to get a URL from the user.

Returns a string if the user clicks **OK** (it may be a null string if they did not enter anything).

Returns `"undef"` if the user hits the cancel button.

## COPYRIGHT & LICENSE

Copyright 2008-2013 The Padre development team as listed in Padre.pm.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.
