Re: gtk_widget_show() not showing window

2007-08-27 Thread G. Paul Ziemba
>On Mon, 2007-08-27 at 19:00 +, G. Paul Ziemba wrote: >> gtk_widget_show_all(window); >> gtk_widget_hide(window); >> gtk_widget_show(window); >> >> gtk_main(); [EMAIL PROTECTED] (James Scott Jr) writes: >Try this instead. The gtk_widget_show_all() then gtk_widget_hide()

Re: alpha channel with Gdk/Gtk+ color

2007-08-27 Thread Jim George
Not sure how you'd do this in gdk directly, but I can think of two alternatives: a. Use Cairo (supports alpha channels, and gives you awesome-looking antialiased triangles to boot) b. Use gdk to render to 30 different GdkPixbufs, then composite them together. The composite functions take an alpha p

Re: GtkDialog problems again

2007-08-27 Thread Jim George
On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi everybody. > I need a dialog in my application that simply show a label (so without any > button) and then hide itself after some processing occurred. > The problem is that I can't send any :response signal to the dialog, so it > remains

Re: gtk_widget_show() not showing window

2007-08-27 Thread James Scott Jr
Try this instead. The gtk_widget_show_all() then gtk_widget_hide() then gtk_widget_show() is the cause of your problem; unless you were thinking the window should blink once before appearing. James, #include > > static void > button_clicked_cb(GtkButton *button, gpointer data) >

gtk_widget_show() not showing window

2007-08-27 Thread G. Paul Ziemba
Greetings, gtk_widget_show() does not seem to be operating the way I expect; could one of the experts please tell me if something is wrong with this code or if something is wrong with gtk? When I run this small bit of code, the window appears briefly and then disappears immediately. The program d

alpha channel with Gdk/Gtk+ color

2007-08-27 Thread Michael Ehrhardt
I am revisiting a simple kaleidoscope program in which I would like to add opacity/transparency for the colors. Can that be done? I have rummaged around looking for info on the alpha channel, but can't find anything that isn't stuck inside the ColorSelection widget. That's not what I want; just the

Re: GtkDialog problems again

2007-08-27 Thread Yeti
On Mon, Aug 27, 2007 at 03:01:00PM +0200, [EMAIL PROTECTED] wrote: > I need a dialog in my application that simply show a label (so without any > button) and then hide itself after some processing occurred. > The problem is that I can't send any :response signal to the dialog, so it > remains block

graphs in gtk

2007-08-27 Thread Sohel ali
Hello all, I am using gtkdatabox to plot graphs. I wanted to know how should I label X and Y axes as I was unable to get any help from examples in this regard. Posted this quesiton here as some of you might be using gtkdatabox. thanks for your responses, sohel.

GtkDialog problems again

2007-08-27 Thread omar . crea
Hi everybody. I need a dialog in my application that simply show a label (so without any button) and then hide itself after some processing occurred. The problem is that I can't send any :response signal to the dialog, so it remains blocked in the loop after gtk_dialog_run has been called. I tried

Re: gtk_cell_renderer_toggle_new()

2007-08-27 Thread Yeti
On Mon, Aug 27, 2007 at 07:33:54AM -0400, dhk wrote: > Why do all toggles get activated or deactivated in a treeview when only > one gets clicked? Also, moving the mouse over the rows seems to > redisplay the toggles as checked or unchecked depending on the value of > the last toggle. I'm not sur

gtk_cell_renderer_toggle_new()

2007-08-27 Thread dhk
Why do all toggles get activated or deactivated in a treeview when only one gets clicked? Also, moving the mouse over the rows seems to redisplay the toggles as checked or unchecked depending on the value of the last toggle. The program reads data from an xml file and displays it in a treeview. E