Re: Memory allocation using g_malloc

2006-05-30 Thread 3saul
Thanks for the response. Let me elaborate a little. I have a list of files in a dir (without knowing how many) a.txt b.txt c.txt I want to be able to put the names of the files into an array so that I can refer to them later like this array[0][0] = a.txt array[0][1] = b.txt and so on...Perhaps

altering transparency in a GtkImage

2006-05-30 Thread Gravis
I thought my last email was a bit confusing so I've rewritten it to be cleared. I've been working with GtkImages with GdkPixmaps for a while and am quite privy to their use and altering them. The one thing I cant do is update the GdkBitmap transparency mask. alterations before making the GtkImage

Re: Memory allocation using g_malloc

2006-05-30 Thread Tristan Van Berkom
3saul wrote: I need a little help with memory allocation. What I'm wanting to do is create a multi dimensional array that contains a list of file names from a specific directory. So it needs to be something like this int numfiles = 20; g_malloc (myArray [numfiles] [512]); Is this close to cor

Memory allocation using g_malloc

2006-05-30 Thread 3saul
I need a little help with memory allocation. What I'm wanting to do is create a multi dimensional array that contains a list of file names from a specific directory. So it needs to be something like this int numfiles = 20; g_malloc (myArray [numfiles] [512]); Is this close to correct? I'm getti

Re: is there any documentation for the signals?

2006-05-30 Thread Carlos Eduardo Rodrigues Diógenes
On Tue, 2006-05-30 at 12:31 +0100, Yiannis wrote: > Hi, is there any detailed documentaion for the signals? For example what is > the difference between button clicked and button activated and when are they > emitted? That was a simple example as I would like to know or have a > reference of all of

Making accellerators work in a hidden menu

2006-05-30 Thread Sander Marechal
Hello, I am having problems making the F11 button into a fullscreen toggle in my application. I can make the button go from windowed to fullscreen, but I can't get it to work from fullscreen to windowed. Note: I am using libglade XML. Currently I have the F11 set as accellerator key for two

gtk_image_new_from_file ()

2006-05-30 Thread 3saul
I've found the doco below on gtk_image_new_from_file (). What I'm wanting to know is besides gif, precisely what other filetypes are supported (animatable filetypes preferably)...thanks http://developer.gnome.org/doc/API/2.0/gtk/GtkImage.html#gtk-image-new-from-file -- View this message in contex

Re: is there any documentation for the signals?

2006-05-30 Thread Tristan Van Berkom
Yiannis wrote: Hi, is there any detailed documentaion for the signals? For example what is the difference between button clicked and button activated and when are they emitted? That was a simple example as I would like to know or have a reference of all of them... Cheers. Hand written docum

Re: color in gtkentry

2006-05-30 Thread Vallario Brigitte
With the empty file .no-atrc-to-tgkrc-mapping in my home directory it works. Thanks for the tip ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

is there any documentation for the signals?

2006-05-30 Thread Yiannis
Hi, is there any detailed documentaion for the signals? For example what is the difference between button clicked and button activated and when are they emitted? That was a simple example as I would like to know or have a reference of all of them... Cheers. -- -- Yiannis

Re: Finding widget position in table or box

2006-05-30 Thread Yeti
On Tue, May 30, 2006 at 11:32:58AM +0200, Daniel Haude wrote: > > In the "tables" part of the GTK API I found a section called "Child > Properties", and found the properties "left-attach" and so on. I'm not > quite sure how to get to these properties. I tried to call > > g_object_get_data(old

Re: Finding widget position in table or box

2006-05-30 Thread Daniel Haude
On Tue, 30 May 2006 11:16:19 +0200, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote: To put the question simpler: Given a table and a widget within the table (or box), how can I find the position of the widget within the table (or box)? To remember where you put it is usually the best solution.

Re: Finding widget position in table or box

2006-05-30 Thread Yeti
On Tue, May 30, 2006 at 10:43:33AM +0200, Daniel Haude wrote: > say I have a table filled with some widgets. Now I'd like to replace one > of these widgets (A) with some other widget B. I guess I just go ahead and > destroy widget A, and then attach widget B. My problem is that in order to >

Finding widget position in table or box

2006-05-30 Thread Daniel Haude
Hello, say I have a table filled with some widgets. Now I'd like to replace one of these widgets (A) with some other widget B. I guess I just go ahead and destroy widget A, and then attach widget B. My problem is that in order to do that, I need to know the position (row and column) that A