Re: [GObject Introspection] Getting style colors using GTK and Python

2010-08-21 Thread John Palmieri
This is broken - see bug https://bugzilla.gnome.org/show_bug.cgi?id=621258 I have some workarounds in demos directory of pygobject but there is still no ways to get certain attributes. I'll ping Colin again on Monday as he has landed his scanner changes. - "Krzysztof Klinikowski" wrote:

[GObject Introspection] Getting style colors using GTK and Python

2010-08-21 Thread Krzysztof Klinikowski
Hello. I need to get colors from used GTK style. Later, using PyGTK I do things like: def get_theme_colors(w = gtk.Window()): w.realize() style = w.get_style() output = {} for i in ["base", "text", "fg", "bg"]: c = getattr(style, i)[gtk.STATE_NORMAL] output[i] = Color.from_gtk_col

Re: gtk_widget_draw()

2010-08-21 Thread Havoc Pennington
Hi, All of these changes sound really awesome. On Sat, Aug 21, 2010 at 7:02 AM, Emmanuele Bassi wrote: > this would actually allow a GDK backend to be easily written; then > clutter-gtk could depend on it, and embedding GTK widgets inside Clutter > would be (relatively) easier than the current i

Some questions regarding _gdk_window_impl_new() (csw, win32, patch)

2010-08-21 Thread Hans Breuer
while trying to fix _gdk_window_impl_new() for win32 some more, quite some questions arose around that (apparently undocumented;)) API: - if the information given to _gdk_window_impl_new() is redundant, as with GDK_WA_VISUAL set and visual given by parameter, which one has precedence? - w

Re: Website proposal for usability

2010-08-21 Thread Devin Samarin
I thought I'd give up update of what the site is looking like now, and I hope everyone is fine with using this mailing list. I have integrated tweets from identi.ca in the News Feed on the main page. I finished the re-design of the GTK-Doc area: http://eboyjr.homelinux.org:8080/gtk/gtk-doc/ I ma

Re: gtk_widget_draw()

2010-08-21 Thread Emmanuele Bassi
On Sat, 2010-08-21 at 00:01 -0400, Havoc Pennington wrote: > On the Clutter front I'd still like to see the ClutterBackend > replaceable at runtime so you could basically put GTK in there or your > compositing manager in there, and avoid Clutter's attempts to do its > own Xlib things. That'd be a