Hello,

I'm trying to get the current environment language using the Pango
objects as you pointed me some weeks ago...

For this, I write this piece of code, that compiles but breaks at runtime.

#include <gtkmm.h>
#include <iostream>

int main()
{
   Gtk::Window gwidget;
   Pango::Language glang = gwidget.create_pango_context()->get_language();

   std::cout << glang.get_string() << std::endl;

   return 0;
}


Could help ?

S.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to