Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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
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

Your Answer


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.