GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Fri Jul 25, 2014 12:37 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Problem with gtk_text_view_set_overwrite
PostPosted: Mon Nov 21, 2011 11:31 am 
Offline

Joined: Mon Nov 21, 2011 11:23 am
Posts: 1
Hi,
I'm new to GTK and I have a problem with gtk_text_view_set_overwrite because when I call:
Code:
gtk_text_view_set_overwrite(txview1, 1)


I have the following answer:
(Prova3:12005): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion `layout != NULL' failed
(Prova3:12005): Gtk-CRITICAL **: IA__gtk_text_layout_get_cursor_locations: assertion `layout != NULL' failed
(Prova3:12005): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion `GDK_IS_WINDOW (window)' failed
(Prova3:12005): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion `GDK_IS_WINDOW (window)' failed
(Prova3:12005): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion `layout != NULL' failed
(Prova3:12005): Gtk-CRITICAL **: IA__gtk_text_layout_get_cursor_locations: assertion `layout != NULL' failed
(Prova3:12005): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion `GDK_IS_WINDOW (window)' failed
(Prova3:12005): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion `GDK_IS_WINDOW (window)' failed

After that the textview is in overwrite mode, so the command is received, but I'd like to know why this errors are displayed, and also command like:
Code:
aaaa=gtk_text_view_get_overwrite(txview1)

works without any error.
I'm using Freebasic with Glade.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group