Re: GtkTable is deprecated

2011-09-29 Thread Johannes Schmid
Hi! GtkGrid should be pretty much a drop-in replacement for GtkTable. Keep in mind that GtkGrid uses the align and expand flags of GtkWidget[2][3][4][5] instead of having expand and fill child properties. As always, should you have any questions, don't hesitate to ask. This is a massive

Re: GtkTable is deprecated

2011-09-29 Thread Johannes Schmid
Hi! deprecated != gone. There is no super-urgent need to rid the world of GtkTables - unless you want your module to compile with disabled deprecations. Sure, but you know how picky some people are about deprecations... Regards, Johannes ___

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

Re: GtkNotebook scrolling usability

2010-03-11 Thread Johannes Schmid
Hi! Am Donnerstag, den 11.03.2010, 14:20 + schrieb Alberto Ruiz: Now that I think about it, I think the notebook needs a review from a wider perspective. We are trying to make this class one-size-fits-all-cases. We already discussed about simplifying this widget a bit (we already

Re: GtkNotebook scrolling usability

2010-03-10 Thread Johannes Schmid
Hi! I talked to Matthias briefly on irc, and he seemed to agree. He suggested that maybe there's a use for it in the case that you have a ton of notebook tabs open, but I'm not quite convinced. Just wanted to post on the lists and see if people have thoughts on this, otherwise I'm probably

Re: Native/Extended layout

2009-12-15 Thread Johannes Schmid
Hi Javier! thank you for your work on this. I've also update the roadmap with all the new info [1]. Feel free to improve it if you want ;) Thanks. I think this is better placed in the 3.0 section as I feel it is a bit risky to add this in the short 2.20 cycle. This really needs careful

Native/Extended layout

2009-12-14 Thread Johannes Schmid
Hi everybody! You potentially know that GTK+ has some issues when it comes to correctly assign space to widgets if the widgets don't have a fixed size. In 2007, Mathias Hasselmann worked on this issues in a summer of code project (see the extended-layout branch). You will find the original

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

Menu destruction

2007-04-12 Thread Johannes Schmid
Hi! In the discussion about bug http://bugzilla.gnome.org/show_bug.cgi?id=339791 some questions about the destruction of GtkMenu and GtkMenuItem came up. Having a look at the source reveals that gtk_menu_attach_to_widget() is much like gtk_widget_set_parent(). Anyway, we would rather think that

Re: Menu destruction

2007-04-12 Thread Johannes Schmid
parent is not set by gtk_menu_attach_to_widget I will simply add another special case. Thanks, Johannes Tim Janik schrieb: On Thu, 12 Apr 2007, Johannes Schmid wrote: Hi! In the discussion about bug http://bugzilla.gnome.org/show_bug.cgi?id=339791 some questions about the destruction