Re: Importing custom modules in Gjs
- From: alex diavatis <alexis diavatis gmail com>
- To: "Jasper St. Pierre" <jstpierre mecheye net>
- Cc: gnome-shell-list <gnome-shell-list gnome org>
- Subject: Re: Importing custom modules in Gjs
- Date: Sun, 5 Aug 2012 18:10:14 +0300
Hello Jasper,
I tried also this and it doesn't work,
I tried many things I am stacked on it for an hour, give me please a sec to paste-bin all the code
Thank you for the help
On Sun, Aug 5, 2012 at 6:08 PM, Jasper St. Pierre
<jstpierre mecheye net> wrote:
>> You need to import Clutter as well:
>>
>> const Clutter = imports.gi.Clutter;
>
>
> Of course I have Clutter imported.
> I just can't find a way to call black_c from conf.js to main.js. When I call
> it it I get:
> ReferenceError: black_c is not defined
Oh, so you added black_c in Conf?
Then, you want Conf.black_c.
--
Jasper
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]