digitalmars.D - gtkd examples
- llee (2/2) Jan 14 2008 Does anyone know where I can find code samples that use gtkd?
- Alan Knowles (16/22) Jan 15 2008 Leds is probably the biggest example.
- okibi (3/32) Jan 15 2008 Or you can use the out-dated (yet still relevant) DUI ClassList:
- Jarrod (6/12) Jan 16 2008 It might sound a bit odd, but I found that the C# documentation of gtk
- llee (2/16) Jan 20 2008 Thanks a lot. This should get me started.
Does anyone know where I can find code samples that use gtkd? Or better yet. Can anyone describe the naming conventions used in gtkd, so that I can use existing gtk documentation. I.E. can anyone tell me how gtk function names map onto gtkd function names. Also, can anyone tell me how gtk function parameters map onto gtkd function parameters. Any help will be appreciated.
Jan 14 2008
llee wrote:Does anyone know where I can find code samples that use gtkd?Leds is probably the biggest example. http://www.dsource.org/projects/leds/browser/trunk/src/leds Orbetter yet. Can anyone describe the naming conventions used in gtkd, so that I can use existing gtk documentation.GtkWidget* w = gtk_widget_new(...) => Widget x = new Widget(....); gtk_widget_do_something(w, ...) => x.doSomething(......) This is the candydoc for it. http://devel.akbkhome.com/gtkd_docs/src/gtk/GtkD.html you should be able to get them to build with the makedocs.sh in the gtkd distribution - although it's a bit klunky... I.E. can anyone tell mehow gtk function names map onto gtkd function names. Also, can anyone tell me how gtk function parameters map onto gtkd function parameters. Any help will be appreciated.Basically the first parameter to most gtk methods is the object, which is normally removed, and the remaining arguments are used as the object method arguments. Regards Alan
Jan 15 2008
Alan Knowles Wrote:llee wrote:Or you can use the out-dated (yet still relevant) DUI ClassList: http://dui.sourceforge.net/ClassList.htmlDoes anyone know where I can find code samples that use gtkd?Leds is probably the biggest example. http://www.dsource.org/projects/leds/browser/trunk/src/leds Orbetter yet. Can anyone describe the naming conventions used in gtkd, so that I can use existing gtk documentation.GtkWidget* w = gtk_widget_new(...) => Widget x = new Widget(....); gtk_widget_do_something(w, ...) => x.doSomething(......) This is the candydoc for it. http://devel.akbkhome.com/gtkd_docs/src/gtk/GtkD.html you should be able to get them to build with the makedocs.sh in the gtkd distribution - although it's a bit klunky... I.E. can anyone tell mehow gtk function names map onto gtkd function names. Also, can anyone tell me how gtk function parameters map onto gtkd function parameters. Any help will be appreciated.Basically the first parameter to most gtk methods is the object, which is normally removed, and the remaining arguments are used as the object method arguments. Regards Alan
Jan 15 2008
On Mon, 14 Jan 2008 22:16:08 -0500, llee wrote:Does anyone know where I can find code samples that use gtkd? Or better yet. Can anyone describe the naming conventions used in gtkd, so that I can use existing gtk documentation. I.E. can anyone tell me how gtk function names map onto gtkd function names. Also, can anyone tell me how gtk function parameters map onto gtkd function parameters. Any help will be appreciated.code with little to no change at all in the syntax. Perhaps you could get some good code examples googling around for gtk- sharp.
Jan 16 2008
Jarrod Wrote:On Mon, 14 Jan 2008 22:16:08 -0500, llee wrote:Thanks a lot. This should get me started.Does anyone know where I can find code samples that use gtkd? Or better yet. Can anyone describe the naming conventions used in gtkd, so that I can use existing gtk documentation. I.E. can anyone tell me how gtk function names map onto gtkd function names. Also, can anyone tell me how gtk function parameters map onto gtkd function parameters. Any help will be appreciated.code with little to no change at all in the syntax. Perhaps you could get some good code examples googling around for gtk- sharp.
Jan 20 2008