Re: First column header in GtkTreeView?



Christian Neumair wrote:
Am Sonntag, den 02.10.2005, 20:58 +0200 schrieb The Saltydog:

On 10/1/05, The Saltydog <thesaltydog gmail com> wrote:

On 10/1/05, Christian Neumair <chris gnome-de org> wrote:

Do you want to arrange that your tree view does no horizontal scrolling
at all, or that only the second column scrolls?

No, I need horizontal scrolling, but the first column must be fixed as
an header. The treeview should scroll from the second.


.. a sort of "double header", one horizontal and the other one vertical..


Maybe you should create two GtkTreeViews that share one model and pack
both into scrolled windows with different scroll policies. These two
scrolled windows should then be packed into one hbox. Good luck! :)

But that needs some magic so that when scolling vertically with the scrollbars of the second (right) view it also scrolls the first (left) view, which has not scrollbars shown.

@thesaltydog: I currently look into GtkSheet from gtkextra2 which has a sheet widget. This has horizontal and vertical headings.

Stefan



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