/src/wrappers/gobject/library/g_param_spec_character.e

http://github.com/tybor/Liberty · Specman e · 33 lines · 19 code · 8 blank · 6 comment · 0 complexity · c51b1b1e76aabfd7331fbf96ee2de074 MD5 · raw file

  1. indexing
  2. description: "Character GParamSpec"
  3. copyright: "Copyright (c) 2005, Paolo Redaelli"
  4. license: "LGPL"
  5. date: "$Date: $"
  6. revision: "$ $"
  7. class G_PARAM_SPEC_CHARACTER
  8. inherit G_PARAM_SPEC
  9. creation make
  10. feature -- Creation
  11. make (a_name,a_nick,a_blurb: STRING;
  12. a_min,a_max,a_default: CHARACTER; some_flags: INTEGER) is
  13. -- Creates a new G_PARAM_SPEC_BOOLEAN.
  14. -- `a_name' is the canonical name of the property specified,
  15. -- `a_nick' is the nick name for the property specified,
  16. -- `a_blurb' is a description of the property specified.
  17. --`a_default' is the default value for the property
  18. --`some_flags' are flags for the property specified
  19. do
  20. from_external_pointer (g_param_spec_char
  21. (a_name.to_external, a_nick.to_external, a_blurb.to_external,
  22. a_min.to_integer_8, a_max.to_integer_8, a_default.to_integer_8,
  23. some_flags))
  24. end
  25. end