How to use Gtk.Grid in ags with jsx?
14:26 26 Apr 2026

I'm fresh new to ags. I have read about the Gnim documents and figured out the JSX usage. So basically nested jsx tags in a parent tag is like pass children as the prop children of the parent, that's my understanding.

And I later read about these:

Under the hood, the jsx function uses the Gtk.Buildable interface, which lets you use a type string to specify the type the child is meant to be.

So


  
  
  

is like


  
    
  
  
    
    
  
    
  


I don't know if I'm right. What makes me confused is, in GtkGrid document there's no type on child, so how am I supposed to use Gtk.Grid in jsx syntax?

gtk