comparison inkscape/README.mbext @ 215:9643d383bbb6

Add document for the button
author wycc
date Fri, 12 Dec 2008 22:09:40 +0800
parents 1d485bf96480
children 1958bb2a87a2
comparison
equal deleted inserted replaced
214:09ad4382aa41 215:9643d383bbb6
32 32
33 This function will convert a symbol into a button. A button is a symbol with three groups inside it. For example, 33 This function will convert a symbol into a button. A button is a symbol with three groups inside it. For example,
34 34
35 <g id="g1234" mbname="btn"> 35 <g id="g1234" mbname="btn">
36 <g id="g1235" frame="active"> 36 <g id="g1235" frame="active">
37 <original object>
37 </g> 38 </g>
38 <g id="g1235" frame="normal"> 39 <g id="g1235" frame="normal">
40 <original object>
39 </g> 41 </g>
40 <g id="g1236" frame="click"> 42 <g id="g1236" frame="click">
43 <original object>
41 </g> 44 </g>
42 </g> 45 </g>
43 46
44 47
45 The content of all three groups will be the same. We can modify each of them seperately. By default, the active and click group will be hidden. We can use the button editor to edit it. 48 The content of all three groups will be the same. We can modify each of them seperately. By default, the active and click group will be hidden. We can use the button editor to edit it.