Re: TreeView - set border on individual cells
- From: Mike Martin <mike redtux plus com>
- To: codemusings gmail com
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: TreeView - set border on individual cells
- Date: Fri, 5 Apr 2019 12:36:12 +0100
Update, I worked out how to get rid of highlight
1 treeview->set selection mode(none)
2 treeview->signal_connect(row_activated =>sub{
Treeview->set_cursor_on_cell(path,column,cell,true)
}
)
Not exact code, but this is process that worked for me
Would still be useful if I could find out about borders though
On Fri, 5 Apr 2019, 08:03 , <codemusings gmail com> wrote:
Am Donnerstag, den 04.04.2019, 23:04 +0100 schrieb Mike Martin via gtk-
app-devel-list:
Is this possible?
I did originally plan to have certain cells have a background colour
to
emphasize that there is a value to change. However as soon as the row
is
selected this is all wiped out by the highlight from selected row
So is it possible to set the borders on a cell by cell basis, all I
can
find is overall properties for the trreview
Mike
I don't have a definitive answer for you. But just as a headsup: you
can inspect every GTK component's CSS properties interactively while
running the program. You can even live edit the properties.
Here's a guide:
https://blog.gtk.org/2017/04/05/the-gtk-inspector/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]