pike.git / src / post_modules / GTK2 / source / gtkfilechooser.inc

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkfilechooser.inc:19:   //! Sets type of action, from opening or saving a file, or   //! opening or saving a folder.   //! Options are:   //! CONST(GTK_FILE_CHOOSER_ACTION_OPEN)   //! CONST(GTK_FILE_CHOOSER_ACTION_SAVE)   //! CONST(GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER)   //! CONST(GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER)   {    pgtk_verify_inited();    { -  int action; +  INT_TYPE action;    get_all_args("set_action",args,"%i",&action);    gtk_file_chooser_set_action(GTK_FILE_CHOOSER(THIS->obj),action);    }    RETURN_THIS();   }      int get_action()   //! Get the type of action the file chooser is performing.   {    pgtk_verify_inited();
pike.git/src/post_modules/GTK2/source/gtkfilechooser.inc:42:    my_pop_n_elems(args);    PGTK_PUSH_INT(res);    }   }      void set_local_only(int local_only)   //! Sets whether on local files can be selected.   {    pgtk_verify_inited();    { -  int loc; +  INT_TYPE loc;    get_all_args("set_local_only",args,"%i",&loc);    gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(THIS->obj),loc);    }    RETURN_THIS();   }      int get_local_only()   //! Gets whether only local files can be selected in the file selector.   {    pgtk_verify_inited();
pike.git/src/post_modules/GTK2/source/gtkfilechooser.inc:68:   }      void set_select_multiple(int select_multiple)   //! Sets whether multiple files can be selected in the file selector.   //! This is only relevant if the action is set to be   //! CONST(GTK_FILE_CHOOSER_ACTION_OPEN) or   //! CONST(GTK_FILE_CHOOSER_ACTION_SAVE)   {    pgtk_verify_inited();    { -  int sel; +  INT_TYPE sel;    get_all_args("set_select_multiple",args,"%i",&sel);    gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(THIS->obj),sel);    }    RETURN_THIS();   }      int get_select_multiple()   //! Gets whether multiple files can be selected.   {    pgtk_verify_inited();
pike.git/src/post_modules/GTK2/source/gtkfilechooser.inc:92:    PGTK_PUSH_INT(res);    }   }      require gtk26;   void set_show_hidden(int setting)   //! Sets whether hidden files and folders are displayed.   {    pgtk_verify_inited();    { -  int set; +  INT_TYPE set;    get_all_args("set_show_hidden",args,"%i",&set);    gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(THIS->obj),set);    }    RETURN_THIS();   }      int get_show_hidden()   //! Gets whether hidden files and folders are displayed.   {    pgtk_verify_inited();
pike.git/src/post_modules/GTK2/source/gtkfilechooser.inc:421:   }      void set_preview_widget_active(int setting)   //! Sets whether the preview widget set by set_preview_widget() should be shown   //! for the current filename. When setting is set to false, the file chooser   //! may display an internally generated preview of the current file or it may   //! display no preview at all.   {    pgtk_verify_inited();    { -  int set; +  INT_TYPE set;    get_all_args("set_preview_widget_active",args,"%i",&set);    gtk_file_chooser_set_preview_widget_active(GTK_FILE_CHOOSER(THIS->obj),set);    }    RETURN_THIS();   }      int get_preview_widget_active()   //! Gets whether the preview widget set by set_preview_widget_active() should   //! be shown for the current filename.   {
pike.git/src/post_modules/GTK2/source/gtkfilechooser.inc:449:   }      void set_use_preview_label(int setting)   //! Sets whether the file chooser should display a stock label with the name   //! of the file that is being previewed; the default is true. Applications   //! that want to draw the whole preview area themselves should set this to   //! false and display the name themselves in their preview widget.   {    pgtk_verify_inited();    { -  int set; +  INT_TYPE set;    get_all_args("set_use_preview_label",args,"%i",&set);    gtk_file_chooser_set_use_preview_label(GTK_FILE_CHOOSER(THIS->obj),set);    }    RETURN_THIS();   }      int get_use_preview_label()   //! Gets whether a stock label should be drawn with the name of the previewed   //! file.   {