/usr/share/gtk-doc/html/libxfcegui4/libxfcegui4-XfceFileChooser.html is in libxfcegui4-dev 4.10.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>XfceFileChooser</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="libxfcegui4 Reference Manual">
<link rel="up" href="libxfcegui4-core.html" title="Xfce GUI Core Reference">
<link rel="prev" href="XfceAppMenuItem.html" title="XfceAppMenuItem">
<link rel="next" href="XfceFramebox.html" title="XfceFramebox">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="XfceAppMenuItem.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libxfcegui4-core.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libxfcegui4 Reference Manual</th>
<td><a accesskey="n" href="XfceFramebox.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libxfcegui4-XfceFileChooser.synopsis" class="shortcut">Top</a>
|
<a href="#libxfcegui4-XfceFileChooser.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libxfcegui4-XfceFileChooser"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libxfcegui4-XfceFileChooser.top_of_page"></a>XfceFileChooser</span></h2>
<p>XfceFileChooser — a wrapper around <a class="ulink" href="http://developer.gnome.org/doc/API/2.0/gtk/GtkFileSelection.html" target="_top">GtkFileSelection</a> and <a class="ulink" href="http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooserDialog.html" target="_top">GtkFileChooserDialog</a></p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libxfcegui4-XfceFileChooser.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <libxfcegui4/libxfcegui4.h>
typedef <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser">XfceFileChooser</a>;
enum <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooserAction" title="enum XfceFileChooserAction">XfceFileChooserAction</a>;
<span class="returnvalue">void</span> (<a class="link" href="libxfcegui4-XfceFileChooser.html#PreviewUpdateFunc" title="PreviewUpdateFunc ()">*PreviewUpdateFunc</a>) (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-dialog-new" title="xfce_file_chooser_dialog_new ()">xfce_file_chooser_dialog_new</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooserAction" title="enum XfceFileChooserAction"><span class="type">XfceFileChooserAction</span></a> action</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_button_text</code></em>,
<em class="parameter"><code>...</code></em>);
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-new" title="xfce_file_chooser_new ()">xfce_file_chooser_new</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooserAction" title="enum XfceFileChooserAction"><span class="type">XfceFileChooserAction</span></a> action</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_button_text</code></em>,
<em class="parameter"><code>...</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-select-multiple" title="xfce_file_chooser_set_select_multiple ()">xfce_file_chooser_set_select_multiple</a>
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> select_multiple</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-get-select-multiple" title="xfce_file_chooser_get_select_multiple ()">xfce_file_chooser_get_select_multiple</a>
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-current-name" title="xfce_file_chooser_set_current_name ()">xfce_file_chooser_set_current_name</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-get-filename" title="xfce_file_chooser_get_filename ()">xfce_file_chooser_get_filename</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-filename" title="xfce_file_chooser_set_filename ()">xfce_file_chooser_set_filename</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-get-filenames" title="xfce_file_chooser_get_filenames ()">xfce_file_chooser_get_filenames</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-current-folder" title="xfce_file_chooser_set_current_folder ()">xfce_file_chooser_set_current_folder</a>
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-get-current-folder" title="xfce_file_chooser_get_current_folder ()">xfce_file_chooser_get_current_folder</a>
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-preview-widget" title="xfce_file_chooser_set_preview_widget ()">xfce_file_chooser_set_preview_widget</a>
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *preview_widget</code></em>);
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-get-preview-widget" title="xfce_file_chooser_get_preview_widget ()">xfce_file_chooser_get_preview_widget</a>
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-preview-callback" title="xfce_file_chooser_set_preview_callback ()">xfce_file_chooser_set_preview_callback</a>
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#PreviewUpdateFunc" title="PreviewUpdateFunc ()"><span class="type">PreviewUpdateFunc</span></a> func</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-preview-widget-active" title="xfce_file_chooser_set_preview_widget_active ()">xfce_file_chooser_set_preview_widget_active</a>
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> active</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-get-preview-widget-active" title="xfce_file_chooser_get_preview_widget_active ()">xfce_file_chooser_get_preview_widget_active</a>
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-use-preview-label" title="xfce_file_chooser_set_use_preview_label ()">xfce_file_chooser_set_use_preview_label</a>
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_label</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-extra-widget" title="xfce_file_chooser_set_extra_widget ()">xfce_file_chooser_set_extra_widget</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *extra_widget</code></em>);
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-get-extra-widget" title="xfce_file_chooser_get_extra_widget ()">xfce_file_chooser_get_extra_widget</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-add-filter" title="xfce_file_chooser_add_filter ()">xfce_file_chooser_add_filter</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> *filter</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-remove-filter" title="xfce_file_chooser_remove_filter ()">xfce_file_chooser_remove_filter</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> *filter</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-filter" title="xfce_file_chooser_set_filter ()">xfce_file_chooser_set_filter</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> *filter</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-local-only" title="xfce_file_chooser_set_local_only ()">xfce_file_chooser_set_local_only</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> local_only</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-get-local-only" title="xfce_file_chooser_get_local_only ()">xfce_file_chooser_get_local_only</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-add-shortcut-folder" title="xfce_file_chooser_add_shortcut_folder ()">xfce_file_chooser_add_shortcut_folder</a>
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *folder</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-remove-shortcut-folder" title="xfce_file_chooser_remove_shortcut_folder ()">xfce_file_chooser_remove_shortcut_folder</a>
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *folder</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
typedef <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter">XfceFileFilter</a>;
<a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="returnvalue">XfceFileFilter</span></a> * <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-filter-new" title="xfce_file_filter_new ()">xfce_file_filter_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-filter-set-name" title="xfce_file_filter_set_name ()">xfce_file_filter_set_name</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> *filter</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-filter-add-mime-type" title="xfce_file_filter_add_mime_type ()">xfce_file_filter_add_mime_type</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> *filter</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mime_type</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-filter-add-pattern" title="xfce_file_filter_add_pattern ()">xfce_file_filter_add_pattern</a> (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> *filter</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *pattern</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libxfcegui4-XfceFileChooser.description"></a><h2>Description</h2>
<p>
<a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> is meant to be used as a gtk-version-neutral file selector.
If libxfcegui4 is compiled against GTK+ 2.0 or 2.2, <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> will use
the older
<a class="ulink" href="http://developer.gnome.org/doc/API/2.0/gtk/GtkFileSelection.html" target="_top">GtkFileSelection</a>.
If libxfcegui4 is compiled against GTK+ 2.4 or greater, <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> will
use <a class="ulink" href="http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooserDialog.html" target="_top">GtkFileChooserDialog</a>.
The API of <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> is designed to be similar to that of the
<a class="ulink" href="http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooser.html" target="_top">GtkFileChooser</a>
interface, and may behave differently from the older
<a class="ulink" href="http://developer.gnome.org/doc/API/2.0/gtk/GtkFileSelection.html" target="_top">GtkFileSelection</a>
API.
</p>
</div>
<div class="refsect1">
<a name="libxfcegui4-XfceFileChooser.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="XfceFileChooser"></a><h3>XfceFileChooser</h3>
<pre class="programlisting">typedef GtkDialog XfceFileChooser;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="XfceFileChooserAction"></a><h3>enum XfceFileChooserAction</h3>
<pre class="programlisting">typedef enum {
/*< prefix=XFCE_FILE_CHOOSER_ACTION_ >*/
XFCE_FILE_CHOOSER_ACTION_OPEN,
XFCE_FILE_CHOOSER_ACTION_SAVE,
XFCE_FILE_CHOOSER_ACTION_SELECT_FOLDER,
XFCE_FILE_CHOOSER_ACTION_CREATE_FOLDER
} XfceFileChooserAction;
</pre>
<p>
Describes whether a <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> is being used to open
existing files or to save to a possibly new file.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="XFCE-FILE-CHOOSER-ACTION-OPEN:CAPS"></a><span class="term"><code class="literal">XFCE_FILE_CHOOSER_ACTION_OPEN</code></span></p></td>
<td>Indicates open mode. The file chooser
will only let the user pick an existing file.
</td>
</tr>
<tr>
<td><p><a name="XFCE-FILE-CHOOSER-ACTION-SAVE:CAPS"></a><span class="term"><code class="literal">XFCE_FILE_CHOOSER_ACTION_SAVE</code></span></p></td>
<td>Indicates save mode. The file chooser
will let the user pick an existing file, or type in a new
filename.
</td>
</tr>
<tr>
<td><p><a name="XFCE-FILE-CHOOSER-ACTION-SELECT-FOLDER:CAPS"></a><span class="term"><code class="literal">XFCE_FILE_CHOOSER_ACTION_SELECT_FOLDER</code></span></p></td>
<td>Indicates an Open mode for
selecting folders. The file chooser will let the user pick an
existing folder.
</td>
</tr>
<tr>
<td><p><a name="XFCE-FILE-CHOOSER-ACTION-CREATE-FOLDER:CAPS"></a><span class="term"><code class="literal">XFCE_FILE_CHOOSER_ACTION_CREATE_FOLDER</code></span></p></td>
<td>Indicates a mode for creating a
new folder. The file chooser will let the user name an existing or
new folder.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="PreviewUpdateFunc"></a><h3>PreviewUpdateFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> (*PreviewUpdateFunc) (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
Use this function prototype for functions to be passed to
<a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-preview-callback" title="xfce_file_chooser_set_preview_callback ()"><code class="function">xfce_file_chooser_set_preview_callback()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>The <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> where the signal occurred.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>The <em class="parameter"><code>user_data</code></em> passed to <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-preview-callback" title="xfce_file_chooser_set_preview_callback ()"><code class="function">xfce_file_chooser_set_preview_callback()</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-dialog-new"></a><h3>xfce_file_chooser_dialog_new ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * xfce_file_chooser_dialog_new (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooserAction" title="enum XfceFileChooserAction"><span class="type">XfceFileChooserAction</span></a> action</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_button_text</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_dialog_new</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.</p>
</div>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>The dialog's window title, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>The dialog's transient parent window, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
<td>Open or save mode for dialog.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>first_button_text</code></em> :</span></p></td>
<td>Stock ID or text for the first button.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td>Response ID for the first button, followed by additional (button, ID)
pairs, terminated with a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> argument.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> dialog widget.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-new"></a><h3>xfce_file_chooser_new ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * xfce_file_chooser_new (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooserAction" title="enum XfceFileChooserAction"><span class="type">XfceFileChooserAction</span></a> action</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_button_text</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_new</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Constructs a new file chooser dialog. If compiled against GTK+ 2.4 (or
above), this will create a
<a class="ulink" href="http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooserDialog.html" target="_top">GtkFileChooserDialog</a>.
For GTK+ 2.0 and 2.2, this creates a
<a class="ulink" href="http://developer.gnome.org/doc/API/2.0/gtk/GtkFileSelection.html" target="_top">GtkFileSelection</a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>The dialog's window title, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>The dialog's transient parent window, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
<td>Open or save mode for dialog.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>first_button_text</code></em> :</span></p></td>
<td>Stock ID or text for the first button.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td>Response ID for the first button, followed by additional (button, ID)
pairs, terminated with a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> argument.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> dialog widget.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-set-select-multiple"></a><h3>xfce_file_chooser_set_select_multiple ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_chooser_set_select_multiple
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> select_multiple</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_set_select_multiple</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Sets whether multiple files can be selected in the file chooser.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>select_multiple</code></em> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> it multiple files can be selected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-get-select-multiple"></a><h3>xfce_file_chooser_get_select_multiple ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> xfce_file_chooser_get_select_multiple
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_get_select_multiple</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Gets whether multiple files can be selected in the file chooser. See
<a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-select-multiple" title="xfce_file_chooser_set_select_multiple ()"><code class="function">xfce_file_chooser_set_select_multiple()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if multiple files can be selected, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-set-current-name"></a><h3>xfce_file_chooser_set_current_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_chooser_set_current_name (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_set_current_name</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Sets the name to be displayed in the file chooser's entry box, as if entered
by the user. This function is meant to be used, e.g., to suggest a file
name to a user in a "Save as..." dialog.
</p>
<p>
To preselect a particular existing filename, see
<a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-filename" title="xfce_file_chooser_set_filename ()"><code class="function">xfce_file_chooser_set_filename()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>The filename to use (UTF-8 only).</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-get-filename"></a><h3>xfce_file_chooser_get_filename ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * xfce_file_chooser_get_filename (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_get_filename</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Returns the currently selected file in the file chooser. If multiple files
are selected, behavior is indeterminate.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The currently selected filename, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no file is
selected. This string is allocated by libxfcegui4 and should
be released with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when it is no longer needed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-set-filename"></a><h3>xfce_file_chooser_set_filename ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> xfce_file_chooser_set_filename (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_set_filename</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Sets <em class="parameter"><code>filename</code></em> as the currently selected file in the file chooser, changing
the file chooser's directory view if necessary.
</p>
<p>
Note that the file must exist, or nothing will occur except for possibly a
directory change. If you wish to suggest a file name to the user, use
<a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-current-name" title="xfce_file_chooser_set_current_name ()"><code class="function">xfce_file_chooser_set_current_name()</code></a> instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>A filename to set.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file exists and was selected, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-get-filenames"></a><h3>xfce_file_chooser_get_filenames ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * xfce_file_chooser_get_filenames (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_get_filenames</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Gets a list of file names selected in the file chooser. This is intended for
use when <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-select-multiple" title="xfce_file_chooser_set_select_multiple ()"><code class="function">xfce_file_chooser_set_select_multiple()</code></a> is used to allow the
selection of multiple files.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="ulink" href="http://developer.gnome.org/doc/API/2.0/glib/glib-Singly-Linked-Lists.html" target="_top">GSList</a>
containing the filenames of all selected files in the file
chooser. Release the list with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a> and the
filenames with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when they are no longer needed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-set-current-folder"></a><h3>xfce_file_chooser_set_current_folder ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> xfce_file_chooser_set_current_folder
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_set_current_folder</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Sets the current folder of <em class="parameter"><code>chooser</code></em> to <em class="parameter"><code>filename</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>The full path of the new current folder.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder exists and could be changed, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-get-current-folder"></a><h3>xfce_file_chooser_get_current_folder ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * xfce_file_chooser_get_current_folder
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_get_current_folder</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Gets the current folder visible in the file chooser.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The currently-selected folder. Release with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when no
longer needed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-set-preview-widget"></a><h3>xfce_file_chooser_set_preview_widget ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_chooser_set_preview_widget
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *preview_widget</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_set_preview_widget</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Sets an app-supplied widget to be shown as a "preview widget" for the file
chooser. To implement the preview, set a callback function using
<a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-preview-callback" title="xfce_file_chooser_set_preview_callback ()"><code class="function">xfce_file_chooser_set_preview_callback()</code></a>. In this callback function, use
<a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-get-filename" title="xfce_file_chooser_get_filename ()"><code class="function">xfce_file_chooser_get_filename()</code></a> to get the currently selected file.
Finally, use <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-preview-widget-active" title="xfce_file_chooser_set_preview_widget_active ()"><code class="function">xfce_file_chooser_set_preview_widget_active()</code></a> to tell the file
chooser whether or not a preview should be shown for that file.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>preview_widget</code></em> :</span></p></td>
<td>A widget used to preview file data.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-get-preview-widget"></a><h3>xfce_file_chooser_get_preview_widget ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * xfce_file_chooser_get_preview_widget
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_get_preview_widget</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Retrieves the preview widget set by <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-preview-widget" title="xfce_file_chooser_set_preview_widget ()"><code class="function">xfce_file_chooser_set_preview_widget()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="ulink" href="http://developer.gnome.org/dock/API/2.0/gtk/GtkWidget.html" target="_top">GtkWidget</a>,
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no preview widget was set.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-set-preview-callback"></a><h3>xfce_file_chooser_set_preview_callback ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_chooser_set_preview_callback
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#PreviewUpdateFunc" title="PreviewUpdateFunc ()"><span class="type">PreviewUpdateFunc</span></a> func</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_set_preview_callback</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Sets a callback function to be executed whenever the preview widget requires
updating. Unfortunately, this method limits the application to a single
callback function, but this should be sufficient for most uses.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>A callback function.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Data to be passed to <em class="parameter"><code>func</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-set-preview-widget-active"></a><h3>xfce_file_chooser_set_preview_widget_active ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_chooser_set_preview_widget_active
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> active</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_set_preview_widget_active</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Sets whether or not the currently selected file supports some type of
preview, handled by the widget set with
<a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-preview-widget" title="xfce_file_chooser_set_preview_widget ()"><code class="function">xfce_file_chooser_set_preview_widget()</code></a>. This should be used in the preview
callback every time the selected file is changed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>active</code></em> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> depending on whether or not the preview should be
shown.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-get-preview-widget-active"></a><h3>xfce_file_chooser_get_preview_widget_active ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> xfce_file_chooser_get_preview_widget_active
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_get_preview_widget_active</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Gets whether or not the preview widget is displayed for the current file.
See <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-preview-widget-active" title="xfce_file_chooser_set_preview_widget_active ()"><code class="function">xfce_file_chooser_set_preview_widget_active()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the preview widget is active, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-set-use-preview-label"></a><h3>xfce_file_chooser_set_use_preview_label ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_chooser_set_use_preview_label
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_label</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_set_use_preview_label</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Sets whether the file chooser should display a text label above the preview
widget containing the name of the selected file.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>use_label</code></em> :</span></p></td>
<td>Whether to display a stock label with the name of the previewed
file.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-set-extra-widget"></a><h3>xfce_file_chooser_set_extra_widget ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_chooser_set_extra_widget (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *extra_widget</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_set_extra_widget</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Sets a widget to display in the file chooser to provide extra options to the
user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>extra_widget</code></em> :</span></p></td>
<td>An extra widget to display.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-get-extra-widget"></a><h3>xfce_file_chooser_get_extra_widget ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * xfce_file_chooser_get_extra_widget (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_get_extra_widget</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Gets the widget set with <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-set-extra-widget" title="xfce_file_chooser_set_extra_widget ()"><code class="function">xfce_file_chooser_set_extra_widget()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The extra <a class="ulink" href="http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html" target="_top">GtkWidget</a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-add-filter"></a><h3>xfce_file_chooser_add_filter ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_chooser_add_filter (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> *filter</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_add_filter</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Adds a filter to the list of filters that the user can select to restrict
the view of the file chooser.
</p>
<p>
Note: This currently does nothing when libxfcegui4 is compiled against GTK+
2.2 or lower.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> created with <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-filter-new" title="xfce_file_filter_new ()"><code class="function">xfce_file_filter_new()</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-remove-filter"></a><h3>xfce_file_chooser_remove_filter ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_chooser_remove_filter (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> *filter</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_remove_filter</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Removes <em class="parameter"><code>filter</code></em> from the list of filters displayed by the file chooser.
</p>
<p>
Note: This currently does nothing when libxfcegui4 is compiled against GTK+
2.2 or lower.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-set-filter"></a><h3>xfce_file_chooser_set_filter ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_chooser_set_filter (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> *filter</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_set_filter</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Sets the file chooser's currently selected file filter to <em class="parameter"><code>filter</code></em>. This
filter must have been added previously using <a class="link" href="libxfcegui4-XfceFileChooser.html#xfce-file-chooser-add-filter" title="xfce_file_chooser_add_filter ()"><code class="function">xfce_file_chooser_add_filter()</code></a>.
</p>
<p>
Note: This currently does nothing when libxfcegui4 is compiled against GTK+
2.2 or lower.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-set-local-only"></a><h3>xfce_file_chooser_set_local_only ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_chooser_set_local_only (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> local_only</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_set_local_only</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Sets whether or not the file chooser can display and/or allow the selection
of non-local files.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>local_only</code></em> :</span></p></td>
<td>Whether to only allow the display of local files.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-get-local-only"></a><h3>xfce_file_chooser_get_local_only ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> xfce_file_chooser_get_local_only (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_get_local_only</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Gets whether or not the file chooser can display and/or allow the selection
of non-local files.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if non-local files are allowed, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-add-shortcut-folder"></a><h3>xfce_file_chooser_add_shortcut_folder ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> xfce_file_chooser_add_shortcut_folder
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *folder</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_add_shortcut_folder</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Adds a folder to be displayed in the shortcut folders list in the file
chooser. The folder name is validated, so only valid paths may be added.
</p>
<p>
Note: This currently does nothing when libxfcegui4 is compiled against GTK+
2.2 or lower.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>folder</code></em> :</span></p></td>
<td>The full path to a folder name.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>Location to store any errors, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder given is valid, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise. If
<em class="parameter"><code>error</code></em> is non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it will be set with any error that occurs.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-chooser-remove-shortcut-folder"></a><h3>xfce_file_chooser_remove_shortcut_folder ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> xfce_file_chooser_remove_shortcut_folder
(<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a> *chooser</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *folder</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_chooser_remove_shortcut_folder</code> is deprecated and should not be used in newly-written code. Use GtkFileChooser instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Removes the specified folder from the file chooser's shortcut folder list.
</p>
<p>
Note: This currently does nothing when libxfcegui4 is compiled against GTK+
2.2 or lower.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileChooser" title="XfceFileChooser"><span class="type">XfceFileChooser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>folder</code></em> :</span></p></td>
<td>The full path to an existing shortcut folder name.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>Location to store any errors, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the removal succeeded, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise. If <em class="parameter"><code>error</code></em> is
non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it will be set with any error that occurs.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="XfceFileFilter"></a><h3>XfceFileFilter</h3>
<pre class="programlisting">typedef GtkObject XfceFileFilter;
</pre>
<p>
With GTK+ 2.4, this object is mapped to a
<a class="ulink" href="http://developer.gnome.org/doc/API/2.0/gtk/GtkFileFilter.html" target="_top">GtkFileFilter</a>.
However, with GTK+ 2.0 or 2.2, this object doesn't exist, so functions that use
it will return and expect a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value. As such, pointers to an
<a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> should be treated as opaque, and no attempt should be made to
dereference them.
</p>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-filter-new"></a><h3>xfce_file_filter_new ()</h3>
<pre class="programlisting"><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="returnvalue">XfceFileFilter</span></a> * xfce_file_filter_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_filter_new</code> is deprecated and should not be used in newly-written code. Use GtkFileFilter instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Create a new empty file filter.
</p>
<p>
Note: this will always return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> when libxfcegui4 is compiled against GTK+
2.2 or below, as file filters are not supported.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> (GTK+ 2.2 and below).</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-filter-set-name"></a><h3>xfce_file_filter_set_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_filter_set_name (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> *filter</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_filter_set_name</code> is deprecated and should not be used in newly-written code. Use GtkFileFilter instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Sets a name to be displayed in in the option menu which describes the
filter's purpose.
</p>
<p>
Note: this function has no effect when libxfcegui4 is compiled against GTK+
2.2 or below, as file filters are not supported.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>The name of the filter.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-filter-add-mime-type"></a><h3>xfce_file_filter_add_mime_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_filter_add_mime_type (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> *filter</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mime_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_filter_add_mime_type</code> is deprecated and should not be used in newly-written code. Use GtkFileFilter instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Adds a MIME type to the file filter. All files matching this MIME type will
be displayed in the file chooser when the filter is selected.
</p>
<p>
Note: this function has no effect when libxfcegui4 is compiled against GTK+
2.2 or below, as file filters are not supported.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>A registered MIME type.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-file-filter-add-pattern"></a><h3>xfce_file_filter_add_pattern ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_file_filter_add_pattern (<em class="parameter"><code><a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a> *filter</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *pattern</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_file_filter_add_pattern</code> is deprecated and should not be used in newly-written code. Use GtkFileFilter instead.
</p>
<p>
Since 4.1</p>
</div>
<p>
Adds a shell-glob-type file pattern to the file filter. All files matching
the pattern will be displayed in the file chooser when the filter is
selected.
</p>
<p>
Note: this function has no effect when libxfcegui4 is compiled against GTK+
2.2 or below, as file filters are not supported.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
<td>An <a class="link" href="libxfcegui4-XfceFileChooser.html#XfceFileFilter" title="XfceFileFilter"><span class="type">XfceFileFilter</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
<td>A file pattern.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|