A problem with GtkFileChooserButton (minor correction)

2007-03-25 Thread galtgendo
OK, should have noticed that, "file-set" will be in 2.12. Any sane way to emulate it before ? Something simpler than making a "response" callback for dialog of the GtkFileChooserButton, if not, any tips about one ? ___ gtk-app-devel-list mailing list gtk

A problem with GtkFileChooserButton

2007-03-25 Thread galtgendo
Does GtkFileChooserButton have "file-set" signal or not ? GTK API (on the web) claims it does, but when I try to connect to it, I'm getting GLib-GObject-WARNING **: gsignal.c:1669: signal `file-set' is invalid for instance `0x82ab978' and I'm connecting right after creating it, so I seems it sho

A few gtk/glib related questions

2007-03-20 Thread galtgendo
What would be the correct way of removing all rows from a text combobox, as I'm trying not to use a full combobox. Now I'm thinking about something along the lines of: i = gtk_tree_model_iter_n_children (gtk_combo_box_get_model(combobox), NULL); while (i>0) {i--; gtk_combo_box_remove_text(combo

Re: A question about deprecated widget

2006-12-18 Thread galtgendo
Jim George napisał(a): >> Actually, that feature is not that important to me, the important >> part is that scrolled window, instead of that long ugly thing that >> a really long list turns GTK_COMBO_BOX into. > > I agree that the combo box does look ugly when there are too many > elements, but t

Re: A question about deprecated widget

2006-12-18 Thread galtgendo
Paul Pogonyshev napisał(a): > Not having such a limit is a conscious decision by GTK+ team. Not a > missed feature. > Actually, that feature is not that important to me, the important part is that scrolled window, instead of that long ugly thing that a really long list turns GTK_COMBO_BOX into.

Re: A question about deprecated widget

2006-12-18 Thread galtgendo
David Nečas (Yeti) napisał(a): > On Mon, Dec 18, 2006 at 07:33:34PM +0100, [EMAIL PROTECTED] wrote: >> 1. One of the parts of GTK_COMBO seemed to be a scrolled window, what >> would be the simplest combination of widgets to have similar >> look-and-feel, cause GTK_COMBO_BOX with longer lists is s

A question about deprecated widget

2006-12-18 Thread galtgendo
As API reference states and both FAQ and tutorial on gtk.org have yet to notice, GTK_COMBO has been deprecated for some time. There's of course advice about GTK_COMBO_BOX, but that's not what I have in mind. As such I've got following questions: 1. One of the parts of GTK_COMBO seemed to be a scr