mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-02 13:53:06 +02:00
docs: Move the GFileMonitor SECTION
Move it to the struct docs. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> Helps: #3037
This commit is contained in:
parent
c8abf62ff1
commit
4f9b00907e
@ -31,23 +31,20 @@
|
|||||||
#include "glibintl.h"
|
#include "glibintl.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:gfilemonitor
|
* GFileMonitor:
|
||||||
* @short_description: File Monitor
|
|
||||||
* @include: gio/gio.h
|
|
||||||
*
|
*
|
||||||
* Monitors a file or directory for changes.
|
* Monitors a file or directory for changes.
|
||||||
*
|
*
|
||||||
* To obtain a #GFileMonitor for a file or directory, use
|
* To obtain a `GFileMonitor` for a file or directory, use
|
||||||
* g_file_monitor(), g_file_monitor_file(), or
|
* [method@Gio.File.monitor], [method@Gio.File.monitor_file], or
|
||||||
* g_file_monitor_directory().
|
* [method@Gio.File.monitor_directory].
|
||||||
*
|
*
|
||||||
* To get informed about changes to the file or directory you are
|
* To get informed about changes to the file or directory you are
|
||||||
* monitoring, connect to the #GFileMonitor::changed signal. The
|
* monitoring, connect to the [signal@Gio.FileMonitor::changed] signal. The
|
||||||
* signal will be emitted in the
|
* signal will be emitted in the thread-default main context (see
|
||||||
* [thread-default main context][g-main-context-push-thread-default]
|
* [method@GLib.MainContext.push_thread_default]) of the thread that the monitor
|
||||||
* of the thread that the monitor was created in
|
* was created in (though if the global default main context is blocked, this
|
||||||
* (though if the global default main context is blocked, this may
|
* may cause notifications to be blocked even if the thread-default
|
||||||
* cause notifications to be blocked even if the thread-default
|
|
||||||
* context is still running).
|
* context is still running).
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
@ -41,11 +41,6 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _GFileMonitorClass GFileMonitorClass;
|
typedef struct _GFileMonitorClass GFileMonitorClass;
|
||||||
typedef struct _GFileMonitorPrivate GFileMonitorPrivate;
|
typedef struct _GFileMonitorPrivate GFileMonitorPrivate;
|
||||||
|
|
||||||
/**
|
|
||||||
* GFileMonitor:
|
|
||||||
*
|
|
||||||
* Watches for changes to a file.
|
|
||||||
**/
|
|
||||||
struct _GFileMonitor
|
struct _GFileMonitor
|
||||||
{
|
{
|
||||||
GObject parent_instance;
|
GObject parent_instance;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user