RE: help me catch up on GTK gui tools

2006-08-08 Thread Brett Stottlemyer
Calum, Thanks for the links, you've given me a lot of new stuff to look at. I had no idea all of that was available; I was disappointed with the selection at sunfreeware, which is often out of date. I'm surprised to hear that some of the software compiles better with sunstudio. I thought many

Re: Which widget should I use?

2006-08-08 Thread Guy Rouillier
Fernando Apesteguía wrote: > Hi list! > > I need to represent some data in my application. The data is actually a > trace of functions. The size of the list is not fixed, but it has a limit of > 200 elements. When the 200 limit is reached, I clear the older element and > then add the new one. > I

Pango-1.14.0 released

2006-08-08 Thread Behdad Esfahbod
Pango-1.14.0 is now available for download at: http://download.gnome.org/sources/pango/1.14/ 39144843f377ec6b60dbbf1a25d2a49a pango-1.14.0.tar.bz2 65ecb3d29cebcaf97de14e55831ebb7c pango-1.14.0.tar.gz This is a stable release providing new functionality as compared to Pango-1.12, while mainta

Re: help me catch up on GTK gui tools

2006-08-08 Thread Calum Benson
On 6 Aug 2006, at 18:18, Peter Firefly Lund wrote: > > (btw. why on Earth do you have to use Solaris at all? Is it Company > Policy that Cannot be Changed? ZFS and dtrace are cool but isn't that > about it?) Umm... no. But this is hardly the place for a "My Kernel's Better Than Your Kernel" d

Re: Which widget should I use?

2006-08-08 Thread Daniel Espinosa
For any type of list elements, even trees, you must use GtkTreeView, and create a model with the data you want; inside of each element you can put any thing you want using GtkCellRenderer, like buttons, images, text, etc. 2006/8/8, Fernando Apesteguía <[EMAIL PROTECTED]>: > > Hi list! > > I need t

Pango Cairo font resolution: shouldn't be specified for both horizontal and vertical?

2006-08-08 Thread Ivan Baldo
Hello. I am drawing text on a Cairo context with the help of Pang Cairo. If I use a font with 72 points then an M should be aproximately one inch tall (I guess, maybe I am wrong), for this, I get the resolution of my monitor and I tell that to Pango, so I got my expected result. L

Which widget should I use?

2006-08-08 Thread Fernando Apesteguía
Hi list! I need to represent some data in my application. The data is actually a trace of functions. The size of the list is not fixed, but it has a limit of 200 elements. When the 200 limit is reached, I clear the older element and then add the new one. I have the list in a file (from procfs) and

Re: About Dialog crash...

2006-08-08 Thread tomas
On Tue, Aug 08, 2006 at 05:59:30PM +0200, Enrico wrote: > Hi at all! > > I have a little problem with GtkAboutDialog and this code: > > ___ > void > on_about1_activate (GtkMenuItem *menuitem , gpointer user_data) > { > GtkWidget *about; > > about = glade_xml_get_wid

Re: where to find a specific part of the gnome code?

2006-08-08 Thread rupert
On 8/8/06, Tristan Van Berkom <[EMAIL PROTECTED]> wrote: > > rupert wrote: > > i think its the gnome-volume-manager, i did a grep in /usr on the > message > > text and found only one file(gnome-volume-manager.mo) that contains the > > term > > (Passwort-Phrase). Right now i killed the whole gnome-v

About Dialog crash...

2006-08-08 Thread Enrico
Hi at all! I have a little problem with GtkAboutDialog and this code: ___ void on_about1_activate (GtkMenuItem *menuitem , gpointer user_data) { GtkWidget *about; about = glade_xml_get_widget (xml, "aboutdialog"); gtk_widget_show (about); } ___

Re: How to copy data between widgets?

2006-08-08 Thread Román Gorojovsky
On 8/8/06, Michael L Torrie <[EMAIL PROTECTED]> wrote: > On Tue, 2006-08-08 at 11:48 -0300, Román Gorojovsky wrote: > > As I said before, It's a problem with my C, not my gtk. A quite > > embarrassing mistake, sorry for wasting your time. > > Another way to do it is to assign each widget a string

Re: where to find a specific part of the gnome code?

2006-08-08 Thread Tristan Van Berkom
rupert wrote: > i think its the gnome-volume-manager, i did a grep in /usr on the message > text and found only one file(gnome-volume-manager.mo) that contains the > term > (Passwort-Phrase). Right now i killed the whole gnome-volume-manager and > restarted it, and the password requests pop up, i

Re: where to find a specific part of the gnome code?

2006-08-08 Thread rupert
i think its the gnome-volume-manager, i did a grep in /usr on the message text and found only one file(gnome-volume-manager.mo) that contains the term (Passwort-Phrase). Right now i killed the whole gnome-volume-manager and restarted it, and the password requests pop up, i looked thorugh the source

Re: How to copy data between widgets?

2006-08-08 Thread Michael L Torrie
On Tue, 2006-08-08 at 11:48 -0300, Román Gorojovsky wrote: > As I said before, It's a problem with my C, not my gtk. A quite > embarrassing mistake, sorry for wasting your time. Another way to do it is to assign each widget a string name using g_object_set_data. Once this is set, then in your ca

Re: problems with threads in a shared object

2006-08-08 Thread Luka Napotnik
Ok it works now. Seems there was a problem with the functions. On 8/8/06, Luka Napotnik <[EMAIL PROTECTED]> wrote: > > gdb: > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread -1218409552 (LWP 25125)] > 0xb7979e84 in pthread_mutex_lock () from > /lib/tls/i686/cmov/libpthr

Re: How to copy data between widgets?

2006-08-08 Thread Mohammed Sameer
On Tue, Aug 08, 2006 at 05:33:58PM +0300, Mohammed Sameer wrote: > On Tue, Aug 08, 2006 at 11:29:43AM -0300, Román Gorojovsky wrote: > > > > IIRC I did > > > >GtkWidget *label; > >struct my_data *data; > > > >/* Initialize label */ > > > >data->l = label; > > > > and got a Segm

Re: How to copy data between widgets?

2006-08-08 Thread Román Gorojovsky
On 8/8/06, Tristan Van Berkom <[EMAIL PROTECTED]> wrote: > Román Gorojovsky wrote: > [...] > > IIRC I did > > > >GtkWidget *label; > >struct my_data *data; > > > >/* Initialize label */ > > > >data->l = label; > > > > and got a Segmentation fault there. But I'll try again I guess..

Re: problems with threads in a shared object

2006-08-08 Thread Luka Napotnik
gdb: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1218409552 (LWP 25125)] 0xb7979e84 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0 There's a plugin_register() function that initializes g_thread (the main program also init's it) and the mutex is also

Re: How to copy data between widgets?

2006-08-08 Thread Tristan Van Berkom
Román Gorojovsky wrote: [...] > IIRC I did > >GtkWidget *label; >struct my_data *data; > >/* Initialize label */ > >data->l = label; > > and got a Segmentation fault there. But I'll try again I guess my_data is a wild pointer here, you must either allocate it on the heap a

Re: How to copy data between widgets?

2006-08-08 Thread Mohammed Sameer
On Tue, Aug 08, 2006 at 11:29:43AM -0300, Román Gorojovsky wrote: > > IIRC I did > >GtkWidget *label; >struct my_data *data; > >/* Initialize label */ > >data->l = label; > > and got a Segmentation fault there. But I'll try again I guess data = g_malloc(my_data); data->l

Re: How to copy data between widgets?

2006-08-08 Thread Román Gorojovsky
On 8/8/06, Lance Dillon <[EMAIL PROTECTED]> wrote: > > > From: Román Gorojovsky <[EMAIL PROTECTED]> > > To: gtk-app-devel-list@gnome.org > > Sent: Tuesday, August 8, 2006 10:07:06 AM > > Subject: How to copy data between widgets? > > > Hi all, sorry if this is a FAQ, but I've been reading the docs

Re: How to copy data between widgets?

2006-08-08 Thread Lance Dillon
> From: Román Gorojovsky <[EMAIL PROTECTED]> > To: gtk-app-devel-list@gnome.org > Sent: Tuesday, August 8, 2006 10:07:06 AM > Subject: How to copy data between widgets? > Hi all, sorry if this is a FAQ, but I've been reading the docs and I > couldn't find the answer. Not being too fluent in engl

How to copy data between widgets?

2006-08-08 Thread Román Gorojovsky
Hi all, sorry if this is a FAQ, but I've been reading the docs and I couldn't find the answer. Not being too fluent in english, I couldn't find it in the archives, since I don't know what to look for. The problem is the following. I have a text entry, a button and a label. I want the label to d

Re: problems with threads in a shared object

2006-08-08 Thread Tristan Van Berkom
Luka Napotnik wrote: > I have a program that imports plugins via dlopen and dlsym(). In those > plugins I use functions like g_mutex_lock to lock a variable, declared in > the main program. But when getting to the mutex function the whole program > crashes. > The .so library is compiled with: > >

problems with threads in a shared object

2006-08-08 Thread Luka Napotnik
I have a program that imports plugins via dlopen and dlsym(). In those plugins I use functions like g_mutex_lock to lock a variable, declared in the main program. But when getting to the mutex function the whole program crashes. The .so library is compiled with: gcc -g -O0 -shared `pkg-config --li

g_spawn_async_with_pipes hangs on OSX Tiger

2006-08-08 Thread Jacob Ole Juul Kolding
I'm currently porting a GTK+/SDL app to OSX Tiger. In the app I spawn g++ using g_spawn like this: g_spawn_async_with_pipes(path.c_str(), arguments, NULL,G_SPAWN_SEARCH_PATH, NULL, NULL, &gpid,&in, &out, &err,&error); The code does run and the output file is compil

Re: Problem grabbing motion-notify events.

2006-08-08 Thread cole-anstey
> On Mon, 2006-08-07 at 08:06 +, [EMAIL PROTECTED] wrote: > > Hello, > > > > I'm having a problem with grabbing motion-notify events when reparenting > > widgets. Reparenting appears to stop you from receiving all of the events. > > I have written the test application below to highlight the