Re: argv



On 04/16/2016 10:53 AM, Lucas Levrel wrote:
Gtk2 came with "gtk-demo". Doesn't Gtk3 have a similar app? However, I
don't know if it parses command-line args, if that's what you're looking
for.


It is called gtk3-demo and it doesn't parse command-line args because
its examples are not run from the command-line. AFAIK gtk_init will
probably lose it's command-line parsing ability anyway and use only
environment variables instead. I'm not sure though. Of course
command-line parsing can still be useful for the application itself.

Probably it wouldn't help Andrew anyway because gtk3-demo is written in
C and the GoDev tools don't include a C compiler. What Andrew is asking
for is a GoAsm assembly language GTK+ example program if I'm not mistaken.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]