[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[moz-bonobo-list] Size negociation
From: |
Jean Bréfort |
Subject: |
[moz-bonobo-list] Size negociation |
Date: |
08 Nov 2003 17:13:53 +0100 |
Hi,
After reading the plugin docs and some code in the mozilla tree, it
appears that, although not well described, it is possible to request a
new size for a plugin.
Here is a sample code:
NPSize size;
NPError err;
size.width = some_width;
size.height = some_height;
err = NPN_SetValue (instance, NPPVpluginWindowSize, &size);
I am not quite sure it really works but it might result in a new call to
NPP_SetWindow.
I'll try to find some time to test this idea.
Regards,
Jean
- [moz-bonobo-list] Size negociation,
Jean Bréfort <=