Christian Lohmaier wrote:
This is tied to the vertical buttons.
If you set
GtkScrollbar::has_backward_stepper = 0
GtkScrollbar::has_secondary_forward_stepper = 0
GtkScrollbar::has_forward_stepper = 1
GtkScrollbar::has_secondary_backward_stepper = 1
Then you have the toggles at the bottom (vertical) and the right
(horizontal).
You can use other combinations as well (i.e. up both at the top and at
the bottom, down only at the bottom) without any problem
Our tests...
[...]
What we have to do is simple : translate Button1 coordinates from
left to right with an offset value of mnThumbPixSize , and translate
the area without control on left, from a value equal to
Button1.width, to make vcl control match with aqua control area.
Does the gtk plugin really reorder the controls itself? - Do you really
need to do that in vcl?
I absolutely have no clue of the code, so don't give too much in what I
write...
VCL does not really display a gtk scrollbar, but it paints the scrollbar
by calling the themed paint methods on a gtk scrollbar. Effectively it
draws a series of boxes with gtk_paint_flat_box (and friends), very
similar to what gtk's wigdets do internally. To do this correctly vcl
needs to know where to actually paint these boxes, which is why it needs
to know the regions of the various subcontrols.
Kind regards, pl
--
If you give someone a program, you will frustrate them for a day;
if you teach them how to program, you will frustrate them for a lifetime.
-- Author unknown
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]