Re: Getting a GDK_CONFIGURE event from a GtkImage

2007-06-25 Thread Brian J. Tarricone
On Mon, 25 Jun 2007 17:41:51 -0600 Jim George wrote: >[...] caused an infinite loop, because I'm trying to >do the following: > >gboolean solar_cal_pixbuf_resize(GtkWidget *widget, GtkAllocation >*alloc, gpointer user_data) >{ > GtkImage *img_widget = user_data; > GdkPixbuf *pixbuf = gtk_image_g

Re: Getting a GDK_CONFIGURE event from a GtkImage

2007-06-25 Thread Jim George
On 6/25/07, Brian J. Tarricone <[EMAIL PROTECTED]> wrote: > On Mon, 25 Jun 2007 15:13:30 -0600 Jim George wrote: > > >Is there some way I can obtain a GDK_CONFIGURE event from a GtkImage > >widget? I tried putting the GtkImage inside a GtkEventBox and > >connecting a handler to "configure-event", w

Re: Getting a GDK_CONFIGURE event from a GtkImage

2007-06-25 Thread Brian J. Tarricone
On Mon, 25 Jun 2007 15:13:30 -0600 Jim George wrote: >Is there some way I can obtain a GDK_CONFIGURE event from a GtkImage >widget? I tried putting the GtkImage inside a GtkEventBox and >connecting a handler to "configure-event", without success. I also >manually enabled GDK_STRUCTURE_MASK, even t

Getting a GDK_CONFIGURE event from a GtkImage

2007-06-25 Thread Jim George
Is there some way I can obtain a GDK_CONFIGURE event from a GtkImage widget? I tried putting the GtkImage inside a GtkEventBox and connecting a handler to "configure-event", without success. I also manually enabled GDK_STRUCTURE_MASK, even though GTK is supposed to do that by default. I would like

use of GdkBitmap in gtk_widget_shape_combine_mask()

2007-06-25 Thread Stéphane Charette
Disclaimer: I'm very new to Gdk, Gtk, and X. In gtk_widget_shape_combine_mask(), I need to pass in a GdkBitmap to use as the mask. All of the examples I've found create the GdkBitmap/GdkPixmap from static XPM or XBM data. Question #1: How do I create a GdkBitmap dynamically at runtime? That is

Re: g_spawn_async_with_pipes and WIN32

2007-06-25 Thread Alan M. Evans
On Sat, 2007-06-23 at 12:35 +0300, Tor Lillqvist wrote: > Alan M. Evans writes: > > I created the minimal sample program, and it works! The working example > > is virtually copy/pasted out of the non-working code. > > That's so typical;) Could your problem then simply be caused by some > dynamic

Help requested - Gtk::CellRendererCombo, c++

2007-06-25 Thread Farooq Khan
Hello I am using Gtk::CellRendererCombo class for text view (c++). I ve successfully created the model and have shown the combo options in textview. However, I dont know how to display a default value for text view combo column. i.e. when the text view loads the model, it doesnt display any value

Re: Changing the style properties?

2007-06-25 Thread Emmanuele Bassi
On Mon, 2007-06-25 at 15:04 +0200, Felipe wrote: > Hi, > > I want to remove the horizontal separators of a tree view, but the > corresponding property is read only[1]. I assume that this style > property can be changed in some way, but how? you can change the style properties only by parsing a

Changing the style properties?

2007-06-25 Thread Felipe
Hi, I want to remove the horizontal separators of a tree view, but the corresponding property is read only[1]. I assume that this style property can be changed in some way, but how? Thanks in advance, Felipe [1] http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeView.html#id3104240 __

moving nodes in trees

2007-06-25 Thread Dave Howorth
I'm writing a tree editor that uses gtk+ and I'm having problems moving nodes around. I'm looking for some working example code. I've got a working program that loads my data into a TreeStore and displays it in a TreeView. The user can drag and drop nodes and that works fine. But it's a bit fiddly

Main window refreshing

2007-06-25 Thread omar . crea
I write a little application for an embedded system (Nokia N800) using GTK+ and GStreamer and I need refreshing of the window. When I iconize the application window and then put it in foreground again, the gstreamer flow disappears. I implemented this flow in a drawing area inside the main window.