Re: delete event for contained widget does not work

2005-10-01 Thread Daniel Pekelharing
Oh and another thing: gtk_signal_connect(GTK_OBJECT(entry), "delete_event", GTK_SIGNAL_FUNC(window_deleted), NULL); gtk_signal_connect(GTK_OBJECT(entry), "destroy_event", GTK_SIGNAL_FUNC(window_deleted), NULL); You have connected both these signals to

gtk rendering order

2005-10-01 Thread Kevin Brooks
Hello, I had a gtk window and a gtk button was put on the window. But the button was totally covered by the window background when the window background was set to solid color or image. Does anyone know how to solve this problem? I also want to know the rendering order of gtk widgets. The gtk w

Re: delete event for contained widget does not work

2005-10-01 Thread Daniel Pekelharing
Hi, I notice that you're connecting the entry with "destroy_event", I think you're wanting the "destroy" signal... Hope this helps - Daniel On Sun, 2005-10-02 at 11:39 +0530, Deekshit Mantampady wrote: > Hi all, >I have an entry in window with containment as >window > vbox > hbox >entr

delete event for contained widget does not work

2005-10-01 Thread Deekshit Mantampady
Hi all, I have an entry in window with containment as window > vbox > hbox >entry. (Code pasted below). I registered for window delete_event, I call destroy on window, in the callback. I was expecting it to destroy the etry also. In that case destroy/delete event callback for entry should

Re: redirecting output to a file with g_spawn_async

2005-10-01 Thread Luke Biddell
or you could do the following I think :) static void stdout_setup_func(gpointer data) { int* fd = (int*)data; dup2(*fd, 1); } void blah() { int fd = open(/*open the file you want to write to*/); /* pass the stdin_setup_func to gspawn */ gint stdout = 0, stde

Re: Arabic-Indic digits and g_date_strftime()

2005-10-01 Thread Roozbeh Pournader
On Fri, 2005-09-30 at 04:35 -0400, Behdad Esfahbod wrote: > But hey, check first with > the Arab community. I'm not quite sure that using those digits > is actually preferred at all. Well, it *is* preferred in Saudi Arabia, as far as I know. Also in a few other countries, but the exact list is co

Re: First column header in GtkTreeView?

2005-10-01 Thread The Saltydog
On 10/1/05, Christian Neumair <[EMAIL PROTECTED]> wrote: > > Do you want to arrange that your tree view does no horizontal scrolling > at all, or that only the second column scrolls? No, I need horizontal scrolling, but the first column must be fixed as an header. The treeview should scroll from t

Re: redirecting output to a file with g_spawn_async

2005-10-01 Thread Olivier Sessink
Colossus wrote: > Hi, > > I tried with g_spawn_async_with_pipes and with gspawn_async > but it does not work. In the first case the output (the decompressed > bzip2 file) is redirected to a GTK window so I used g_spawn_async (no > pipes) but the output is directed to the shell window from which I

z-order of gtk windows on win32

2005-10-01 Thread Allin Cottrell
Starting from my app's main window, the user can create an additional window displaying a graph. The newly-opened graph window "naturally" appears above the main window. It is created using gtk_window_new(GTK_WINDOW_TOPLEVEL) From the graph window in turn, the user can call up a graph-editin

Re: Threads & Glade

2005-10-01 Thread Przemysław Sitek
Hi, Dnia 2005-10-01 13:08, lucapetra (sent by Nabble.com) napisał: Hi, this is my first post here. I have a problem programming an interface, by glade , for a multithread written code(using pthreads.h). The interface is done and works well for a single thread. Calling more than one thread simulta

Re: First column header in GtkTreeView?

2005-10-01 Thread Christian Neumair
Am Freitag, den 30.09.2005, 21:50 +0200 schrieb The Saltydog: > Is there any way to have the first column fixed in a GtkTreeView, not > scrolling to the left? I need to headers: the first row and the first > column... Do you want to arrange that your tree view does no horizontal scrolling at all,

Re: Scaling in one direction

2005-10-01 Thread Christian Neumair
Am Samstag, den 01.10.2005, 09:40 +0930 schrieb Lachlan Gunn: > Hi, > I'm making an application that has a vbox that I want to only resize > horizontally gtk_widget_set_size_request (-1, desired_vertical_size_in_px); -- Christian Neumair <[EMAIL PROTECTED]> _

Threads & Glade

2005-10-01 Thread lucapetra (sent by Nabble.com)
Hi, this is my first post here. I have a problem programming an interface, by glade , for a multithread written code(using pthreads.h). The interface is done and works well for a single thread. Calling more than one thread simultaneously gtk aborts the application. this is main.c #ifdef HAVE_

problem with gtk_tree_view_set_fixed_height_mode()

2005-10-01 Thread Brian J. Tarricone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm trying to use GtkTreeView's fixed height mode for a playlist that can hold thousands of items, but I'm having a bit of trouble. All I seem to get is: Gtk-CRITICAL **: gtk_tree_view_insert_column: assertion `gtk_tree_view_column_get_sizin

Re: GtkFileChooser and case sensitive filters

2005-10-01 Thread Luke Biddell
perfect, thanks. On 01/10/05, Arne Skjaerholt <[EMAIL PROTECTED]> wrote: > Have a look at the gtk_file_chooser_add_filter() method and the > GtkFileFilter class (especially gtk_file_filter_add_custom()). > Then you can test away as much as you want, but in your case I'd > probably use the PCRE lib