Re: ComboBox and TreeView issues

2007-10-08 Thread Kristian Rietveld
Hi, On Thu, Oct 04, 2007 at 05:53:23PM +0200, [EMAIL PROTECTED] wrote: (when opening the tab) barcode_buttons[2561]: GLIB CRITICAL ** Gtk - gtk_tree_store_get_path: assertion `iter-user_data != NULL' failed These usually mean that the iterator you are passing to gtk_tree_store_get_path() is

Re: How to use the treeview column title style for a button?

2007-10-08 Thread Kristian Rietveld
Hi, On Sun, Oct 07, 2007 at 12:35:01PM +0200, Bastiaan Veelo wrote: I am a style newbie. I want some of the buttons in my widget to look like the column title buttons in a treeview. How do I do that? As far as I know themes style the buttons in the column headers of GtkTreeView by using a

How to make a button look like a treeview column title? [Was: How to use the treeview column title style for a button?]

2007-10-08 Thread Bastiaan Veelo
Kristian Rietveld wrote: Hi, On Sun, Oct 07, 2007 at 12:35:01PM +0200, Bastiaan Veelo wrote: I am a style newbie. I want some of the buttons in my widget to look like the column title buttons in a treeview. How do I do that? Something like this seems to work for me: button =

Re: How to make a button look like a treeview column title? [Was: How to use the treeview column title style for a button?]

2007-10-08 Thread Kristian Rietveld
On Mon, Oct 08, 2007 at 03:53:29PM +0200, Bastiaan Veelo wrote: Something like this seems to work for me: button = gtk_button_new_with_label (...); style = gtk_rc_get_style_by_paths (gtk_widget_get_settings (button), *.GtkTreeView.GtkButton,

Re: How to make a button look like a treeview column title? [Was: How to use the treeview column title style for a button?]

2007-10-08 Thread Bastiaan Veelo
Kristian Rietveld wrote: On Mon, Oct 08, 2007 at 03:53:29PM +0200, Bastiaan Veelo wrote: Something like this seems to work for me: button = gtk_button_new_with_label (...); style = gtk_rc_get_style_by_paths (gtk_widget_get_settings (button),

Re: How to make a button look like a treeview column title? [Was: How to use the treeview column title style for a button?]

2007-10-08 Thread Bastiaan Veelo
I looked at modules/engines/ms-windows/msw_style.c, line 855, and tried the following, without succes: gchar* class_path = NULL; gtk_widget_class_path(button, NULL, class_path, NULL); gchar buf[1024]; g_snprintf (buf, sizeof(buf), widget_class \%s\ style

Re: How to make a button look like a treeview column title? [Was: How to use the treeview column title style for a button?]

2007-10-08 Thread Bastiaan Veelo
Hi, I have done some more experimenting with styles, attached, and my confusion has only grown bigger. See comments in the source. I still cannot get an ordinary button to look like a tree view title... Should I go ask on gtk-devel? Regards, Bastiaan.

Re: How to make a button look like a treeview column title? [Was: How to use the treeview column title style for a button?]

2007-10-08 Thread Bastiaan Veelo
One more try with attachments. Bastiaan Veelo wrote: I have done some more experimenting with styles, attached, and my confusion has only grown bigger. See comments in the source. I still cannot get an ordinary button to look like a tree view title...

Re: How to make a button look like a treeview column title? [Was: How to use the treeview column title style for a button?]

2007-10-08 Thread Bastiaan Veelo
#include gtk/gtk.h int main( int argc, char *argv[] ) { gtk_init (argc, argv); GtkWidget *window = gtk_window_new (GTK_WINDOW_TOPLEVEL); g_signal_connect (window, destroy, G_CALLBACK (gtk_widget_destroyed), window); GtkWidget *vbox = gtk_vbox_new (FALSE,

Re: gtk_show_help and gtk_show_url

2007-10-08 Thread Alexander Larsson
On Sun, 2007-10-07 at 17:10 -0400, Havoc Pennington wrote: Hi, Sketching out an API here, prototype attached. See also http://mail.gnome.org/archives/gtk-devel-list/2007-September/msg00139.html Some questions: - in current GNOME, what are the right parameters to open a help file?

Re: Logo (was Re: GTK+ Website Review)

2007-10-08 Thread Kristian Rietveld
On Sun, Oct 07, 2007 at 04:22:09PM +0100, Alberto Ruiz wrote: Have anyone seen this[0] one? I think it's a great improvement over the original one. And as Xan said, we avoid the aqua-and-rounded-corners-mac-and-web20-like look and feel :) [0] http://en.wikipedia.org/wiki/Image:GTK.svg I

Re: Logo (was Re: GTK+ Website Review)

2007-10-08 Thread BJörn Lindqvist
On 10/7/07, Christophe Dehais [EMAIL PROTECTED] wrote: ok guys, one more cube here. again, no color, just to see how the shapes look like. I think it looks very good and the current sketched box icon is ugly. It is impossible to make it look good at different resolutions. -- mvh Björn

Re: gtk_show_help and gtk_show_url

2007-10-08 Thread Mark McLoughlin
Hey, On Sun, 2007-10-07 at 17:10 -0400, Havoc Pennington wrote: - are the _with_env() flavors of these functions needed, if gtk does startup notification itself? (gnome-vfs and libgnome have with_env versions of url_show and help_show) The with_env() versions in libgnome and

Re: Logo (was Re: GTK+ Website Review)

2007-10-08 Thread Mathias Hasselmann
Am Montag, den 08.10.2007, 11:36 +0200 schrieb Kristian Rietveld: On Sun, Oct 07, 2007 at 04:22:09PM +0100, Alberto Ruiz wrote: Have anyone seen this[0] one? I think it's a great improvement over the original one. And as Xan said, we avoid the aqua-and-rounded-corners-mac-and-web20-like

Re: gtk_show_help and gtk_show_url

2007-10-08 Thread Shaun McCance
On Sun, 2007-10-07 at 17:10 -0400, Havoc Pennington wrote: Hi, Sketching out an API here, prototype attached. See also http://mail.gnome.org/archives/gtk-devel-list/2007-September/msg00139.html Some questions: - in current GNOME, what are the right parameters to open a help file?

Query

2007-10-08 Thread Bobby Walters
Does anyone on this list, write commercial applications? Or purely Open Source Development? And, has anyone used GTK to create a really fancy, applications..found in some of hte fanciest windows programs? -- *-With the power to be evil, comes the responsibility to be good!-*

GdkPixbuf vs. Cairo, new image library needed?

2007-10-08 Thread BJörn Lindqvist
Hello all, I'd like to ask some questions and maybe also start some discussion about GDK and Cairo. GTK+ is built on top of GDK and those libraries were built together so they fit well with each other. But now, parts (or all?) of GDK is about to be replaced with the much more powerful Cairo

Re: gtk_show_help and gtk_show_url

2007-10-08 Thread Havoc Pennington
Hi, I had a random thought at the summit; what if we add a new library in the stack (perhaps shipping with GLib or GTK tarball, I don't know). Call it libgapplication. It would contain: - GApplication - GSettings - dbus main loop hooks - ... It would depend on GObject, dbus, gvfs,

Re: gtk_show_help and gtk_show_url

2007-10-08 Thread Johan Dahlin
Havoc Pennington wrote: Hi, I had a random thought at the summit; what if we add a new library in the stack (perhaps shipping with GLib or GTK tarball, I don't know). Call it libgapplication. It would contain: - GApplication - GSettings - dbus main loop hooks - ... Session

Re: GdkPixbuf vs. Cairo, new image library needed?

2007-10-08 Thread Kalle Vahlman
2007/10/8, BJörn Lindqvist [EMAIL PROTECTED]: Hello all, I'd like to ask some questions and maybe also start some discussion about GDK and Cairo. GTK+ is built on top of GDK and those libraries were built together so they fit well with each other. But now, parts (or all?) of GDK is about to

Re: Query

2007-10-08 Thread Kalle Vahlman
2007/10/8, Bobby Walters [EMAIL PROTECTED]: Does anyone on this list, write commercial applications? Or purely Open Source Development? I do both. And, has anyone used GTK to create a really fancy, applications..found in some of hte fanciest windows programs? I have at least tried, I guess

Re: GdkPixbuf vs. Cairo, new image library needed?

2007-10-08 Thread Havoc Pennington
Hi, BJörn Lindqvist wrote: So how about replacing gdk-pixbuf with something cairo compatible that is also modern? 16 bits per sample is common these days. Support for digital camera RAW images would also be nice. Is a completely new image library worth pursuing? Are there maybe better ways to

Re: Query

2007-10-08 Thread Daniel Kasak
On Mon, 2007-10-08 at 08:42 -0700, Bobby Walters wrote: Does anyone on this list, write commercial applications? Yes. Or purely Open Source Development? I do that too. And, has anyone used GTK to create a really fancy, applications..found in some of hte fanciest windows programs? Sure.

Re: gtk_show_help and gtk_show_url

2007-10-08 Thread Sebastian Rittau
On Mon, Oct 08, 2007 at 12:10:26PM -0400, Havoc Pennington wrote: I had a random thought at the summit; what if we add a new library in the stack (perhaps shipping with GLib or GTK tarball, I don't know). Call it libgapplication. It would contain: - GApplication - GSettings - dbus

Re: using dbus in the platform

2007-10-08 Thread Alp Toker
Havoc Pennington wrote: I want to propose moving forward on this front. Here is a strawman approach. 1) Create a GLib main loop integration library, separate from dbus-glib (dbus-glib should now depend on this main loop integration library). Note the distinction between a framework