GtkFileChooserWidget with only extra Name line in SAVE mode

2012-09-20 Thread Yury Alyaev
Hello all, I'm wondering if there is a mean to make GtkFileChooserWidget in SAVE mode to look like in OPEN mode with only additional Name: + entry line above the stuff common in SAVE and OPEN modes. That is I want to remove Save in folder: + combo + expander Browse for other folder. I have

Event propagation question.

2012-10-10 Thread Yury Alyaev
Hello all, I'm porting an application from Gtk+-1 to Gtk+-2 and one problem has appeared. I have the following object: toggle button containing vbox with three widgets inside. Depending on the toggle button state one of the first two widgets inside vbox is hidden and another one is shown.

Re: Event propagation question.

2012-10-15 Thread Yury Alyaev
I have prepared the almost minimal code for demonstrating the problem: http://dl.dropbox.com/u/66392348/test.tar.bz2 The detailed behavior is rather strange: after the first click, when the toggle button change its state, the button stops to process activated and clicked events although

Event propagation question, part 2.

2012-11-02 Thread Yury Alyaev
Hello all, I have managed to know some details in my problem. For those who didn't read previous messages, the problem is following (in a bit simplified manner): GtkButton contains a box which in turn contains two custom widgets, one is shown and another is hidden. When I hide one widget and

Re: Event propagation question, part 2.

2012-11-02 Thread Yury Alyaev
Sorry, seems one attachmen is lost. Here is the example code itself: #include gtk/gtk.h static GtkWidget *thing[2]; static gboolean destroy(void) { gtk_main_quit(); return FALSE; } static void toggled(GtkToggleButton *b) { gboolean state =

GtkCOmboBox, handling pre-selection

2012-11-26 Thread Yury Alyaev
Hello all, I'm trying to manage the following task: when a GtkComboBox is activated (its pop-down list is shown), moving the pointer above it causes selection changing, but no signal is emitted. The signal @changed@ is emitted when any list item is selecting by click, but I also want to