Re: disable FileChooser elements?



johnsjam comcast net wrote:
Welcome,

Here is the code I use:

  file_dialog = gtk_file_selection_new(file_options[file_option]);

  gtk_widget_hide(file_dialog->history_pulldown);
  gtk_widget_hide(file_dialog->selection_entry);
  gtk_widget_hide(file_dialog->selection_text);
  gtk_widget_hide(file_dialog->dir_list->parent);
  gtk_file_selection_hide_fileop_buttons(file_dialog);

Gets rid of alot of stuff.... The only thing thats left is the okay and cancel buttons.

Jimmy

Thanks for the response. I'll agree that works for a FileSelection widget, but it won't work for a FileChooser widget. What I need to know is how to do this for the FileChooser widget.

-Doug



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]