PageRenderTime 13ms CodeModel.GetById 10ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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