Hellow! I have created 2 FileChooser buttons with following lines:
Code:
GtkWidget *fc_button_i, *fc_button_o; //global
fc_button_i = gtk_file_chooser_button_new ("Browse", GTK_FILE_CHOOSER_ACTION_OPEN);
gtk_box_pack_start (GTK_BOX (box1), fc_button_i, TRUE, TRUE, 0);
gtk_widget_show (fc_button_i);
fc_button_o = gtk_file_chooser_button_new ("Browse", GTK_FILE_CHOOSER_ACTION_SAVE);
gtk_box_pack_start (GTK_BOX (box2), fc_button_o, TRUE, TRUE, 0);
gtk_widget_show (fc_button_o);
First of all I do not see button's names "Browse" I have selected. How do I get them visible?
Then, as it is shown on attached image, second button does not appear and errors are printed in console when button is in GTK_FILE_CHOOSER_ACTION_SAVE mode. If I select GTK_FILE_CHOOSER_ACTION_OPEN for the same button all is ok. What could be wrong?