Re: EuGTK - launch_default_browser ?

new topic     » goto parent     » topic index » view thread      » older message » newer message

If you want the user to control this, create a link button:

constant btn2 = create(GtkLinkButton,"http://rapideuphoria.com","Euphoria") 

This really does not look like a "button", just a text link. It is not necessary to "connect" this button to anything, it will call your default browser automatically when clicked.

If you want links in an about dialog:

	set(aboutdlg,"Website","http://www.rapideuphoria.com") 
	set(aboutdlg,"Website Label","Euphoria") 

If you want your code to open a browser (instead of having user click), try

system_exec("xdg-open http://rapideuphoria.com",0) 

The above will, at least on my computers, either open the default browser or if a browser is already open, open your url in a new window/tab.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu