AgsGuiThread

AgsGuiThread — gui thread

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsThread
        ╰── AgsGuiThread

Implemented Interfaces

AgsGuiThread implements AgsConnectable.

Includes

#include <ags/X/thread/ags_gui_thread.h>

Description

The AgsGuiThread acts as graphical user interface thread.

Functions

ags_gui_thread_complete_task ()

void
ags_gui_thread_complete_task (AgsGuiThread *gui_thread);

ags_gui_thread_do_poll_loop ()

void *
ags_gui_thread_do_poll_loop (void *ptr);

ags_gui_thread_run ()

void
ags_gui_thread_run (AgsThread *thread);

ags_gui_init ()

void
ags_gui_init (int *argc,
              char ***argv);

ags_gui_thread_enter ()

void
ags_gui_thread_enter ();

ags_gui_thread_leave ()

void
ags_gui_thread_leave ();

ags_gui_thread_get_dispatch_mutex ()

pthread_mutex_t *
ags_gui_thread_get_dispatch_mutex ();

ags_gui_thread_show_file_error ()

void
ags_gui_thread_show_file_error (AgsGuiThread *gui_thread,
                                gchar *filename,
                                GError *error);

ags_gui_thread_launch ()

void
ags_gui_thread_launch (AgsGuiThread *gui_thread,
                       gboolean single_thread);

ags_gui_thread_launch_filename ()

void
ags_gui_thread_launch_filename (AgsGuiThread *gui_thread,
                                gchar *filename,
                                gboolean single_thread);

ags_gui_thread_timer_start ()

void
ags_gui_thread_timer_start (AgsGuiThread *gui_thread,
                            void *timer_id);

ags_gui_thread_timer_launch ()

void
ags_gui_thread_timer_launch (AgsGuiThread *gui_thread,
                             void *timer_id,
                             gboolean single_thread);

ags_gui_thread_timer_launch_filename ()

void
ags_gui_thread_timer_launch_filename (AgsGuiThread *gui_thread,
                                      void *timer_id,
                                      gchar *filename,
                                      gboolean single_thread);

ags_gui_thread_do_animation ()

void
ags_gui_thread_do_animation (AgsGuiThread *gui_thread);

ags_gui_thread_do_run ()

void
ags_gui_thread_do_run (AgsGuiThread *gui_thread);

ags_gui_thread_schedule_task ()

void
ags_gui_thread_schedule_task (AgsGuiThread *gui_thread,
                              GObject *task);

ags_gui_thread_schedule_task_list ()

void
ags_gui_thread_schedule_task_list (AgsGuiThread *gui_thread,
                                   GList *task);

ags_gui_thread_new ()

AgsGuiThread *
ags_gui_thread_new ();

Create a new AgsGuiThread.

Returns

the new AgsGuiThread

Since: 1.0.0


AGS_GUI_THREAD()

#define AGS_GUI_THREAD(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_GUI_THREAD, AgsGuiThread))

AGS_GUI_THREAD_CLASS()

#define AGS_GUI_THREAD_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_GUI_THREAD, AgsGuiThreadClass))

AGS_GUI_THREAD_GET_CLASS()

#define AGS_GUI_THREAD_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_GUI_THREAD, AgsGuiThreadClass))

AGS_IS_GUI_THREAD()

#define AGS_IS_GUI_THREAD(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_GUI_THREAD))

ags_gui_thread_get_type ()

GType
ags_gui_thread_get_type ();

Types and Values

AGS_GUI_THREAD_RT_PRIORITY

#define AGS_GUI_THREAD_RT_PRIORITY (99)

AGS_GUI_THREAD_DEFAULT_JIFFIE

#define AGS_GUI_THREAD_DEFAULT_JIFFIE (60.0)

AGS_GUI_THREAD_SYNC_DELAY

#define AGS_GUI_THREAD_SYNC_DELAY (50000)

AGS_GUI_THREAD_SYNC_AVAILABLE_TIMEOUT

#define AGS_GUI_THREAD_SYNC_AVAILABLE_TIMEOUT (400)

enum AgsGuiThreadFlags

Members

AGS_GUI_THREAD_RUNNING

   

AGS_TYPE_GUI_THREAD

#define AGS_TYPE_GUI_THREAD                (ags_gui_thread_get_type())

struct AgsGuiThread

struct AgsGuiThread;

struct AgsGuiThreadClass

struct AgsGuiThreadClass {
  AgsThreadClass thread;
};