<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Travis Siegel via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Mi., 20. Nov. 2024, 15:47:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You missed the part when I said without some IDE or other.<br>
<br>
Show me a raw source file that doesn't depend on any IDE at all written <br>
in FPC, something I can compile from the command line using *only* FPC <br>
default installed resources.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Here is an example for using GTK2 directly:</div><div dir="auto"><br></div><div dir="auto"><a href="https://gitlab.com/freepascal.org/fpc/source/-/blob/main/packages/gtk2/examples/helloworld/helloworld.pas?ref_type=heads">https://gitlab.com/freepascal.org/fpc/source/-/blob/main/packages/gtk2/examples/helloworld/helloworld.pas?ref_type=heads</a></div><div dir="auto"><br></div><div dir="auto">This page contains an example for X11:</div><div dir="auto"><br></div><div dir="auto"><a href="https://wiki.lazarus.freepascal.org/X11">https://wiki.lazarus.freepascal.org/X11</a> </div><div dir="auto"><br></div><div dir="auto">And here are some examples for work with the WinAPI:</div><div dir="auto"><br></div><div dir="auto"><a href="https://wiki.freepascal.org/Windows_API_examples">https://wiki.freepascal.org/Windows_API_examples</a> </div><div dir="auto"><br></div><div dir="auto">In the end nearly all relevant GUI toolkits to interact with are C-based (with the exception of Qt which is C++ and for which a flattening library is available), thus for those that don't want to work with Lazarus, they should simply look at corresponding documentation of the GUI toolkits. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>