Re: Signals for when any window changes in any way



On Thu, May 17, 2012 at 8:43 AM, Amy C <mathematical coffee gmail com> wrote:
>> This info is reasonably concisely documented in .gir files (gobject
>> introspection somethingorother). For example,
>> /usr/lib64/mutter/Meta-3.0.gir contains info about mutter classes /
>> objects / signals.
>
> cheers, forgot about the .gir
> However, I only have .typelib files in my /usr/lib*.
> I recall you can use `g-ir-scanner` to convert these, though I stlil
> haven't got it to work:

girs don't go in /usr/lib*, they go in /usr/share/gir-1.0

> g-ir-scanner --library mutter --namespace Meta /usr/lib/mutter/Meta-3.0.typelib
>
> complains about "can't resolve libraries to shared libraries: mutter",
> and various things I've tried sticking in the --library argument get
> "library not found" errors. I probably have to add an include path or
> something.
>
> Are these .gir files available somewhere for download so I don't have
> to hunt them all down and work out each of their namespaces/libraries
> to compile?



-- 
  Jasper


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