I think your drag target widgets need to create their own GdkWindows.
GtkContainers are windowless and thus inherit their parent widget's
window. Consequently, D'n'D can't distinguish between those nested
containers.
Regards,
Dominique
Johannes Schmid schrieb:
> Hi!
>
> I have a question regar
Hi,
how can I efficiently obtain the minimum height in pixels which is
guaranteed to cover a text line in a given font?
Basically, I need something like
(metrics.get_ascent() + metrics.get_descent()) / pango.SCALE
where metrics is a pango.FontMetrics. Unfotunately, the operation given
above t
Great work so far!
A point I miss in the tutorial is to mention the G_DEFINE_TYPE()-like
macros which should be prefered over manually defining a _get_type()
function whenever possible. As I see it this affects the following sections:
Boilerplate code
How To define Interfaces?
How To define imple