Panda3D
Classes | Public Types | Public Member Functions | Static Public Member Functions
AwWebView Class Reference

Thin bindings, wraps a WebView * returned from WebCore.createWebView. More...

#include "awWebView.h"

Inheritance diagram for AwWebView:
TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Classes

struct  Rect
 A simple rectangle class, used with WebView::render. More...

Public Types

enum  MouseButton { LEFT_MOUSE_BTN, MIDDLE_MOUSE_BTN, RIGHT_MOUSE_BTN }
 Mouse button enumerations, used with WebView::injectMouseDown and WebView::injectMouseUp. More...

Public Member Functions

 AwWebView (Awesomium::WebView *webView)
void destroy (void)
void executeJavascript2 (const std::string &javascript, const std::string &frameName="")
Awesomium::FutureJSValue executeJavascriptWithResult2 (const std::string &javascript, const std::string &frameName="")
virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
Awesomium::WebViewListener * getListener ()
void goToHistoryOffset (int offset)
void injectKeyEvent (bool press, int modifiers, int windowsCode, int nativeCode=0)
void injectMouseDown (AwWebView::MouseButton button)
void injectMouseMove (int x, int y)
void injectMouseUp (AwWebView::MouseButton button)
void injectMouseWheel (int scrollAmountY)
void injectMouseWheelXY (int scrollAmountX, int scrollAmountY)
bool isDirty ()
void loadFile2 (const std::string &file, const std::string &frameName="")
void loadHTML2 (const std::string &html, const std::string &frameName="")
void loadURL2 (const string &url, const string &frameName="", const string &username="", const string &password="")
void render (size_t destination, int destRowSpan, int destDepth)
void render (size_t destination, int destRowSpan, int destDepth, AwWebView::Rect *renderedRect)
void setCallback (const std::string &name)
void setListener (Awesomium::WebViewListener *listener)
void setProperty (const std::string &name, const Awesomium::JSValue &value)

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96.

Detailed Description

Thin bindings, wraps a WebView * returned from WebCore.createWebView.

Definition at line 29 of file awWebView.h.


Member Enumeration Documentation

Mouse button enumerations, used with WebView::injectMouseDown and WebView::injectMouseUp.

Definition at line 36 of file awWebView.h.


Member Function Documentation

static void AwWebView::init_type ( ) [inline, static]

This function is declared non-inline to work around a compiler bug in g++ 2.96.

Making it inline seems to cause problems in the optimizer.

Reimplemented from TypedReferenceCount.

Definition at line 112 of file awWebView.h.

References TypedReferenceCount::init_type().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations