REG: Call backs

2006-12-12 Thread Prasad Achar
Hi I have a situation where in have to catch 2 different callbacks on 2 different events from single fuction. Then how can i manage the below function..? whether i have to add one more like gpointer func_data1 ? gint gtk_signal_connect( GtkObject *object,

reg: callbacks

2006-12-12 Thread Prasad Achar
Hi I have a situation where in have to catch 2 different callbacks on 2 different events from single fuction. Then how can i manage the below function.. whether i have to add one more gpointer func_data1 ? gint gtk_signal_connect( GtkObject *object, gchar

Re: Question about mouse coordinates in GDK images

2006-12-12 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Dec 10, 2006 at 06:43:07PM -0800, Erik Walter wrote: > I'm trying to do a fairly simple thing and I haven't been able to > find any answers (that work) to my problem. > > I just need to find the mouse (pointer) coordinates relative to a GDK

Re: Re: Re: gtkwindow

2006-12-12 Thread sunzysjzri
>2006/12/12, sunzysjzri <[EMAIL PROTECTED]>: > >> but how could I change my window's background to a custom image? >> many thanks. > >It's a bit more difficult but you can use gdk_window_set_back_pixmap () > >I don't have a C example for that, but here is a python example, see >if you can translate

Re: Using existing cairo context for GtkDrawingArea

2006-12-12 Thread Ivan Baldo
El 09/12/06 08:18, asubedi escribió: > Hi, > > Thanks for the reply. > > On 12/8/06, Ivan Baldo <[EMAIL PROTECTED]> wrote: >> Hello. >> You can't AFAIK. >> GTK is double buffered, for every expose event, it draws to a >> different place. When you draw on the expose event, you are not

Re: TreeView to build a table?

2006-12-12 Thread Enrico Tröger
On Tue, 12 Dec 2006 16:35:55 +0300, Eugene Zagidullin <[EMAIL PROTECTED]> wrote: > On Tue, 12 Dec 2006 14:27:12 +0100 > Enrico Tröger <[EMAIL PROTECTED]> wrote: > > ET> Can't find the mentioned the icon view. Can you give me a pointer? > > Somewhere in > > gqview-2.1.5/src/view_file_icon.c > > Als

Question about mouse coordinates in GDK images

2006-12-12 Thread Erik Walter
I'm trying to do a fairly simple thing and I haven't been able to find any answers (that work) to my problem. I just need to find the mouse (pointer) coordinates relative to a GDK image's origin (i.e. the pixel that would be set via a gdk_image_put_pixel() that corresponds to the pointer loc

Re: TreeView to build a table?

2006-12-12 Thread Eugene Zagidullin
On Tue, 12 Dec 2006 14:27:12 +0100 Enrico Tröger <[EMAIL PROTECTED]> wrote: ET> Can't find the mentioned the icon view. Can you give me a pointer? Somewhere in gqview-2.1.5/src/view_file_icon.c Also look at cellrenderericon.c (custom sell renderer) -- Best regards, Eugene

Re: TreeView to build a table?

2006-12-12 Thread Enrico Tröger
On Tue, 12 Dec 2006 10:23:00 +0300, Eugene Zagidullin <[EMAIL PROTECTED]> wrote: > On Mon, 11 Dec 2006 23:38:57 +0100 > Enrico Tröger <[EMAIL PROTECTED]> wrote: > > ET> Is there any way to select single cells? > ET> Or should I use another widget? I thought of a GtkTable and fill > ET> it with Gtk

Re: Re: gtkwindow

2006-12-12 Thread Gian Mario Tagliaretti
2006/12/12, sunzysjzri <[EMAIL PROTECTED]>: > but how could I change my window's background to a custom image? > many thanks. It's a bit more difficult but you can use gdk_window_set_back_pixmap () I don't have a C example for that, but here is a python example, see if you can translate it: htt