Re: Update a GtkTreeView

2003-01-27 Thread Murray Cumming
On Sun, 2003-01-26 at 13:24, Emmanuel Di Pretoro wrote: > > My list is sorted by name of authors, so, must I clear my > > GtkListStore, and recreate it ? > > OK, hereby the found solution : > > When I've updated my database, I call 'gtk_tree_view_set_model' with as > args my GtkTreeView and a fu

Re: Update a GtkTreeView

2003-01-27 Thread Emmanuel Di Pretoro
> > Tree models are reference counted. > I don't understand. What's reference counted ? I'm not native english, so reference counted is surely something that I know, but what ;-)) Regards, Manu ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.

Re: GtkGlArea - Newbie Question

2003-01-27 Thread Paul Davis
>I must say that it's a disservice to the gtk community that there is not >a search tool on the www.gtk.org web site. No, I'm not volunteering to >do it, but I just think it would make finding relevant documentation >that much easier. can anyone really do any better than google? it has the benefi

Gdk-CRITICAL

2003-01-27 Thread Sébastien Tricaud
Hi, I have that problem running my app, the application runs normaly... but in the background, I have a loop of theses functions, any idea ? (app:2025): Gdk-CRITICAL **: file gdkdraw.c: line 495 (gdk_draw_drawable): assertion `src != NULL' failed (app:2025): Gdk-CRITICAL **: file gdkdraw.c: line

GtkTreeView

2003-01-27 Thread Mohamed Elassadi
  Here we go , Hope this time to get some kind of feedback ,this is my 3’d posting in this list  !!     I am trying to write a new cellrenderer that shows a combo widget after the start_editing call     Well everything's goes fine and the entry is shown after the cell i

Re: Update a GtkTreeView

2003-01-27 Thread Emmanuel Di Pretoro
> > > > I don't understand. What's reference counted ? I'm not native > > english, so reference counted is surely something that I know, but > > what ;-)) > > This url might help explain: > http://wombat.doc.ic.ac.uk/foldoc/foldoc.cgi?reference+counting > OK, garbage collector, I know t

Re: Update a GtkTreeView

2003-01-27 Thread Sven Neumann
Hi, Emmanuel Di Pretoro <[EMAIL PROTECTED]> writes: > OK, garbage collector, I know that ;-)) garbage collector is not the correct term here. GObject doesn't do garbage collection as you usually refer to it. While reference counting is often used with garbage collection it's not at all the same

Re: Update a GtkTreeView

2003-01-27 Thread Emmanuel Di Pretoro
Salut, > garbage collector is not the correct term here. GObject doesn't do > garbage collection as you usually refer to it. While reference > counting is often used with garbage collection it's not at all the > same thing. Please don't confuse it. > I don't confuse it. But these techniques have

Re: Gdk-CRITICAL

2003-01-27 Thread Sébastien Tricaud
Le lun 27/01/2003 à 14:41, Sébastien Tricaud a écrit : > Hi, I have that problem running my app, the application runs normaly... > but in the background, I have a loop of theses functions, any idea ? > > (app:2025): Gdk-CRITICAL **: file gdkdraw.c: line 495 > (gdk_draw_drawable): assertion `src !=

Rendering GdkRGB to a 1-bpp pixmap (display)

2003-01-27 Thread Michael Torrie
I'm writing a simple app that works on a 1-bpp X display. I know gtk isn't really designed to look good on 1-bpp, but it works well enough for what I need. The problem is that if I render either a GdkRGB image or GdkPixbuf image to a window (drawable), the image gets dithered properly, but it's

A simple example for occurring Xlib: unexpected async reply error.

2003-01-27 Thread Edy
Hi all, I now understand the FAQ, http://www.gtk.org/faq/#AEN462. There were FAQs which do not understand well about GTK+ and pthread working like me. With the example given on FAQ, however, I could not have "Xlib: unexpected async reply" error message even I remove G_LOCK(), G_UNLOCK(), gdk_thre

Re: Update a GtkTreeView

2003-01-27 Thread Gustavo J. A. M.
On Mon, 2003-01-27 at 13:15, Emmanuel Di Pretoro wrote: > > > > Tree models are reference counted. > > > > I don't understand. What's reference counted ? I'm not native english, > so reference counted is surely something that I know, but what ;-)) This url might help explain: http://w