[Gtk-sharp-list] ToggleButton Doc and Example
24 Apr 2003 23:04:45 -0400
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?
% ls gtk-sharp/doc/en/Gtk/*.cs
On Thu, 2003-04-24 at 22:51, Mike Kestner wrote:
> On Thu, 2003-04-24 at 13:34, Miguel de Icaza wrote:
> > I added the documentation, but I do not know where to place the sample
> > file. This I think is a job for the samples people. Where should that
> > go?
> Can't the sample be added in-line to the documentation? I have been
> encouraging this approach as opposed to having a separate place to
> search for examples.