Direction of text and Pango::DIRECTION_TTB_RTL



Hello,

The problem is: I want to display vertically text inside a Gtk::Entry and Gtk::TextView.

I thinked that the solution is simple but it's do anythings:
Gtk::Entry *entry;
/* Init of entry */
entry->get_pango_context()->set_base_dir(Pango::DIRECTION_TTB_RTL);

Since one week i'm stuck with this line.

so, if some one hace an idea it will be cool.

Laurent


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]