Need a little guidance with signals

2007-03-07 Thread Mark Richardson
Hi All, I've been having a little trouble with signals. I'm using gladeXML to change views inside of my application. In the .glade file that I'm opening, there are some custom widgets. When I create a custom widget, I keep a pointer to it for some internal purposes. But I want the pointer

Re: Warnings/Errors during Threaded Execution

2006-11-30 Thread Mark Richardson
I'm guessing that you're accessing some widgets in a separate thread (or in your callbacks). Whenever you do this, you need to lock the widgets so that you're not modifying them while they are trying to be drawn. So in a callback, you need gdk_threads_leave(); // the code that is needed f

Re: custom widget

2006-09-27 Thread Mark Richardson
multiple copies Gtk+ also helped - I had linked in gtkmarshalers.o to get around the the above problem.  Consider my hand smacked for reaching into the cookie jar.   Thank you again. Mark  Owen Taylor <[EMAIL PROTECTED]> wrote: On Tue, 2006-09-26 at 19:08 -0700, Mark Richardson wrote:&

custom widget

2006-09-26 Thread Mark Richardson
Sorry about posting in the gtk dev area, but this is borderline app dev/gtk dev.   Anyway, I'm making a custom widget, and when I try to create a signal... signals[MOVE_CURSOR]=g_signal_new("move_cursor", G_OBJECT_CLASS_TYPE(gobject_class), G_SIGNAL_RUN_LAS | G_SIGNAL_ACTION, G_STRUCT_OFFSET (Gt