Re: GtkSourceDefaultStyleScheme



Hi Ahmad,

> Please correct me if I'm wrong,
> When I call gtk_source_language_get_style_scheme, what I get back is a
> GtkSourceDefaultStyleScheme object.
> The header file defines the return type as GtkSourceStyleScheme. So my
> Python wrapper does not recognize the object that comes back.
> Shouldn't the GtkSourceDefaultStyleScheme definition be public in some
> header file?
> 

Note that GtkSourceStyleScheme is an interface.
GtkSourceDefaultStyleScheme is a hidden class that implements the
interface.
User can implement new classes implementing the interface. We only
provide a default one containing the default scheme (or theme).

Hope this help.

Ciao,
Paolo





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