From: Alain A. <ala...@wa...> - 2015-12-21 16:25:55
|
Le 21/12/2015 11:10, Alain Aupeix a écrit : > Le 21/12/2015 08:57, Alexander S.Kresin a écrit : >> Alain Aupeix пишет: >>> My problem is, before or after giving the focus, to sent to yelp that >>> displayed uri must be changed >>> It seems that there is a gtk function which allows to do that, in >>> relation with tha API of yelp. >> I just added hwg_ShellExecute( cUrl ) function, similar to >> appropriate function in winapi version. It uses the gtk_show_uri(), so >> you may try something like: >> >> hwg_ShellExecute( "help:myproject/export" ) > Nice, it works for launching web url. > > It works for yelp too. > It doesn't open a new instance when calling again the help, but I have > just a problem with yelp which doesn' find the help files. I suppose > that I have to declare the help to the system, but I don't know how. > I'll ask it on Ubuntu forums. > > Thanks > A+ Well, in fact, it was really simple: Help files must be put in the help system folder (/usr/share/help/<lang>/<program>) And the files must be called from hwg_ShellExecute() with the id, and not the name of the file. We can also access to a point of a page /using help::myproject/mypage#myparagraph/ Nice, isn't it ? Thanks A+ -- ------------------------------------------------------------------------ Alain Aupeix http://jujuland.pagesperso-orange.fr/ http://pissobi-lacassagne.pagesperso-orange.fr/ ------------------------------------------------------------------------ U.buntu 12.04 | G.ramps 3.4.9-1 | H.arbour 3.2.0dev (2015-12-16 18:09) | HbIDE (Rev.316) | Five.Linux (r143) | Hw.Gui (2510) ------------------------------------------------------------------------ |