Treeview gridlines

Hi,

i just noticed the existence of method (not in the docs yet), and tried
to set
Gtk::TreeView.set_enable_grid_lines(Gtk::TreeView::GridLines::VERTICAL)

but it results in:
Gdk-CRITICAL **:gdk_draw_line: assertion `gc != NULL’ failed

looks like a Gdk::GC should be initialized?

docs would be fine, i would know, if i’m doing something wrong :smiley:

thanks

Hi,

In [email protected]
“[ruby-gnome2-devel-en] Treeview gridlines” on Sat, 25 Nov 2006
12:04:09 +0200,
Dobai-Pataky Bálint [email protected] wrote:

i just noticed the existence of method (not in the docs yet), and tried
to set
Gtk::TreeView.set_enable_grid_lines(Gtk::TreeView::GridLines::VERTICAL)

but it results in:
Gdk-CRITICAL **:gdk_draw_line: assertion `gc != NULL’ failed

looks like a Gdk::GC should be initialized?

Could you use set_enable_grid_lines after the widget is
realized?

It seems that this is a problem of GTK+.

Thanks,

kou


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Hi,

In [email protected]
“Re: [ruby-gnome2-devel-en] Treeview gridlines” on Sat, 25 Nov 2006
13:03:16 +0200,
Dobai-Pataky_Bálint [email protected] wrote:

realized?

it’s the same, i even called TreeView.realize before.
i attach the my test script - this script already appeared in this list
selection handling related.

I found the bug as #357578:
http://bugzilla.gnome.org/show_bug.cgi?id=357578

This is not backported to 2.10.6.

Thanks,

kou


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV