Re: manipulate form's fields



Le lundi 27 juin 2005 à 00:35 +0200, Christian Persch a écrit :
> > I'm trying to write a epiphany extension with python and i would like to
> > interact with form input fields.
> > I have added a menu entry into 
> > <popup name="EphyInputPopup" action="PopupAction"> .
> > 
> > In the callback, i would like to get (and set) text from the field from
> > where the menu was called.
> > 
> > Any idea about this?
> 
> That's a bit complicated, you'll need to do some C++ programming.
> 
> You can get the nsIDOMEvent* out of the EphyEmbedEvent, then get the
> event target from it, QI it to nsIDOMHTMLInputElement* or so, and do the
> deed.
> 

Thanks for your answer.
How can i get the EphyEmbedEvent? I have just the GtkAction and
EphyWindow into the callback.

> If you need more details, try looking at Epiphany or Epiphany Extensions
> mozilla interaction code, or drop by on #epiphany :)
> 

I have searched but found nothing that look like what I'm trying to do.

Thanks.

Regards

	G.

-- 
Guillaume Desmottes <cass skynet be>
Jabber <cassidy jabber belnet be>
GPG 1024D/711E31B1 | 1B5A 1BA8 11AA F0F1 2169  E28A AC55 8671 711E 31B1

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]