Class: Gtk::UriLauncher
- Inherits:
-
Object
- Object
- Gtk::UriLauncher
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#initialize(uri) ⇒ Gtk::UriLauncher
constructor
Creates a new
GtkUriLauncherobject. -
#launch(parent, cancellable, callback, user_data) ⇒ nil
Launch an application to open the uri.
-
#launch_finish(result) ⇒ Boolean
Finishes the [methodGtk.UriLauncher.launch] call and returns the result.
-
#uri ⇒ String
The uri to launch.
-
#uri=(uri) ⇒ String
The uri to launch.
Constructor Details
#initialize(uri) ⇒ Gtk::UriLauncher
Creates a new GtkUriLauncher object.
Instance Method Details
#launch(parent, cancellable, callback, user_data) ⇒ nil
Launch an application to open the uri.
This may present an app chooser dialog to the user.
The callback will be called when the operation is completed. It should call [methodGtk.UriLauncher.launch_finish] to obtain the result.
#launch_finish(result) ⇒ Boolean
Finishes the [methodGtk.UriLauncher.launch] call and returns the result.
#uri ⇒ String
The uri to launch.
#uri=(uri) ⇒ String
The uri to launch.