Hi,

I asked below question in mozilla-xpfe list and was suggested
that the mozilla-xpcom is better list for the topic.  So I will
ask it again.

Could someone point to me a way to open a window from a
standalone js or python script?

By standalone, I mean it's not loaded into Mozilla or other
application.  What I want to do is opening a window without any
C++ bootstrapping code or extant window.  I am wondering if this
is possible.

What I am trying to do is writing a gui sample script for the
XPCOM Ruby language binding.

I come to think that there might be some way, because I could
open a window by using nsAppShellService with Ruby and small
amount of C++ (C++ code was used to initialize command line for
gtk_init()).  But, I guess that window was fairly broken in
someway, as the comment in nsWindowCreator.cpp says
nsAppShellService does only partial initialization.  So, I am
interested in the right way to do it.

Best Regards,
Kenichi Komiya

Reply via email to