Clutter::ParamSpec(3) ParamSpecs for installing new properties

METHODS

paramspec = Clutter::ParamSpec->color ($name, $nick, $blurb, $default_value, $flags)

  • $name (string)
  • $nick (string)
  • $blurb (string)
  • $default_value (Clutter::Color)
  • $flags (Glib::ParamFlags)

paramspec = Clutter::ParamSpec->units ($name, $nick, $blurb, $unit_type, $minimum, $maximum, $default_value, $flags)

  • $name (string)
  • $nick (string)
  • $blurb (string)
  • $unit_type (Clutter::UnitType)
  • $minimum (double)
  • $maximum (double)
  • $default_value (double)
  • $flags (Glib::ParamFlags)

ENUMS AND FLAGS

enum Clutter::UnitType

  • 'pixel' / 'CLUTTER_UNIT_PIXEL'
  • 'em' / 'CLUTTER_UNIT_EM'
  • 'mm' / 'CLUTTER_UNIT_MM'
  • 'point' / 'CLUTTER_UNIT_POINT'

flags Glib::ParamFlags

  • 'readable' / 'G_PARAM_READABLE'
  • 'writable' / 'G_PARAM_WRITABLE'
  • 'construct' / 'G_PARAM_CONSTRUCT'
  • 'construct-only' / 'G_PARAM_CONSTRUCT_ONLY'
  • 'lax-validation' / 'G_PARAM_LAX_VALIDATION'
  • 'private' / 'G_PARAM_PRIVATE'

COPYRIGHT

Copyright (C) 2006, 2007, 2008 OpenedHand Ltd

Copyright (C) 2009 Intel Corporation

This module is free software; you can redistribute it and/or modify it under the terms of either:

  • the GNU Lesser General Public Library version 2.1; or
  • the Artistic License, version 2.0.

See Clutter for the full copyright notice.