Gjsify LogoGjsify Logo

Hierarchy

  • StylableIface

Index

Constructors

Properties

name: string

Methods

  • get_style_pseudo_class(stylable: Mx.Stylable): string
  • set_style_class(stylable: Mx.Stylable, style_class: string): void
  • set_style_pseudo_class(stylable: Mx.Stylable, pseudo_class: string): void
  • Installs a property for owner_type using pspec as the property description.

    This function should be used inside the #MxStylableIface initialization function of a class, for instance:

    G_DEFINE_TYPE_WITH_CODE (FooActor, foo_actor, CLUTTER_TYPE_ACTOR, G_IMPLEMENT_INTERFACE (MX_TYPE_STYLABLE, mx_stylable_init)); ... static void mx_stylable_init (MxStylableIface *iface) { static gboolean is_initialized = FALSE;

    if (!is_initialized) { ... mx_stylable_iface_install_property (stylable, FOO_TYPE_ACTOR, g_param_spec_int ("x-spacing", "X Spacing", "Horizontal spacing", -1, G_MAXINT, 2, G_PARAM_READWRITE)); ... } }

    Parameters

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method