Class

MetaShadowFactory

Description [src]

final class Meta.ShadowFactory : GObject.Object {
  /* No available fields */
}

MetaShadowFactory is used to create window shadows. It caches shadows internally so that multiple shadows created for the same shape with the same radius will share the same MetaShadow.

Hierarchy

hierarchy this MetaShadowFactory ancestor_0 GObject ancestor_0--this

Ancestors

  • GObject

Constructors

meta_shadow_factory_new
No description available.

Instance methods

meta_shadow_factory_get_params

Gets the shadow parameters for a particular class of shadows for either the focused or unfocused state. If the class name does not name an existing class, default values will be returned without printing an error.

meta_shadow_factory_get_shadow

Gets the appropriate shadow object for drawing shadows for the specified window shape. The region that we are shadowing is specified as a combination of a size-invariant extracted shape and the size. In some cases, the same shadow object can be shared between sizes; in other cases a different shadow object is used for each size.

meta_shadow_factory_set_params

Updates the shadow parameters for a particular class of shadows for either the focused or unfocused state. If the class name does not name an existing class, a new class will be created (the other focus state for that class will have default values assigned to it.)

Signals

Meta.ShadowFactory::changed
No description available.

Class structure

struct MetaShadowFactoryClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.

Functions

meta_shadow_factory_get_default
No description available.