gtkhtml fonts

2009-12-18 Thread Matthew Talbert
It used to be possible to change the font that gtkhtml used (for the entire document) by calling gtk_widget_modify_font on the widget. It seems in recent versions that this no longer works. I've played around with setting styles on the widget and haven't gotten that to work either. Does anyone

ANNOUNCE: gtk-doc 1.12

2009-12-18 Thread Stefan Kost
GTK-Doc 1.12(Dec 18 2009) Changes o 591450 : Build related fixes o 466535 : generate documentation as pdf o 502191 : acronym support o 532395 : inline function parsing problems (e.g. in glib api docs) o 536928 : have syntax highlghted and xrefs source code samples o

linkification warnings

2009-12-18 Thread David Nečas
Hello, I have two problems with linkification and the related warnings. I'm not sure if I do something differently than expected or there's a bug: 1) A few of my objects have some public, documented fields. They are marked /*public*/ and they appear correctly in the docs. But I cannot link to

ANNOUNCE: gtk-doc 1.13

2009-12-18 Thread Stefan Kost
GTK-Doc 1.13(Dec 18 2009) o 604891 : gtk-doc tarball does not build Contributors Stefan Kost ___ gtk-doc-list mailing list gtk-doc-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-doc-list

Re: linkification warnings

2009-12-18 Thread Nicola Fontana
Il giorno Fri, 18 Dec 2009 13:18:02 +0100 David Nečas y...@physics.muni.cz ha scritto: 1) A few of my objects have some public, documented fields. They are marked /*public*/ and they appear correctly in the docs. But I cannot link to them. Writing #GwyRGBA.r where GwyRGBA is a plain

Re: linkification warnings

2009-12-18 Thread David Nečas
On Fri, Dec 18, 2009 at 02:58:10PM +0100, Nicola Fontana wrote: Il giorno Fri, 18 Dec 2009 13:18:02 +0100 David Nečas y...@physics.muni.cz ha scritto: 1) A few of my objects have some public, documented fields. They are marked /*public*/ and they appear correctly in the docs. But I

Re: linkification warnings

2009-12-18 Thread Nicola Fontana
Il giorno Fri, 18 Dec 2009 16:24:28 +0100 David Nečas y...@physics.muni.cz ha scritto: On Fri, Dec 18, 2009 at 02:58:10PM +0100, Nicola Fontana wrote: Il giorno Fri, 18 Dec 2009 13:18:02 +0100 David Nečas y...@physics.muni.cz ha scritto: 1) A few of my objects have some public,

flexible, extensible and parametric macros in doc comments

2009-12-18 Thread Stefan Kost
hi, There is one feature I'd like to do for 1.14 - custom macros. Right now we have e.g. |[ ... ]| as a shortcut for programmlisting. I'd like to have something more flexible, extensible and parametric. E.g.: |macro(arg1,arg2,...)[ ... ]| - call macro - pass args as parameters (on the

Re: linkification warnings

2009-12-18 Thread Stefan Kost
Am 18.12.2009 15:58, schrieb Nicola Fontana: Il giorno Fri, 18 Dec 2009 13:18:02 +0100 David Nečas y...@physics.muni.cz ha scritto: 1) A few of my objects have some public, documented fields. They are marked /*public*/ and they appear correctly in the docs. But I cannot link to them.

Re: linkification warnings

2009-12-18 Thread Stefan Kost
Am 18.12.2009 14:18, schrieb David Nečas: Hello, I have two problems with linkification and the related warnings. I'm not sure if I do something differently than expected or there's a bug: 1) A few of my objects have some public, documented fields. They are marked /*public*/ and they

Re: Understanding failed assertions

2009-12-18 Thread Artur Galyamov
18.12.09, 00:40, Vikram Noel Ambrose noel.ambr...@gmail.com: Thanks Artur. gtk_tree_selection_get_selected() in the on_selection_changed() callback was the culprit. Why is the changed signal going off if there is no selection? I don't know.. It is unusual, but well-documented.

Re: Memory leak in gtk label?

2009-12-18 Thread Tor Lillqvist
       I am using valgrind to check my application, I found a lot of memory leak issue related to GtkLabel or maybe pango staff. And I got a lot of leak report in gtk_label_size_request function. Detail as attached. I don't see any leaks in gtk_label_size_request in your log file. I see

How to use and process GTK enter or leave signals?

2009-12-18 Thread Ken Resander
Just for testing I used a GtkButton and substituted signal enter-notify-event for signal clicked (clicked works).  A warning appears: enter-notify-event is invalid for instance after g_signal_connect is executed. The callback handler is not called. Simplified: [code] GtkWidget * b =

Re: How to use and process GTK enter or leave signals?

2009-12-18 Thread David Nečas
On Fri, Dec 18, 2009 at 05:25:57AM -0800, Ken Resander wrote: Just for testing I used a GtkButton and substituted signal enter-notify-event for signal clicked (clicked works).  A warning appears: enter-notify-event is invalid for instance after g_signal_connect is executed. The callback

Coolbar (Rebar) in GTK+

2009-12-18 Thread LRN
Is there a GTK+ widget that works like a coolbar (rebar)? ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

GtkTargetEntry and GtkSelectionData

2009-12-18 Thread Vikram Noel Ambrose
I'm trying to understand how to pass data around from one treeview to another using the Drag-and-Drop mechanism. For example, say both treeviews, have a list store of the following structure: list_store = gtk_list_store_new(4,

Re: Remove Multiple Rows from Gtk2::ListStore

2009-12-18 Thread Zettai Muri
That likely happens because by removing rows you made one of the later paths refer to non-existant rows so that $model-get_iter($path) returns undef. One quick hack that might make this work is to iterate over the @paths in reverse order. But to be safe you should follow the doc's

Re: Remove Multiple Rows from Gtk2::ListStore

2009-12-18 Thread Zettai Muri
Not sure if it is the right way to do it but it works for me. Actually doesn't work unless I disconnect the model from the tree view before and after the removal. So now I'm using the following: my $model = $tv_sources-get_model; my $selection = $tv_sources-get_selection;

Updated Gtk2-Perl docs available

2009-12-18 Thread Brian Manning
Hi, I'd like to announce that updated Gtk2-Perl documentation is now available for viewing and downloading at http://gtk2-perl.sourceforge.net/doc/. Note that there are now two different sets of documentation posted, a set generated with Marek::Pod::HTML (what's been posted on the website