Re: GtkLayout virtual set_scroll_adjustments ...
- From: Owen Taylor <otaylor redhat com>
- To: Michael Meeks <michael ximian com>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: GtkLayout virtual set_scroll_adjustments ...
- Date: 25 Oct 2001 20:31:34 -0400
Michael Meeks <michael ximian com> writes:
> It seems that we are not using the virtual method - which I need to hook.
>
> gtk_layout_set_adjustments should be renamed with a _real suffix,
> and a virtual invocation should be made;
>
> Would a patch be appreciated ?
I don't quite follow.
gtk_widget_set_scroll_adjustments() works by emitting a signal
on the widget, so it _has_ to go through the virtual method.
Are you saying you want to be able to hook gtk_layout_set_hadjustment
and gtk_layout_set_vadjustment?
I'm not sure this really makes sense, but I guess I'd take
a patch that makes them call gtk_widget_set_scroll_adjustments()
rather gtk_layout_sets_adjustments.
Note however, that if we make this change here, we really have
to make it in GtkViewport, GtkTreeView, GtkTextView as well
if we don't want to spread confusion.
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]