[Gambas-user] Gtk-CRITICAL

Juan jsoto61 at ...626...
Wed Nov 28 23:18:34 CET 2012


Bill-Lancaster <bill-lancaster <at> lineone.net> writes:

> 
> 
> Benoît,
> 
> Have just got round to making a small example but I can't reproduce the
> error.
> 
> I'll add to this thread if it happens again!
> 
> Regards
> 
> Bill



this is the code that happens the problem

Public Sub Form_Open()
  
  GridView1.Columns.Count = 7
  GridView1.Rows.Count = 1

  GridView1.Columns[0].Width = 50
  GridView1.Columns[1].Width = 70
  GridView1.Columns[2].Width = 70
  GridView1.Columns[3].Width = 100
  GridView1.Columns[4].Width = 150
  GridView1.Columns[5].Width = 150
  GridView1.Columns[6].Width = 150
   
  GridView1.Columns[0].Title = ("field1")
  GridView1.Columns[1].Title = ("field2")
  GridView1.Columns[2].Title = ("field3")
  GridView1.Columns[3].Title = ("field4")
  GridView1.Columns[4].Title = ("field5")
  GridView1.Columns[5].Title = ("field6")
  GridView1.Columns[6].Title = ("field7")

End

the console display:

** (xxx:5714): CRITICAL **: os_bar_hide: assertion `OS_IS_BAR (bar)' failed
   (xxx:5714): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET
(widget)' failed
** (xxx:5714): CRITICAL **: os_bar_set_parent: assertion `OS_IS_BAR (bar)' failed
** (xxx:5714): CRITICAL **: os_bar_hide: assertion `OS_IS_BAR (bar)' failed
   (xxx:5714): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET
(widget)' failed
** (xxx:5714): CRITICAL **: os_bar_set_parent: assertion `OS_IS_BAR (bar)' failed






More information about the User mailing list