[Gtk-sharp-list] ToggleButton Doc and Example

Miguel de Icaza miguel@ximian.com
25 Apr 2003 22:05:43 -0400


On Thu, 2003-04-24 at 23:04, John Luke wrote:
> The example is inline with the documentation. I included it as a
> seperate file as well because the wiki page says:
> 
>         <code lang="C#">.. </code>
>         
>         Use this to provide a sample C# program, typically used within
>         the <example> tags.
>         
>         When providing examples, try to provide a full example, we would
>         like to be able to have a button to compile and run samples
>         embedded into the documentation, or pop up an editor to let the
>         user play with the sample.
>         
>         
>         
>         You can link to an example like this
>                 <code lang="C#" source="file.cs"> </code>
> 
> 
> Which I took as it would need to be a seperate file as well, but
> probably isn't necessary. Which way is preferred?

Lee's proposal sounds great.  I have updated the Wiki slightly to reflect this

Miguel.