Hello, I'm starting to use Genie with Pango + Gtk.

I can not extract Pango.Context.list_families into an array of FontFamily

My code:

    uses Gtk
    uses Pango

    init
        Gtk.init (ref args)
        var TestGtk = new Ventana()    
        TestGtk.show_all()    
        Gtk.main()
    
    class Ventana : Window    
    
        init        
            title = "Genie + Pango"        
            set_default_size (250, 100)
            set_border_width(8)
            window_position = WindowPosition.CENTER        
            destroy.connect(Gtk.main_quit)
                
            var sw = new Gtk.ScrolledWindow(null, null)        
            sw.set_shadow_type (ShadowType.ETCHED_IN)
            sw.set_policy(PolicyType.AUTOMATIC, PolicyType.AUTOMATIC)
        
            var context = new Pango.Context()
        
            // context.list_families    ???
        
            // fam: array of FontFamily  ???
            
Thank you
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to