Re: quarks

2008-09-01 Thread Martin (OpenGeoMap)
hi: On Mon, Sep 01, 2008 at 02:20:35AM -0300, Martin (OpenGeoMap) wrote: hi!, Someone knows like quarks works in glib. I suppose quarks is a pun on atoms that is so often used as a lingo for som small item. Like atoms in X. I can not find the source code, only the header.

Re: quarks

2008-09-01 Thread Brian J. Tarricone
On Mon, 01 Sep 2008 02:20:35 -0300 Martin (OpenGeoMap) wrote: Someone knows like quarks works in glib. I can not find the source code, only the header. Itś suppose we don need free the string inside a static string of a quarks. But how is that???. Where is the string saved?. The

Re: quarks

2008-09-01 Thread Martin (OpenGeoMap)
Brian J. Tarricone escribió: On Mon, 01 Sep 2008 02:20:35 -0300 Martin (OpenGeoMap) wrote: Someone knows like quarks works in glib. I can not find the source code, only the header. Itś suppose we don need free the string inside a static string of a quarks. But how is that???. Where is

Re: [semi-OT] dependencies libraries

2008-09-01 Thread Gabriele Greco
On Sun, Aug 31, 2008 at 10:46 AM, Brian J. Tarricone [EMAIL PROTECTED]wrote: for example: if i develop with gtk 2.12 (but i can do the same reasoning with any other library) how can i do to know if i used (or not) new functions/classes introduced on that version? (of course without look

libgnomedb3.0: WARNING **: could expand into list of field

2008-09-01 Thread paragasu
i am very new into this gtk and libgnomedb. this is my first attempt write one, i have one function. [snip] GtkWidget *page_1(GdaConnection *conn) { GtkWidget *vbox; GdaQuery *query; GdaDict *dict = gda_dict_new(); gda_dict_set_connection(dict, conn);

Re: quarks

2008-09-01 Thread Mike
http://library.gnome.org/devel/glib/stable/glib-Quarks.html The link works. Is this some kind of weird joke? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: quarks

2008-09-01 Thread Martin (OpenGeoMap)
hi: Quark strings are static and should not be freed. You don't free them. glib does not free them either. When the process dies they are automatically freed. That's all. Just don't worry about them. But then i can imaging we can not abuse of that kind of types. thank you. behdad

Re: g_signal_emit()

2008-09-01 Thread dhk
dhk wrote: Kristian Rietveld wrote: On Sun, Aug 31, 2008 at 2:08 PM, dhk [EMAIL PROTECTED] wrote: I have two callback functions. The first for when a cell in a treeview gets edited and the second for when the tab key is pressed. The first works fine. In the second, I want to emit the

Re: How to center vbox inside full screen window

2008-09-01 Thread Dov Grobgeld
Both GtkImage and GtkLabel are subclasses of GtkMisc, which means that you can set their alignments through the GtkMisc methods. Thus after after packing them together, set the yalignment of the image to 1.0 and the yalignment of the label to 0.0 (default for both are 0.5) and you should be ok.

Re: libgnomedb3.0: WARNING **: could expand into list of field

2008-09-01 Thread paragasu
i am sorry, maybe this email should go to gnome-db list. but, i can help but to continue use this thread for this time. But i come accross another problem. It compile, but now give critical error. I try to check what is wrong and tried to search using google but return no result. so, again i have

Re: increase cell height in a GtkTreeView

2008-09-01 Thread Nicolas SOUBEIRAN
Kristian Rietveld a écrit : (Apologies for such a late reply, I hope it is still of use). On Fri, Aug 1, 2008 at 11:37 AM, Nicolas Soubeiran [EMAIL PROTECTED] wrote: Hi all, I need to create a treeview with a column which displays a pixbuf that becomes bigger when the user hovers the row.

Re: quarks

2008-09-01 Thread Martin (OpenGeoMap)
G Hasse wrote: On Mon, Sep 01, 2008 at 09:16:14AM +0200, Martin (OpenGeoMap) wrote: hi: On Mon, Sep 01, 2008 at 02:20:35AM -0300, Martin (OpenGeoMap) wrote: hi!, Someone knows like quarks works in glib. I suppose quarks is a pun on atoms that is so often

GObject-Introspection 0.5.0

2008-09-01 Thread Johan Dahlin
I'm proud to announce the initial release of GObject-Introspection. Colin Walters and I have been hacking madly on it for the past couple of weeks and we have finally reached a point to where we're ready for more more users. Tarball can be found at:

Re: GObject-Introspection

2008-09-01 Thread BJörn Lindqvist
2008/6/2 Johan Dahlin [EMAIL PROTECTED]: An alternative here is make a clean break, eg only use this in new language bindings and make the typelib/GIR define the API. For Python I plan to; * Convert PyGTK .defs to .xml, still keep them locally * Find out the changes between the .gir in

Re: GObject-Introspection

2008-09-01 Thread Johan Dahlin
BJörn Lindqvist wrote: 2008/6/2 Johan Dahlin [EMAIL PROTECTED]: An alternative here is make a clean break, eg only use this in new language bindings and make the typelib/GIR define the API. For Python I plan to; * Convert PyGTK .defs to .xml, still keep them locally * Find out the changes

Re: GObject-Introspection

2008-09-01 Thread Michael Lawrence
On Mon, Sep 1, 2008 at 7:33 AM, Johan Dahlin [EMAIL PROTECTED] wrote: BJörn Lindqvist wrote: 2008/6/2 Johan Dahlin [EMAIL PROTECTED]: An alternative here is make a clean break, eg only use this in new language bindings and make the typelib/GIR define the API. For Python I plan to; *

Re: GObject-Introspection

2008-09-01 Thread Murray Cumming
On Mon, 2008-09-01 at 16:33 +0200, Johan Dahlin wrote: There were a couple of reasons to switching to xml over s-expressions. The primary one is that XML is more popular, most modern languages have parsers builtin which will make it easier to write tools upon it. Other reasons includes that

Re: GObject-Introspection

2008-09-01 Thread Johan Dahlin
Murray Cumming wrote: On Mon, 2008-09-01 at 16:33 +0200, Johan Dahlin wrote: [..] As I've told Johan, this won't be possible for significant amounts of the API, because human thought really is required to make truly usable APIs. And I worry that the auto-generation will create bad API that

Re: GObject-Introspection

2008-09-01 Thread Colin Walters
On Mon, Sep 1, 2008 at 11:18 AM, Murray Cumming [EMAIL PROTECTED] wrote: As I've told Johan, this won't be possible for significant amounts of the API, because human thought really is required to make truly usable APIs. And I worry that the auto-generation will create bad API that will be

Slaving the GTK+ main loop to an external main loop

2008-09-01 Thread Owen Taylor
One distinct problem for ports of GTK+ to other windowing systems has been dealing with modal operations in the windowing systems API; this comes up for: - Window resizing - Drag and drop - Modal print dialogs And so forth. While the modal operation is going on, the GTK+ main loop is not