Re: GtkButton as a no-window widget



On 5 Nov 2001, Owen Taylor wrote:

[ buncha NO_WINDOW button stuff ]

owen, can you please answer hans' email on this subject?
he raised some interesting points i'm not going to duplicate
here.

> Disadvantages:
> 
>  - The optimization that I got working over the weekend no longer
>    helps for button widgets. Which was where it mainly helped.

could you extend on what optimization you meant here?

> Incompatibilities:
> 
>  - Widgets deriving from GtkButton need to modify their code to
>    take into account the fact that they are NO_WINDOW. I'm 
>    not sure there are many of these outside of GTK+, which
>    has GtkToggleButton and GtkOptionMenu.

i wouldn't expect too much to be affected by this. an appropriate
Changes-2.0.txt entry would do.

BTW, can someone please cvs.gnome.org/LXR?

>  - People putting GtkButton widgets into custom widgets have to
>    take care to propagate exposes.

widgets not already doing this are _buggy_.

> I think it makes things look a lot better, and would allow for some
> really neat theming stuff... OTOH, people are probably going
> to get angry at me for rejecting small additions and putting this
> in...

well yeah, i'll better be kind and silent though.

> 
> Regards,
>                                         Owen
> 

---
ciaoTJ




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]