[wx-discuss] Hoyle reviews wxWidgets
Robin Dunn
robin at alldunn.com
Mon Mar 6 15:02:31 PST 2006
Kevin Ollivier wrote:
> Why not simply create a URL in the overview showing the relevant C++
> samples? i.e.
>
> "For C++ users, see also the following C++ samples: blah, blah" where
> blah is a file URL to wxSrc/samples/whatever(/whatever.cpp?) (or just
> make a tab for C++)
>
> Even better, we can even make this only appear when the wxPython demo
> runs inside a wx tree, so we can do something like:
>
> cpp_file="wxdir/samples/whatever"
> if os.path.exists(cpp_file):
> # code to show C++ tab or links
>
> It's true the samples aren't equivalent, but they'll do what users need
> them to - show how to use the class.
The only issue with this is that most of the C++ samples have multiple
source files, so we probably would have to restructure the demo to make
it easy to see all of them. Probably better from a UI point of view is
to just have some C++ snippets that can be displayed with each widget in
the demo, but then those would have to be maintained separately from the
samples and so it could become a mess...
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wx-discuss-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-discuss-help at lists.wxwidgets.org
More information about the wx-discuss
mailing list