# How is it possible to create a web browser with Kivy?
# I wanted to try with webkit python but uses Gtk or Qt, not possible to
# integrate directly to Kivy.
#
# I tried to use a Qt widget in a widget Kivy, but I have a problem with
# the event loop.
# Is there a way to disabled the loop and Qt to use than Kivy?
You can drive the Qt event loop by function calls, if you need to
(ie: if you have multiple frameworks that all want to run the event loop,
only one can really do it, so you have to drive the other manually..)
Are you trying to make a web browser, or just use webkit/etc to
render html to a display, to show a textfile or help box or something?
If its mostly just a display thing, you might be able to get away
with trying to render webkit to a framebuffer (or even to a texture and
then apply the texture in kivy?) ie: Like some of the video players work
.. use a widget in the toolkit (kivy in this case) and then find the
widget location and dimensions, then direct the webkit renderer to render
to framebuffer at that location/size; make it look like its in the UI, but
the UI is only aware of an empty box there.. that sort of trickery.
jeff
--
If everyone would put barbecue sauce on their food, there would be no war.
It's actually possible, but working right now only on linux 64bits.
https://github.com/kivy/kivy-berkelium
Download the extension from https://github.com/kivy/kivy-berkelium/downloads
We have done an initial wrapper around berkelium.org project, even if
it's works mostly, it's linux only. Anybody wanna help / update the
project on the latest berkelium version is welcome !
Otherwise, you can use other toolkit (gtk, qt), but the main issue is
not to drive the main loop of both framework (that's the simple part),
the complex part is to be able to do the rendering of the framework in a
pixmap, put it in a texture, and use the texture for a Rectangle
instruction.
Mathieu
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
hi guys, is there any progress in this?
Can you give me pls an advice on how to make kivy to display a window with a specific web page?
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/ab45585e-d5a2-45b6-87e2-60b53678ace6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/10ae28ad-ebb2-488e-9cea-82dfe4ac87fa%40googlegroups.com.