Re: GtkPaned patch
- From: Owen Taylor <otaylor redhat com>
- To: Luis Oliveira <luismbo netcabo pt>
- Cc: gtk-devel-list gnome org
- Subject: Re: GtkPaned patch
- Date: 05 Mar 2003 15:55:45 -0500
[ Resending, accidentally sent privately the first time ]
On Tue, 2003-03-04 at 17:36, Luis Oliveira wrote:
> Hi,
>
> I'm a GTK+ newbie, I'm trying to add a new property to GtkPaned, a
> "continuous" property that decides if there should be constant redrawing
> when dragging a GtkPaned.
>
> My patch works, but I'm not sure if this is the best way to do it and it
> is missing a visual way of telling the user where it will get dragged
> to. I have no idea how to do this, I was hoping someone would give me a
> clue :)
See:
http://bugzilla.gnome.org/show_bug.cgi?id=58392
For some history on the issue.
In GTK+-1.2, panes resized with a XOR'ed line.
For GTK+-2.0, we changed it to opaque resizing
My reasoning why it definitely shouldn't be an app property:
If your app can't handle opaque paned resizing, then
it won't be able to handle opaque window resizing. And
opaque window resizing isn't under the app's control.
Should it be a style property or (probably better) GtkSetting
for people with old, slow computers?
Opaque resizing within a window ends to work a lot _better_ than
opaque resizing of windows (for X scheduling reasons mostly)
and almost everybody uses opaque window resizing these days.
But it's conceivable thing to add if there is sufficient demand.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]