Re: gtk-app-devel-list Digest, Vol 14, Issue 55

2005-06-24 Thread Alf Stockton
[EMAIL PROTECTED] wrote: Send gtk-app-devel-list mailing list submissions to gtk-app-devel-list@gnome.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list or, via email, send a message with subject or body 'help'

Re: gtk-app-devel-list Digest, Vol 14, Issue 55

2005-06-24 Thread Hubert Sokolowski
> [EMAIL PROTECTED] wrote: > >>Send gtk-app-devel-list mailing list submissions to >> gtk-app-devel-list@gnome.org >> >>To subscribe or unsubscribe via the World Wide Web, visit >> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list >>or, via email, send a message with subject or bo

Re: 100 Different Colors

2005-06-24 Thread Jan-Marek Glogowski
FYI - I just came up with the this example to illustrate a way to change the colors in a loop - it doesn't represent the solution! Algo is still: r = max, g = 0, b = 0 r = max , g = max, b = 0 r = 0, g = max, b = 0 r = 0, g = max, b = max r = 0, g = 0, b = max r = max, g = 0, b = max back to step

Re: GtkTreeView issues (porting from GtkCList)

2005-06-24 Thread Jan-Marek Glogowski
Please start a new thread next time. > 1) There is a way to set the root of the tree? Maybe gtk_tree_store_append( store, &new_row, NULL ); > 2) There is a way to select when a node will be a leaf or a node? ? There are no leafs - a "leaf" is a node without children: gtk_tree_model_iter_has_c

Re: gtk-app-devel-list Digest, Vol 14, Issue 55

2005-06-24 Thread Alf C Stockton
On Fri, 24 Jun 2005, Hubert Sokolowski wrote: [EMAIL PROTECTED] wrote: 1. Re: Pango GTK+ on Windows (Hubert Soko?owski) please provide the exact directory structure of your program on your clients machine. All executables and .dll's that "objdump -p" told me about are in c:\temp Theref

Re: gtk-app-devel-list Digest, Vol 14, Issue 55

2005-06-24 Thread Hubert Sokolowski
> On Fri, 24 Jun 2005, Hubert Sokolowski wrote: > >>> [EMAIL PROTECTED] wrote: >>> 1. Re: Pango GTK+ on Windows (Hubert Soko?owski) please provide the exact directory structure of your program on your clients machine. >>> All executables and .dll's that "ob

Re: gtk-app-devel-list Digest, Vol 14, Issue 55 (fwd)

2005-06-24 Thread Alf C Stockton
Hubert, I hope that you are not telling me that I have to install GTK on my clients machine. On my development machine the directory structure is:- c:\Gtk\bin etc --- Regards, Alf Stocktonwww.stockton.co.za Turnaucka's Law: The attention span of a computer is only as long as its

Re: gtk-app-devel-list Digest, Vol 14, Issue 55

2005-06-24 Thread Tor Lillqvist
Alf C Stockton writes: > My development is on Windows so I do not have a "etc, lib," etc. We are not talking about the system top-level "etc" and "lib" directories in Unix here, but the "etc" and "lib" subfolders in a GTK+ installation. These are used on Windows, too. They contain files that are

Re: gtk-app-devel-list Digest, Vol 14, Issue 55

2005-06-24 Thread Alf C Stockton
On Fri, 24 Jun 2005, Hubert Sokolowski wrote: On Fri, 24 Jun 2005, Hubert Sokolowski wrote: [EMAIL PROTECTED] wrote: 1. Re: Pango GTK+ on Windows (Hubert Soko?owski) please provide the exact directory structure of your program on your clients machine. All executables and .dll's that

Re: gtk-app-devel-list Digest, Vol 14, Issue 55 (fwd)

2005-06-24 Thread Tor Lillqvist
Alf C Stockton writes: > Hubert, I hope that you are not telling me that I have to install > GTK on my clients machine. How do you expect to run GTK+ application without having the GTK+ run-time installed? If you really want a minimal installtion, start by installing all of the run-time, then t

Re: gtk-app-devel-list Digest, Vol 14, Issue 55

2005-06-24 Thread Goran Rakic
That I did not know. So it seems that my client has no option but to install Gtk? No, you can provide customized app specific GTK install with your application, but you need to put right files in right places. You can get right structure by installing GTK runtime yourself. After that, y

Re: GtkTreeView issues (porting from GtkCList)

2005-06-24 Thread André Pedralho
Ok ok! However it doesn't work on my situation. What I am trying to do is something similar a bookmark. Then it has a root folder: Bookmark (that cotain all the folders and url's); and it has the url's (that are the 'leafs'). One requirement is I may move the folders and url's. So I need a way to n

Re: gtk-app-devel-list Digest, Vol 14, Issue 55 (fwd)

2005-06-24 Thread Alf C Stockton
On Fri, 24 Jun 2005, Hubert Sokolowski wrote: look at Inno Setup Trying to read between the lines is it then being suggested that my development/deploy scenario should be as follows:- 1) Develop application on development machine. 2) Use "objdump -p" to find dependencies. 3) Package applicat

Re: gtk-app-devel-list Digest, Vol 14, Issue 55 (fwd)

2005-06-24 Thread Hubert Sokołowski
On Fri, 24 Jun 2005 15:27:15 +0200 (SAST) Alf C Stockton <[EMAIL PROTECTED]> wrote: > On Fri, 24 Jun 2005, Hubert Sokolowski wrote: > > > > > look at Inno Setup > > > Trying to read between the lines is it then being suggested that my > development/deploy scenario should be as follows:- > 1) Dev

Re: 100 Different Colors

2005-06-24 Thread Lola Smith
Thanks Jan-Marek and everyone else who replied. The suggestions have been really helpful. I'm making some progress. But I didn't know I had to deal with hue/saturation/intensity stuff for this. I searched but couldn't find any documentation for gtk_hsv_to_rgb()?? One website (pretty old one) said

Re: 100 Different Colors

2005-06-24 Thread Jan-Marek Glogowski
> Thanks Jan-Marek and everyone else who replied. The > suggestions have been really helpful. I'm making some > progress. But I didn't know I had to deal with > hue/saturation/intensity stuff for this. > > I searched but couldn't find any documentation for > gtk_hsv_to_rgb()?? One website (pretty o

Re: GtkTreeView issues (porting from GtkCList)

2005-06-24 Thread Jan-Marek Glogowski
> Ok ok! However it doesn't work on my situation. What I am trying to do > is something similar a bookmark. Then it has a root folder: Bookmark > (that cotain all the folders and url's); and it has the url's (that > are the 'leafs'). One requirement is I may move the folders and url's. > So I need

Re: GtkTreeView issues (porting from GtkCList)

2005-06-24 Thread André Pedralho
On 6/24/05, Jan-Marek Glogowski <[EMAIL PROTECTED]> wrote: > > Ok ok! However it doesn't work on my situation. What I am trying to do > > is something similar a bookmark. Then it has a root folder: Bookmark > > (that cotain all the folders and url's); and it has the url's (that > > are the 'leafs')

Re: gtk-app-devel-list Digest, Vol 14, Issue 55 (fwd)

2005-06-24 Thread Alf C Stockton
On Fri, 24 Jun 2005, Hubert [ISO-8859-2] Soko?owski wrote: On Fri, 24 Jun 2005 15:27:15 +0200 (SAST) Alf C Stockton <[EMAIL PROTECTED]> wrote: On Fri, 24 Jun 2005, Hubert Sokolowski wrote: look at Inno Setup Trying to read between the lines is it then being suggested that my development/d

Segmentation fault in GHashTable

2005-06-24 Thread Uzytkownik
I've problem with GHashTable: (...) self->private->check = g_hash_table_new(g_int_hash, g_int_equal); g_hash_table_insert(self->private->check, GINT_TO_POINTER(3), "%%(.*)"); (...) In unit test(I use check) it show: (...) check-plik.c:30:E:Core:funkcja: (after this point) Received signal 11 (Segme

Re: Segmentation fault in GHashTable

2005-06-24 Thread David Necas (Yeti)
On Fri, Jun 24, 2005 at 05:59:37PM +0200, Uzytkownik wrote: > I've problem with GHashTable: > (...) > self->private->check = g_hash_table_new(g_int_hash, g_int_equal); > g_hash_table_insert(self->private->check, GINT_TO_POINTER(3), "%%(.*)"); > (...) > > In unit test(I use check) it show: > (...)

Re: Segmentation fault in GHashTable

2005-06-24 Thread Tim Müller
On Friday 24 June 2005 16:59, Uzytkownik wrote: > I've problem with GHashTable: > (...) > self->private->check = g_hash_table_new(g_int_hash, g_int_equal); > g_hash_table_insert(self->private->check, GINT_TO_POINTER(3), "%%(.*)"); > (...) g_int_hash() expects a _pointer_ to an int, not an int (see

Re: Segmentation fault in GHashTable

2005-06-24 Thread Uzytkownik
Dnia 24-06-2005, pią o godzinie 17:25 +0100, Tim Müller napisał(a): > On Friday 24 June 2005 16:59, Uzytkownik wrote: > > I've problem with GHashTable: > > (...) > > self->private->check = g_hash_table_new(g_int_hash, g_int_equal); > > g_hash_table_insert(self->private->check, GINT_TO_POINTER(3), "

Re: gtk-app-devel-list Digest, Vol 14, Issue 55 (fwd)

2005-06-24 Thread Hubert Sokołowski
On Fri, 24 Jun 2005 16:22:01 +0200 (SAST) Alf C Stockton <[EMAIL PROTECTED]> wrote: > > > On Fri, 24 Jun 2005 15:27:15 +0200 (SAST) > > Alf C Stockton <[EMAIL PROTECTED]> wrote: > > > >> On Fri, 24 Jun 2005, Hubert Sokolowski wrote: > >> > >>> > >>> look at Inno Setup > >>> > >> Trying to read be

tree_view

2005-06-24 Thread srinivas
hi ; i have a pbm in populating the tree_view, i want to populate tree_view using file path got from gtk_file_selection_get_filename(fs), how could i populate tree_view. how to insert file selection path to the tree_view widget. Thanks®ards; srinivas __

Re: tree_view

2005-06-24 Thread André Pedralho
It is not an easy task to create and begin to populate a tree view. You have to set a lot of others widgets, but I'll show you a short code to help you. GtkWidget *treeStore, *treeView GtkTreeViewColumn *column1, *column2...; GtkCellRenderer *renderer1,*renderer2...; treeStore = GTK_TREE_MODEL(gt

never exiting program

2005-06-24 Thread Marc Santhoff
Hi, I've tried to make a function for showing a single function blocking message box. If I run it in an event handler from a window with only one button for kicking off anything works as expected but the main program (closed by the window managers button) is never coming back. Why doean't it? A