Re: [gtkmm] Vertical labels?



Alex <d_f0rce gmx de> writes:

> I have another problem with labels. I want to create a button bar at the left 
> and right sides of the window. The text on the buttons should be displayed 
> vertically. Is this possible with gtkmm2?
> 
> How can I create vertical labels?

I don't think it is possible to do directly, although you could
investigate Pangomm and attribute lists. One way to fake it is to use
newlines:

  "l\n"
  "a\n"
  "b\n"
  "e\n"
  "l\n"

But in general it is a bad idea IMHO. It is probably better if you
restructure the UI, or use icons.

-- 
Ole Laursen
http://www.cs.auc.dk/~olau/



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