Added gtk_show_uri
This commit is contained in:
parent
2c31963337
commit
dd7892483e
|
@ -379,5 +379,16 @@ interface Gtk {
|
|||
* @return a new GtkImageMenuItem.
|
||||
*/
|
||||
Pointer gtk_image_menu_item_new_from_stock(String stock_id, Pointer accel_group);
|
||||
|
||||
|
||||
/**
|
||||
* A convenience function for launching the default application to show the uri. Like gtk_show_uri_on_window(), but takes a screen
|
||||
* as transient parent instead of a window.
|
||||
*
|
||||
* @param timestamp GDK_CURRENT_TIME = 0 (this is what you should use)
|
||||
* @since 2.14
|
||||
*/
|
||||
@Deprecated
|
||||
boolean gtk_show_uri(Pointer screen, String uri, int timestamp, Pointer error);
|
||||
}
|
||||
|
||||
|
|
|
@ -194,4 +194,8 @@ class Gtk2 implements Gtk {
|
|||
@Override
|
||||
public native
|
||||
Pointer gtk_image_menu_item_new_from_stock(final String stock_id, final Pointer accel_group);
|
||||
|
||||
@Override
|
||||
public native
|
||||
boolean gtk_show_uri(final Pointer screen, final String uri, final int timestamp, final Pointer error);
|
||||
}
|
||||
|
|
|
@ -254,4 +254,8 @@ class Gtk3 implements Gtk {
|
|||
@Override
|
||||
public native
|
||||
Pointer gtk_image_menu_item_new_from_stock(final String stock_id, final Pointer accel_group);
|
||||
|
||||
@Override
|
||||
public native
|
||||
boolean gtk_show_uri(final Pointer screen, final String uri, final int timestamp, final Pointer error);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue