Connecting GTK application to a database

2010-02-23 Thread sruti
Hi, Can somebody help me with connecting a gtk interface with a backend database, say, Posgres? How does one embed SQL queries in the C code.? Thanks in advance Sruti ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Connecting GTK application to a database

2010-02-23 Thread Tor Lillqvist
Can somebody help me with connecting a gtk interface with a backend database, say, Posgres? How does one embed SQL queries in the C code.? GTK+ has nothing to do with that. --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Connecting GTK application to a database

2010-02-23 Thread Vivien Malerba
On 23 February 2010 17:16, Tor Lillqvist t...@iki.fi wrote: Can somebody help me with connecting a gtk interface with a backend database, say, Posgres? How does one embed SQL queries in the C code.? The Libgda library provides an uniform access to databases using a GObject oriented API. See

Re: Connecting GTK application to a database

2010-02-23 Thread Basile Starynkevitch
sruti wrote: Hi, Can somebody help me with connecting a gtk interface with a backend database, say, Posgres? How does one embed SQL queries in the C code.? I would believe that you handle this issue as in any C program. GTK is not relevant (except that you probably don't want to issue SQL

putting combobox in toolbar

2010-02-23 Thread walter tallent
Hi. I'm trying to add a combobox to my toolbar. I get as far as embedding it into a GtkToolButton with gtk_tool_button_set_label_widget but it seems the button itself is intercepting the mouse clicks and I can't come up with what I need to do to get the clicks through to the combobox so it

GTK+ 2.19.6 released

2010-02-23 Thread Matthias Clasen
GTK+ 2.19.6 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.19/ http://download.gnome.org/sources/gtk+/2.19/ md5 sums: 524021c965a0e1a4ebadd58c576926a5 gtk+-2.19.6.tar.bz2 1311c99903e4dd28bf42a352b05788db gtk+-2.19.6.tar.gz sha1 sums: 0a4267fe2f3022f39fdf1a2a3817e520c0ff

Re: putting combobox in toolbar

2010-02-23 Thread Tadej Borovšak
Hello. Don't use GtkToolButton for this purpose, use it's parent, GtkToolItem[1] directly and pack combo box inside it. Tadej [1] http://library.gnome.org/devel/gtk/stable/GtkToolItem.html -- Tadej Borovšak tadeboro.blogspot.com tadeb...@gmail.com tadej.borov...@gmail.com

buttons in GtkMenus, and GtkUIManager

2010-02-23 Thread Brian J. Tarricone
So I have a bit of a weird request. I'm creating a menu based on several merged UI descriptions at runtime, using GtkUIManager. This part works great. The problem is that our user experience guys want a sort of toggle-button-like radio selector at the top of the menu (this will be for a

When deprecating, always say what the replacement is.

2010-02-23 Thread Murray Cumming
When we deprecate API, please remember to document what the replacement is. People forget this quite often. A small recent example that doesn't do this: http://git.gnome.org/browse/gtk +/commit/?id=bb1824c131f247c2ef64f3c5f8b9ffe3885c9d90 -- murr...@murrayc.com www.murrayc.com www.openismus.com

Re: When deprecating, always say what the replacement is.

2010-02-23 Thread Javier Jardón
2010/2/23 Murray Cumming murr...@murrayc.com: When we deprecate API, please remember to document what the replacement is. People forget this quite often. A small recent example that doesn't do this: http://git.gnome.org/browse/gtk +/commit/?id=bb1824c131f247c2ef64f3c5f8b9ffe3885c9d90

Re: When deprecating, always say what the replacement is.

2010-02-23 Thread Claudio Saavedra
El mar, 23-02-2010 a las 19:17 +0100, Javier Jardón escribió: 2010/2/23 Murray Cumming murr...@murrayc.com: When we deprecate API, please remember to document what the replacement is. People forget this quite often. A small recent example that doesn't do this:

Re: When deprecating, always say what the replacement is.

2010-02-23 Thread Murray Cumming
On Tue, 2010-02-23 at 19:17 +0100, Javier Jardón wrote: 2010/2/23 Murray Cumming murr...@murrayc.com: When we deprecate API, please remember to document what the replacement is. People forget this quite often. A small recent example that doesn't do this: http://git.gnome.org/browse/gtk

GTK+ 2.19.6 released

2010-02-23 Thread Matthias Clasen
GTK+ 2.19.6 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.19/ http://download.gnome.org/sources/gtk+/2.19/ md5 sums: 524021c965a0e1a4ebadd58c576926a5 gtk+-2.19.6.tar.bz2 1311c99903e4dd28bf42a352b05788db gtk+-2.19.6.tar.gz sha1 sums: 0a4267fe2f3022f39fdf1a2a3817e520c0ff

Re: When deprecating, always say what the replacement is.

2010-02-23 Thread Michael Natterer
On Tue, 2010-02-23 at 19:59 +0100, Murray Cumming wrote: On Tue, 2010-02-23 at 19:17 +0100, Javier Jardón wrote: 2010/2/23 Murray Cumming murr...@murrayc.com: When we deprecate API, please remember to document what the replacement is. People forget this quite often. A small recent

Re: When deprecating, always say what the replacement is.

2010-02-23 Thread Morten Welinder
As a matter of fact, it is. There is not supposed to be any replacement for the stuff that says Do not use it. Everything that has a replacement is however documented. So please, a little research before bashing perfectly good commits. How about a research before bashing perfectly good

Re: When deprecating, always say what the replacement is.

2010-02-23 Thread Murray Cumming
On Tue, 2010-02-23 at 22:36 +0100, Michael Natterer wrote: On Tue, 2010-02-23 at 19:59 +0100, Murray Cumming wrote: No, Deprecated: 2.20: Do not use it. is not good enough. As a matter of fact, it is. There is not supposed to be any replacement for the stuff that says Do not use it.

Re: Remarks on gtk docs

2010-02-23 Thread Joost
This here (the middle paragraph) had been cut by a bug anywhere - it is in the version in my Sent folder. I send it a second time from Thunderbird - perhaps i must search for another email client than Thunderbird, Sylpheed or Pegasus) And i had found it somewhere on library.gnome.org - yes it is

Do not use Pegasus for sending to this list (?)

2010-02-23 Thread Joost
Hm, perhaps i must change my email client another time (from Thunderbird to Pegasus and now what - unix sendmail ?). The thread Remarks on gtk docs is terrible - i must beg you pardon. And a paragraph had been cut-off from the main entry, the middle paragraph of these 3 here: And i had found

Do not use Pegasus for sending to this list (?) - PS to remarks on doc

2010-02-23 Thread Joost
Hm, perhaps i must change my email client another time (from Thunderbird with its bad behavior in small networks to Pegasus and now what - unix sendmail ?). The thread Remarks on gtk docs is terrible - i must beg your pardon. And a paragraph had been cut-off from the main entry (Pegasus has the

A problem with a treeview header's columns

2010-02-23 Thread MILLEREUX , Sébastien
Hello, I've posted the bug 610277 on https://bugzilla.gnome.org but I'm not sure I will have a quick response and a solution... maybe someone will help me on this mailing list. As i posted, i'm working with directfb 1.4.3 and gtk 2.16.6 I've include a GtkTreeView into a GtkScrolledWindow into

GLib-GObject-CRITICAL after make install glib-2.22.4

2010-02-23 Thread UGP
Hi, I surf to LXDE website and download tarball for compile by myself. It say need newer version gtk+ library, so I go to download gtk+ tarball too. And make install it. When glib-2.22.4 install finish, I attend LXDE's deb files for install, I add lxde apt information and use apt-get install

Re: GLib-GObject-CRITICAL after make install glib-2.22.4

2010-02-23 Thread Tadej Borovšak
Hello. It say need newer version gtk+ library, so I go to download gtk+ tarball too. And make install it. When glib-2.22.4 install finish, I attend LXDE's deb files for install, I add lxde apt information and use apt-get install lxde. How did you install all of this stuff? More exactly,

Re: Remarks on gtk docs

2010-02-23 Thread Tor Lillqvist
That is a sure way to loose the battle against QT. People who like Qt (not QT) use that if they have a choice, people who like GTK+ use that if they have a choice. Where is the battle? --tml ___ gtk-list mailing list gtk-list@gnome.org

All widget are too fat - theming not working properly

2010-02-23 Thread Matthias Fuchs
Hi guys, imho, all gtk widgets are much to fat/big, especially comboboxes, buttons and tabs. So ok, it's possible to decrease x-/ythickness, some paddings and stuff like this. After much hours of tweaking and tuning I managed to create a minimal theme. Though some buttons (those without

GTK+ 2.19.6 released

2010-02-23 Thread Matthias Clasen
GTK+ 2.19.6 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.19/ http://download.gnome.org/sources/gtk+/2.19/ md5 sums: 524021c965a0e1a4ebadd58c576926a5 gtk+-2.19.6.tar.bz2 1311c99903e4dd28bf42a352b05788db gtk+-2.19.6.tar.gz sha1 sums: 0a4267fe2f3022f39fdf1a2a3817e520c0ff

Re: Remarks on gtk docs

2010-02-23 Thread Tor Lillqvist
That is a sure way to loose the battle against QT. People who like Qt (not QT) use it if they have a choice, people who like GTK+ use it if they have a choice. Where is the battle? --tml ___ gtk-list mailing list gtk-list@gnome.org

Re: Remarks on gtk docs

2010-02-23 Thread 1
Hello Thor, after this mishap probably caused by Pegasus (or a misconfiguration by me - but so far i never heard from problems other addressees had) i'll use my ISP's webmailer for this mailbox for a while. Battle was an adoption from wikipedia's browser war - a bit superficial of course. But