help on RGB to jpeg

2002-07-30 Thread simith nambiar
hi does anyone know of a library for converting RGB24 data into jpeg for Linux. can that be done using gtk only ? please help, thanx in advance, simith = // The GOOD thing about BAD things is that they END, the BAD thing about GOOD

Re: help on RGB to jpeg

2002-07-30 Thread bkna
simith nambiar wrote: hi does anyone know of a library for converting RGB24 data into jpeg for Linux. can that be done using gtk only ? please help, thanx in advance, simith = // The GOOD thing about BAD things is that they

Re: How can I change color of fonts in GTK 1.2

2002-07-30 Thread Jean-Michel OLTRA
On Monday 29 Jul 2002, Krzysztof Magrel wrote: I've problem like in subject. Please help. Use sth like that ? GdkColor blanc = {65535, 65535, 65535}; GtkWidget *label; label-style = gtk_style_copy(label-style); label-style-fg[GTK_STATE_NORMAL] = blanc; -- jean-michel

glade-1.2 -2.0

2002-07-30 Thread Egon Andersen, Talura
Hi, I've made some UI's with glade-1.2 and has now upgraded to glade-2.0, but I can't import my old projects. Are there any 'upgrade' facilities available, so that I don't have to start again from scratch? Best regards Egon Andersen ___ gtk-list

color of button..

2002-07-30 Thread vyadav
hi all,... how can i change the color of the button... reply me soon.. regards, vinita..

Re: Multithreaded server

2002-07-30 Thread Paul Davis
From: Ricardo Lebre [EMAIL PROTECTED] I'm developing a multithreaded server application using gtk+-1.2 and real time is a critical factor. I've done the same thing for audio for the last several years, where real time doesn't mean real fast, it means real time (ardour.sf.net). I can assure

Re: help on RGB to jpeg

2002-07-30 Thread Sven Neumann
Hi, simith nambiar [EMAIL PROTECTED] writes: does anyone know of a library for converting RGB24 data into jpeg for Linux. can that be done using gtk only ? this can be done using gdk-pixbuf which is part of GTK+-2.0. Salut, Sven ___ gtk-list

Re: color of button..

2002-07-30 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: how can i change the color of the button... reply me soon.. a quich search on Google would have certainly led you to this page: http://www106.pair.com/rhp/gtk-colors.html Salut, Sven ___ gtk-list

gtk_widget_set_events

2002-07-30 Thread Peter Van Osta
Hi, When the pointer drawing_area is not declared in the main-section of an application, how to reference it to use gtk_widget_set_events on it ? e.g.: gtk_widget_set_events (drawing_area, GDK_EXPOSURE_MASK | GDK_LEAVE_NOTIFY_MASK |

Re: color of button..

2002-07-30 Thread Paul Davis
hi all,... how can i change the color of the button... reply me soon.. http://pobox.com/~hp/gtk-colors.html why isn't there a link to this page from the FAQ, after all this time? --p ___ gtk-list mailing list [EMAIL PROTECTED]

Info needed regarding gdk_pixbuf_get_depth

2002-07-30 Thread Santhana Krishnan
Hi, Is there any chance the depth of a drawable widget can be '0' ? In the following piece of code i am getting the depth value as zero for some widgets (eg. buttons, label..). if (GDK_IS_DRAWABLE (widget)) { depth = gdk_pixbuf_get_depth (widget); } Any idea what could

Re: Info needed regarding gdk_pixbuf_get_depth

2002-07-30 Thread Sven Neumann
Hi, Santhana Krishnan [EMAIL PROTECTED] writes: Is there any chance the depth of a drawable widget can be '0' ? In the following piece of code i am getting the depth value as zero for some widgets (eg. buttons, label..). if (GDK_IS_DRAWABLE (widget)) { depth =

show and hide a window

2002-07-30 Thread Peter Van Osta
Hi, I wan to hide and show a window, but simply doing a gtk_widget_show after hiding the window gives the following error: Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show): assertion `GTK_IS_WIDGET (widget)' failed. I thought that simply hiding the Window/widget did not destroy

Re: show and hide a window

2002-07-30 Thread Sven Neumann
Hi, Peter Van Osta [EMAIL PROTECTED] writes: I wan to hide and show a window, but simply doing a gtk_widget_show after hiding the window gives the following error: Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show): assertion `GTK_IS_WIDGET (widget)' failed. gtk_widget_hide

Re: Solved: gtk_widget_add_events and GtkDrawingArea

2002-07-30 Thread Sven Neumann
Hi, Peter Van Osta [EMAIL PROTECTED] writes: By adding gtk_widget_add_events in the expose_event callback function I could set the additional event(s) at the moment the GtkDrawingArea pops up. I have included the sample code below. I don't expect any problems to occur when the

Question about GtkWidget pointer?

2002-07-30 Thread David Wang (Wang Xin-lu)
Hi, I wrote a function to create menu: void setupMenu(GtkWidget *window, GtkWidget *menu_bar, GtkWidget *menu_vbox, GtkWidget *root_menu, GtkWidget *menu, char *labelname, gboolean boo) { if (menu_vbox == 0) { menu_vbox = gtk_vbox_new(FALSE, 1);

RE: How can I change color of fonts in GTK 1.2

2002-07-30 Thread Krzysztof Magrel
-Original Message- From: Jean-Michel OLTRA [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 9:02 PM To: Krzysztof Magrel Subject: Re: How can I change color of fonts in GTK 1.2 On Tuesday 30 Jul 2002, Krzysztof Magrel wrote: It doesn't work for me :(( Use sth like

RE: How can I change color of fonts in GTK 1.2

2002-07-30 Thread Krzysztof Magrel
-Original Message- From: Krzysztof Magrel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 7:20 AM To: 'Jean-Michel OLTRA' Cc: '[EMAIL PROTECTED]' Subject: RE: How can I change color of fonts in GTK 1.2 -Original Message- From: Jean-Michel OLTRA