Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have downloaded a set of icons to use for my web browser that I'm creating and would like to use. I know how to add the icons, but I only know the code for the refresh button. My question is what is the code for the back and forward arrows? It would also be so helpful if I would know the code for the home button and how to make the web browser manage downloads.

I'm using WebkitGtk as the web browser view.

The images are found here

share|improve this question
2  
The images have nothing to do with how the code works. Specify what you use as the browser view: WebkitGtk, gtkmozembed, ... Have you read the reference manual for it? –  Timo Jul 1 '12 at 18:05
add comment

1 Answer 1

up vote 1 down vote accepted

Your edit says you're using WebkitGtk, which has simple API calls for this.

Have a look at the reference manual, especially the webview.go_back() and webview.go_forward() methods.

A home button is pretty easy as well. You probably have stored the home url in a config file or constant/variable in your code, just load a new page with that value when the home button is pressed.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.