Good documentation/tutorial for python webkit [closed] - python

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have found links with basic examples of webkit. but could not find any proper webkit class structure documentation on google.
could anyone suggest good links or documentation for webkit?
Thanks!

It appears that there are multiple Python bindings for WebKit.
For the Qt/KDE bindings, there is a fairly detailed tutorial: http://techbase.kde.org/Development/Languages/Python/PyKDE_WebKit_Tutorial.
For the GTK bindings, Ars Technica has an example: http://arstechnica.com/open-source/guides/2009/07/how-to-build-a-desktop-wysiwyg-editor-with-webkit-and-html-5.ars.

The PyWebkitGTK api should be mostly the same as the standard GTK api. You can view some documentation built into the webkit, for example:
import webkit
print webkit.WebView.__doc__
will show signals and properties you can use. You can also use "dir(webkit.WebView)" to show all the methods of the class. You'll see they are very similar to the GTK C documentation, with some differences, for example, void webkit_web_view_select_all(WebkitWebView) is WebView.select_all in Python.

PySide,a Python binding for Qt.The PySide.QtWebKit module has class structured documentation.

Related

How do I make a Gui in python? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Alright so I am not big brain. Can someone give me a tutorial or recommend one? I've heard tkinter is good, so maybe use that? I don't know please help me.
See GuiProgramming in the official wiki which shows a HUGE amount of frameworks in categories such as:
cross-browser
cross-platform
platform-specific
and other from which most of the known ones I'd say are PyJamas, PyGame, PyQt, Kivy, Tkinter and wxPython
This might help you out: https://www.youtube.com/watch?v=-GhzpvvIXlM
It is a simple tutorial that explains how to make a GUI. It uses Tkinter.
You can use Tkinter or Guizero to create GUIs using Python

Is there a description of all available wxPython Widgets? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm using wxPython, (with python 2.7) and am curious as to anyone have provided a sort of guide or an overview over available widgets? When I say a widget I imply a graphical entity drawn on the screen.
I have seen the documentation of the API, and by assuming that all "widgets" are sublasses to wx.Window, a better overview can be found in "tree-view in the aforementioned documentation.
However, if I did not know beforehand (from a tutorial) what a "notebook" was (in the wx sense), it would have been hard to be inspired to use this widget, using only the API reference.
The freely available book "wxPython in action" shows some examples here and there, but does not either contain an overview.
Does a better, more graphical, overview or presentation exist? Not necessarily of all possible widgets, but at least the most popular?
The Phoenix documentation has screenshots of a lot of the widgets:
docs.wxpython.org/gallery.html
You should also download the wxPython demo. It shows nearly all the widgets and how to use them. It can be found at http://www.wxpython.org

where is olefileio_pl documentation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am interested in what the olefileio_pl could be able to do (specifically I am trying to write something to a windows 7 sticky note) so I have looked around online for documentation. It doesn't seem like there is any real, detailed docs online. Is there something better then the builtin python help --olefileio_pl or help(olefileio_pl)? It seems that there is no online documentation for the module, and the online docs are typically much better than the builtin ones.
The new version 0.40 (renamed olefile) has now experimental write features, that will be completed over time: http://www.decalage.info/python/olefileio
See also http://www.decalage.info/python/olewrite
Alternatively, if your code runs on Windows, you may use the Win32 API with pywin32 for this (look for pythoncom.StgOpenStorageEx).
I also reorganized and improved the documentation, you can find it here:
https://bitbucket.org/decalage/olefileio_pl/wiki
If you have specific questions, you can contact me using this form:
http://decalage.info/contact
Philippe.

API reference to WebKit WebView implementation in GTK (Python) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm working on a Python Gtk3 app on Ubuntu, which primarily uses WebView from WebKit. I couldn't find all the methods available to WebView object in python, currently I only know its open() method, so, where can I get detailed reference to all its methods, including some documentation on handling cookies and user password saving, etc?
I went through http://webkitgtk.org/ but I couldn't find Python related API, or (I might have missed it out).
Because of GOBject Introspection, you should have access to every public class/method/function available in the WebKit. Hence, the original API documentation should help.
To know every method available, you can even use the classic help from Python. For instance:
$ python
>>> from gi.repository import WebKit2
>>> help(WebKit2.WebView)
Now, you can match the method names against the documentation for other languages (likely Objective-C).
In addition the API reference on webkitgtk.org is pretty good too, even though it is not Python specific. But if you're used to read GTK documentations it's pretty easy to use it for Python applications.

"htop" style gui with python, how? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I am intersted in building some text based GUIs, things that look like the terminal, but has functions like selecting rows and performing actions.
You know, things like htop and atop, ex:
Any resource on that?
You need Uwrid - a console user interface library for Python.
Documentation available on the website.
There is also Curses, which is in the Python standard library.
don't miss http://pythondialog.sourceforge.net/ also
Also, the library panwid offers a data table widget for Urwid, which does a lot of the heavy-lifting for an htop-like interface.

Categories