GtkTreeView save/resotre expanded state

2007-09-01 Thread Andrey Dubravin
Hello All GtkTreeView expanded state for all rows saved to file. Next time when appilcation start expanded state restored using gtk_tree_view_expand_row function. But there a problem: this function works only for first row, other rows not expanded. When I add some time wait function (i use

GThread ERROR

2007-07-07 Thread Andrey Dubravin
Hello! What this error mean (under Ubuntu feisty): GThread-ERROR **: file gthread-posix.c: line 140 (): error 'Function not implemented' during 'pthread_getschedparam (pthread_self(), policy, sched)' Thanks! -- Dubravin Andrey ___ gtk-app-devel-list

Re: Draw event

2007-07-03 Thread Andrey Dubravin
I find that draw event goes from gtk_tree_view_scroll_to_cell function. (On main window were are GtkTreeView widget). When I comment this function - all works fine. Maybe this function add draw event with higher priority? Sorry for my bad English. -- Dubravin Andrey

Re: Draw event

2007-07-02 Thread Andrey Dubravin
В Sun, 1 Jul 2007 11:37:53 +0400 Andrey Dubravin [EMAIL PROTECTED] пишет: How can I get list of events with its paramters from current main context? -- Dubravin Andrey ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Draw event

2007-07-01 Thread Andrey Dubravin
Hello all! I write my own container that contains GtkButtons widgets. I implements add, remove, size_request and size_allocate functions. When some buttons are removed and some over added at same time (in one function) I can see blink. Draw event emits two times: before and after size_request

gtk_grab_add problem

2006-07-14 Thread Andrey Dubravin
Hello all! In the same window I pack GtkTreeView and GtkFrame. GtkFrame contains buttons and text entry. When gtk_grab_add function was called with GtkFrame as it's parameter there is no happen! There is need that interaction with other widgets in the same application is blocked and all events

Re: I did not know this leak memory or not (gtk_object_set_data)

2006-07-09 Thread Andrey Dubravin
On Sat, 8 Jul 2006 21:16:14 +0800 chao yeaj [EMAIL PROTECTED] wrote: Hello everyone I use function``gtk_object_set_data'' to set data to object my code like this: /***/ guint *p = NULL; p =

Re: Why ? When segmentation fault,there has no core file

2006-07-07 Thread Andrey Dubravin
On Fri, 7 Jul 2006 13:01:06 +0100 John Cupitt [EMAIL PROTECTED] wrote: On 7/7/06, chao yeaj [EMAIL PROTECTED] wrote: The problem is : when segmentation fault ,there has no core file if the has a core file ,i can debug it, but there has nocore file You probably have coredumps

GtkTreeView and GtkAnjustment problem!

2006-05-13 Thread Andrey Dubravin
Hello all! I write value-changed signal handler for GtkAdjustment object. GtkAdjustment object set to GtkScrolledWindow container with GtkTreeView in it. when in main loop executes next code: gtk_tree_selection_select_path (selection, tree_path); I get next errors in console: Gtk-CRITICAL **: