2 ; object definitions ...
6 (gtype-id "G_TYPE_APP_INFO")
9 (define-object LaunchContext
12 (c-name "GAppLaunchContext")
13 (gtype-id "G_TYPE_APP_LAUNCH_CONTEXT")
18 (c-name "GAsyncResult")
19 (gtype-id "G_TYPE_ASYNC_RESULT")
22 (define-object AppInfoLookup
23 (in-module "GDesktop")
24 (c-name "GDesktopAppInfoLookup")
25 (gtype-id "G_TYPE_DESKTOP_APP_INFO_LOOKUP")
31 (gtype-id "G_TYPE_DRIVE")
37 (gtype-id "G_TYPE_FILE")
40 (define-object Enumerator
43 (c-name "GFileEnumerator")
44 (gtype-id "G_TYPE_FILE_ENUMERATOR")
47 (define-object Monitor
50 (c-name "GFileMonitor")
51 (gtype-id "G_TYPE_FILE_MONITOR")
57 (gtype-id "G_TYPE_ICON")
63 (c-name "GInputStream")
64 (gtype-id "G_TYPE_INPUT_STREAM")
67 (define-object InputStream
69 (parent "GInputStream")
70 (c-name "GFilterInputStream")
71 (gtype-id "G_TYPE_FILTER_INPUT_STREAM")
74 (define-object InputStream
75 (in-module "GBuffered")
76 (parent "GFilterInputStream")
77 (c-name "GBufferedInputStream")
78 (gtype-id "G_TYPE_BUFFERED_INPUT_STREAM")
81 (define-object InputStream
83 (parent "GBufferedInputStream")
84 (c-name "GDataInputStream")
85 (gtype-id "G_TYPE_DATA_INPUT_STREAM")
88 (define-object InputStream
90 (parent "GInputStream")
91 (c-name "GFileInputStream")
92 (gtype-id "G_TYPE_FILE_INPUT_STREAM")
96 (in-module "GLoadable")
97 (c-name "GLoadableIcon")
98 (gtype-id "G_TYPE_LOADABLE_ICON")
101 (define-object DirectoryMonitor
103 (parent "GFileMonitor")
104 (c-name "GLocalDirectoryMonitor")
105 (gtype-id "G_TYPE_LOCAL_DIRECTORY_MONITOR")
108 (define-object FileInputStream
110 (parent "GFileInputStream")
111 (c-name "GLocalFileInputStream")
112 (gtype-id "G_TYPE_LOCAL_FILE_INPUT_STREAM")
115 (define-object FileMonitor
117 (parent "GFileMonitor")
118 (c-name "GLocalFileMonitor")
119 (gtype-id "G_TYPE_LOCAL_FILE_MONITOR")
122 (define-object InputStream
123 (in-module "GMemory")
124 (parent "GInputStream")
125 (c-name "GMemoryInputStream")
126 (gtype-id "G_TYPE_MEMORY_INPUT_STREAM")
132 (gtype-id "G_TYPE_MOUNT")
135 (define-object Operation
138 (c-name "GMountOperation")
139 (gtype-id "G_TYPE_MOUNT_OPERATION")
142 (define-object Stream
143 (in-module "GOutput")
145 (c-name "GOutputStream")
146 (gtype-id "G_TYPE_OUTPUT_STREAM")
149 (define-object OutputStream
150 (in-module "GMemory")
151 (parent "GOutputStream")
152 (c-name "GMemoryOutputStream")
153 (gtype-id "G_TYPE_MEMORY_OUTPUT_STREAM")
156 (define-object OutputStream
157 (in-module "GFilter")
158 (parent "GOutputStream")
159 (c-name "GFilterOutputStream")
160 (gtype-id "G_TYPE_FILTER_OUTPUT_STREAM")
163 (define-object OutputStream
165 (parent "GFilterOutputStream")
166 (c-name "GDataOutputStream")
167 (gtype-id "G_TYPE_DATA_OUTPUT_STREAM")
170 (define-object OutputStream
172 (parent "GOutputStream")
173 (c-name "GFileOutputStream")
174 (gtype-id "G_TYPE_FILE_OUTPUT_STREAM")
177 (define-object FileOutputStream
179 (parent "GFileOutputStream")
180 (c-name "GLocalFileOutputStream")
181 (gtype-id "G_TYPE_LOCAL_FILE_OUTPUT_STREAM")
185 (in-module "GSeekabl")
187 (gtype-id "G_TYPE_SEEKABLE")
190 (define-object InputStream
192 (parent "GInputStream")
193 (c-name "GUnixInputStream")
194 (gtype-id "G_TYPE_UNIX_INPUT_STREAM")
197 (define-object OutputStream
199 (parent "GOutputStream")
200 (c-name "GUnixOutputStream")
201 (gtype-id "G_TYPE_UNIX_OUTPUT_STREAM")
208 (gtype-id "G_TYPE_VFS")
214 (gtype-id "G_TYPE_VOLUME")
217 (define-object Monitor
218 (in-module "GVolume")
220 (c-name "GVolumeMonitor")
221 (gtype-id "G_TYPE_VOLUME_MONITOR")
224 (define-object VolumeMonitor
225 (in-module "GNative")
226 (parent "GVolumeMonitor")
227 (c-name "GNativeVolumeMonitor")
228 (gtype-id "G_TYPE_NATIVE_VOLUME_MONITOR")
231 ;; Enumerations and flags ...
233 (define-flags InfoCreateFlags
235 (c-name "GAppInfoCreateFlags")
236 (gtype-id "G_TYPE_APP_INFO_CREATE_FLAGS")
238 '("none" "G_APP_INFO_CREATE_NONE")
239 '("needs-terminal" "G_APP_INFO_CREATE_NEEDS_TERMINAL")
240 '("supports-uris" "G_APP_INFO_CREATE_SUPPORTS_URIS")
244 (define-enum StreamByteOrder
246 (c-name "GDataStreamByteOrder")
247 (gtype-id "G_TYPE_DATA_STREAM_BYTE_ORDER")
249 '("big-endian" "G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN")
250 '("little-endian" "G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN")
251 '("host-endian" "G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN")
255 (define-enum StreamNewlineType
257 (c-name "GDataStreamNewlineType")
258 (gtype-id "G_TYPE_DATA_STREAM_NEWLINE_TYPE")
260 '("lf" "G_DATA_STREAM_NEWLINE_TYPE_LF")
261 '("cr" "G_DATA_STREAM_NEWLINE_TYPE_CR")
262 '("cr-lf" "G_DATA_STREAM_NEWLINE_TYPE_CR_LF")
263 '("any" "G_DATA_STREAM_NEWLINE_TYPE_ANY")
267 (define-enum AttributeType
269 (c-name "GFileAttributeType")
270 (gtype-id "G_TYPE_FILE_ATTRIBUTE_TYPE")
272 '("invalid" "G_FILE_ATTRIBUTE_TYPE_INVALID")
273 '("string" "G_FILE_ATTRIBUTE_TYPE_STRING")
274 '("byte-string" "G_FILE_ATTRIBUTE_TYPE_BYTE_STRING")
275 '("boolean" "G_FILE_ATTRIBUTE_TYPE_BOOLEAN")
276 '("uint32" "G_FILE_ATTRIBUTE_TYPE_UINT32")
277 '("int32" "G_FILE_ATTRIBUTE_TYPE_INT32")
278 '("uint64" "G_FILE_ATTRIBUTE_TYPE_UINT64")
279 '("int64" "G_FILE_ATTRIBUTE_TYPE_INT64")
280 '("object" "G_FILE_ATTRIBUTE_TYPE_OBJECT")
284 (define-flags AttributeInfoFlags
286 (c-name "GFileAttributeInfoFlags")
287 (gtype-id "G_TYPE_FILE_ATTRIBUTE_INFO_FLAGS")
289 '("none" "G_FILE_ATTRIBUTE_INFO_NONE")
290 '("copy-with-file" "G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE")
291 '("copy-when-moved" "G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED")
295 (define-enum AttributeStatus
297 (c-name "GFileAttributeStatus")
298 (gtype-id "G_TYPE_FILE_ATTRIBUTE_STATUS")
300 '("unset" "G_FILE_ATTRIBUTE_STATUS_UNSET")
301 '("set" "G_FILE_ATTRIBUTE_STATUS_SET")
302 '("error-setting" "G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING")
306 (define-flags QueryInfoFlags
308 (c-name "GFileQueryInfoFlags")
309 (gtype-id "G_TYPE_FILE_QUERY_INFO_FLAGS")
311 '("ne" "G_FILE_QUERY_INFO_NONE")
312 '("follow-symlinks" "G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS")
316 (define-flags CreateFlags
318 (c-name "GFileCreateFlags")
319 (gtype-id "G_TYPE_FILE_CREATE_FLAGS")
321 '("none" "G_FILE_CREATE_NONE")
322 '("private" "G_FILE_CREATE_PRIVATE")
326 (define-enum MountFlags
328 (c-name "GMountMountFlags")
329 (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
331 '("e" "G_MOUNT_MOUNT_NONE")
335 (define-flags UnmountFlags
337 (c-name "GMountUnmountFlags")
338 (gtype-id "G_TYPE_MOUNT_UNMOUNT_FLAGS")
340 '("none" "G_MOUNT_UNMOUNT_NONE")
341 '("force" "G_MOUNT_UNMOUNT_FORCE")
345 (define-flags CopyFlags
347 (c-name "GFileCopyFlags")
348 (gtype-id "G_TYPE_FILE_COPY_FLAGS")
350 '("none" "G_FILE_COPY_NONE")
351 '("overwrite" "G_FILE_COPY_OVERWRITE")
352 '("backup" "G_FILE_COPY_BACKUP")
353 '("nofollow-symlinks" "G_FILE_COPY_NOFOLLOW_SYMLINKS")
354 '("all-metadata" "G_FILE_COPY_ALL_METADATA")
355 '("no-fallback-for-move" "G_FILE_COPY_NO_FALLBACK_FOR_MOVE")
359 (define-flags MonitorFlags
361 (c-name "GFileMonitorFlags")
362 (gtype-id "G_TYPE_FILE_MONITOR_FLAGS")
364 '("none" "G_FILE_MONITOR_NONE")
365 '("watch-mounts" "G_FILE_MONITOR_WATCH_MOUNTS")
372 (gtype-id "G_TYPE_FILE_TYPE")
374 '("unknown" "G_FILE_TYPE_UNKNOWN")
375 '("regular" "G_FILE_TYPE_REGULAR")
376 '("directory" "G_FILE_TYPE_DIRECTORY")
377 '("symbolic-link" "G_FILE_TYPE_SYMBOLIC_LINK")
378 '("special" "G_FILE_TYPE_SPECIAL")
379 '("shortcut" "G_FILE_TYPE_SHORTCUT")
380 '("mountable" "G_FILE_TYPE_MOUNTABLE")
384 (define-enum PreviewType
385 (in-module "GFilesystem")
386 (c-name "GFilesystemPreviewType")
387 (gtype-id "G_TYPE_FILESYSTEM_PREVIEW_TYPE")
389 '("if-always" "G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS")
390 '("if-local" "G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL")
391 '("never" "G_FILESYSTEM_PREVIEW_TYPE_NEVER")
395 (define-enum MonitorEvent
397 (c-name "GFileMonitorEvent")
398 (gtype-id "G_TYPE_FILE_MONITOR_EVENT")
400 '("changed" "G_FILE_MONITOR_EVENT_CHANGED")
401 '("changes-done-hint" "G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT")
402 '("deleted" "G_FILE_MONITOR_EVENT_DELETED")
403 '("created" "G_FILE_MONITOR_EVENT_CREATED")
404 '("attribute-changed" "G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED")
405 '("pre-unmount" "G_FILE_MONITOR_EVENT_PRE_UNMOUNT")
406 '("unmounted" "G_FILE_MONITOR_EVENT_UNMOUNTED")
411 (in-module "GIOError")
412 (c-name "GIOErrorEnum")
413 (gtype-id "G_TYPE_IO_ERROR_ENUM")
415 '("failed" "G_IO_ERROR_FAILED")
416 '("not-found" "G_IO_ERROR_NOT_FOUND")
417 '("exists" "G_IO_ERROR_EXISTS")
418 '("is-directory" "G_IO_ERROR_IS_DIRECTORY")
419 '("not-directory" "G_IO_ERROR_NOT_DIRECTORY")
420 '("not-empty" "G_IO_ERROR_NOT_EMPTY")
421 '("not-regular-file" "G_IO_ERROR_NOT_REGULAR_FILE")
422 '("not-symbolic-link" "G_IO_ERROR_NOT_SYMBOLIC_LINK")
423 '("not-mountable-file" "G_IO_ERROR_NOT_MOUNTABLE_FILE")
424 '("filename-too-long" "G_IO_ERROR_FILENAME_TOO_LONG")
425 '("invalid-filename" "G_IO_ERROR_INVALID_FILENAME")
426 '("too-many-links" "G_IO_ERROR_TOO_MANY_LINKS")
427 '("no-space" "G_IO_ERROR_NO_SPACE")
428 '("invalid-argument" "G_IO_ERROR_INVALID_ARGUMENT")
429 '("permission-denied" "G_IO_ERROR_PERMISSION_DENIED")
430 '("not-supported" "G_IO_ERROR_NOT_SUPPORTED")
431 '("not-mounted" "G_IO_ERROR_NOT_MOUNTED")
432 '("already-mounted" "G_IO_ERROR_ALREADY_MOUNTED")
433 '("closed" "G_IO_ERROR_CLOSED")
434 '("cancelled" "G_IO_ERROR_CANCELLED")
435 '("pending" "G_IO_ERROR_PENDING")
436 '("read-only" "G_IO_ERROR_READ_ONLY")
437 '("cant-create-backup" "G_IO_ERROR_CANT_CREATE_BACKUP")
438 '("wrong-etag" "G_IO_ERROR_WRONG_ETAG")
439 '("timed-out" "G_IO_ERROR_TIMED_OUT")
440 '("would-recurse" "G_IO_ERROR_WOULD_RECURSE")
441 '("busy" "G_IO_ERROR_BUSY")
442 '("would-block" "G_IO_ERROR_WOULD_BLOCK")
443 '("host-not-found" "G_IO_ERROR_HOST_NOT_FOUND")
444 '("would-merge" "G_IO_ERROR_WOULD_MERGE")
445 '("failed-handled" "G_IO_ERROR_FAILED_HANDLED")
449 (define-flags PasswordFlags
451 (c-name "GAskPasswordFlags")
452 (gtype-id "G_TYPE_ASK_PASSWORD_FLAGS")
454 '("need-password" "G_ASK_PASSWORD_NEED_PASSWORD")
455 '("need-username" "G_ASK_PASSWORD_NEED_USERNAME")
456 '("need-domain" "G_ASK_PASSWORD_NEED_DOMAIN")
457 '("saving-supported" "G_ASK_PASSWORD_SAVING_SUPPORTED")
458 '("anonymous-supported" "G_ASK_PASSWORD_ANONYMOUS_SUPPORTED")
463 (in-module "GPassword")
464 (c-name "GPasswordSave")
465 (gtype-id "G_TYPE_PASSWORD_SAVE")
467 '("never" "G_PASSWORD_SAVE_NEVER")
468 '("for-session" "G_PASSWORD_SAVE_FOR_SESSION")
469 '("permanently" "G_PASSWORD_SAVE_PERMANENTLY")
473 (define-enum OperationResult
475 (c-name "GMountOperationResult")
476 (gtype-id "G_TYPE_MOUNT_OPERATION_RESULT")
478 '("handled" "G_MOUNT_OPERATION_HANDLED")
479 '("aborted" "G_MOUNT_OPERATION_ABORTED")
480 '("unhandled" "G_MOUNT_OPERATION_UNHANDLED")
484 (define-flags StreamSpliceFlags
485 (in-module "GOutput")
486 (c-name "GOutputStreamSpliceFlags")
487 (gtype-id "G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS")
489 '("none" "G_OUTPUT_STREAM_SPLICE_NONE")
490 '("close-source" "G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE")
491 '("close-target" "G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET")
498 (define-function g_app_info_get_type
499 (c-name "g_app_info_get_type")
500 (return-type "GType")
503 (define-function g_app_launch_context_get_type
504 (c-name "g_app_launch_context_get_type")
505 (return-type "GType")
508 (define-function g_app_info_create_from_commandline
509 (c-name "g_app_info_create_from_commandline")
510 (return-type "GAppInfo*")
512 '("const-char*" "commandline")
513 '("const-char*" "application_name")
514 '("GAppInfoCreateFlags" "flags")
515 '("GError**" "error")
520 (of-object "GAppInfo")
521 (c-name "g_app_info_dup")
522 (return-type "GAppInfo*")
526 (of-object "GAppInfo")
527 (c-name "g_app_info_equal")
528 (return-type "gboolean")
530 '("GAppInfo*" "appinfo2")
534 (define-method get_id
535 (of-object "GAppInfo")
536 (c-name "g_app_info_get_id")
537 (return-type "const-char*")
540 (define-method get_name
541 (of-object "GAppInfo")
542 (c-name "g_app_info_get_name")
543 (return-type "const-char*")
546 (define-method get_description
547 (of-object "GAppInfo")
548 (c-name "g_app_info_get_description")
549 (return-type "const-char*")
552 (define-method get_executable
553 (of-object "GAppInfo")
554 (c-name "g_app_info_get_executable")
555 (return-type "const-char*")
558 (define-method get_icon
559 (of-object "GAppInfo")
560 (c-name "g_app_info_get_icon")
561 (return-type "GIcon*")
564 (define-method launch
565 (of-object "GAppInfo")
566 (c-name "g_app_info_launch")
567 (return-type "gboolean")
570 '("GAppLaunchContext*" "launch_context")
571 '("GError**" "error")
575 (define-method supports_uris
576 (of-object "GAppInfo")
577 (c-name "g_app_info_supports_uris")
578 (return-type "gboolean")
581 (define-method supports_files
582 (of-object "GAppInfo")
583 (c-name "g_app_info_supports_files")
584 (return-type "gboolean")
587 (define-method launch_uris
588 (of-object "GAppInfo")
589 (c-name "g_app_info_launch_uris")
590 (return-type "gboolean")
593 '("GAppLaunchContext*" "launch_context")
594 '("GError**" "error")
598 (define-method should_show
599 (of-object "GAppInfo")
600 (c-name "g_app_info_should_show")
601 (return-type "gboolean")
604 (define-method set_as_default_for_type
605 (of-object "GAppInfo")
606 (c-name "g_app_info_set_as_default_for_type")
607 (return-type "gboolean")
609 '("const-char*" "content_type")
610 '("GError**" "error")
614 (define-method set_as_default_for_extension
615 (of-object "GAppInfo")
616 (c-name "g_app_info_set_as_default_for_extension")
617 (return-type "gboolean")
619 '("const-char*" "extension")
620 '("GError**" "error")
624 (define-method add_supports_type
625 (of-object "GAppInfo")
626 (c-name "g_app_info_add_supports_type")
627 (return-type "gboolean")
629 '("const-char*" "content_type")
630 '("GError**" "error")
634 (define-method can_remove_supports_type
635 (of-object "GAppInfo")
636 (c-name "g_app_info_can_remove_supports_type")
637 (return-type "gboolean")
640 (define-method remove_supports_type
641 (of-object "GAppInfo")
642 (c-name "g_app_info_remove_supports_type")
643 (return-type "gboolean")
645 '("const-char*" "content_type")
646 '("GError**" "error")
650 (define-function g_app_info_get_all
651 (c-name "g_app_info_get_all")
652 (return-type "GList*")
655 (define-function g_app_info_get_all_for_type
656 (c-name "g_app_info_get_all_for_type")
657 (return-type "GList*")
659 '("const-char*" "content_type")
663 (define-function g_app_info_get_default_for_type
664 (c-name "g_app_info_get_default_for_type")
665 (return-type "GAppInfo*")
667 '("const-char*" "content_type")
668 '("gboolean" "must_support_uris")
672 (define-function g_app_info_get_default_for_uri_scheme
673 (c-name "g_app_info_get_default_for_uri_scheme")
674 (return-type "GAppInfo*")
676 '("const-char*" "uri_scheme")
680 (define-function g_app_info_launch_default_for_uri
681 (c-name "g_app_info_launch_default_for_uri")
682 (return-type "gboolean")
684 '("const-char*" "uri")
685 '("GAppLaunchContext*" "launch_context")
686 '("GError**" "error")
690 (define-function g_app_launch_context_new
691 (c-name "g_app_launch_context_new")
692 (is-constructor-of "GAppLaunchContext")
693 (return-type "GAppLaunchContext*")
696 (define-method get_display
697 (of-object "GAppLaunchContext")
698 (c-name "g_app_launch_context_get_display")
699 (return-type "char*")
701 '("GAppInfo*" "info")
706 (define-method get_startup_notify_id
707 (of-object "GAppLaunchContext")
708 (c-name "g_app_launch_context_get_startup_notify_id")
709 (return-type "char*")
711 '("GAppInfo*" "info")
716 (define-method launch_failed
717 (of-object "GAppLaunchContext")
718 (c-name "g_app_launch_context_launch_failed")
721 '("const-char*" "startup_notify_id")
727 ;; From gasynchelper.h
731 ;; From gasyncresult.h
733 (define-function g_async_result_get_type
734 (c-name "g_async_result_get_type")
735 (return-type "GType")
738 (define-method get_user_data
739 (of-object "GAsyncResult")
740 (c-name "g_async_result_get_user_data")
741 (return-type "gpointer")
744 (define-method get_source_object
745 (of-object "GAsyncResult")
746 (c-name "g_async_result_get_source_object")
747 (return-type "GObject*")
752 ;; From gbufferedinputstream.h
754 (define-function g_buffered_input_stream_get_type
755 (c-name "g_buffered_input_stream_get_type")
756 (return-type "GType")
759 (define-function g_buffered_input_stream_new
760 (c-name "g_buffered_input_stream_new")
761 (is-constructor-of "GBufferedInputStream")
762 (return-type "GInputStream*")
764 '("GInputStream*" "base_stream")
768 (define-function g_buffered_input_stream_new_sized
769 (c-name "g_buffered_input_stream_new_sized")
770 (return-type "GInputStream*")
772 '("GInputStream*" "base_stream")
777 (define-method get_buffer_size
778 (of-object "GBufferedInputStream")
779 (c-name "g_buffered_input_stream_get_buffer_size")
780 (return-type "gsize")
783 (define-method set_buffer_size
784 (of-object "GBufferedInputStream")
785 (c-name "g_buffered_input_stream_set_buffer_size")
792 (define-method get_available
793 (of-object "GBufferedInputStream")
794 (c-name "g_buffered_input_stream_get_available")
795 (return-type "gsize")
799 (of-object "GBufferedInputStream")
800 (c-name "g_buffered_input_stream_peek")
801 (return-type "gsize")
809 (define-method peek_buffer
810 (of-object "GBufferedInputStream")
811 (c-name "g_buffered_input_stream_peek_buffer")
812 (return-type "const-void*")
819 (of-object "GBufferedInputStream")
820 (c-name "g_buffered_input_stream_fill")
821 (return-type "gssize")
824 '("GCancellable*" "cancellable")
825 '("GError**" "error")
829 (define-method fill_async
830 (of-object "GBufferedInputStream")
831 (c-name "g_buffered_input_stream_fill_async")
835 '("int" "io_priority")
836 '("GCancellable*" "cancellable")
837 '("GAsyncReadyCallback" "callback")
838 '("gpointer" "user_data")
842 (define-method fill_finish
843 (of-object "GBufferedInputStream")
844 (c-name "g_buffered_input_stream_fill_finish")
845 (return-type "gssize")
847 '("GAsyncResult*" "result")
848 '("GError**" "error")
852 (define-method read_byte
853 (of-object "GBufferedInputStream")
854 (c-name "g_buffered_input_stream_read_byte")
857 '("GCancellable*" "cancellable")
858 '("GError**" "error")
864 ;; From gbufferedoutputstream.h
866 (define-function g_buffered_output_stream_get_type
867 (c-name "g_buffered_output_stream_get_type")
868 (return-type "GType")
871 (define-function g_buffered_output_stream_new
872 (c-name "g_buffered_output_stream_new")
873 (is-constructor-of "GBufferedOutputStream")
874 (return-type "GOutputStream*")
876 '("GOutputStream*" "base_stream")
880 (define-function g_buffered_output_stream_new_sized
881 (c-name "g_buffered_output_stream_new_sized")
882 (return-type "GOutputStream*")
884 '("GOutputStream*" "base_stream")
889 (define-method get_buffer_size
890 (of-object "GBufferedOutputStream")
891 (c-name "g_buffered_output_stream_get_buffer_size")
892 (return-type "gsize")
895 (define-method set_buffer_size
896 (of-object "GBufferedOutputStream")
897 (c-name "g_buffered_output_stream_set_buffer_size")
904 (define-method get_auto_grow
905 (of-object "GBufferedOutputStream")
906 (c-name "g_buffered_output_stream_get_auto_grow")
907 (return-type "gboolean")
910 (define-method set_auto_grow
911 (of-object "GBufferedOutputStream")
912 (c-name "g_buffered_output_stream_set_auto_grow")
915 '("gboolean" "auto_grow")
921 ;; From gcancellable.h
923 (define-function g_cancellable_get_type
924 (c-name "g_cancellable_get_type")
925 (return-type "GType")
928 (define-function g_cancellable_new
929 (c-name "g_cancellable_new")
930 (is-constructor-of "GCancellable")
931 (return-type "GCancellable*")
934 (define-method is_cancelled
935 (of-object "GCancellable")
936 (c-name "g_cancellable_is_cancelled")
937 (return-type "gboolean")
940 (define-method set_error_if_cancelled
941 (of-object "GCancellable")
942 (c-name "g_cancellable_set_error_if_cancelled")
943 (return-type "gboolean")
945 '("GError**" "error")
949 (define-method get_fd
950 (of-object "GCancellable")
951 (c-name "g_cancellable_get_fd")
955 (define-function g_cancellable_get_current
956 (c-name "g_cancellable_get_current")
957 (return-type "GCancellable*")
960 (define-method push_current
961 (of-object "GCancellable")
962 (c-name "g_cancellable_push_current")
966 (define-method pop_current
967 (of-object "GCancellable")
968 (c-name "g_cancellable_pop_current")
973 (of-object "GCancellable")
974 (c-name "g_cancellable_reset")
978 (define-method cancel
979 (of-object "GCancellable")
980 (c-name "g_cancellable_cancel")
986 ;; From gcontenttype.h
988 (define-function g_content_type_equals
989 (c-name "g_content_type_equals")
990 (return-type "gboolean")
992 '("const-char*" "type1")
993 '("const-char*" "type2")
997 (define-function g_content_type_is_a
998 (c-name "g_content_type_is_a")
999 (return-type "gboolean")
1001 '("const-char*" "type")
1002 '("const-char*" "supertype")
1006 (define-function g_content_type_is_unknown
1007 (c-name "g_content_type_is_unknown")
1008 (return-type "gboolean")
1010 '("const-char*" "type")
1014 (define-function g_content_type_get_description
1015 (c-name "g_content_type_get_description")
1016 (return-type "char*")
1018 '("const-char*" "type")
1022 (define-function g_content_type_get_mime_type
1023 (c-name "g_content_type_get_mime_type")
1024 (return-type "char*")
1026 '("const-char*" "type")
1030 (define-function g_content_type_get_icon
1031 (c-name "g_content_type_get_icon")
1032 (return-type "GIcon*")
1034 '("const-char*" "type")
1038 (define-function g_content_type_can_be_executable
1039 (c-name "g_content_type_can_be_executable")
1040 (return-type "gboolean")
1042 '("const-char*" "type")
1046 (define-function g_content_type_from_mime_type
1047 (c-name "g_content_type_from_mime_type")
1048 (return-type "char*")
1050 '("const-char*" "mime_type")
1054 (define-function g_content_type_guess
1055 (c-name "g_content_type_guess")
1056 (return-type "char*")
1058 '("const-char*" "filename")
1059 '("const-guchar*" "data")
1060 '("gsize" "data_size")
1061 '("gboolean*" "result_uncertain")
1065 (define-function g_content_type_guess_for_tree
1066 (c-name "g_content_type_guess_for_tree")
1067 (return-type "char**")
1073 (define-function g_content_types_get_registered
1074 (c-name "g_content_types_get_registered")
1075 (return-type "GList*")
1080 ;; From gcontenttypeprivate.h
1084 ;; From gdatainputstream.h
1086 (define-function g_data_input_stream_get_type
1087 (c-name "g_data_input_stream_get_type")
1088 (return-type "GType")
1091 (define-function g_data_input_stream_new
1092 (c-name "g_data_input_stream_new")
1093 (is-constructor-of "GDataInputStream")
1094 (return-type "GDataInputStream*")
1096 '("GInputStream*" "base_stream")
1100 (define-method set_byte_order
1101 (of-object "GDataInputStream")
1102 (c-name "g_data_input_stream_set_byte_order")
1103 (return-type "none")
1105 '("GDataStreamByteOrder" "order")
1109 (define-method get_byte_order
1110 (of-object "GDataInputStream")
1111 (c-name "g_data_input_stream_get_byte_order")
1112 (return-type "GDataStreamByteOrder")
1115 (define-method set_newline_type
1116 (of-object "GDataInputStream")
1117 (c-name "g_data_input_stream_set_newline_type")
1118 (return-type "none")
1120 '("GDataStreamNewlineType" "type")
1124 (define-method get_newline_type
1125 (of-object "GDataInputStream")
1126 (c-name "g_data_input_stream_get_newline_type")
1127 (return-type "GDataStreamNewlineType")
1130 (define-method read_byte
1131 (of-object "GDataInputStream")
1132 (c-name "g_data_input_stream_read_byte")
1133 (return-type "guchar")
1135 '("GCancellable*" "cancellable")
1136 '("GError**" "error")
1140 (define-method read_int16
1141 (of-object "GDataInputStream")
1142 (c-name "g_data_input_stream_read_int16")
1143 (return-type "gint16")
1145 '("GCancellable*" "cancellable")
1146 '("GError**" "error")
1150 (define-method read_uint16
1151 (of-object "GDataInputStream")
1152 (c-name "g_data_input_stream_read_uint16")
1153 (return-type "guint16")
1155 '("GCancellable*" "cancellable")
1156 '("GError**" "error")
1160 (define-method read_int32
1161 (of-object "GDataInputStream")
1162 (c-name "g_data_input_stream_read_int32")
1163 (return-type "gint32")
1165 '("GCancellable*" "cancellable")
1166 '("GError**" "error")
1170 (define-method read_uint32
1171 (of-object "GDataInputStream")
1172 (c-name "g_data_input_stream_read_uint32")
1173 (return-type "guint32")
1175 '("GCancellable*" "cancellable")
1176 '("GError**" "error")
1180 (define-method read_int64
1181 (of-object "GDataInputStream")
1182 (c-name "g_data_input_stream_read_int64")
1183 (return-type "gint64")
1185 '("GCancellable*" "cancellable")
1186 '("GError**" "error")
1190 (define-method read_uint64
1191 (of-object "GDataInputStream")
1192 (c-name "g_data_input_stream_read_uint64")
1193 (return-type "guint64")
1195 '("GCancellable*" "cancellable")
1196 '("GError**" "error")
1200 (define-method read_line
1201 (of-object "GDataInputStream")
1202 (c-name "g_data_input_stream_read_line")
1203 (return-type "char*")
1205 '("gsize*" "length")
1206 '("GCancellable*" "cancellable")
1207 '("GError**" "error")
1211 (define-method read_until
1212 (of-object "GDataInputStream")
1213 (c-name "g_data_input_stream_read_until")
1214 (return-type "char*")
1216 '("const-gchar*" "stop_chars")
1217 '("gsize*" "length")
1218 '("GCancellable*" "cancellable")
1219 '("GError**" "error")
1225 ;; From gdataoutputstream.h
1227 (define-function g_data_output_stream_get_type
1228 (c-name "g_data_output_stream_get_type")
1229 (return-type "GType")
1232 (define-function g_data_output_stream_new
1233 (c-name "g_data_output_stream_new")
1234 (is-constructor-of "GDataOutputStream")
1235 (return-type "GDataOutputStream*")
1237 '("GOutputStream*" "base_stream")
1241 (define-method set_byte_order
1242 (of-object "GDataOutputStream")
1243 (c-name "g_data_output_stream_set_byte_order")
1244 (return-type "none")
1246 '("GDataStreamByteOrder" "order")
1250 (define-method get_byte_order
1251 (of-object "GDataOutputStream")
1252 (c-name "g_data_output_stream_get_byte_order")
1253 (return-type "GDataStreamByteOrder")
1256 (define-method put_byte
1257 (of-object "GDataOutputStream")
1258 (c-name "g_data_output_stream_put_byte")
1259 (return-type "gboolean")
1262 '("GCancellable*" "cancellable")
1263 '("GError**" "error")
1267 (define-method put_int16
1268 (of-object "GDataOutputStream")
1269 (c-name "g_data_output_stream_put_int16")
1270 (return-type "gboolean")
1273 '("GCancellable*" "cancellable")
1274 '("GError**" "error")
1278 (define-method put_uint16
1279 (of-object "GDataOutputStream")
1280 (c-name "g_data_output_stream_put_uint16")
1281 (return-type "gboolean")
1284 '("GCancellable*" "cancellable")
1285 '("GError**" "error")
1289 (define-method put_int32
1290 (of-object "GDataOutputStream")
1291 (c-name "g_data_output_stream_put_int32")
1292 (return-type "gboolean")
1295 '("GCancellable*" "cancellable")
1296 '("GError**" "error")
1300 (define-method put_uint32
1301 (of-object "GDataOutputStream")
1302 (c-name "g_data_output_stream_put_uint32")
1303 (return-type "gboolean")
1306 '("GCancellable*" "cancellable")
1307 '("GError**" "error")
1311 (define-method put_int64
1312 (of-object "GDataOutputStream")
1313 (c-name "g_data_output_stream_put_int64")
1314 (return-type "gboolean")
1317 '("GCancellable*" "cancellable")
1318 '("GError**" "error")
1322 (define-method put_uint64
1323 (of-object "GDataOutputStream")
1324 (c-name "g_data_output_stream_put_uint64")
1325 (return-type "gboolean")
1328 '("GCancellable*" "cancellable")
1329 '("GError**" "error")
1333 (define-method put_string
1334 (of-object "GDataOutputStream")
1335 (c-name "g_data_output_stream_put_string")
1336 (return-type "gboolean")
1338 '("const-char*" "str")
1339 '("GCancellable*" "cancellable")
1340 '("GError**" "error")
1346 ;; From gdesktopappinfo.h
1348 (define-function g_desktop_app_info_get_type
1349 (c-name "g_desktop_app_info_get_type")
1350 (return-type "GType")
1353 (define-function g_desktop_app_info_new_from_filename
1354 (c-name "g_desktop_app_info_new_from_filename")
1355 (return-type "GDesktopAppInfo*")
1357 '("const-char*" "filename")
1361 (define-function g_desktop_app_info_new_from_keyfile
1362 (c-name "g_desktop_app_info_new_from_keyfile")
1363 (return-type "GDesktopAppInfo*")
1365 '("GKeyFile*" "key_file")
1369 (define-function g_desktop_app_info_new
1370 (c-name "g_desktop_app_info_new")
1371 (is-constructor-of "GDesktopAppInfo")
1372 (return-type "GDesktopAppInfo*")
1374 '("const-char*" "desktop_id")
1378 (define-method get_is_hidden
1379 (of-object "GDesktopAppInfo")
1380 (c-name "g_desktop_app_info_get_is_hidden")
1381 (return-type "gboolean")
1384 (define-function g_desktop_app_info_set_desktop_env
1385 (c-name "g_desktop_app_info_set_desktop_env")
1386 (return-type "none")
1388 '("const-char*" "desktop_env")
1392 (define-function g_desktop_app_info_lookup_get_type
1393 (c-name "g_desktop_app_info_lookup_get_type")
1394 (return-type "GType")
1397 (define-method get_default_for_uri_scheme
1398 (of-object "GDesktopAppInfoLookup")
1399 (c-name "g_desktop_app_info_lookup_get_default_for_uri_scheme")
1400 (return-type "GAppInfo*")
1402 '("const-char*" "uri_scheme")
1410 (define-function g_drive_get_type
1411 (c-name "g_drive_get_type")
1412 (return-type "GType")
1415 (define-method get_name
1416 (of-object "GDrive")
1417 (c-name "g_drive_get_name")
1418 (return-type "char*")
1421 (define-method get_icon
1422 (of-object "GDrive")
1423 (c-name "g_drive_get_icon")
1424 (return-type "GIcon*")
1427 (define-method has_volumes
1428 (of-object "GDrive")
1429 (c-name "g_drive_has_volumes")
1430 (return-type "gboolean")
1433 (define-method get_volumes
1434 (of-object "GDrive")
1435 (c-name "g_drive_get_volumes")
1436 (return-type "GList*")
1439 (define-method is_media_removable
1440 (of-object "GDrive")
1441 (c-name "g_drive_is_media_removable")
1442 (return-type "gboolean")
1445 (define-method has_media
1446 (of-object "GDrive")
1447 (c-name "g_drive_has_media")
1448 (return-type "gboolean")
1451 (define-method is_media_check_automatic
1452 (of-object "GDrive")
1453 (c-name "g_drive_is_media_check_automatic")
1454 (return-type "gboolean")
1457 (define-method can_poll_for_media
1458 (of-object "GDrive")
1459 (c-name "g_drive_can_poll_for_media")
1460 (return-type "gboolean")
1463 (define-method can_eject
1464 (of-object "GDrive")
1465 (c-name "g_drive_can_eject")
1466 (return-type "gboolean")
1469 (define-method eject
1470 (of-object "GDrive")
1471 (c-name "g_drive_eject")
1472 (return-type "none")
1474 '("GMountUnmountFlags" "flags")
1475 '("GCancellable*" "cancellable")
1476 '("GAsyncReadyCallback" "callback")
1477 '("gpointer" "user_data")
1481 (define-method eject_finish
1482 (of-object "GDrive")
1483 (c-name "g_drive_eject_finish")
1484 (return-type "gboolean")
1486 '("GAsyncResult*" "result")
1487 '("GError**" "error")
1491 (define-method poll_for_media
1492 (of-object "GDrive")
1493 (c-name "g_drive_poll_for_media")
1494 (return-type "none")
1496 '("GCancellable*" "cancellable")
1497 '("GAsyncReadyCallback" "callback")
1498 '("gpointer" "user_data")
1502 (define-method poll_for_media_finish
1503 (of-object "GDrive")
1504 (c-name "g_drive_poll_for_media_finish")
1505 (return-type "gboolean")
1507 '("GAsyncResult*" "result")
1508 '("GError**" "error")
1512 (define-method get_identifier
1513 (of-object "GDrive")
1514 (c-name "g_drive_get_identifier")
1515 (return-type "char*")
1517 '("const-char*" "kind")
1521 (define-method enumerate_identifiers
1522 (of-object "GDrive")
1523 (c-name "g_drive_enumerate_identifiers")
1524 (return-type "char**")
1529 ;; From gdummyfile.h
1533 ;; From gfileattribute.h
1535 (define-function g_file_attribute_info_list_new
1536 (c-name "g_file_attribute_info_list_new")
1537 (is-constructor-of "GFileAttributeInfoList")
1538 (return-type "GFileAttributeInfoList*")
1542 (of-object "GFileAttributeInfoList")
1543 (c-name "g_file_attribute_info_list_ref")
1544 (return-type "GFileAttributeInfoList*")
1547 (define-method unref
1548 (of-object "GFileAttributeInfoList")
1549 (c-name "g_file_attribute_info_list_unref")
1550 (return-type "none")
1554 (of-object "GFileAttributeInfoList")
1555 (c-name "g_file_attribute_info_list_dup")
1556 (return-type "GFileAttributeInfoList*")
1559 (define-method lookup
1560 (of-object "GFileAttributeInfoList")
1561 (c-name "g_file_attribute_info_list_lookup")
1562 (return-type "const-GFileAttributeInfo*")
1564 '("const-char*" "name")
1569 (of-object "GFileAttributeInfoList")
1570 (c-name "g_file_attribute_info_list_add")
1571 (return-type "none")
1573 '("const-char*" "name")
1574 '("GFileAttributeType" "type")
1575 '("GFileAttributeInfoFlags" "flags")
1581 ;; From gfileattribute-priv.h
1585 ;; From gfileenumerator.h
1587 (define-function g_file_enumerator_get_type
1588 (c-name "g_file_enumerator_get_type")
1589 (return-type "GType")
1592 (define-method next_file
1593 (of-object "GFileEnumerator")
1594 (c-name "g_file_enumerator_next_file")
1595 (return-type "GFileInfo*")
1597 '("GCancellable*" "cancellable")
1598 '("GError**" "error")
1602 (define-method close
1603 (of-object "GFileEnumerator")
1604 (c-name "g_file_enumerator_close")
1605 (return-type "gboolean")
1607 '("GCancellable*" "cancellable")
1608 '("GError**" "error")
1612 (define-method next_files_async
1613 (of-object "GFileEnumerator")
1614 (c-name "g_file_enumerator_next_files_async")
1615 (return-type "none")
1617 '("int" "num_files")
1618 '("int" "io_priority")
1619 '("GCancellable*" "cancellable")
1620 '("GAsyncReadyCallback" "callback")
1621 '("gpointer" "user_data")
1625 (define-method next_files_finish
1626 (of-object "GFileEnumerator")
1627 (c-name "g_file_enumerator_next_files_finish")
1628 (return-type "GList*")
1630 '("GAsyncResult*" "result")
1631 '("GError**" "error")
1635 (define-method close_async
1636 (of-object "GFileEnumerator")
1637 (c-name "g_file_enumerator_close_async")
1638 (return-type "none")
1640 '("int" "io_priority")
1641 '("GCancellable*" "cancellable")
1642 '("GAsyncReadyCallback" "callback")
1643 '("gpointer" "user_data")
1647 (define-method close_finish
1648 (of-object "GFileEnumerator")
1649 (c-name "g_file_enumerator_close_finish")
1650 (return-type "gboolean")
1652 '("GAsyncResult*" "result")
1653 '("GError**" "error")
1657 (define-method is_closed
1658 (of-object "GFileEnumerator")
1659 (c-name "g_file_enumerator_is_closed")
1660 (return-type "gboolean")
1663 (define-method has_pending
1664 (of-object "GFileEnumerator")
1665 (c-name "g_file_enumerator_has_pending")
1666 (return-type "gboolean")
1669 (define-method set_pending
1670 (of-object "GFileEnumerator")
1671 (c-name "g_file_enumerator_set_pending")
1672 (return-type "none")
1674 '("gboolean" "pending")
1678 (define-method get_container
1679 (of-object "GFileEnumerator")
1680 (c-name "g_file_enumerator_get_container")
1681 (return-type "GFile*")
1688 (define-function g_file_get_type
1689 (c-name "g_file_get_type")
1690 (return-type "GType")
1693 (define-function g_file_new_for_path
1694 (c-name "g_file_new_for_path")
1695 (return-type "GFile*")
1697 '("const-char*" "path")
1701 (define-function g_file_new_for_uri
1702 (c-name "g_file_new_for_uri")
1703 (return-type "GFile*")
1705 '("const-char*" "uri")
1709 (define-function g_file_new_for_commandline_arg
1710 (c-name "g_file_new_for_commandline_arg")
1711 (return-type "GFile*")
1713 '("const-char*" "arg")
1717 (define-function g_file_parse_name
1718 (c-name "g_file_parse_name")
1719 (return-type "GFile*")
1721 '("const-char*" "parse_name")
1727 (c-name "g_file_dup")
1728 (return-type "GFile*")
1731 (define-function g_file_hash
1732 (c-name "g_file_hash")
1733 (return-type "guint")
1735 '("gconstpointer" "file")
1739 (define-method equal
1741 (c-name "g_file_equal")
1742 (return-type "gboolean")
1748 (define-method get_basename
1750 (c-name "g_file_get_basename")
1751 (return-type "char*")
1754 (define-method get_path
1756 (c-name "g_file_get_path")
1757 (return-type "char*")
1760 (define-method get_uri
1762 (c-name "g_file_get_uri")
1763 (return-type "char*")
1766 (define-method get_parse_name
1768 (c-name "g_file_get_parse_name")
1769 (return-type "char*")
1772 (define-method get_parent
1774 (c-name "g_file_get_parent")
1775 (return-type "GFile*")
1778 (define-method get_child
1780 (c-name "g_file_get_child")
1781 (return-type "GFile*")
1783 '("const-char*" "name")
1787 (define-method get_child_for_display_name
1789 (c-name "g_file_get_child_for_display_name")
1790 (return-type "GFile*")
1792 '("const-char*" "display_name")
1793 '("GError**" "error")
1797 (define-method has_prefix
1799 (c-name "g_file_has_prefix")
1800 (return-type "gboolean")
1802 '("GFile*" "prefix")
1806 (define-method get_relative_path
1808 (c-name "g_file_get_relative_path")
1809 (return-type "char*")
1811 '("GFile*" "descendant")
1815 (define-method resolve_relative_path
1817 (c-name "g_file_resolve_relative_path")
1818 (return-type "GFile*")
1820 '("const-char*" "relative_path")
1824 (define-method is_native
1826 (c-name "g_file_is_native")
1827 (return-type "gboolean")
1830 (define-method has_uri_scheme
1832 (c-name "g_file_has_uri_scheme")
1833 (return-type "gboolean")
1835 '("const-char*" "uri_scheme")
1839 (define-method get_uri_scheme
1841 (c-name "g_file_get_uri_scheme")
1842 (return-type "char*")
1847 (c-name "g_file_read")
1848 (return-type "GFileInputStream*")
1850 '("GCancellable*" "cancellable")
1851 '("GError**" "error")
1855 (define-method read_async
1857 (c-name "g_file_read_async")
1858 (return-type "none")
1860 '("int" "io_priority")
1861 '("GCancellable*" "cancellable")
1862 '("GAsyncReadyCallback" "callback")
1863 '("gpointer" "user_data")
1867 (define-method read_finish
1869 (c-name "g_file_read_finish")
1870 (return-type "GFileInputStream*")
1872 '("GAsyncResult*" "res")
1873 '("GError**" "error")
1877 (define-method append_to
1879 (c-name "g_file_append_to")
1880 (return-type "GFileOutputStream*")
1882 '("GFileCreateFlags" "flags")
1883 '("GCancellable*" "cancellable")
1884 '("GError**" "error")
1888 (define-method create
1890 (c-name "g_file_create")
1891 (return-type "GFileOutputStream*")
1893 '("GFileCreateFlags" "flags")
1894 '("GCancellable*" "cancellable")
1895 '("GError**" "error")
1899 (define-method replace
1901 (c-name "g_file_replace")
1902 (return-type "GFileOutputStream*")
1904 '("const-char*" "etag")
1905 '("gboolean" "make_backup")
1906 '("GFileCreateFlags" "flags")
1907 '("GCancellable*" "cancellable")
1908 '("GError**" "error")
1912 (define-method append_to_async
1914 (c-name "g_file_append_to_async")
1915 (return-type "none")
1917 '("GFileCreateFlags" "flags")
1918 '("int" "io_priority")
1919 '("GCancellable*" "cancellable")
1920 '("GAsyncReadyCallback" "callback")
1921 '("gpointer" "user_data")
1925 (define-method append_to_finish
1927 (c-name "g_file_append_to_finish")
1928 (return-type "GFileOutputStream*")
1930 '("GAsyncResult*" "res")
1931 '("GError**" "error")
1935 (define-method create_async
1937 (c-name "g_file_create_async")
1938 (return-type "none")
1940 '("GFileCreateFlags" "flags")
1941 '("int" "io_priority")
1942 '("GCancellable*" "cancellable")
1943 '("GAsyncReadyCallback" "callback")
1944 '("gpointer" "user_data")
1948 (define-method create_finish
1950 (c-name "g_file_create_finish")
1951 (return-type "GFileOutputStream*")
1953 '("GAsyncResult*" "res")
1954 '("GError**" "error")
1958 (define-method replace_async
1960 (c-name "g_file_replace_async")
1961 (return-type "none")
1963 '("const-char*" "etag")
1964 '("gboolean" "make_backup")
1965 '("GFileCreateFlags" "flags")
1966 '("int" "io_priority")
1967 '("GCancellable*" "cancellable")
1968 '("GAsyncReadyCallback" "callback")
1969 '("gpointer" "user_data")
1973 (define-method replace_finish
1975 (c-name "g_file_replace_finish")
1976 (return-type "GFileOutputStream*")
1978 '("GAsyncResult*" "res")
1979 '("GError**" "error")
1983 (define-method query_exists
1985 (c-name "g_file_query_exists")
1986 (return-type "gboolean")
1988 '("GCancellable*" "cancellable")
1992 (define-method query_file_type
1994 (c-name "g_file_query_file_type")
1995 (return-type "GFileType")
1997 '("GFileQueryInfoFlags" "flags")
1998 '("GCancellable*" "cancellable")
2002 (define-method query_info
2004 (c-name "g_file_query_info")
2005 (return-type "GFileInfo*")
2007 '("const-char*" "attributes")
2008 '("GFileQueryInfoFlags" "flags")
2009 '("GCancellable*" "cancellable")
2010 '("GError**" "error")
2014 (define-method query_info_async
2016 (c-name "g_file_query_info_async")
2017 (return-type "none")
2019 '("const-char*" "attributes")
2020 '("GFileQueryInfoFlags" "flags")
2021 '("int" "io_priority")
2022 '("GCancellable*" "cancellable")
2023 '("GAsyncReadyCallback" "callback")
2024 '("gpointer" "user_data")
2028 (define-method query_info_finish
2030 (c-name "g_file_query_info_finish")
2031 (return-type "GFileInfo*")
2033 '("GAsyncResult*" "res")
2034 '("GError**" "error")
2038 (define-method query_filesystem_info
2040 (c-name "g_file_query_filesystem_info")
2041 (return-type "GFileInfo*")
2043 '("const-char*" "attributes")
2044 '("GCancellable*" "cancellable")
2045 '("GError**" "error")
2049 (define-method query_filesystem_info_async
2051 (c-name "g_file_query_filesystem_info_async")
2052 (return-type "none")
2054 '("const-char*" "attributes")
2055 '("int" "io_priority")
2056 '("GCancellable*" "cancellable")
2057 '("GAsyncReadyCallback" "callback")
2058 '("gpointer" "user_data")
2062 (define-method query_filesystem_info_finish
2064 (c-name "g_file_query_filesystem_info_finish")
2065 (return-type "GFileInfo*")
2067 '("GAsyncResult*" "res")
2068 '("GError**" "error")
2072 (define-method find_enclosing_mount
2074 (c-name "g_file_find_enclosing_mount")
2075 (return-type "GMount*")
2077 '("GCancellable*" "cancellable")
2078 '("GError**" "error")
2082 (define-method find_enclosing_mount_async
2084 (c-name "g_file_find_enclosing_mount_async")
2085 (return-type "none")
2087 '("int" "io_priority")
2088 '("GCancellable*" "cancellable")
2089 '("GAsyncReadyCallback" "callback")
2090 '("gpointer" "user_data")
2094 (define-method find_enclosing_mount_finish
2096 (c-name "g_file_find_enclosing_mount_finish")
2097 (return-type "GMount*")
2099 '("GAsyncResult*" "res")
2100 '("GError**" "error")
2104 (define-method enumerate_children
2106 (c-name "g_file_enumerate_children")
2107 (return-type "GFileEnumerator*")
2109 '("const-char*" "attributes")
2110 '("GFileQueryInfoFlags" "flags")
2111 '("GCancellable*" "cancellable")
2112 '("GError**" "error")
2116 (define-method enumerate_children_async
2118 (c-name "g_file_enumerate_children_async")
2119 (return-type "none")
2121 '("const-char*" "attributes")
2122 '("GFileQueryInfoFlags" "flags")
2123 '("int" "io_priority")
2124 '("GCancellable*" "cancellable")
2125 '("GAsyncReadyCallback" "callback")
2126 '("gpointer" "user_data")
2130 (define-method enumerate_children_finish
2132 (c-name "g_file_enumerate_children_finish")
2133 (return-type "GFileEnumerator*")
2135 '("GAsyncResult*" "res")
2136 '("GError**" "error")
2140 (define-method set_display_name
2142 (c-name "g_file_set_display_name")
2143 (return-type "GFile*")
2145 '("const-char*" "display_name")
2146 '("GCancellable*" "cancellable")
2147 '("GError**" "error")
2151 (define-method set_display_name_async
2153 (c-name "g_file_set_display_name_async")
2154 (return-type "none")
2156 '("const-char*" "display_name")
2157 '("int" "io_priority")
2158 '("GCancellable*" "cancellable")
2159 '("GAsyncReadyCallback" "callback")
2160 '("gpointer" "user_data")
2164 (define-method set_display_name_finish
2166 (c-name "g_file_set_display_name_finish")
2167 (return-type "GFile*")
2169 '("GAsyncResult*" "res")
2170 '("GError**" "error")
2174 (define-method delete
2176 (c-name "g_file_delete")
2177 (return-type "gboolean")
2179 '("GCancellable*" "cancellable")
2180 '("GError**" "error")
2184 (define-method trash
2186 (c-name "g_file_trash")
2187 (return-type "gboolean")
2189 '("GCancellable*" "cancellable")
2190 '("GError**" "error")
2196 (c-name "g_file_copy")
2197 (return-type "gboolean")
2199 '("GFile*" "destination")
2200 '("GFileCopyFlags" "flags")
2201 '("GCancellable*" "cancellable")
2202 '("GFileProgressCallback" "progress_callback")
2203 '("gpointer" "progress_callback_data")
2204 '("GError**" "error")
2208 (define-method copy_async
2210 (c-name "g_file_copy_async")
2211 (return-type "none")
2213 '("GFile*" "destination")
2214 '("GFileCopyFlags" "flags")
2215 '("int" "io_priority")
2216 '("GCancellable*" "cancellable")
2217 '("GFileProgressCallback" "progress_callback")
2218 '("gpointer" "progress_callback_data")
2219 '("GAsyncReadyCallback" "callback")
2220 '("gpointer" "user_data")
2224 (define-method copy_finish
2226 (c-name "g_file_copy_finish")
2227 (return-type "gboolean")
2229 '("GAsyncResult*" "res")
2230 '("GError**" "error")
2236 (c-name "g_file_move")
2237 (return-type "gboolean")
2239 '("GFile*" "destination")
2240 '("GFileCopyFlags" "flags")
2241 '("GCancellable*" "cancellable")
2242 '("GFileProgressCallback" "progress_callback")
2243 '("gpointer" "progress_callback_data")
2244 '("GError**" "error")
2248 (define-method make_directory
2250 (c-name "g_file_make_directory")
2251 (return-type "gboolean")
2253 '("GCancellable*" "cancellable")
2254 '("GError**" "error")
2258 (define-method make_directory_with_parents
2260 (c-name "g_file_make_directory_with_parents")
2261 (return-type "gboolean")
2263 '("GCancellable*" "cancellable")
2264 '("GError**" "error")
2268 (define-method make_symbolic_link
2270 (c-name "g_file_make_symbolic_link")
2271 (return-type "gboolean")
2273 '("const-char*" "symlink_value")
2274 '("GCancellable*" "cancellable")
2275 '("GError**" "error")
2279 (define-method query_settable_attributes
2281 (c-name "g_file_query_settable_attributes")
2282 (return-type "GFileAttributeInfoList*")
2284 '("GCancellable*" "cancellable")
2285 '("GError**" "error")
2289 (define-method query_writable_namespaces
2291 (c-name "g_file_query_writable_namespaces")
2292 (return-type "GFileAttributeInfoList*")
2294 '("GCancellable*" "cancellable")
2295 '("GError**" "error")
2299 (define-method set_attribute
2301 (c-name "g_file_set_attribute")
2302 (return-type "gboolean")
2304 '("const-char*" "attribute")
2305 '("GFileAttributeType" "type")
2306 '("gpointer" "value_p")
2307 '("GFileQueryInfoFlags" "flags")
2308 '("GCancellable*" "cancellable")
2309 '("GError**" "error")
2313 (define-method set_attributes_from_info
2315 (c-name "g_file_set_attributes_from_info")
2316 (return-type "gboolean")
2318 '("GFileInfo*" "info")
2319 '("GFileQueryInfoFlags" "flags")
2320 '("GCancellable*" "cancellable")
2321 '("GError**" "error")
2325 (define-method set_attributes_async
2327 (c-name "g_file_set_attributes_async")
2328 (return-type "none")
2330 '("GFileInfo*" "info")
2331 '("GFileQueryInfoFlags" "flags")
2332 '("int" "io_priority")
2333 '("GCancellable*" "cancellable")
2334 '("GAsyncReadyCallback" "callback")
2335 '("gpointer" "user_data")
2339 (define-method set_attributes_finish
2341 (c-name "g_file_set_attributes_finish")
2342 (return-type "gboolean")
2344 '("GAsyncResult*" "result")
2345 '("GFileInfo**" "info")
2346 '("GError**" "error")
2350 (define-method set_attribute_string
2352 (c-name "g_file_set_attribute_string")
2353 (return-type "gboolean")
2355 '("const-char*" "attribute")
2356 '("const-char*" "value")
2357 '("GFileQueryInfoFlags" "flags")
2358 '("GCancellable*" "cancellable")
2359 '("GError**" "error")
2363 (define-method set_attribute_byte_string
2365 (c-name "g_file_set_attribute_byte_string")
2366 (return-type "gboolean")
2368 '("const-char*" "attribute")
2369 '("const-char*" "value")
2370 '("GFileQueryInfoFlags" "flags")
2371 '("GCancellable*" "cancellable")
2372 '("GError**" "error")
2376 (define-method set_attribute_uint32
2378 (c-name "g_file_set_attribute_uint32")
2379 (return-type "gboolean")
2381 '("const-char*" "attribute")
2382 '("guint32" "value")
2383 '("GFileQueryInfoFlags" "flags")
2384 '("GCancellable*" "cancellable")
2385 '("GError**" "error")
2389 (define-method set_attribute_int32
2391 (c-name "g_file_set_attribute_int32")
2392 (return-type "gboolean")
2394 '("const-char*" "attribute")
2396 '("GFileQueryInfoFlags" "flags")
2397 '("GCancellable*" "cancellable")
2398 '("GError**" "error")
2402 (define-method set_attribute_uint64
2404 (c-name "g_file_set_attribute_uint64")
2405 (return-type "gboolean")
2407 '("const-char*" "attribute")
2408 '("guint64" "value")
2409 '("GFileQueryInfoFlags" "flags")
2410 '("GCancellable*" "cancellable")
2411 '("GError**" "error")
2415 (define-method set_attribute_int64
2417 (c-name "g_file_set_attribute_int64")
2418 (return-type "gboolean")
2420 '("const-char*" "attribute")
2422 '("GFileQueryInfoFlags" "flags")
2423 '("GCancellable*" "cancellable")
2424 '("GError**" "error")
2428 (define-method mount_enclosing_volume
2430 (c-name "g_file_mount_enclosing_volume")
2431 (return-type "none")
2433 '("GMountMountFlags" "flags")
2434 '("GMountOperation*" "mount_operation")
2435 '("GCancellable*" "cancellable")
2436 '("GAsyncReadyCallback" "callback")
2437 '("gpointer" "user_data")
2441 (define-method mount_enclosing_volume_finish
2443 (c-name "g_file_mount_enclosing_volume_finish")
2444 (return-type "gboolean")
2446 '("GAsyncResult*" "result")
2447 '("GError**" "error")
2451 (define-method mount_mountable
2453 (c-name "g_file_mount_mountable")
2454 (return-type "none")
2456 '("GMountMountFlags" "flags")
2457 '("GMountOperation*" "mount_operation")
2458 '("GCancellable*" "cancellable")
2459 '("GAsyncReadyCallback" "callback")
2460 '("gpointer" "user_data")
2464 (define-method mount_mountable_finish
2466 (c-name "g_file_mount_mountable_finish")
2467 (return-type "GFile*")
2469 '("GAsyncResult*" "result")
2470 '("GError**" "error")
2474 (define-method unmount_mountable
2476 (c-name "g_file_unmount_mountable")
2477 (return-type "none")
2479 '("GMountUnmountFlags" "flags")
2480 '("GCancellable*" "cancellable")
2481 '("GAsyncReadyCallback" "callback")
2482 '("gpointer" "user_data")
2486 (define-method unmount_mountable_finish
2488 (c-name "g_file_unmount_mountable_finish")
2489 (return-type "gboolean")
2491 '("GAsyncResult*" "result")
2492 '("GError**" "error")
2496 (define-method eject_mountable
2498 (c-name "g_file_eject_mountable")
2499 (return-type "none")
2501 '("GMountUnmountFlags" "flags")
2502 '("GCancellable*" "cancellable")
2503 '("GAsyncReadyCallback" "callback")
2504 '("gpointer" "user_data")
2508 (define-method eject_mountable_finish
2510 (c-name "g_file_eject_mountable_finish")
2511 (return-type "gboolean")
2513 '("GAsyncResult*" "result")
2514 '("GError**" "error")
2518 (define-method copy_attributes
2520 (c-name "g_file_copy_attributes")
2521 (return-type "gboolean")
2523 '("GFile*" "destination")
2524 '("GFileCopyFlags" "flags")
2525 '("GCancellable*" "cancellable")
2526 '("GError**" "error")
2530 (define-method monitor_directory
2532 (c-name "g_file_monitor_directory")
2533 (return-type "GFileMonitor*")
2535 '("GFileMonitorFlags" "flags")
2536 '("GCancellable*" "cancellable")
2537 '("GError**" "error")
2541 (define-method monitor_file
2543 (c-name "g_file_monitor_file")
2544 (return-type "GFileMonitor*")
2546 '("GFileMonitorFlags" "flags")
2547 '("GCancellable*" "cancellable")
2548 '("GError**" "error")
2552 (define-method monitor
2554 (c-name "g_file_monitor")
2555 (return-type "GFileMonitor*")
2557 '("GFileMonitorFlags" "flags")
2558 '("GCancellable*" "cancellable")
2559 '("GError**" "error")
2563 (define-method query_default_handler
2565 (c-name "g_file_query_default_handler")
2566 (return-type "GAppInfo*")
2568 '("GCancellable*" "cancellable")
2569 '("GError**" "error")
2573 (define-method load_contents
2575 (c-name "g_file_load_contents")
2576 (return-type "gboolean")
2578 '("GCancellable*" "cancellable")
2579 '("char**" "contents")
2580 '("gsize*" "length")
2581 '("char**" "etag_out")
2582 '("GError**" "error")
2586 (define-method load_contents_async
2588 (c-name "g_file_load_contents_async")
2589 (return-type "none")
2591 '("GCancellable*" "cancellable")
2592 '("GAsyncReadyCallback" "callback")
2593 '("gpointer" "user_data")
2597 (define-method load_contents_finish
2599 (c-name "g_file_load_contents_finish")
2600 (return-type "gboolean")
2602 '("GAsyncResult*" "res")
2603 '("char**" "contents")
2604 '("gsize*" "length")
2605 '("char**" "etag_out")
2606 '("GError**" "error")
2610 (define-method load_partial_contents_async
2612 (c-name "g_file_load_partial_contents_async")
2613 (return-type "none")
2615 '("GCancellable*" "cancellable")
2616 '("GFileReadMoreCallback" "read_more_callback")
2617 '("GAsyncReadyCallback" "callback")
2618 '("gpointer" "user_data")
2622 (define-method load_partial_contents_finish
2624 (c-name "g_file_load_partial_contents_finish")
2625 (return-type "gboolean")
2627 '("GAsyncResult*" "res")
2628 '("char**" "contents")
2629 '("gsize*" "length")
2630 '("char**" "etag_out")
2631 '("GError**" "error")
2635 (define-method replace_contents
2637 (c-name "g_file_replace_contents")
2638 (return-type "gboolean")
2640 '("const-char*" "contents")
2642 '("const-char*" "etag")
2643 '("gboolean" "make_backup")
2644 '("GFileCreateFlags" "flags")
2645 '("char**" "new_etag")
2646 '("GCancellable*" "cancellable")
2647 '("GError**" "error")
2651 (define-method replace_contents_async
2653 (c-name "g_file_replace_contents_async")
2654 (return-type "none")
2656 '("const-char*" "contents")
2658 '("const-char*" "etag")
2659 '("gboolean" "make_backup")
2660 '("GFileCreateFlags" "flags")
2661 '("GCancellable*" "cancellable")
2662 '("GAsyncReadyCallback" "callback")
2663 '("gpointer" "user_data")
2667 (define-method replace_contents_finish
2669 (c-name "g_file_replace_contents_finish")
2670 (return-type "gboolean")
2672 '("GAsyncResult*" "res")
2673 '("char**" "new_etag")
2674 '("GError**" "error")
2682 (define-function g_file_icon_get_type
2683 (c-name "g_file_icon_get_type")
2684 (return-type "GType")
2687 (define-method icon_new
2689 (c-name "g_file_icon_new")
2690 (return-type "GIcon*")
2693 (define-method get_file
2694 (of-object "GFileIcon")
2695 (c-name "g_file_icon_get_file")
2696 (return-type "GFile*")
2703 (define-function g_file_info_get_type
2704 (c-name "g_file_info_get_type")
2705 (return-type "GType")
2708 (define-function g_file_info_new
2709 (c-name "g_file_info_new")
2710 (is-constructor-of "GFileInfo")
2711 (return-type "GFileInfo*")
2715 (of-object "GFileInfo")
2716 (c-name "g_file_info_dup")
2717 (return-type "GFileInfo*")
2720 (define-method copy_into
2721 (of-object "GFileInfo")
2722 (c-name "g_file_info_copy_into")
2723 (return-type "none")
2725 '("GFileInfo*" "dest_info")
2729 (define-method has_attribute
2730 (of-object "GFileInfo")
2731 (c-name "g_file_info_has_attribute")
2732 (return-type "gboolean")
2734 '("const-char*" "attribute")
2738 (define-method list_attributes
2739 (of-object "GFileInfo")
2740 (c-name "g_file_info_list_attributes")
2741 (return-type "char**")
2743 '("const-char*" "name_space")
2747 (define-method get_attribute_data
2748 (of-object "GFileInfo")
2749 (c-name "g_file_info_get_attribute_data")
2750 (return-type "gboolean")
2752 '("const-char*" "attribute")
2753 '("GFileAttributeType*" "type")
2754 '("gpointer*" "value_pp")
2755 '("GFileAttributeStatus*" "status")
2759 (define-method get_attribute_type
2760 (of-object "GFileInfo")
2761 (c-name "g_file_info_get_attribute_type")
2762 (return-type "GFileAttributeType")
2764 '("const-char*" "attribute")
2768 (define-method remove_attribute
2769 (of-object "GFileInfo")
2770 (c-name "g_file_info_remove_attribute")
2771 (return-type "none")
2773 '("const-char*" "attribute")
2777 (define-method get_attribute_status
2778 (of-object "GFileInfo")
2779 (c-name "g_file_info_get_attribute_status")
2780 (return-type "GFileAttributeStatus")
2782 '("const-char*" "attribute")
2786 (define-method get_attribute_as_string
2787 (of-object "GFileInfo")
2788 (c-name "g_file_info_get_attribute_as_string")
2789 (return-type "char*")
2791 '("const-char*" "attribute")
2795 (define-method get_attribute_string
2796 (of-object "GFileInfo")
2797 (c-name "g_file_info_get_attribute_string")
2798 (return-type "const-char*")
2800 '("const-char*" "attribute")
2804 (define-method get_attribute_byte_string
2805 (of-object "GFileInfo")
2806 (c-name "g_file_info_get_attribute_byte_string")
2807 (return-type "const-char*")
2809 '("const-char*" "attribute")
2813 (define-method get_attribute_boolean
2814 (of-object "GFileInfo")
2815 (c-name "g_file_info_get_attribute_boolean")
2816 (return-type "gboolean")
2818 '("const-char*" "attribute")
2822 (define-method get_attribute_uint32
2823 (of-object "GFileInfo")
2824 (c-name "g_file_info_get_attribute_uint32")
2825 (return-type "guint32")
2827 '("const-char*" "attribute")
2831 (define-method get_attribute_int32
2832 (of-object "GFileInfo")
2833 (c-name "g_file_info_get_attribute_int32")
2834 (return-type "gint32")
2836 '("const-char*" "attribute")
2840 (define-method get_attribute_uint64
2841 (of-object "GFileInfo")
2842 (c-name "g_file_info_get_attribute_uint64")
2843 (return-type "guint64")
2845 '("const-char*" "attribute")
2849 (define-method get_attribute_int64
2850 (of-object "GFileInfo")
2851 (c-name "g_file_info_get_attribute_int64")
2852 (return-type "gint64")
2854 '("const-char*" "attribute")
2858 (define-method get_attribute_object
2859 (of-object "GFileInfo")
2860 (c-name "g_file_info_get_attribute_object")
2861 (return-type "GObject*")
2863 '("const-char*" "attribute")
2867 (define-method set_attribute
2868 (of-object "GFileInfo")
2869 (c-name "g_file_info_set_attribute")
2870 (return-type "none")
2872 '("const-char*" "attribute")
2873 '("GFileAttributeType" "type")
2874 '("gpointer" "value_p")
2878 (define-method set_attribute_string
2879 (of-object "GFileInfo")
2880 (c-name "g_file_info_set_attribute_string")
2881 (return-type "none")
2883 '("const-char*" "attribute")
2884 '("const-char*" "attr_value")
2888 (define-method set_attribute_byte_string
2889 (of-object "GFileInfo")
2890 (c-name "g_file_info_set_attribute_byte_string")
2891 (return-type "none")
2893 '("const-char*" "attribute")
2894 '("const-char*" "attr_value")
2898 (define-method set_attribute_boolean
2899 (of-object "GFileInfo")
2900 (c-name "g_file_info_set_attribute_boolean")
2901 (return-type "none")
2903 '("const-char*" "attribute")
2904 '("gboolean" "attr_value")
2908 (define-method set_attribute_uint32
2909 (of-object "GFileInfo")
2910 (c-name "g_file_info_set_attribute_uint32")
2911 (return-type "none")
2913 '("const-char*" "attribute")
2914 '("guint32" "attr_value")
2918 (define-method set_attribute_int32
2919 (of-object "GFileInfo")
2920 (c-name "g_file_info_set_attribute_int32")
2921 (return-type "none")
2923 '("const-char*" "attribute")
2924 '("gint32" "attr_value")
2928 (define-method set_attribute_uint64
2929 (of-object "GFileInfo")
2930 (c-name "g_file_info_set_attribute_uint64")
2931 (return-type "none")
2933 '("const-char*" "attribute")
2934 '("guint64" "attr_value")
2938 (define-method set_attribute_int64
2939 (of-object "GFileInfo")
2940 (c-name "g_file_info_set_attribute_int64")
2941 (return-type "none")
2943 '("const-char*" "attribute")
2944 '("gint64" "attr_value")
2948 (define-method set_attribute_object
2949 (of-object "GFileInfo")
2950 (c-name "g_file_info_set_attribute_object")
2951 (return-type "none")
2953 '("const-char*" "attribute")
2954 '("GObject*" "attr_value")
2958 (define-method clear_status
2959 (of-object "GFileInfo")
2960 (c-name "g_file_info_clear_status")
2961 (return-type "none")
2964 (define-method get_file_type
2965 (of-object "GFileInfo")
2966 (c-name "g_file_info_get_file_type")
2967 (return-type "GFileType")
2970 (define-method get_is_hidden
2971 (of-object "GFileInfo")
2972 (c-name "g_file_info_get_is_hidden")
2973 (return-type "gboolean")
2976 (define-method get_is_backup
2977 (of-object "GFileInfo")
2978 (c-name "g_file_info_get_is_backup")
2979 (return-type "gboolean")
2982 (define-method get_is_symlink
2983 (of-object "GFileInfo")
2984 (c-name "g_file_info_get_is_symlink")
2985 (return-type "gboolean")
2988 (define-method get_name
2989 (of-object "GFileInfo")
2990 (c-name "g_file_info_get_name")
2991 (return-type "const-char*")
2994 (define-method get_display_name
2995 (of-object "GFileInfo")
2996 (c-name "g_file_info_get_display_name")
2997 (return-type "const-char*")
3000 (define-method get_edit_name
3001 (of-object "GFileInfo")
3002 (c-name "g_file_info_get_edit_name")
3003 (return-type "const-char*")
3006 (define-method get_icon
3007 (of-object "GFileInfo")
3008 (c-name "g_file_info_get_icon")
3009 (return-type "GIcon*")
3012 (define-method get_content_type
3013 (of-object "GFileInfo")
3014 (c-name "g_file_info_get_content_type")
3015 (return-type "const-char*")
3018 (define-method get_size
3019 (of-object "GFileInfo")
3020 (c-name "g_file_info_get_size")
3021 (return-type "goffset")
3024 (define-method get_modification_time
3025 (of-object "GFileInfo")
3026 (c-name "g_file_info_get_modification_time")
3027 (return-type "none")
3029 '("GTimeVal*" "result")
3033 (define-method get_symlink_target
3034 (of-object "GFileInfo")
3035 (c-name "g_file_info_get_symlink_target")
3036 (return-type "const-char*")
3039 (define-method get_etag
3040 (of-object "GFileInfo")
3041 (c-name "g_file_info_get_etag")
3042 (return-type "const-char*")
3045 (define-method get_sort_order
3046 (of-object "GFileInfo")
3047 (c-name "g_file_info_get_sort_order")
3048 (return-type "gint32")
3051 (define-method set_attribute_mask
3052 (of-object "GFileInfo")
3053 (c-name "g_file_info_set_attribute_mask")
3054 (return-type "none")
3056 '("GFileAttributeMatcher*" "mask")
3060 (define-method unset_attribute_mask
3061 (of-object "GFileInfo")
3062 (c-name "g_file_info_unset_attribute_mask")
3063 (return-type "none")
3066 (define-method set_file_type
3067 (of-object "GFileInfo")
3068 (c-name "g_file_info_set_file_type")
3069 (return-type "none")
3071 '("GFileType" "type")
3075 (define-method set_is_hidden
3076 (of-object "GFileInfo")
3077 (c-name "g_file_info_set_is_hidden")
3078 (return-type "none")
3080 '("gboolean" "is_hidden")
3084 (define-method set_is_symlink
3085 (of-object "GFileInfo")
3086 (c-name "g_file_info_set_is_symlink")
3087 (return-type "none")
3089 '("gboolean" "is_symlink")
3093 (define-method set_name
3094 (of-object "GFileInfo")
3095 (c-name "g_file_info_set_name")
3096 (return-type "none")
3098 '("const-char*" "name")
3102 (define-method set_display_name
3103 (of-object "GFileInfo")
3104 (c-name "g_file_info_set_display_name")
3105 (return-type "none")
3107 '("const-char*" "display_name")
3111 (define-method set_edit_name
3112 (of-object "GFileInfo")
3113 (c-name "g_file_info_set_edit_name")
3114 (return-type "none")
3116 '("const-char*" "edit_name")
3120 (define-method set_icon
3121 (of-object "GFileInfo")
3122 (c-name "g_file_info_set_icon")
3123 (return-type "none")
3129 (define-method set_content_type
3130 (of-object "GFileInfo")
3131 (c-name "g_file_info_set_content_type")
3132 (return-type "none")
3134 '("const-char*" "content_type")
3138 (define-method set_size
3139 (of-object "GFileInfo")
3140 (c-name "g_file_info_set_size")
3141 (return-type "none")
3147 (define-method set_modification_time
3148 (of-object "GFileInfo")
3149 (c-name "g_file_info_set_modification_time")
3150 (return-type "none")
3152 '("GTimeVal*" "mtime")
3156 (define-method set_symlink_target
3157 (of-object "GFileInfo")
3158 (c-name "g_file_info_set_symlink_target")
3159 (return-type "none")
3161 '("const-char*" "symlink_target")
3165 (define-method set_sort_order
3166 (of-object "GFileInfo")
3167 (c-name "g_file_info_set_sort_order")
3168 (return-type "none")
3170 '("gint32" "sort_order")
3174 (define-function g_file_attribute_matcher_new
3175 (c-name "g_file_attribute_matcher_new")
3176 (is-constructor-of "GFileAttributeMatcher")
3177 (return-type "GFileAttributeMatcher*")
3179 '("const-char*" "attributes")
3184 (of-object "GFileAttributeMatcher")
3185 (c-name "g_file_attribute_matcher_ref")
3186 (return-type "GFileAttributeMatcher*")
3189 (define-method unref
3190 (of-object "GFileAttributeMatcher")
3191 (c-name "g_file_attribute_matcher_unref")
3192 (return-type "none")
3195 (define-method matches
3196 (of-object "GFileAttributeMatcher")
3197 (c-name "g_file_attribute_matcher_matches")
3198 (return-type "gboolean")
3200 '("const-char*" "attribute")
3204 (define-method matches_only
3205 (of-object "GFileAttributeMatcher")
3206 (c-name "g_file_attribute_matcher_matches_only")
3207 (return-type "gboolean")
3209 '("const-char*" "attribute")
3213 (define-method enumerate_namespace
3214 (of-object "GFileAttributeMatcher")
3215 (c-name "g_file_attribute_matcher_enumerate_namespace")
3216 (return-type "gboolean")
3218 '("const-char*" "ns")
3222 (define-method enumerate_next
3223 (of-object "GFileAttributeMatcher")
3224 (c-name "g_file_attribute_matcher_enumerate_next")
3225 (return-type "const-char*")
3230 ;; From gfileinputstream.h
3232 (define-function g_file_input_stream_get_type
3233 (c-name "g_file_input_stream_get_type")
3234 (return-type "GType")
3237 (define-method query_info
3238 (of-object "GFileInputStream")
3239 (c-name "g_file_input_stream_query_info")
3240 (return-type "GFileInfo*")
3242 '("char*" "attributes")
3243 '("GCancellable*" "cancellable")
3244 '("GError**" "error")
3248 (define-method query_info_async
3249 (of-object "GFileInputStream")
3250 (c-name "g_file_input_stream_query_info_async")
3251 (return-type "none")
3253 '("char*" "attributes")
3254 '("int" "io_priority")
3255 '("GCancellable*" "cancellable")
3256 '("GAsyncReadyCallback" "callback")
3257 '("gpointer" "user_data")
3261 (define-method query_info_finish
3262 (of-object "GFileInputStream")
3263 (c-name "g_file_input_stream_query_info_finish")
3264 (return-type "GFileInfo*")
3266 '("GAsyncResult*" "result")
3267 '("GError**" "error")
3273 ;; From gfilemonitor.h
3275 (define-function g_file_monitor_get_type
3276 (c-name "g_file_monitor_get_type")
3277 (return-type "GType")
3280 (define-method cancel
3281 (of-object "GFileMonitor")
3282 (c-name "g_file_monitor_cancel")
3283 (return-type "gboolean")
3286 (define-method is_cancelled
3287 (of-object "GFileMonitor")
3288 (c-name "g_file_monitor_is_cancelled")
3289 (return-type "gboolean")
3292 (define-method set_rate_limit
3293 (of-object "GFileMonitor")
3294 (c-name "g_file_monitor_set_rate_limit")
3295 (return-type "none")
3297 '("int" "limit_msecs")
3301 (define-method emit_event
3302 (of-object "GFileMonitor")
3303 (c-name "g_file_monitor_emit_event")
3304 (return-type "none")
3307 '("GFile*" "other_file")
3308 '("GFileMonitorEvent" "event_type")
3314 ;; From gfilenamecompleter.h
3316 (define-function g_filename_completer_get_type
3317 (c-name "g_filename_completer_get_type")
3318 (return-type "GType")
3321 (define-function g_filename_completer_new
3322 (c-name "g_filename_completer_new")
3323 (is-constructor-of "GFilenameCompleter")
3324 (return-type "GFilenameCompleter*")
3327 (define-method get_completion_suffix
3328 (of-object "GFilenameCompleter")
3329 (c-name "g_filename_completer_get_completion_suffix")
3330 (return-type "char*")
3332 '("const-char*" "initial_text")
3336 (define-method get_completions
3337 (of-object "GFilenameCompleter")
3338 (c-name "g_filename_completer_get_completions")
3339 (return-type "char**")
3341 '("const-char*" "initial_text")
3345 (define-method set_dirs_only
3346 (of-object "GFilenameCompleter")
3347 (c-name "g_filename_completer_set_dirs_only")
3348 (return-type "none")
3350 '("gboolean" "dirs_only")
3356 ;; From gfileoutputstream.h
3358 (define-function g_file_output_stream_get_type
3359 (c-name "g_file_output_stream_get_type")
3360 (return-type "GType")
3363 (define-method query_info
3364 (of-object "GFileOutputStream")
3365 (c-name "g_file_output_stream_query_info")
3366 (return-type "GFileInfo*")
3368 '("char*" "attributes")
3369 '("GCancellable*" "cancellable")
3370 '("GError**" "error")
3374 (define-method query_info_async
3375 (of-object "GFileOutputStream")
3376 (c-name "g_file_output_stream_query_info_async")
3377 (return-type "none")
3379 '("char*" "attributes")
3380 '("int" "io_priority")
3381 '("GCancellable*" "cancellable")
3382 '("GAsyncReadyCallback" "callback")
3383 '("gpointer" "user_data")
3387 (define-method query_info_finish
3388 (of-object "GFileOutputStream")
3389 (c-name "g_file_output_stream_query_info_finish")
3390 (return-type "GFileInfo*")
3392 '("GAsyncResult*" "result")
3393 '("GError**" "error")
3397 (define-method get_etag
3398 (of-object "GFileOutputStream")
3399 (c-name "g_file_output_stream_get_etag")
3400 (return-type "char*")
3405 ;; From gfilterinputstream.h
3407 (define-function g_filter_input_stream_get_type
3408 (c-name "g_filter_input_stream_get_type")
3409 (return-type "GType")
3412 (define-method get_base_stream
3413 (of-object "GFilterInputStream")
3414 (c-name "g_filter_input_stream_get_base_stream")
3415 (return-type "GInputStream*")
3420 ;; From gfilteroutputstream.h
3422 (define-function g_filter_output_stream_get_type
3423 (c-name "g_filter_output_stream_get_type")
3424 (return-type "GType")
3427 (define-method get_base_stream
3428 (of-object "GFilterOutputStream")
3429 (c-name "g_filter_output_stream_get_base_stream")
3430 (return-type "GOutputStream*")
3437 (define-function g_icon_get_type
3438 (c-name "g_icon_get_type")
3439 (return-type "GType")
3442 (define-function g_icon_hash
3443 (c-name "g_icon_hash")
3444 (return-type "guint")
3446 '("gconstpointer" "icon")
3450 (define-method equal
3452 (c-name "g_icon_equal")
3453 (return-type "gboolean")
3461 ;; From ginputstream.h
3463 (define-function g_input_stream_get_type
3464 (c-name "g_input_stream_get_type")
3465 (return-type "GType")
3469 (of-object "GInputStream")
3470 (c-name "g_input_stream_read")
3471 (return-type "gssize")
3475 '("GCancellable*" "cancellable")
3476 '("GError**" "error")
3480 (define-method read_all
3481 (of-object "GInputStream")
3482 (c-name "g_input_stream_read_all")
3483 (return-type "gboolean")
3487 '("gsize*" "bytes_read")
3488 '("GCancellable*" "cancellable")
3489 '("GError**" "error")
3494 (of-object "GInputStream")
3495 (c-name "g_input_stream_skip")
3496 (return-type "gssize")
3499 '("GCancellable*" "cancellable")
3500 '("GError**" "error")
3504 (define-method close
3505 (of-object "GInputStream")
3506 (c-name "g_input_stream_close")
3507 (return-type "gboolean")
3509 '("GCancellable*" "cancellable")
3510 '("GError**" "error")
3514 (define-method read_async
3515 (of-object "GInputStream")
3516 (c-name "g_input_stream_read_async")
3517 (return-type "none")
3521 '("int" "io_priority")
3522 '("GCancellable*" "cancellable")
3523 '("GAsyncReadyCallback" "callback")
3524 '("gpointer" "user_data")
3528 (define-method read_finish
3529 (of-object "GInputStream")
3530 (c-name "g_input_stream_read_finish")
3531 (return-type "gssize")
3533 '("GAsyncResult*" "result")
3534 '("GError**" "error")
3538 (define-method skip_async
3539 (of-object "GInputStream")
3540 (c-name "g_input_stream_skip_async")
3541 (return-type "none")
3544 '("int" "io_priority")
3545 '("GCancellable*" "cancellable")
3546 '("GAsyncReadyCallback" "callback")
3547 '("gpointer" "user_data")
3551 (define-method skip_finish
3552 (of-object "GInputStream")
3553 (c-name "g_input_stream_skip_finish")
3554 (return-type "gssize")
3556 '("GAsyncResult*" "result")
3557 '("GError**" "error")
3561 (define-method close_async
3562 (of-object "GInputStream")
3563 (c-name "g_input_stream_close_async")
3564 (return-type "none")
3566 '("int" "io_priority")
3567 '("GCancellable*" "cancellable")
3568 '("GAsyncReadyCallback" "callback")
3569 '("gpointer" "user_data")
3573 (define-method close_finish
3574 (of-object "GInputStream")
3575 (c-name "g_input_stream_close_finish")
3576 (return-type "gboolean")
3578 '("GAsyncResult*" "result")
3579 '("GError**" "error")
3583 (define-method is_closed
3584 (of-object "GInputStream")
3585 (c-name "g_input_stream_is_closed")
3586 (return-type "gboolean")
3589 (define-method has_pending
3590 (of-object "GInputStream")
3591 (c-name "g_input_stream_has_pending")
3592 (return-type "gboolean")
3595 (define-method set_pending
3596 (of-object "GInputStream")
3597 (c-name "g_input_stream_set_pending")
3598 (return-type "gboolean")
3600 '("GError**" "error")
3604 (define-method clear_pending
3605 (of-object "GInputStream")
3606 (c-name "g_input_stream_clear_pending")
3607 (return-type "none")
3620 ;; From gioenumtypes.h
3622 (define-function g_app_info_create_flags_get_type
3623 (c-name "g_app_info_create_flags_get_type")
3624 (return-type "GType")
3627 (define-function g_data_stream_byte_order_get_type
3628 (c-name "g_data_stream_byte_order_get_type")
3629 (return-type "GType")
3632 (define-function g_data_stream_newline_type_get_type
3633 (c-name "g_data_stream_newline_type_get_type")
3634 (return-type "GType")
3637 (define-function g_file_attribute_type_get_type
3638 (c-name "g_file_attribute_type_get_type")
3639 (return-type "GType")
3642 (define-function g_file_attribute_info_flags_get_type
3643 (c-name "g_file_attribute_info_flags_get_type")
3644 (return-type "GType")
3647 (define-function g_file_attribute_status_get_type
3648 (c-name "g_file_attribute_status_get_type")
3649 (return-type "GType")
3652 (define-function g_file_query_info_flags_get_type
3653 (c-name "g_file_query_info_flags_get_type")
3654 (return-type "GType")
3657 (define-function g_file_create_flags_get_type
3658 (c-name "g_file_create_flags_get_type")
3659 (return-type "GType")
3662 (define-function g_mount_mount_flags_get_type
3663 (c-name "g_mount_mount_flags_get_type")
3664 (return-type "GType")
3667 (define-function g_mount_unmount_flags_get_type
3668 (c-name "g_mount_unmount_flags_get_type")
3669 (return-type "GType")
3672 (define-function g_file_copy_flags_get_type
3673 (c-name "g_file_copy_flags_get_type")
3674 (return-type "GType")
3677 (define-function g_file_monitor_flags_get_type
3678 (c-name "g_file_monitor_flags_get_type")
3679 (return-type "GType")
3682 (define-function g_file_type_get_type
3683 (c-name "g_file_type_get_type")
3684 (return-type "GType")
3687 (define-function g_filesystem_preview_type_get_type
3688 (c-name "g_filesystem_preview_type_get_type")
3689 (return-type "GType")
3692 (define-function g_file_monitor_event_get_type
3693 (c-name "g_file_monitor_event_get_type")
3694 (return-type "GType")
3697 (define-function g_io_error_enum_get_type
3698 (c-name "g_io_error_enum_get_type")
3699 (return-type "GType")
3702 (define-function g_ask_password_flags_get_type
3703 (c-name "g_ask_password_flags_get_type")
3704 (return-type "GType")
3707 (define-function g_password_save_get_type
3708 (c-name "g_password_save_get_type")
3709 (return-type "GType")
3712 (define-function g_mount_operation_result_get_type
3713 (c-name "g_mount_operation_result_get_type")
3714 (return-type "GType")
3717 (define-function g_output_stream_splice_flags_get_type
3718 (c-name "g_output_stream_splice_flags_get_type")
3719 (return-type "GType")
3726 (define-function g_io_error_quark
3727 (c-name "g_io_error_quark")
3728 (return-type "GQuark")
3731 (define-function g_io_error_from_errno
3732 (c-name "g_io_error_from_errno")
3733 (return-type "GIOErrorEnum")
3745 ;; From gio-marshal.h
3751 (define-function g_io_module_get_type
3752 (c-name "g_io_module_get_type")
3753 (return-type "GType")
3756 (define-function g_io_module_new
3757 (c-name "g_io_module_new")
3758 (is-constructor-of "GIoModule")
3759 (return-type "GIOModule*")
3761 '("const-gchar*" "filename")
3765 (define-function g_io_modules_load_all_in_directory
3766 (c-name "g_io_modules_load_all_in_directory")
3767 (return-type "GList*")
3769 '("const-char*" "dirname")
3773 (define-function g_io_extension_point_register
3774 (c-name "g_io_extension_point_register")
3775 (return-type "GIOExtensionPoint*")
3777 '("const-char*" "name")
3781 (define-function g_io_extension_point_lookup
3782 (c-name "g_io_extension_point_lookup")
3783 (return-type "GIOExtensionPoint*")
3785 '("const-char*" "name")
3789 (define-method set_required_type
3790 (of-object "GIOExtensionPoint")
3791 (c-name "g_io_extension_point_set_required_type")
3792 (return-type "none")
3798 (define-method get_required_type
3799 (of-object "GIOExtensionPoint")
3800 (c-name "g_io_extension_point_get_required_type")
3801 (return-type "GType")
3804 (define-method get_extensions
3805 (of-object "GIOExtensionPoint")
3806 (c-name "g_io_extension_point_get_extensions")
3807 (return-type "GList*")
3810 (define-method get_extension_by_name
3811 (of-object "GIOExtensionPoint")
3812 (c-name "g_io_extension_point_get_extension_by_name")
3813 (return-type "GIOExtension*")
3815 '("const-char*" "name")
3819 (define-function g_io_extension_point_implement
3820 (c-name "g_io_extension_point_implement")
3821 (return-type "GIOExtension*")
3823 '("const-char*" "extension_point_name")
3825 '("const-char*" "extension_name")
3826 '("gint" "priority")
3830 (define-method get_type
3831 (of-object "GIOExtension")
3832 (c-name "g_io_extension_get_type")
3833 (return-type "GType")
3836 (define-method get_name
3837 (of-object "GIOExtension")
3838 (c-name "g_io_extension_get_name")
3839 (return-type "const-char*")
3842 (define-method get_priority
3843 (of-object "GIOExtension")
3844 (c-name "g_io_extension_get_priority")
3845 (return-type "gint")
3848 (define-method ref_class
3849 (of-object "GIOExtension")
3850 (c-name "g_io_extension_ref_class")
3851 (return-type "GTypeClass*")
3855 (of-object "GIOModule")
3856 (c-name "g_io_module_load")
3857 (return-type "none")
3860 (define-method unload
3861 (of-object "GIOModule")
3862 (c-name "g_io_module_unload")
3863 (return-type "none")
3868 ;; From giomodule-priv.h
3872 ;; From gioscheduler.h
3874 (define-function g_io_scheduler_push_job
3875 (c-name "g_io_scheduler_push_job")
3876 (return-type "none")
3878 '("GIOSchedulerJobFunc" "job_func")
3879 '("gpointer" "user_data")
3880 '("GDestroyNotify" "notify")
3881 '("gint" "io_priority")
3882 '("GCancellable*" "cancellable")
3886 (define-function g_io_scheduler_cancel_all_jobs
3887 (c-name "g_io_scheduler_cancel_all_jobs")
3888 (return-type "none")
3891 (define-method send_to_mainloop
3892 (of-object "GIOSchedulerJob")
3893 (c-name "g_io_scheduler_job_send_to_mainloop")
3894 (return-type "gboolean")
3896 '("GSourceFunc" "func")
3897 '("gpointer" "user_data")
3898 '("GDestroyNotify" "notify")
3902 (define-method send_to_mainloop_async
3903 (of-object "GIOSchedulerJob")
3904 (c-name "g_io_scheduler_job_send_to_mainloop_async")
3905 (return-type "none")
3907 '("GSourceFunc" "func")
3908 '("gpointer" "user_data")
3909 '("GDestroyNotify" "notify")
3919 ;; From gloadableicon.h
3921 (define-function g_loadable_icon_get_type
3922 (c-name "g_loadable_icon_get_type")
3923 (return-type "GType")
3927 (of-object "GLoadableIcon")
3928 (c-name "g_loadable_icon_load")
3929 (return-type "GInputStream*")
3933 '("GCancellable*" "cancellable")
3934 '("GError**" "error")
3938 (define-method load_async
3939 (of-object "GLoadableIcon")
3940 (c-name "g_loadable_icon_load_async")
3941 (return-type "none")
3944 '("GCancellable*" "cancellable")
3945 '("GAsyncReadyCallback" "callback")
3946 '("gpointer" "user_data")
3950 (define-method load_finish
3951 (of-object "GLoadableIcon")
3952 (c-name "g_loadable_icon_load_finish")
3953 (return-type "GInputStream*")
3955 '("GAsyncResult*" "res")
3957 '("GError**" "error")
3963 ;; From glocaldirectorymonitor.h
3965 (define-function g_local_directory_monitor_get_type
3966 (c-name "g_local_directory_monitor_get_type")
3967 (return-type "GType")
3972 ;; From glocalfileenumerator.h
3976 ;; From glocalfile.h
3980 ;; From glocalfileinfo.h
3984 ;; From glocalfileinputstream.h
3988 ;; From glocalfilemonitor.h
3990 (define-function g_local_file_monitor_get_type
3991 (c-name "g_local_file_monitor_get_type")
3992 (return-type "GType")
3997 ;; From glocalfileoutputstream.h
4005 ;; From gmemoryinputstream.h
4007 (define-function g_memory_input_stream_get_type
4008 (c-name "g_memory_input_stream_get_type")
4009 (return-type "GType")
4012 (define-function g_memory_input_stream_new
4013 (c-name "g_memory_input_stream_new")
4014 (is-constructor-of "GMemoryInputStream")
4015 (return-type "GInputStream*")
4018 (define-function g_memory_input_stream_new_from_data
4019 (c-name "g_memory_input_stream_new_from_data")
4020 (return-type "GInputStream*")
4022 '("const-void*" "data")
4024 '("GDestroyNotify" "destroy")
4028 (define-method add_data
4029 (of-object "GMemoryInputStream")
4030 (c-name "g_memory_input_stream_add_data")
4031 (return-type "none")
4033 '("const-void*" "data")
4035 '("GDestroyNotify" "destroy")
4041 ;; From gmemoryoutputstream.h
4043 (define-function g_memory_output_stream_get_type
4044 (c-name "g_memory_output_stream_get_type")
4045 (return-type "GType")
4048 (define-function g_memory_output_stream_new
4049 (c-name "g_memory_output_stream_new")
4050 (is-constructor-of "GMemoryOutputStream")
4051 (return-type "GOutputStream*")
4053 '("gpointer" "data")
4055 '("GReallocFunc" "realloc_fn")
4056 '("GDestroyNotify" "destroy")
4060 (define-method get_data
4061 (of-object "GMemoryOutputStream")
4062 (c-name "g_memory_output_stream_get_data")
4063 (return-type "gpointer")
4066 (define-method get_size
4067 (of-object "GMemoryOutputStream")
4068 (c-name "g_memory_output_stream_get_size")
4069 (return-type "gsize")
4072 (define-method get_data_size
4073 (of-object "GMemoryOutputStream")
4074 (c-name "g_memory_output_stream_get_data_size")
4075 (return-type "gsize")
4082 (define-function g_mount_get_type
4083 (c-name "g_mount_get_type")
4084 (return-type "GType")
4087 (define-method get_root
4088 (of-object "GMount")
4089 (c-name "g_mount_get_root")
4090 (return-type "GFile*")
4093 (define-method get_name
4094 (of-object "GMount")
4095 (c-name "g_mount_get_name")
4096 (return-type "char*")
4099 (define-method get_icon
4100 (of-object "GMount")
4101 (c-name "g_mount_get_icon")
4102 (return-type "GIcon*")
4105 (define-method get_uuid
4106 (of-object "GMount")
4107 (c-name "g_mount_get_uuid")
4108 (return-type "char*")
4111 (define-method get_volume
4112 (of-object "GMount")
4113 (c-name "g_mount_get_volume")
4114 (return-type "GVolume*")
4117 (define-method get_drive
4118 (of-object "GMount")
4119 (c-name "g_mount_get_drive")
4120 (return-type "GDrive*")
4123 (define-method can_unmount
4124 (of-object "GMount")
4125 (c-name "g_mount_can_unmount")
4126 (return-type "gboolean")
4129 (define-method can_eject
4130 (of-object "GMount")
4131 (c-name "g_mount_can_eject")
4132 (return-type "gboolean")
4135 (define-method unmount
4136 (of-object "GMount")
4137 (c-name "g_mount_unmount")
4138 (return-type "none")
4140 '("GMountUnmountFlags" "flags")
4141 '("GCancellable*" "cancellable")
4142 '("GAsyncReadyCallback" "callback")
4143 '("gpointer" "user_data")
4147 (define-method unmount_finish
4148 (of-object "GMount")
4149 (c-name "g_mount_unmount_finish")
4150 (return-type "gboolean")
4152 '("GAsyncResult*" "result")
4153 '("GError**" "error")
4157 (define-method eject
4158 (of-object "GMount")
4159 (c-name "g_mount_eject")
4160 (return-type "none")
4162 '("GMountUnmountFlags" "flags")
4163 '("GCancellable*" "cancellable")
4164 '("GAsyncReadyCallback" "callback")
4165 '("gpointer" "user_data")
4169 (define-method eject_finish
4170 (of-object "GMount")
4171 (c-name "g_mount_eject_finish")
4172 (return-type "gboolean")
4174 '("GAsyncResult*" "result")
4175 '("GError**" "error")
4179 (define-method remount
4180 (of-object "GMount")
4181 (c-name "g_mount_remount")
4182 (return-type "none")
4184 '("GMountMountFlags" "flags")
4185 '("GMountOperation*" "mount_operation")
4186 '("GCancellable*" "cancellable")
4187 '("GAsyncReadyCallback" "callback")
4188 '("gpointer" "user_data")
4192 (define-method remount_finish
4193 (of-object "GMount")
4194 (c-name "g_mount_remount_finish")
4195 (return-type "gboolean")
4197 '("GAsyncResult*" "result")
4198 '("GError**" "error")
4202 (define-method guess_content_type
4203 (of-object "GMount")
4204 (c-name "g_mount_guess_content_type")
4205 (return-type "none")
4207 '("gboolean" "force_rescan")
4208 '("GCancellable*" "cancellable")
4209 '("GAsyncReadyCallback" "callback")
4210 '("gpointer" "user_data")
4214 (define-method guess_content_type_finish
4215 (of-object "GMount")
4216 (c-name "g_mount_guess_content_type_finish")
4217 (return-type "gchar**")
4219 '("GAsyncResult*" "result")
4220 '("GError**" "error")
4226 ;; From gmountoperation.h
4228 (define-function g_mount_operation_get_type
4229 (c-name "g_mount_operation_get_type")
4230 (return-type "GType")
4233 (define-function g_mount_operation_new
4234 (c-name "g_mount_operation_new")
4235 (is-constructor-of "GMountOperation")
4236 (return-type "GMountOperation*")
4239 (define-method get_username
4240 (of-object "GMountOperation")
4241 (c-name "g_mount_operation_get_username")
4242 (return-type "const-char*")
4245 (define-method set_username
4246 (of-object "GMountOperation")
4247 (c-name "g_mount_operation_set_username")
4248 (return-type "none")
4250 '("const-char*" "username")
4254 (define-method get_password
4255 (of-object "GMountOperation")
4256 (c-name "g_mount_operation_get_password")
4257 (return-type "const-char*")
4260 (define-method set_password
4261 (of-object "GMountOperation")
4262 (c-name "g_mount_operation_set_password")
4263 (return-type "none")
4265 '("const-char*" "password")
4269 (define-method get_anonymous
4270 (of-object "GMountOperation")
4271 (c-name "g_mount_operation_get_anonymous")
4272 (return-type "gboolean")
4275 (define-method set_anonymous
4276 (of-object "GMountOperation")
4277 (c-name "g_mount_operation_set_anonymous")
4278 (return-type "none")
4280 '("gboolean" "anonymous")
4284 (define-method get_domain
4285 (of-object "GMountOperation")
4286 (c-name "g_mount_operation_get_domain")
4287 (return-type "const-char*")
4290 (define-method set_domain
4291 (of-object "GMountOperation")
4292 (c-name "g_mount_operation_set_domain")
4293 (return-type "none")
4295 '("const-char*" "domain")
4299 (define-method get_password_save
4300 (of-object "GMountOperation")
4301 (c-name "g_mount_operation_get_password_save")
4302 (return-type "GPasswordSave")
4305 (define-method set_password_save
4306 (of-object "GMountOperation")
4307 (c-name "g_mount_operation_set_password_save")
4308 (return-type "none")
4310 '("GPasswordSave" "save")
4314 (define-method get_choice
4315 (of-object "GMountOperation")
4316 (c-name "g_mount_operation_get_choice")
4320 (define-method set_choice
4321 (of-object "GMountOperation")
4322 (c-name "g_mount_operation_set_choice")
4323 (return-type "none")
4329 (define-method reply
4330 (of-object "GMountOperation")
4331 (c-name "g_mount_operation_reply")
4332 (return-type "none")
4334 '("GMountOperationResult" "result")
4340 ;; From gmountprivate.h
4344 ;; From gnativevolumemonitor.h
4346 (define-function g_native_volume_monitor_get_type
4347 (c-name "g_native_volume_monitor_get_type")
4348 (return-type "GType")
4353 ;; From goutputstream.h
4355 (define-function g_output_stream_get_type
4356 (c-name "g_output_stream_get_type")
4357 (return-type "GType")
4360 (define-method write
4361 (of-object "GOutputStream")
4362 (c-name "g_output_stream_write")
4363 (return-type "gssize")
4365 '("const-void*" "buffer")
4367 '("GCancellable*" "cancellable")
4368 '("GError**" "error")
4372 (define-method write_all
4373 (of-object "GOutputStream")
4374 (c-name "g_output_stream_write_all")
4375 (return-type "gboolean")
4377 '("const-void*" "buffer")
4379 '("gsize*" "bytes_written")
4380 '("GCancellable*" "cancellable")
4381 '("GError**" "error")
4385 (define-method splice
4386 (of-object "GOutputStream")
4387 (c-name "g_output_stream_splice")
4388 (return-type "gssize")
4390 '("GInputStream*" "source")
4391 '("GOutputStreamSpliceFlags" "flags")
4392 '("GCancellable*" "cancellable")
4393 '("GError**" "error")
4397 (define-method flush
4398 (of-object "GOutputStream")
4399 (c-name "g_output_stream_flush")
4400 (return-type "gboolean")
4402 '("GCancellable*" "cancellable")
4403 '("GError**" "error")
4407 (define-method close
4408 (of-object "GOutputStream")
4409 (c-name "g_output_stream_close")
4410 (return-type "gboolean")
4412 '("GCancellable*" "cancellable")
4413 '("GError**" "error")
4417 (define-method write_async
4418 (of-object "GOutputStream")
4419 (c-name "g_output_stream_write_async")
4420 (return-type "none")
4422 '("const-void*" "buffer")
4424 '("int" "io_priority")
4425 '("GCancellable*" "cancellable")
4426 '("GAsyncReadyCallback" "callback")
4427 '("gpointer" "user_data")
4431 (define-method write_finish
4432 (of-object "GOutputStream")
4433 (c-name "g_output_stream_write_finish")
4434 (return-type "gssize")
4436 '("GAsyncResult*" "result")
4437 '("GError**" "error")
4441 (define-method splice_async
4442 (of-object "GOutputStream")
4443 (c-name "g_output_stream_splice_async")
4444 (return-type "none")
4446 '("GInputStream*" "source")
4447 '("GOutputStreamSpliceFlags" "flags")
4448 '("int" "io_priority")
4449 '("GCancellable*" "cancellable")
4450 '("GAsyncReadyCallback" "callback")
4451 '("gpointer" "user_data")
4455 (define-method splice_finish
4456 (of-object "GOutputStream")
4457 (c-name "g_output_stream_splice_finish")
4458 (return-type "gssize")
4460 '("GAsyncResult*" "result")
4461 '("GError**" "error")
4465 (define-method flush_async
4466 (of-object "GOutputStream")
4467 (c-name "g_output_stream_flush_async")
4468 (return-type "none")
4470 '("int" "io_priority")
4471 '("GCancellable*" "cancellable")
4472 '("GAsyncReadyCallback" "callback")
4473 '("gpointer" "user_data")
4477 (define-method flush_finish
4478 (of-object "GOutputStream")
4479 (c-name "g_output_stream_flush_finish")
4480 (return-type "gboolean")
4482 '("GAsyncResult*" "result")
4483 '("GError**" "error")
4487 (define-method close_async
4488 (of-object "GOutputStream")
4489 (c-name "g_output_stream_close_async")
4490 (return-type "none")
4492 '("int" "io_priority")
4493 '("GCancellable*" "cancellable")
4494 '("GAsyncReadyCallback" "callback")
4495 '("gpointer" "user_data")
4499 (define-method close_finish
4500 (of-object "GOutputStream")
4501 (c-name "g_output_stream_close_finish")
4502 (return-type "gboolean")
4504 '("GAsyncResult*" "result")
4505 '("GError**" "error")
4509 (define-method is_closed
4510 (of-object "GOutputStream")
4511 (c-name "g_output_stream_is_closed")
4512 (return-type "gboolean")
4515 (define-method has_pending
4516 (of-object "GOutputStream")
4517 (c-name "g_output_stream_has_pending")
4518 (return-type "gboolean")
4521 (define-method set_pending
4522 (of-object "GOutputStream")
4523 (c-name "g_output_stream_set_pending")
4524 (return-type "gboolean")
4526 '("GError**" "error")
4530 (define-method clear_pending
4531 (of-object "GOutputStream")
4532 (c-name "g_output_stream_clear_pending")
4533 (return-type "none")
4538 ;; From gpollfilemonitor.h
4544 (define-function g_seekable_get_type
4545 (c-name "g_seekable_get_type")
4546 (return-type "GType")
4550 (of-object "GSeekable")
4551 (c-name "g_seekable_tell")
4552 (return-type "goffset")
4555 (define-method can_seek
4556 (of-object "GSeekable")
4557 (c-name "g_seekable_can_seek")
4558 (return-type "gboolean")
4562 (of-object "GSeekable")
4563 (c-name "g_seekable_seek")
4564 (return-type "gboolean")
4566 '("goffset" "offset")
4567 '("GSeekType" "type")
4568 '("GCancellable*" "cancellable")
4569 '("GError**" "error")
4573 (define-method can_truncate
4574 (of-object "GSeekable")
4575 (c-name "g_seekable_can_truncate")
4576 (return-type "gboolean")
4579 (define-method truncate
4580 (of-object "GSeekable")
4581 (c-name "g_seekable_truncate")
4582 (return-type "gboolean")
4584 '("goffset" "offset")
4585 '("GCancellable*" "cancellable")
4586 '("GError**" "error")
4592 ;; From gsimpleasyncresult.h
4594 (define-function g_simple_async_result_get_type
4595 (c-name "g_simple_async_result_get_type")
4596 (return-type "GType")
4599 (define-function g_simple_async_result_new
4600 (c-name "g_simple_async_result_new")
4601 (is-constructor-of "GSimpleAsyncResult")
4602 (return-type "GSimpleAsyncResult*")
4604 '("GObject*" "source_object")
4605 '("GAsyncReadyCallback" "callback")
4606 '("gpointer" "user_data")
4607 '("gpointer" "source_tag")
4611 (define-function g_simple_async_result_new_error
4612 (c-name "g_simple_async_result_new_error")
4613 (return-type "GSimpleAsyncResult*")
4615 '("GObject*" "source_object")
4616 '("GAsyncReadyCallback" "callback")
4617 '("gpointer" "user_data")
4618 '("GQuark" "domain")
4620 '("const-char*" "format")
4625 (define-function g_simple_async_result_new_from_error
4626 (c-name "g_simple_async_result_new_from_error")
4627 (return-type "GSimpleAsyncResult*")
4629 '("GObject*" "source_object")
4630 '("GAsyncReadyCallback" "callback")
4631 '("gpointer" "user_data")
4632 '("GError*" "error")
4636 (define-method set_op_res_gpointer
4637 (of-object "GSimpleAsyncResult")
4638 (c-name "g_simple_async_result_set_op_res_gpointer")
4639 (return-type "none")
4641 '("gpointer" "op_res")
4642 '("GDestroyNotify" "destroy_op_res")
4646 (define-method get_op_res_gpointer
4647 (of-object "GSimpleAsyncResult")
4648 (c-name "g_simple_async_result_get_op_res_gpointer")
4649 (return-type "gpointer")
4652 (define-method set_op_res_gssize
4653 (of-object "GSimpleAsyncResult")
4654 (c-name "g_simple_async_result_set_op_res_gssize")
4655 (return-type "none")
4657 '("gssize" "op_res")
4661 (define-method get_op_res_gssize
4662 (of-object "GSimpleAsyncResult")
4663 (c-name "g_simple_async_result_get_op_res_gssize")
4664 (return-type "gssize")
4667 (define-method set_op_res_gboolean
4668 (of-object "GSimpleAsyncResult")
4669 (c-name "g_simple_async_result_set_op_res_gboolean")
4670 (return-type "none")
4672 '("gboolean" "op_res")
4676 (define-method get_op_res_gboolean
4677 (of-object "GSimpleAsyncResult")
4678 (c-name "g_simple_async_result_get_op_res_gboolean")
4679 (return-type "gboolean")
4682 (define-method get_source_tag
4683 (of-object "GSimpleAsyncResult")
4684 (c-name "g_simple_async_result_get_source_tag")
4685 (return-type "gpointer")
4688 (define-method set_handle_cancellation
4689 (of-object "GSimpleAsyncResult")
4690 (c-name "g_simple_async_result_set_handle_cancellation")
4691 (return-type "none")
4693 '("gboolean" "handle_cancellation")
4697 (define-method complete
4698 (of-object "GSimpleAsyncResult")
4699 (c-name "g_simple_async_result_complete")
4700 (return-type "none")
4703 (define-method complete_in_idle
4704 (of-object "GSimpleAsyncResult")
4705 (c-name "g_simple_async_result_complete_in_idle")
4706 (return-type "none")
4709 (define-method run_in_thread
4710 (of-object "GSimpleAsyncResult")
4711 (c-name "g_simple_async_result_run_in_thread")
4712 (return-type "none")
4714 '("GSimpleAsyncThreadFunc" "func")
4715 '("int" "io_priority")
4716 '("GCancellable*" "cancellable")
4720 (define-method set_from_error
4721 (of-object "GSimpleAsyncResult")
4722 (c-name "g_simple_async_result_set_from_error")
4723 (return-type "none")
4725 '("GError*" "error")
4729 (define-method propagate_error
4730 (of-object "GSimpleAsyncResult")
4731 (c-name "g_simple_async_result_propagate_error")
4732 (return-type "gboolean")
4734 '("GError**" "dest")
4738 (define-method set_error
4739 (of-object "GSimpleAsyncResult")
4740 (c-name "g_simple_async_result_set_error")
4741 (return-type "none")
4743 '("GQuark" "domain")
4745 '("const-char*" "format")
4750 (define-method set_error_va
4751 (of-object "GSimpleAsyncResult")
4752 (c-name "g_simple_async_result_set_error_va")
4753 (return-type "none")
4755 '("GQuark" "domain")
4757 '("const-char*" "format")
4762 (define-function g_simple_async_report_error_in_idle
4763 (c-name "g_simple_async_report_error_in_idle")
4764 (return-type "none")
4766 '("GObject*" "object")
4767 '("GAsyncReadyCallback" "callback")
4768 '("gpointer" "user_data")
4769 '("GQuark" "domain")
4771 '("const-char*" "format")
4776 (define-function g_simple_async_report_gerror_in_idle
4777 (c-name "g_simple_async_report_gerror_in_idle")
4778 (return-type "none")
4780 '("GObject*" "object")
4781 '("GAsyncReadyCallback" "callback")
4782 '("gpointer" "user_data")
4783 '("GError*" "error")
4789 ;; From gthemedicon.h
4791 (define-function g_themed_icon_get_type
4792 (c-name "g_themed_icon_get_type")
4793 (return-type "GType")
4796 (define-function g_themed_icon_new
4797 (c-name "g_themed_icon_new")
4798 (is-constructor-of "GThemedIcon")
4799 (return-type "GIcon*")
4801 '("const-char*" "iconname")
4805 (define-function g_themed_icon_new_with_default_fallbacks
4806 (c-name "g_themed_icon_new_with_default_fallbacks")
4807 (return-type "GIcon*")
4809 '("const-char*" "iconname")
4813 (define-function g_themed_icon_new_from_names
4814 (c-name "g_themed_icon_new_from_names")
4815 (return-type "GIcon*")
4817 '("char**" "iconnames")
4822 (define-method prepend_name
4823 (of-object "GThemedIcon")
4824 (c-name "g_themed_icon_prepend_name")
4825 (return-type "none")
4827 '("const-char*" "iconname")
4831 (define-method append_name
4832 (of-object "GThemedIcon")
4833 (c-name "g_themed_icon_append_name")
4834 (return-type "none")
4836 '("const-char*" "iconname")
4842 ;; From gunionvolumemonitor.h
4846 ;; From gunixinputstream.h
4848 (define-function g_unix_input_stream_get_type
4849 (c-name "g_unix_input_stream_get_type")
4850 (return-type "GType")
4853 (define-function g_unix_input_stream_new
4854 (c-name "g_unix_input_stream_new")
4855 (is-constructor-of "GUnixInputStream")
4856 (return-type "GInputStream*")
4859 '("gboolean" "close_fd_at_close")
4865 ;; From gunixmount.h
4869 ;; From gunixmounts.h
4871 (define-function g_unix_mount_free
4872 (c-name "g_unix_mount_free")
4873 (return-type "none")
4875 '("GUnixMountEntry*" "mount_entry")
4880 (of-object "GUnixMountPoint")
4881 (c-name "g_unix_mount_point_free")
4882 (return-type "none")
4885 (define-function g_unix_mount_compare
4886 (c-name "g_unix_mount_compare")
4887 (return-type "gint")
4889 '("GUnixMountEntry*" "mount1")
4890 '("GUnixMountEntry*" "mount2")
4894 (define-function g_unix_mount_get_mount_path
4895 (c-name "g_unix_mount_get_mount_path")
4896 (return-type "const-char*")
4898 '("GUnixMountEntry*" "mount_entry")
4902 (define-function g_unix_mount_get_device_path
4903 (c-name "g_unix_mount_get_device_path")
4904 (return-type "const-char*")
4906 '("GUnixMountEntry*" "mount_entry")
4910 (define-function g_unix_mount_get_fs_type
4911 (c-name "g_unix_mount_get_fs_type")
4912 (return-type "const-char*")
4914 '("GUnixMountEntry*" "mount_entry")
4918 (define-function g_unix_mount_is_readonly
4919 (c-name "g_unix_mount_is_readonly")
4920 (return-type "gboolean")
4922 '("GUnixMountEntry*" "mount_entry")
4926 (define-function g_unix_mount_is_system_internal
4927 (c-name "g_unix_mount_is_system_internal")
4928 (return-type "gboolean")
4930 '("GUnixMountEntry*" "mount_entry")
4934 (define-function g_unix_mount_guess_can_eject
4935 (c-name "g_unix_mount_guess_can_eject")
4936 (return-type "gboolean")
4938 '("GUnixMountEntry*" "mount_entry")
4942 (define-function g_unix_mount_guess_should_display
4943 (c-name "g_unix_mount_guess_should_display")
4944 (return-type "gboolean")
4946 '("GUnixMountEntry*" "mount_entry")
4950 (define-function g_unix_mount_guess_name
4951 (c-name "g_unix_mount_guess_name")
4952 (return-type "char*")
4954 '("GUnixMountEntry*" "mount_entry")
4958 (define-function g_unix_mount_guess_icon
4959 (c-name "g_unix_mount_guess_icon")
4960 (return-type "GIcon*")
4962 '("GUnixMountEntry*" "mount_entry")
4966 (define-method compare
4967 (of-object "GUnixMountPoint")
4968 (c-name "g_unix_mount_point_compare")
4969 (return-type "gint")
4971 '("GUnixMountPoint*" "mount2")
4975 (define-method get_mount_path
4976 (of-object "GUnixMountPoint")
4977 (c-name "g_unix_mount_point_get_mount_path")
4978 (return-type "const-char*")
4981 (define-method get_device_path
4982 (of-object "GUnixMountPoint")
4983 (c-name "g_unix_mount_point_get_device_path")
4984 (return-type "const-char*")
4987 (define-method get_fs_type
4988 (of-object "GUnixMountPoint")
4989 (c-name "g_unix_mount_point_get_fs_type")
4990 (return-type "const-char*")
4993 (define-method is_readonly
4994 (of-object "GUnixMountPoint")
4995 (c-name "g_unix_mount_point_is_readonly")
4996 (return-type "gboolean")
4999 (define-method is_user_mountable
5000 (of-object "GUnixMountPoint")
5001 (c-name "g_unix_mount_point_is_user_mountable")
5002 (return-type "gboolean")
5005 (define-method is_loopback
5006 (of-object "GUnixMountPoint")
5007 (c-name "g_unix_mount_point_is_loopback")
5008 (return-type "gboolean")
5011 (define-method guess_can_eject
5012 (of-object "GUnixMountPoint")
5013 (c-name "g_unix_mount_point_guess_can_eject")
5014 (return-type "gboolean")
5017 (define-method guess_name
5018 (of-object "GUnixMountPoint")
5019 (c-name "g_unix_mount_point_guess_name")
5020 (return-type "char*")
5023 (define-method guess_icon
5024 (of-object "GUnixMountPoint")
5025 (c-name "g_unix_mount_point_guess_icon")
5026 (return-type "GIcon*")
5029 (define-function g_unix_mount_points_get
5030 (c-name "g_unix_mount_points_get")
5031 (return-type "GList*")
5033 '("guint64*" "time_read")
5037 (define-function g_unix_mounts_get
5038 (c-name "g_unix_mounts_get")
5039 (return-type "GList*")
5041 '("guint64*" "time_read")
5045 (define-function g_unix_mount_at
5046 (c-name "g_unix_mount_at")
5047 (return-type "GUnixMountEntry*")
5049 '("const-char*" "mount_path")
5050 '("guint64*" "time_read")
5054 (define-function g_unix_mounts_changed_since
5055 (c-name "g_unix_mounts_changed_since")
5056 (return-type "gboolean")
5062 (define-function g_unix_mount_points_changed_since
5063 (c-name "g_unix_mount_points_changed_since")
5064 (return-type "gboolean")
5070 (define-function g_unix_mount_monitor_get_type
5071 (c-name "g_unix_mount_monitor_get_type")
5072 (return-type "GType")
5075 (define-function g_unix_mount_monitor_new
5076 (c-name "g_unix_mount_monitor_new")
5077 (is-constructor-of "GUnixMountMonitor")
5078 (return-type "GUnixMountMonitor*")
5081 (define-method set_rate_limit
5082 (of-object "GUnixMountMonitor")
5083 (c-name "g_unix_mount_monitor_set_rate_limit")
5084 (return-type "none")
5086 '("int" "limit_msec")
5090 (define-function g_unix_is_mount_path_system_internal
5091 (c-name "g_unix_is_mount_path_system_internal")
5092 (return-type "gboolean")
5094 '("const-char*" "mount_path")
5100 ;; From gunixoutputstream.h
5102 (define-function g_unix_output_stream_get_type
5103 (c-name "g_unix_output_stream_get_type")
5104 (return-type "GType")
5107 (define-function g_unix_output_stream_new
5108 (c-name "g_unix_output_stream_new")
5109 (is-constructor-of "GUnixOutputStream")
5110 (return-type "GOutputStream*")
5113 '("gboolean" "close_fd_at_close")
5119 ;; From gunixvolume.h
5123 ;; From gunixvolumemonitor.h
5129 (define-function g_vfs_get_type
5130 (c-name "g_vfs_get_type")
5131 (return-type "GType")
5134 (define-method is_active
5136 (c-name "g_vfs_is_active")
5137 (return-type "gboolean")
5140 (define-method get_file_for_path
5142 (c-name "g_vfs_get_file_for_path")
5143 (return-type "GFile*")
5145 '("const-char*" "path")
5149 (define-method get_file_for_uri
5151 (c-name "g_vfs_get_file_for_uri")
5152 (return-type "GFile*")
5154 '("const-char*" "uri")
5158 (define-method parse_name
5160 (c-name "g_vfs_parse_name")
5161 (return-type "GFile*")
5163 '("const-char*" "parse_name")
5167 (define-function g_vfs_get_default
5168 (c-name "g_vfs_get_default")
5169 (return-type "GVfs*")
5172 (define-function g_vfs_get_local
5173 (c-name "g_vfs_get_local")
5174 (return-type "GVfs*")
5181 (define-function g_volume_get_type
5182 (c-name "g_volume_get_type")
5183 (return-type "GType")
5186 (define-method get_name
5187 (of-object "GVolume")
5188 (c-name "g_volume_get_name")
5189 (return-type "char*")
5192 (define-method get_icon
5193 (of-object "GVolume")
5194 (c-name "g_volume_get_icon")
5195 (return-type "GIcon*")
5198 (define-method get_uuid
5199 (of-object "GVolume")
5200 (c-name "g_volume_get_uuid")
5201 (return-type "char*")
5204 (define-method get_drive
5205 (of-object "GVolume")
5206 (c-name "g_volume_get_drive")
5207 (return-type "GDrive*")
5210 (define-method get_mount
5211 (of-object "GVolume")
5212 (c-name "g_volume_get_mount")
5213 (return-type "GMount*")
5216 (define-method can_mount
5217 (of-object "GVolume")
5218 (c-name "g_volume_can_mount")
5219 (return-type "gboolean")
5222 (define-method can_eject
5223 (of-object "GVolume")
5224 (c-name "g_volume_can_eject")
5225 (return-type "gboolean")
5228 (define-method should_automount
5229 (of-object "GVolume")
5230 (c-name "g_volume_should_automount")
5231 (return-type "gboolean")
5234 (define-method mount
5235 (of-object "GVolume")
5236 (c-name "g_volume_mount")
5237 (return-type "none")
5239 '("GMountMountFlags" "flags")
5240 '("GMountOperation*" "mount_operation")
5241 '("GCancellable*" "cancellable")
5242 '("GAsyncReadyCallback" "callback")
5243 '("gpointer" "user_data")
5247 (define-method mount_finish
5248 (of-object "GVolume")
5249 (c-name "g_volume_mount_finish")
5250 (return-type "gboolean")
5252 '("GAsyncResult*" "result")
5253 '("GError**" "error")
5257 (define-method eject
5258 (of-object "GVolume")
5259 (c-name "g_volume_eject")
5260 (return-type "none")
5262 '("GMountUnmountFlags" "flags")
5263 '("GCancellable*" "cancellable")
5264 '("GAsyncReadyCallback" "callback")
5265 '("gpointer" "user_data")
5269 (define-method eject_finish
5270 (of-object "GVolume")
5271 (c-name "g_volume_eject_finish")
5272 (return-type "gboolean")
5274 '("GAsyncResult*" "result")
5275 '("GError**" "error")
5279 (define-method get_identifier
5280 (of-object "GVolume")
5281 (c-name "g_volume_get_identifier")
5282 (return-type "char*")
5284 '("const-char*" "kind")
5288 (define-method enumerate_identifiers
5289 (of-object "GVolume")
5290 (c-name "g_volume_enumerate_identifiers")
5291 (return-type "char**")
5294 (define-method get_activation_root
5295 (of-object "GVolume")
5296 (c-name "g_volume_get_activation_root")
5297 (return-type "GFile*")
5302 ;; From gvolumemonitor.h
5304 (define-function g_volume_monitor_get_type
5305 (c-name "g_volume_monitor_get_type")
5306 (return-type "GType")
5309 (define-function g_volume_monitor_get
5310 (c-name "g_volume_monitor_get")
5311 (return-type "GVolumeMonitor*")
5314 (define-method get_connected_drives
5315 (of-object "GVolumeMonitor")
5316 (c-name "g_volume_monitor_get_connected_drives")
5317 (return-type "GList*")
5320 (define-method get_volumes
5321 (of-object "GVolumeMonitor")
5322 (c-name "g_volume_monitor_get_volumes")
5323 (return-type "GList*")
5326 (define-method get_mounts
5327 (of-object "GVolumeMonitor")
5328 (c-name "g_volume_monitor_get_mounts")
5329 (return-type "GList*")
5332 (define-method get_volume_for_uuid
5333 (of-object "GVolumeMonitor")
5334 (c-name "g_volume_monitor_get_volume_for_uuid")
5335 (return-type "GVolume*")
5337 '("const-char*" "uuid")
5341 (define-method get_mount_for_uuid
5342 (of-object "GVolumeMonitor")
5343 (c-name "g_volume_monitor_get_mount_for_uuid")
5344 (return-type "GMount*")
5346 '("const-char*" "uuid")
5350 (define-function g_volume_monitor_adopt_orphan_mount
5351 (c-name "g_volume_monitor_adopt_orphan_mount")
5352 (return-type "GVolume*")
5354 '("GMount*" "mount")
5360 ;; From gwin32appinfo.h
5362 (define-function g_win32_app_info_get_type
5363 (c-name "g_win32_app_info_get_type")
5364 (return-type "GType")
5369 ;; From gwin32mount.h
5373 ;; From gwin32volumemonitor.h