[Gtk-sharp-list] Exposes Constantly

Mike Kestner mkestner at ximian.com
Fri Dec 14 10:33:52 EST 2007


On Fri, 2007-12-14 at 09:13 -0500, Adam Tauno Williams wrote:

> Funny, I've been researching for months, reading blogs, articles, and
> tutorials;  and not one ever mentioned Gtk.Style.  Do you know of any
> tutorials or documentation relating to Gtk.Style beyond what is
> presented in Monodoc?

GGAD has a little info on it.

http://developer.gnome.org/doc/GGAD/sec-style.html

The API is pretty descriptive, and if the monodocs aren't fleshed out
you can use the C docs at gtk.org/api to get more info.

> My target is more *like* -
> http://www.monocalendar.com/images/screenshots/Monocalendar-0.1b.jpg -
> than a month view.  I don't know if that makes any difference in your
> recommendation.

No difference.  The point is that you are likely to just need to draw
boxes and straight lines and paint text and maybe some nav arrows, all
of which is suited nicely to Style, and by using the Style class, when
the user changes their theme, all your lines and fonts and colors and so
on will be adjusted to match the built in widgets in Gtk.

Gtk.Style is just a tool to make it easier for your widgets blend in
with the theme.

-- 
Mike Kestner <mkestner at ximian.com>



More information about the Gtk-sharp-list mailing list