Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-10

Rotated text ?

10 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Paul Ishenin
Show quoted text 10 lines
On Fri, 24 Oct 2008, Paul Ishenin wrote: > Michael Van Canneyt wrote: > Hi, > > Is it possible to draw text at a 90? angle ? Yes. Gtk1 does not support it but win32, qt and gtk2 supports.

I use GTK 1 :(

You can find an example in the TDockHeader.Draw method (ldocktree.pas).

OK, thank you. I'll have a look.
How can one detect the used widget set in a binary ?

Thanks to everyone for the answers !

Michael.

Felipe Monteiro de Carvalho
to Michael Van Canneyt

2008/10/24 Michael Van Canneyt :

How can one detect the used widget set in a binary ?

That one is easy:

ldd myexecutable

If it links to gtk1, it must be using the gtk1 widgetset =)

Felipe Monteiro de Carvalho
Michael Van Canneyt
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 8 lines
2008/10/24 Michael Van Canneyt : > How can one detect the used widget set in a binary ? That one is easy: ldd myexecutable If it links to gtk1, it must be using the gtk1 widgetset =)

This one I could have found myself :-)

But what I meant:
There is no property in the LCL that can be checked ?

Michael.

Felipe Monteiro de Carvalho
to Michael Van Canneyt
Michael Van Canneyt wrote
But what I meant: There is no property in the LCL that can be checked ?

But you asked "in a binary"

Did you mean "at run-time"?

The usual way is with ifdefs, but that would be compile time.

Felipe Monteiro de Carvalho