qdata callback not called

2003-06-25 Thread Murray . Cumming
I believe that the callback given to g_object_set_qdata_full() should be called when the GObject is destroyed, but it doesn't seem to work in this simple test case: http://bugzilla.gnome.org/showattachment.cgi?attach_id=17788 Have I made a simple mistake in that test code, or am I misunderstanding

Re: Fuzzy fonts under 2.2.2?

2003-06-25 Thread Soeren Sandmann
Olaf Frączyk <[EMAIL PROTECTED]> writes: > On Tue, 2003-06-24 at 23:31, Soeren Sandmann wrote: > > Ie. antialias, but only when the size is below 8 or above 14. This is > > an approximation on what windows does. Windows uses extra information > > in the fonts about when to antialias that is unfort

Re: Display streaming JPGs

2003-06-25 Thread Diego Zuccato
Matthias Clasen wrote: > > Encoding to/from text is not the issue. The issue is making gdk-pixbuf > > load'em whithout having to write a file. Is it possible? > > Yes. See > http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/GdkPixbufLoader.html Tks a lot. It seems it's exactly what I was looking

(gtk-list) compiling problem

2003-06-25 Thread Jane Young
Hello everybody,   I just installed gtk+2.2.2, and libraries including glib2.0, pango1.0 and atk1.0.   I just added #include in my .c file and made some changes to makefile, (please find my makefile as attached) The problem comes out when I was trying to compile the program. It gives errors

Re: GTK+-2.2.2 gc behavior

2003-06-25 Thread Owen Taylor
On Tue, 2003-06-24 at 22:50, George M. Gallant wrote: > Owen, > > I use the gdk_set_line_attributes() to set the line thickness and > end style. Yes, exactly. You can't do that to style->black_gc. It's not your GC to modify. Owen > Owen Taylor wrote:

Re: Display streaming JPGs

2003-06-25 Thread Matthias Clasen
> I'd need to display some (256x256) JPG files retrieved from a database > (text-encoded). > Encoding to/from text is not the issue. The issue is making gdk-pixbuf > load'em whithout having to write a file. Is it possible? Yes. See http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/GdkPixbufLoader

list widget for GTK+

2003-06-25 Thread Shiraz Baig
I think you are looking for GtkFileSelection widget. Here is the sample code to select a file. ... call back function . void file_ok_sel( GtkWidget*w, GtkFileSelection *fs ) { g_print ("%s\n", gtk_file_selection_get_filename (GTK_FILE_SELECTION (fs)));

Re: Fuzzy fonts under 2.2.2?

2003-06-25 Thread Olaf Frączyk
On Tue, 2003-06-24 at 23:31, Soeren Sandmann wrote: > Ie. antialias, but only when the size is below 8 or above 14. This is > an approximation on what windows does. Windows uses extra information > in the fonts about when to antialias that is unfortunately not > available though FreeType. Could you

Display streaming JPGs

2003-06-25 Thread Diego Zuccato
Hello. I'd need to display some (256x256) JPG files retrieved from a database (text-encoded). Encoding to/from text is not the issue. The issue is making gdk-pixbuf load'em whithout having to write a file. Is it possible? Tks, Diego. ___ gtk-list maili

Re: GTK+ and gcc 2.95.3

2003-06-25 Thread Geoff
On Wed, 25 Jun 2003 10:49:56 +0200 [EMAIL PROTECTED] wrote: > > From: Luiz Rafael Culik Guimaes > > [mailto:[EMAIL PROTECTED] How to compile gtk with gcc > > 2.95.3 > > Just like with any other compiler. Do you have a specific > problem with that version of gcc? I am not very expert, but I compi

RE: GTK+ and gcc 2.95.3

2003-06-25 Thread Murray . Cumming
> From: Luiz Rafael Culik Guimaes [mailto:[EMAIL PROTECTED] > How to compile gtk with gcc 2.95.3 Just like with any other compiler. Do you have a specific problem with that version of gcc? Murray Cumming [EMAIL PROTECTED] www.murrayc.com Remember to use the "Reply To All" feature with mailing li

RE: GTK+ and Java

2003-06-25 Thread Murray . Cumming
> From: Fahad Khalid [mailto:[EMAIL PROTECTED] > Hi All, > > Please let me know if there is any support for Java > in GTK+. Kindly also tell of any method available to get > those libraries used from java. There is a Java binding listed here: http://www.gtk.org/bindings.html Murray C

RE: list-widget for gtk+

2003-06-25 Thread Murray . Cumming
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Hi! > I'm searching for a list-widget for gtk+ (c++), You probably want gtkmm for C++. > like windows > uses it to list > up files in a file manager in detail mode. Can anyone help me?? You probably want Gtk::TreeView: http://www.gtkmm.org/