Re: Reparenting an out of process window

2007-02-12 Thread Al Boldi
Ed Catmur wrote: > On Thu, 2007-02-08 at 13:46 +0300, Al Boldi wrote: > > Greetings! > > > > I have a small problem. On windows I can use SetParent to reparent an > > out of process window, by passing it the globally unique window-Handle. > > > > Is this possible on GTK1/GTK2 respectively? > > Loo

Query: Setting Colors to widgets

2007-02-12 Thread Saroz Kumar
Hi, I am using gtk+ version-1.2, i need some help in setting colors for particular widgets. In an Window i have 2-3 frames, and inside frames there is fixed widgets. I want to set different background colors for different frames, i tried using following APIs, but nothings worked out. gtk_widget_

Re: GObject docs improvements

2007-02-12 Thread Shixin Zeng
I've read it once more, with the example in David Nečas (Yeti)'s email. I think I understand the interfaces a bit more. But I have some other questions: 1) Is interface the GObject's way to implement multiple inheritance? To my understanding, interface is a method to share some resources(data, m

Re: GObject docs improvements

2007-02-12 Thread Stefan Kost
Hi, Shixin Zeng wrote: > I've read it once more, with the example in David Nečas (Yeti)'s > email. I think I understand the interfaces a bit more. > > But I have some other questions: > > 1) Is interface the GObject's way to implement multiple inheritance? > > To my understanding, interface is

Re: GObject docs improvements

2007-02-12 Thread Yeti
On Mon, Feb 12, 2007 at 02:05:27PM -0600, Shixin Zeng wrote: > > 1) Is interface the GObject's way to implement multiple inheritance? It's the other way round -- whether for GObject or not. Interfaces (in the more abstract sense) are the primary entities. Interfaces tell what an object can do,

Trying to receive MOTIF_WM_MESSAGES using GTK

2007-02-12 Thread JM
I'm creating an app using GTK+2.0 but running within the Motif Window Manager. I have an .Xdefaults file where I have added a "f.send_msg" entry to add my own menu option. However, I do not know how to register and listen for _MOTIF_WM_MESSAGES. I've seen examples but they are written in X.

Re: Trying to receive MOTIF_WM_MESSAGES using GTK

2007-02-12 Thread Ed Catmur
On Mon, 2007-02-12 at 15:48 -0800, JM wrote: > I'm creating an app using GTK+2.0 but running > within the Motif Window Manager. I have an .Xdefaults > file where I have added a "f.send_msg" entry to add my > own menu option. However, I do not know how to > register and listen for _MOTIF_WM_M

not enough variable arguments to fit a sentinel?

2007-02-12 Thread Matí­as Alejandro Torres
What about this warning 181:dialog = gtk_file_chooser_dialog_new (_("Select where to save contacts."), 182: NULL, 183: GTK_FILE_CHOOSER_ACTION_SAVE, 184: