Re: Placing grid
- From: Abdoulaye Walsimou Gaye <walsimou walsimou com>
- To: "Dr. Roland Bock" <box2OO6 eudoxos de>
- Cc: gtkdatabox-list gnome org
- Subject: Re: Placing grid
- Date: Fri, 22 Jan 2010 14:16:19 +0100
Dr. Roland Bock,
Dr. Roland Bock wrote:
>
>
> This 100 pixels between numbers rule given in the gtk-tutorial is not
> valid for GtkDataboxRuler (and I doubt that it is more than a rule of
> thumb for the gtk ruler).
Right, the tutorial is not clear here ...
>
> I am afraid that basically you have to copy the algorithm of
> GtkDataboxRuler to your application in order to figure out how to
> place your grid lines.
>
> An alternative might be to create your own ruler class: It inherits
> from GtkDataboxRuler but exports the positions/values of the ticks
> with numbers.
Yes I realized that my needs in this area is not implemented in
gtkdatabox yet.
I think the latest solution will be what I will adopt, for now I work
wihtout grid, I will on grid issue later and expose my solution here.
>
>
> Hope that helps.
>
>
> Regards,
>
> Roland
Thanks,
Best regards
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]