Re: GObject finalizers

2003-09-26 Thread Cedric Marcone
Thanks Sven, That's exactly what I did. But I was not sure if it was considered the right way of doing it. Some more questions : 1- Why isn't the instance initializer method not handled the same way ? 2- Is there a consensus about the type returned by the constructor (target type

Re: GObject finalizers

2003-09-26 Thread Cedric Marcone
Hi Mathieu, I'm CC'ing gtk-list, because your document might really be helpful to the crowd of newbies like me out there :) Thank you VERY MUCH, I just had a quick look to your doc and I think it will answer most of my questions (Will read it fully tonight). Good job, -- Cdric On Fri,

Setting fixed-width font

2003-09-26 Thread Egon Andersen, Talura
Hi, I have a widget (actually a GtkLabel, but it may be changed later) for which I want use fixed-width font. Is there a simple way to achieve this? (I've looked in the FAQ and mail-archive. But it only described a solution using a resource file, which I don't want to use in this case.) Best

GTK Configure Can't link to libjpeg now

2003-09-26 Thread JS
Hi All, With the help of my friend, I was finally able to get configure for GTK to link with libtiff. He actually told me of a new beta version of libtiff (v3.6.0) that compiled correctly. However, GTK needs libjpeg, but even after compiling libjpeg, configure still can't find it. Here are the

Re: os x and glib

2003-09-26 Thread JS
Hi Jeff, Hmm, you seem to be having the same issues that I have with GTK but with glib. However, I was able to get glib to find libiconv. This is the version of libiconv I installed: http://www.gnu.org/software/libiconv/#downloading . I would try downloading that version and compile and

GTK+-2 + OS2

2003-09-26 Thread andre-junior
Hi all, I´d like to known if that is some gtk+-2 port to OS2, or some progress to do so. I have a program in gtk+-2 and need to run it on OS2. I found a gtk-1.2 binary, but is not usable. Best Regards Andre Moreira __

glib probs...

2003-09-26 Thread Jamie McLaughlin
Oh, pity a poor struggling TD that is trying his best to learn more and more... I use Maya at work, and Shake, and all's peachy in RH7.1. It uses GLIB2.0 (iirc...), or whichever release it used. Now, at work, Softimage|3D, Maya, XSI, Houdini, and Shake ALL are perfectly fine on 7.1, but when

Setting fixed-width font

2003-09-26 Thread Egon Andersen
Hi, I have a widget (actually a GtkLabel, but it may be changed later) for which I want use fixed-width font. Is there a simple way to achieve this? (I've looked in the FAQ and mail-archive. But it only described a solution using a resource file, which I don't want to use in this case.) Best

Re: glib probs...

2003-09-26 Thread Sven Neumann
Hi, Jamie McLaughlin [EMAIL PROTECTED] writes: Oh, pity a poor struggling TD that is trying his best to learn more and more... I use Maya at work, and Shake, and all's peachy in RH7.1. It uses GLIB2.0 (iirc...), or whichever release it used. Now, at work, Softimage|3D, Maya, XSI,

Re: GTK Configure Can't link to libjpeg now

2003-09-26 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: configure:23772: checking for jpeg_destroy_decompress in -ljpeg configure:23803: gcc -o conftest -g -O2 -Wall conftest.c -ljpeg -lintl 5 ld: can't locate file for: -ljpeg Is there a file called libjpeg.so on your system? Sven

Re: Setting fixed-width font

2003-09-26 Thread Peter Krueger
Hi Egon, I have a widget (actually a GtkLabel, but it may be changed later) for which I want use fixed-width font. Is there a simple way to achieve this? yes it is. You can modify the font of any widget like this: PangoFontDescription *font_desc = pango_font_description_from_string(

Re: Setting fixed-width font

2003-09-26 Thread Sven Neumann
Hi, Peter Krueger [EMAIL PROTECTED] writes: This will completely override the old font attributes. If you only want to change the font from Helvetica or whatever it is to Fixed and keep the other attributes (style and font size) but you don't already know them, this is a bit more

Re: GTK Configure Can't link to libjpeg now

2003-09-26 Thread JS
Hi Sven, No, there is no file called libjpeg.so on my system. However, I am thinking maybe this version of libjpeg (v6) could be the issue since the beta version of libtiff compiled great. Do you know of a site where I could get a newer version of libjpeg (I have already did a quick google

GtkScrolledWindow problem

2003-09-26 Thread Matteo Frigerio
Hello, i have a problem with the GtkScrolledWindow. I have a strange situation: i have two scrolled window packet in a GtkVBox. I have disabilated the scrolled window scrollbar (GTK_POLICY_NEVER) and i draw my self a hscrollbar and put in the GtkVBox. I need this because when the user scroll i

Re: Setting fixed-width font

2003-09-26 Thread Havoc Pennington
On Fri, 2003-09-26 at 07:05, Egon Andersen, Talura wrote: I have a widget (actually a GtkLabel, but it may be changed later) for which I want use fixed-width font. Is there a simple way to achieve this? Use gtk_widget_modify_font() to set the font to monospace Havoc

Window size

2003-09-26 Thread Don Dudley
When I create a window with just a couple of items in it (menu bar, some labels, check boxes, etc), it packs down to a little tiny window during runtime, big enough only to show the items visible. I add and remove window objects depending on user selection, etc., and I'd like to keep the same

GTK now asking for Pangox?

2003-09-26 Thread JS
Hi Sven and All, With the help of my friend, I have gotten libjpeg and libpng compiled and installed correctly. Even GTK recognizes them. However, it now seems to be missing something else. Here is part of the log for the GTK compile: checking for sys/wait.h that is POSIX.1 compatible... yes

Re: GTK now asking for Pangox?

2003-09-26 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: configure: error: pangox Pango backend is required for x11 target Now, I already installed Pango and have tried to compile GTK in X11 but it still wants pangox. What is that and how do fix this problem? You compiled Pango but what Pango backends did you

Re: GTK now asking for Pangox?

2003-09-26 Thread JS
Hi Sven, Hmm, it seems like pangox was never installed when I compiled Pango. Here is the list that comes up for pkg-config: bash-2.05a$ pkg-config --list-all fontconfig Fontconfig - Font configuration and customization library freetype2 FreeType 2 - A free, high-quality, and portable font

Re: GTK now asking for Pangox?

2003-09-26 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: At least Pango Ft2 is installed, but how do I get Pangox to install? Actually you should seek to get PangoXft installed. PangoX is the old way of handling fonts on the X server side, you better forget about it. Pango will compile the PangoXft backend if it

Re: GTK now asking for Pangox?

2003-09-26 Thread JS
Hi Sven, Hmm, it seems that Xft2 is not installed on my system by executing your string. Should I go ahead and download xft2 from http://pdx.freedesktop.org/~fontconfig/ and install xft2 and recompile Pango? Thanks again, J Silverman --- Sven Neumann [EMAIL PROTECTED] wrote: Hi, JS [EMAIL

Re: GTK now asking for Pangox?

2003-09-26 Thread JS
Hi Sven, Well, I downloaded Xft and it now is causing problems. It doesn't want to compile. Here is the log: cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make: *** [xftcolor.o] Error 1 And here is what I can find from config.log for Xft: configure:939: gcc

Re: os x and glib

2003-09-26 Thread Jeffrey Auerbach
I got past the configure portion by setting the environment var: LDFLAGS=-L/sw/lib which is the location of gnu libiconv. The compile still fails with iconv errors: /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\GLib\ -DG_DISABLE_CAST_CHECKS

facing Problem with gdk event key

2003-09-26 Thread Sagar Shah
Hi all,i need a help regarding GdkEventKey, i would like to divide my problem into 2 sub parts.1)in my gtkmm application i want to assign some shortcut keys, to some process., somy method which handles the key press event :bool window1::on_window1_key_press_event(GdkEventKey *ev)i want to