gtk_toggle signal

2005-06-24 Thread srinivas
hi; i have a doubt in toggle_button. i have two layouts with one layout having checkbox, and another layout with toggle button. i want when i toggle checkbox the toggle button label in another layout has to be changed. i had like this; void on_checkbutton_toggled (GtkToggleButton

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 body 'help' to

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_child

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

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 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

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,

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

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) Develop

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)

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 old

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 a

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'). One

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 API

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 between the lines is it then

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. Thanksregards; 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 =