Re: Custom font for application

2011-07-25 Thread Richard Shann
On Mon, 2011-07-25 at 12:00 +, gtk-app-devel-list-requ...@gnome.org wrote: Does anyone here know how I can create and load a custom font for my application from the source code? What method or methods do I need to invoke to load the font that I can render? What rendering methods do I

slow gtk.label drawing

2011-07-25 Thread Pavol Klačanský
Hi, I have written simple rss reader and I tested it with 10k items in feed. Xml and parsing takes while (in second.) but drawing takes minutes Part taking care of drawing public void set_details(Feed feed, Client client) { title.set_markup(b + feed.title + /b);

Re: slow gtk.label drawing

2011-07-25 Thread David Nečas
On Mon, Jul 25, 2011 at 04:50:09PM +0200, Pavol Klačanský wrote: Hi, I have written simple rss reader and I tested it with 10k items in feed. Xml and parsing takes while (in second.) but drawing takes minutes Creating tens of thousands of widgets that mostly will not be displayed indeed takes

Re: Gtk::FileChooserButton

2011-07-25 Thread John Stebbins
On 05/01/2011 04:15 AM, John Emmas wrote: ** GTK+ (almost) exonerated ** I've spent quite a bit of time delving into the problems I encountered with Gtk::FileChooserButton. I started by writing a minimal app using a main window with a child button. The button launched a modal dialog box

Re: Custom font for application

2011-07-25 Thread Richard Shann
I sorted this out yesterday (see denemo-devel mailing list), what you need I suspect is along the lines of this: GtkSettings *settings = gtk_settings_get_default( ); gtk_settings_set_string_property(settings, gtk-font-name , FreeSerif 12, denemo); // Note: GTK complains that the font does not

Re: State of cairo introspection?

2011-07-25 Thread Tomeu Vizoso
On Sat, Jul 23, 2011 at 06:33, Just Fill Bugs mozbug...@yahoo.com.au wrote: What's the state of gobject introspection for Cairo? It seems the cairo-1.0.typelib include in the gobject-introspection was a minimal attempt to wrap cairo. It did event have cairo.FORMAT.ARGB32 like enum defined.

Re: Updated GTK+ 2.24.5 binaries (and bundle)

2011-07-25 Thread Dieter Verfaillie
On 23/07/2011 00:27, Maarten Bosmans wrote: 2011/7/23 Andrea Bolognani e...@kiyuko.org: The gnome-win32 (or whatever it ends up being called) mailing list somebody was proposing eariler in the thread would probably speed up the process of reaching a consensus about similar issues. Hear,