(no subject)



gnome-devel-list-request@gnome.org wrote:

> Send gnome-devel-list mailing list submissions to
>         gnome-devel-list@gnome.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mail.gnome.org/mailman/listinfo/gnome-devel-list
> or, via email, send a message with subject or body 'help' to
>         gnome-devel-list-request@gnome.org
>
> You can reach the person managing the list at
>         gnome-devel-list-admin@gnome.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gnome-devel-list digest..."
>
> Today's Topics:
>
>   1. Re: Online book as tarball (Paul Warren)
>   2. Maybe offtopic : gdk_imlib && gtk (cYbErDaRk)
>   3. GCache question (Volodymyr Babin)
>   4. GdkPixbuf/GnomeCanvasPixbuf (Thomas Kulessa)
>
> --__--__--
>
> Message: 1
> Date: Mon, 17 Jul 2000 14:12:12 +0100
> From: Paul Warren <pdw@ex-parrot.com>
> To: Havoc Pennington <hp@redhat.com>
> Cc: gnome-devel-list@gnome.org
> Subject: Re: Online book as tarball
>
> On Sat, Jul 15, 2000 at 11:54:16PM -0400, Havoc Pennington wrote:
>
> [ wgetting GGAD ]
>
> > If someone wants to tar the results of the wget, that might be
> > helpful, we can add it to the web page.
>
> I have put this at http://www.ex-parrot.com/~pdw/GGAD.tar.gz (600k)
>
> Perhaps somebody could put this on the developer.gnome.org webpage?
>
> Can anyone explain to me why wget -r -H kept missing pages?  I had to
> use wget -r -l0 -H to get them all, even though the pages it was missing
> were only 2 clicks from the front page [replies off-list please].
>
> cheers,
>
> Paul
>
> --__--__--
>
> Message: 2
> From: cYbErDaRk <jankor@teleline.es>
> To: gnome-devel-list@gnome.org
> Reply-To: cYbErDaRk <jankor@teleline.es>
> Subject: Maybe offtopic : gdk_imlib && gtk
> Date: 17 Jul 2000 14:50:55 CEST
>
> Hi there
>
> I don't know if this message is offtopic. Probably is.
>
> Though I'm gonna pass the programm I'm making to Gnome, I was interested to know how to get an image (whatever kind of) and put it in a GtkWidget.
>
> Now I'll use GnomeCanvas, but I've been 6 or 7 hours trying to do the same with gtk and I couldn't. Is there any human readable example code?
>
> Thanks for your time
>
> David Fernández
>
> root@cyberdark.net
>
> Madrid (Europe)
>
> --__--__--
>
> Message: 3
> Date: Mon, 17 Jul 2000 14:36:45 +0200 (CEST)
> From: Volodymyr Babin <vb@krab.ichf.edu.pl>
> To: gnome-devel-list@gnome.org
> Subject: GCache question
>
>         Hello all,
>
> Can somebody point me to any GCache example ?
>
> Thanx.
>
> --__--__--
>
> Message: 4
> Date: Mon, 17 Jul 2000 09:45:09 -0700
> From: Thomas Kulessa <thomas.kulessa@gmd.de>
> Organization: GMD/IMK/MARS
> To: Gnome Developer List <gnome-devel-list@gnome.org>
> Subject: GdkPixbuf/GnomeCanvasPixbuf
>
> Dear gnome developers,
>
> I'm working on an application for real-time processing of video images.
> For displaying the images continiously in a window on the screen, the
> combination of GnomeCanvasPixbuf and GdkPixbuf is probably the right
> thing (is it really?).
> Basically my program is doing right, but the canvas gets only gets
> refreshed, when I resize the window and not when a new image frame is
> copied to the GdkPixbuf.
> Here are the relevant lines of code:
>
> /* Object constructor*/
> GnomeOutputWindow::GnomeOutputWindow()
> {
>   width  = 384;
>   height = 288;
>   bits_per_sample = 8;
>
>   window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
>   gtk_window_set_title(GTK_WINDOW(window), "Camera image");
>   gtk_container_add(GTK_CONTAINER(window), gtkimg);
>   canvas = gnome_canvas_new();
>   pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, false,
>                           bits_per_sample, width, height);
>   item = gnome_canvas_item_new(gnome_canvas_root(GNOME_CANVAS(canvas)),
>                                gnome_canvas_pixbuf_get_type(),
>                                "pixbuf",
>                                pixbuf,
>                                NULL);
>   gtk_container_add(GTK_CONTAINER(window), canvas);
>   gtk_widget_show_all(GTK_WIDGET(window));
> }
>
> /* This is the update method, called once for every frame
> received from video grabber*/
>
> void GnomeOutputWindow::updateDisplay()
> {
>   const unsigned int bytes_per_sample = (unsigned
> int)floor(bits_per_sample/8);
>
>   guchar* pixels = gdk_pixbuf_get_pixels(pixbuf);
>
>   /*...*/
>
>   memcpy(pixels, img.data, width*height*bytes_per_sample*3);
>
>   /*...*/
>   /* At this point I tried:
>   gtk_canvas_item_set(item, "pixbuf", pixbuf, NULL);
>   ... but it didn't do what expected and alternativly:
>   gnome_canvas_update_now(canvas);
>   which did neither what I expected.*/
> }
>
> What am I doing wrong?
>
> Thanx for help,
>
> Thomas
> --
> Thomas Kulessa                          GMD/IMK/MARS
>                                         Schloss Birlinghoven
> Phone : +49-2241-14-2166                53754 Sankt Augustin
> eMail : thomas.kulessa@gmd.de           Germany
>
> --__--__--
>
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list
>
> End of gnome-devel-list Digest_______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]