Kouhei Sutou wrote:
Hi,

In <45681519.1020902@gmail.com>
  "[ruby-gnome2-devel-en] Treeview gridlines" on Sat, 25 Nov 2006 12:04:09 +0200,
  Dobai-Pataky Bálint <dpblnt@gmail.com> 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'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.

thanks
# 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
_______________________________________________
ruby-gnome2-devel-en mailing list
ruby-gnome2-devel-en@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en