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 touchscr

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

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 g

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 will

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 quer

Re: Connecting GTK application to a database

2010-02-23 Thread Vivien Malerba
On 23 February 2010 17:16, Tor Lillqvist 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 http://ww

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 http:

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 http://mail.gnome.org/