Multiple windows?

2003-02-18 Thread Zigus Software Inc
Hi! I'm using gtk+v2.0 and for some reason I cannot add a window to another window as a child. First of all, can u do this at all and if yes, does anyone know how? Let me explain further: I want to usetwo windows, one parent, one child.When the parent is clicked, I don't want the child to hide

Is there a way to change the color of the widgets?

2003-02-18 Thread Zigus Software Inc
Hi there, I'm using GTK v2.0 Is there a way to change the grey color of most of the widgets? Thanx, ZigusDo you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day

Re: Is there a way to change the color of the widgets?

2003-02-18 Thread Diego Zuccato
Zigus Software Inc wrote: I'm using GTK v2.0 Is there a way to change the grey color of most of the widgets? Look at rc files and themes. BYtE, Diego ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

pthreads with gtk/gtkmm

2003-02-18 Thread Enrico Costanza
Hi all. I am trying to use 2 separate threads for the GUI and audio part of an application. (following some suggestion coming from the list some months ago) I have tryed to create a pthread with the entire gtkmm GUI code, but I get a segmentation fault from the constructor of my

Re: pthreads with gtk/gtkmm

2003-02-18 Thread Paul Davis
I am trying to use 2 separate threads for the GUI and audio part of an application. (following some suggestion coming from the list some months ago) I have tryed to create a pthread with the entire gtkmm GUI code, but I get a segmentation fault from the constructor of my gtkWindow-inherited

glib error in solaris 9

2003-02-18 Thread Ben Taylor
I'm in the process of testing Gnome 2.2 on Solaris 8 and 9 (X86) and I've run into a problem. I've run a make check on both OS's, and i'm getting different results: Solaris 8/X86 (gcc-3.2.1, sun ld and as) - 1 test failure: (strfunc-test.c:449) failed for: 3 == g_snprintf (buf, 0, %s, abc)

Re: looks like a synchronization problem

2003-02-18 Thread Havoc Pennington
On Tue, Feb 18, 2003 at 10:39:23AM +0100, Marco Lettere wrote: I'm trying to create a full screen window. I create and show a new toplevel setting the size to screen size and disabling decorations (gdk_window_set_decoration()). But this happens to work only sometimes. For example the first

Focus in event problem

2003-02-18 Thread Andrew E. Makeev
Hello I have a problem here with focus_in event. When my app is creating combobox widget, it is setting focus_in and focus_out events to perform some function. For instance, one function filling dropdown list in separate thread, then inform GTK-thread to get this data and set it for my

Re: How can I change font in a GtkCTree widget ?

2003-02-18 Thread Diego Zuccato
Romain Liévin wrote: I would like to know how to change font in a GtkCTree widget ? Warning! Deprecated widget! I suppose I will have to use property and Pango but I was unable to find a such stuff in the doc. If you're using Gtk+-2.2, then you should use GtkTreeView. Then you have to change

a question of gtk/gdk structures

2003-02-18 Thread Ana Gutiérrez Pascual
hi, I'm new in gtk programming and I've got an error when I compile the easy program, any expert could tell me a solution? thanks in advance, Ana. the code is: //-- #include gtk/gtk.h typedef struct { gdouble lx1; gdouble lx2;

libc.so.6 error

2003-02-18 Thread Vishal Modak
hi i am trying create a static executable..using gtkmm-2.0.2, gtk-2.0.9,libsigc++-1.2..i am using Anjuta-1.0.0 as my IDE..I have set -static flag for compilers flags in the settings.. this my configure command ./configure --enable-static=yes --disable-shared make It links to all the static

GTK2 / XFree86 conflict

2003-02-18 Thread William Trenker
I seem to have got my XFree86 and GTK2 installations mixed up. When I try to link against GTK2 I get errors indicating that libXrandr.so.2 is missing. A quick look at libtdk-x11-2.0.so's dependencies confirms this: ~/packages/src# ldd /usr/lib/libgdk-x11-2.0.so libgdk_pixbuf-2.0.so.0

looks like a synchronization problem?

2003-02-18 Thread Marco Lettere
I'm trying to create a full screen window. I create and show a new toplevel setting the size to screen size and disabling decorations (gdk_window_set_decoration()). But this happens to work only sometimes. For example the first creation of the window doesn't make it to go fullscreen (border,

Re: Focus in event problem

2003-02-18 Thread Paul Davis
I have a problem here with focus_in event. When my app is creating combobox widget, it is setting focus_in and focus_out events to perform some function. For instance, one function filling dropdown list in separate thread, then inform GTK-thread to get this data and set it for my combobox. The

Re: GTK2 / XFree86 conflict

2003-02-18 Thread Michael L Torrie
Try rebuilding the source rpm on your machine. That should get it linked to the version of randr you have. Since Randr suppoprt is still kind of infant (ie few window managers support it), I compiled a version of the gtk2.2 rpm on a machine without xfree 4.2.99 and they don't have any randr

gtk testing directory

2003-02-18 Thread Carl B. Constantine
In the gtk download, there is a testing directory which contains code to test various widgets. In this directory are two files, Makefile.am and Makefile.in. I've posted this question once before and received no reply that answered the question. There is no autogen.sh in this directory or in the

Re: gtk testing directory

2003-02-18 Thread Sven Neumann
Hi, Carl B. Constantine [EMAIL PROTECTED] writes: In the gtk download, there is a testing directory which contains code to test various widgets. In this directory are two files, Makefile.am and Makefile.in. I've posted this question once before and received no reply that answered the

Re: Automated regression testing of GUIs written with gtk+

2003-02-18 Thread Richard Shann
In case anyone else wants to automate testing of their gtk-2.x application, I have got a workaround for the failure to build shared libraries: you simply steal the libtool from your build of atk-1.2, there is something screwed with the ltconfig and/or ltmain.sh or the way they interact with

Porting to gnome2 - gettext

2003-02-18 Thread TomF
I don't understand the attached instructions from the porting guide, even after doing the attached greps. I would like to use AM_GLIB_GNU_GETTEXT, but I can't figure out what I am missing. I started with gnome1 configuration files, and the last messages I am getting from autogen.sh and don't

choosing font sizes

2003-02-18 Thread Paul Davis
does anyone have any hints on how to pick a suitable font as the size of window is increased? i have a display that users want to use a larger and larger font if they increase its window size (its an audio-time clock). i can see a crude way to do this, but i thought i'd ask and see if there is an

Re: pthreads with gtk/gtkmm

2003-02-18 Thread Paul Davis
there is absolutely no problem mixing pthreads, C++, GTK+ and gtkmm. you need to understand multithreaded programming, which is not trivial, and it is best if you stick to the model that only one thread ever calls gtkmm/GTK+/GDK/Xlib functions. the latest gtkmm has a nice class (called Dispatcher,

Re: (no subject)

2003-02-18 Thread Diego Zuccato
malo p wrote: Hi i just would like to know if there is a fuction to stop a callback return is enough :-) Or return TRUE (or FALSE, it depends - see the docs). if i have understand when we cliked on a button the callback is on and for the next boucle of the main it 'll work Nope. When you