I am getting a little frustrated now:

I have a signal handler setup to do stuff when an adjustment receives a
value_changed signal.

This works except when I want to explicitly want to emit a value_changed
signal.

I have set the adjustment value two ways:

gtk_adjustment_set_value (adjustment, (float) key); /* key was an int
originally && >= 0) */
and also adjustment->value = (float) key;

and then tried to different ways to send out the signal so my callback
would be run:

gtk_signal_emit_by_name (GTK_OBJECT (adjustment), "value_changed"));

and

gtk_adjustment_value_changed (adjustment);

none of them seem to emit a value_changed signal cos my callback is not
called.

What am I doing wrong ?? Am I completely misunderstanding the use of
these functions!!???

Cheers for any help

James Vanns

-- 
James Vanns BSc (Hons) MCP
Software Engineer (UNIX / C)
Galleon Ltd.

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to