Re: GtkNotebook problem

2005-07-05 Thread Christopher Anderson
At first, I would suspect that the use of deprecated widgets could cause this problem. As it turns out, GtkClist is indeed deprecated (use GtkTreeView instead). However, GtkEntry is not deprecated, so I am surprised that it too doesn't work properly. I would go through the GTK 2.x documentation and

Re: g_object_set and threads

2005-07-05 Thread Paul Pogonyshev
abel schie wrote: > I've made a gtktreeviewcolumn with a custom GtkTreeCellDataFunc, > called cell_func(). This custom function uses the underlying > GtkListStore to render the cells: it uses gtk_tree_model_get() to > fetch some values, and then g_object_set(renderer,...) to update the > cell rende

Re: g_object_set and threads

2005-07-05 Thread Tristan Van Berkom
abel schie wrote: [...] My question is: how can I force g_object_set() to instantly redraw the cell renderer? My first thought was: use gdk_threads_enter() and gdk_threads_leave() also within cell_func(). But when I do that, I get a lock while constructing the treeview, therefore the app hangs. P

g_object_set and threads

2005-07-05 Thread abel schie
Hi, I've made a gtktreeviewcolumn with a custom GtkTreeCellDataFunc, called cell_func(). This custom function uses the underlying GtkListStore to render the cells: it uses gtk_tree_model_get() to fetch some values, and then g_object_set(renderer,...) to update the cell renderer. Now, there are s

RE: TreeView and search

2005-07-05 Thread Freddie Unpenstein
> The ability to search through a TreeView is interesting but it may > not be obvious to the final user that he has to hit Ctrl+F and I'd > rather prefer the typeahead window to be always visible. Thus, I > would like to know if it was possible to call explicitly the search > function ? This way,

Using different MainContexts for GTK widgets

2005-07-05 Thread Nikolaj KiƦr Thygesen
Hi, I am currently in the process of writing (actually porting) my first GTK program, which is heavily multithreaded. Basically I wanted to create a unique MainLoop + MainContext combo for each thread. This, I hoped, would dispatch Sources and GTK-widget-signals pertaining to a particular

HELP: Cannot draw glyph, using gdk_draw_layout()

2005-07-05 Thread dozen
Hi, all I use gdk_pango_context_get() to get a PangoContext, and pango_layout_new() to get a layout and pango_layout_set_text() to set text to render. Then, I set the background color of the pango layout to be red, set the foreground color to be green, and set underline. After

a question about gdk_event_put

2005-07-05 Thread zhanglei
hi,i have a question about gdk_event_put. i don't know when to free the memory gdk_event_new allocated. if i use local variable for the event structure,warning message will be printed as follow, (test2:3871): Gdk-CRITICAL **: file gdkkeys-x11.c: line 1171 (gdk_keymap_translate_keyboard_state): ass

Re: Child windows with Gtk+-2.6.4

2005-07-05 Thread Gus Koppel
[EMAIL PROTECTED] wrote: > i'm new in gtk and i have to develop an application with a lot of > windows. I remember that with delphi, it is possible to open a window > in the mother window. Is it possible with gtk+ ? See: http://mail.gnome.org/archives/gtk-app-devel-list/2003-August/msg00396.html

Re-2: Child windows with Gtk+-2.6.4

2005-07-05 Thread lmarcilly
It seems to be what i need but i can't download it... When i clic in order to download the lib, i'm redirected on the following site : http://www.firenze.net/turismo/index.wbshttp://www.firenze.net/turismo/index.wbs :( Original Message Subject: Re: Child windows with Gtk+-2.6.