I have been playing with a small application using the new (in gtk3) GtkSwitch
(light switch style) widget.
The reference manual does not mention any signal specific to this widget, and
I think it would be nice to have one. I want a signal for when the state
is toggled, e.g. switched.
On Fri, Mar 04, 2011 at 12:45:18PM -0500, John Lumby wrote:
I have been playing with a small application using the new (in gtk3)
GtkSwitch (light switch style) widget. The reference manual does
not mention any signal specific to this widget, and I think it would
be nice to have one. I
It's a long shot but I just wondered if glib or gtk+ have any functionality for
resolving shortcuts on the Windows platform? i.e. opening a shortcut and
returning the path to whatever object it's pointing to? I know I can achieve
this with COM and iShellLink but ideally, I'd prefer to use glib
On 2011-03-04 at 12:45, John Lumby wrote:
I have been playing with a small application using the new (in gtk3)
GtkSwitch (light switch style) widget. The reference manual does not
mention any signal specific to this widget, and I think it would be
nice to have one. I want a signal for when
Hello.
Thanks both. I tried notify::active and it works as well as event-after
but still the data pointer argument is bad on entry to the callback(it's not
zero but not a valid GTK_WIDGET either). I don't know why - maybe
something related to GtkSwitch or maybe a mistake in my
A! Thank you Tadej.No, mine had only two parameters, the obj ptr
and the data ptr.I added the paramspec in between and now all works perfectly.
By the way - this seems a bit unpleasant, that some callbacks have a
prototype of (objptr, dataptr) and others have (objptr,
Le 05/03/2011 03:17, John Lumby a écrit :
A! Thank you Tadej.No, mine had only two parameters, the obj
ptr and the data ptr.I added the paramspec in between and now all works
perfectly.
By the way - this seems a bit unpleasant, that some callbacks have a
prototype of
Hi, all!
I want g_error() to write messages to files, because released edition
shouldn't to print any messages on terminal. But if find any bugs,
should to find error messages to send support team.
I have read'd GLib sources, but not find any useful information.
How do I use g_error () to write
Hi everybody,
I have several questions:
1) How do we use the GThreadedSocketService and how do we specify the function
to run when the connection is established?
I'm using these function in a GUI application (see protocoltool on
sourceforge); when the connection is made/closed, the GUI's