LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-27-2012, 02:31 AM   #1
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Rep: Reputation: 10
python -> web browser with multiple tabs


i'm new in python and i want to create a web browser with pygtk and webkit.
i know the basics of creating a web browser with webkit and i did it.i was wondering how can i add the ability of having multiple tabs, like what we see in modern web browsers like firefox and opera.my question is do i have to use threading for having this feature ?
 
Old 03-02-2012, 10:54 AM   #2
skykooler
Member
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 92

Rep: Reputation: 17
What you want is a gtk.Notebook. This will provide the tabs for you, and you place a new webkit view inside each one. Since GTK is callback-based, you should not need threading.
 
1 members found this post helpful.
Old 03-02-2012, 03:45 PM   #3
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Original Poster
Rep: Reputation: 10
than you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving multiple tabs on Iceweasel 4.0x jdkaye Debian 18 05-23-2011 03:05 AM
Mozilla multiple tabs freezeup Pedroski Ubuntu 1 06-21-2009 03:39 PM
want a file browser with multiple tabs sumeet inani Linux - Newbie 4 03-08-2009 11:38 PM
using tabs in default browser (konqueror) dav7500 Linux - Newbie 3 02-07-2006 08:25 AM
Multiple tabs in same window using Qt chmeherkch Programming 1 10-30-2003 02:41 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration