1 year ago

#379602

test-img

diogo-b013

What is the diference between gfloat and float?

I'm a beginner with Gtk and i'm learning a lot throught gtk docs.

I cannot understand why there are so many alternative types like

  • gfloat vc float
  • gint vs int
  • gchar vs char
  • gboolean
  • ...

https://docs.gtk.org/gtk4/?q=gfloat

https://docs.gtk.org/glib/?q=gfloat

On docs there is nothing about why so many alternative types and which one I should use on my gtk apps.

I just found this definition of types https://libsoup.org/glib/glib-Basic-Types.html

c

gtk

0 Answers

Your Answer

Accepted video resources