Re: gobject construction with parameter

2011-01-31 Thread James Morris
On 31 January 2011 13:32, Jannis Pohlmann wrote: >> Can anyone point me in the direction of code examples where the >> construction of the g object requires a parameter so I can see how to >> do it please? - I can't make sense of the documentation. > > I usually do this by adding a construct or c

Re: Sockets in GTK, how to use?

2011-01-31 Thread Antono Vasiljev
Excerpts from Jacques Pelletier's message of 2011-01-31 08:16:51 +0200: > > } else { > > g_debug("%s", error->message); > > g_free(error); > > } > > Many thanks! This will help very much! This was pretty simple version. What I really wont to know is how to make this socket commun

child-displacement-... style properties and gtk_widget_set_state

2011-01-31 Thread John Boncek
Using the "child-displacement-x" and "child-displacement-y" style properties of GtkButton in my gtkrc file works when a button is clicked with the mouse but doesn't seem to do anything (the button content isn't displaced) when I use: gtk_widget_set_state(m_pButton, GTK_STATE_ACTIVE); to set the

Re: gobject construction with parameter

2011-01-31 Thread Jannis Pohlmann
Hey, On Mon, 31 Jan 2011 13:14:30 + James Morris wrote: > Hi, > > I'm trying to modify some existing code which uses gobject so that the > function to create a new object can take a parameter. The existing > code is quite simple, and my modifications simplify it further so I > don't want to

How to use GNOME Keyring?

2011-01-31 Thread Mike
How to use GNOME Keyring? I want some examples. Thx a lot. -- Mike. Blog: http://ekd123.is-programmer.com/ Fedora Project Contributor. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-deve

gobject construction with parameter

2011-01-31 Thread James Morris
Hi, I'm trying to modify some existing code which uses gobject so that the function to create a new object can take a parameter. The existing code is quite simple, and my modifications simplify it further so I don't want to spend a great deal of time messing about with Gobject things. Can anyone

Re: Couldn't link my app with GTK+ 3

2011-01-31 Thread Mike
于 2011年01月31日 16:56, David Nečas 写道: On Mon, Jan 31, 2011 at 04:03:04PM +0800, Mike wrote: OS: Fedora 14 x86_64 GCC: 4.5.1 20100924 I have a app project, use GTK+2. I want to move it to GTK+3. So I git clone latest glib. Compiled them. (I use GTK3 in mirror, not compile by myself) Does pkg-con

Re: Couldn't link my app with GTK+ 3

2011-01-31 Thread David Nečas
On Mon, Jan 31, 2011 at 04:03:04PM +0800, Mike wrote: > OS: Fedora 14 x86_64 > GCC: 4.5.1 20100924 > > I have a app project, use GTK+2. > I want to move it to GTK+3. > So I git clone latest glib. > Compiled them. > (I use GTK3 in mirror, not compile by myself) Does pkg-config know about the new G

Couldn't link my app with GTK+ 3

2011-01-31 Thread Mike
OS: Fedora 14 x86_64 GCC: 4.5.1 20100924 I have a app project, use GTK+2. I want to move it to GTK+3. So I git clone latest glib. Compiled them. (I use GTK3 in mirror, not compile by myself) (Point to GTK+3 in Makefile) GCC Prints: * CCLD gkiu * /usr/lib/gcc/x86_64-redhat-linux/4.5.1/../../../../l