I am actually trying to build a small subset of all the html and javascript functionality .. my aim is not have a complete browser ,but a small one with some basic features.. About webkit and i would just say that it doesnt provide me any drawing ability .. it gives a webviewer class to which i can provide a url or html text and get the output displayed .. i want some library through which i can draw .. About the other libraries that you have mentioned , I'll surely go through them and try my best to get the job done .. Thanks Djinn
Gaurav On Friday, January 10, 2014 10:39:59 PM UTC+5:30, djinn wrote: > > On Jan 10, 2014 12:28 PM, "Gaurav gaur" <[email protected] <javascript:>> > wrote: > >> Hi all, >> I am trying to make my own browser( a mini html and JavaScript browser) >> in python. >> I am done with lexing and parsing html. I have the abstract syntax tree >> available but now i want to display it . >> For that i am looking for some API available in which i can draw >> list,text box's,tables,etc so that i can call the functions available in >> this API to draw them. >> >> If any one knows of any such API then please suggest me one .. >> >> > I would definitely like to know what is the end product in mind. Since > developing a production ready browser is not a trivial pursuit. HTML > browser unlike xml parsers need to deal with large set of outliers. So > unless you would like to demonstrate just a small a subset of web running > in your browser, I would recommend webkit or gecko toolkits as starting > point. Both gecko and webkit are available as library in python. > > But if you are true and brave. The intend you venture beyond explicable, > you could look at cairo, gtk canvas and goocanvas for rendering target. If > these libraries also look too tame go ahead and use OpenGL as the rendering > target. > > Do let me know, what you end up doing ... > >> Thanks >> Gaurav >> >> > -- > Supreet Sethi > Ph US: +19173102635 > Ph IN: +919811143517 > Github: https://github.com/djinn > Ph Skype: d_j_i_n_n > Profile: http://www.google.com/profiles/supreet.sethi > Twt: http://twitter.com/djinn > > Use https://www.mashape.com/djinn/textuality to convert html to text > -- -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer --- You received this message because you are subscribed to the Google Groups "Linux User Group @ IIT Delhi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
