Re: Custom Gtk3 Widget - scroll_event
- From: Bernhard Schuster <schuster bernhard gmail com>
- To: Joël Krähemann <joel weedlight ch>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: Custom Gtk3 Widget - scroll_event
- Date: Fri, 09 May 2014 08:19:04 +0002
On vri, mei 9, 2014 at 7:18 , Joël Krähemann <joel weedlight ch>
wrote:
Do you use a GtkScrolledWindow to pack the entire widget?
As I know this is the only way to get scrolled-event out of gtk
because
it has a viewport.
No I don't. But I figured out that using GtkDrawingArea instead
GtkWidget as baseclass works. So my guess (after having a dive into the
code of GtkWidget/DrawingArea) is that the root cause was a missing
realize callback, which GtkWidget does not provide where GtkDrawingArea
does.
Correct me if I am wrong.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]