offscreengecko-discuss Mailing List for Offscreen Gecko
Status: Pre-Alpha
Brought to you by:
res2002
You can subscribe to this list here.
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
|
From: Frank R. <fra...@gm...> - 2009-11-14 14:05:58
|
On 14.11.2009 07:04, Christopher Schaefer wrote: > Howdy, I can't get keyboard input to work at all using the library. I > can see sites, click on links, scroll, etc. Basically everything I > need with the mouse however the keyboard events don't seem to work at > all. Even the enumerated ones that are actually provided in the > header. > > > So, does this actually work and if so are there any working examples I > could look at? I'm so close to this working for me and I need the > keyboard input to work. It certainly worked at some point ;p Well, examples ... nothing interactive in the OSGK sources, unfortunately. There's always the integration into the DarkPlaces engine, albeit the keyboard input is not exactly straightforward. Anyway: http://svn.icculus.org/twilight/trunk/darkplaces/cl_gecko.c?revision=9049&view=markup Otherwise... focus can be an issue, so perhaps try to focus a browser manually with osgk_browser_focus() before sending keyboard input. If you haven't done so, try with something that guaranteedly handles keyboard input (such as an input field) first; possibly simulate a click into that to make absolutely sure everything is set for keyboard input. Lastly, you can show some code. I may (or may not) be able to see something. -f.r. |
|
From: Christopher S. <di...@gm...> - 2009-11-14 06:04:44
|
Howdy, I can't get keyboard input to work at all using the library. I can see sites, click on links, scroll, etc. Basically everything I need with the mouse however the keyboard events don't seem to work at all. Even the enumerated ones that are actually provided in the header. So, does this actually work and if so are there any working examples I could look at? I'm so close to this working for me and I need the keyboard input to work. |
|
From: jxj <jia...@gm...> - 2008-09-24 03:34:52
|
Thanks a lot! 2008/9/24, Frank Richter <fra...@gm...>: > On 24.09.2008 03:39, jxj wrote: >> Thanks very much! >> Another question, how could I get the DOM tree of a web page from osgk? > > Not trivially, at least. > However, since it's possible to provide JavaScript objects that can be > used inside the browser that may be a way to get the DOM tree out somehow. > > Or, of course, the library could be extended to allow DOM manipulations > in some more straightforward way, or access to some related Gecko > interfaces could be provided. > > -f.r. > |
|
From: Frank R. <fra...@gm...> - 2008-09-24 03:18:59
|
On 24.09.2008 03:39, jxj wrote: > Thanks very much! > Another question, how could I get the DOM tree of a web page from osgk? Not trivially, at least. However, since it's possible to provide JavaScript objects that can be used inside the browser that may be a way to get the DOM tree out somehow. Or, of course, the library could be extended to allow DOM manipulations in some more straightforward way, or access to some related Gecko interfaces could be provided. -f.r. |
|
From: jxj <jia...@gm...> - 2008-09-24 01:46:52
|
Thanks very much! Another question, how could I get the DOM tree of a web page from osgk? 2008/9/23, Frank Richter <fra...@gm...>: > On 22.09.2008 10:17, jxj wrote: >> Hi >> I am a newbie to OffscreenGecko, and do not know how to use >> OffscreenGecko! >> Is thers any test codes showing how to use it? > > Creating samples is definitely something I neglected when creating OSGK. > > However, there is some code using it, in (of all places) a Quake1 engine > derivate going by the name 'darkplaces'. Here's the relevant code: > http://svn.icculus.org/twilight/trunk/darkplaces/cl_gecko.c?revision=8364&view=markup > [This code has some extra goop as it loads the osgk lib dynamically; > however, the API is the same after all. Also, this is pure C code; if > you use C++ you can have a slightly more convenient interface. See the > OSGK documentation for the differences between the C/C++ IFs.] > > -f.r. > |
|
From: Frank R. <fra...@gm...> - 2008-09-23 01:19:36
|
On 22.09.2008 10:17, jxj wrote: > Hi > I am a newbie to OffscreenGecko, and do not know how to use OffscreenGecko! > Is thers any test codes showing how to use it? Creating samples is definitely something I neglected when creating OSGK. However, there is some code using it, in (of all places) a Quake1 engine derivate going by the name 'darkplaces'. Here's the relevant code: http://svn.icculus.org/twilight/trunk/darkplaces/cl_gecko.c?revision=8364&view=markup [This code has some extra goop as it loads the osgk lib dynamically; however, the API is the same after all. Also, this is pure C code; if you use C++ you can have a slightly more convenient interface. See the OSGK documentation for the differences between the C/C++ IFs.] -f.r. |
|
From: jxj <jia...@gm...> - 2008-09-22 08:17:27
|
Hi I am a newbie to OffscreenGecko, and do not know how to use OffscreenGecko! Is thers any test codes showing how to use it? Thanks in advance! |