Re: New widget - style inheritance?
- From: Havoc Pennington <hp redhat com>
- To: GTK Mailing List <gtk-list gnome org>
- Subject: Re: New widget - style inheritance?
- Date: 09 Mar 2001 11:38:37 -0500
Neil Bird <neil fnxweb com> writes:
> My gut feeling would be to base this upon a GtkArea (or similar) and do
> the drawing roughly myself - but what would be the best way of inheriting
> theme/style settings (of say Buttons) such that the area's b/g, fill &
> outline colours matched 'normal' buttons?
>
Use the functions in gtkpaint.h to do your drawing when possible, and
if that isn't possible (there aren't functions there to draw triangles
for example), use the colors and graphics contexts in widget->style.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]