Re: [anjuta-devel] Overriding GObject properties

2011-08-28 Thread Johannes Schmid
Hi! I cannot use g_object_set_property because I have overridden the property. I have tried to use g_param_spec_get_redirect_target to get the original GParamSpec but then I don't know how to use this to set the GtkAdjustment in the GtkTextView object. Hmm, I really don't know. I think the

Drag drop question!

2007-12-29 Thread Johannes Schmid
Hi! I am currently try to set up a GtkContainer and all it's children as a drag target. As some of the children have their own GdkWindow I need to set up the drag targets for all of them. For a GtkImage child, this works without problems and I receive the drag-motion events but for a GtkEntry or

Re: drag and drop on GtkContainer

2007-10-16 Thread Johannes Schmid
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! and gdk_window_get_position() but that gives me the save position for all children I don't understand what you mean by save position. Sorry, I meant same here - very bad typo. I happen to know that you are trying to implement drag and

drag and drop on GtkContainer

2007-10-14 Thread Johannes Schmid
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I am trying drag and drop on an GtkContainer and I want to find out the nearest child from the drop point. So far I tried to get the child position using gtk_widget_get_window() and gdk_window_get_position() but that gives me the save position

drag-leave signal

2007-05-14 Thread Johannes Schmid
Hi! I have a question regarding the dnd drag-leave signal. In my application are multiple drag targets nested into each other (the drag targets derive from GtkContainer). However, if I try to drag the target on the widget inside of the other widget I don't get a drag-leave signal but a