AgsUiProvider

AgsUiProvider — provide accoustics

Functions

Types and Values

Object Hierarchy

    GInterface
    ╰── AgsUiProvider

Known Implementations

AgsUiProvider is implemented by AgsXorgApplicationContext.

Includes

#include <ags/X/ags_ui_provider.h>

Description

The AgsUiProvider provides you the window capabilities.

Functions

ags_ui_provider_get_window ()

GtkWidget *
ags_ui_provider_get_window (AgsUiProvider *ui_provider);

Set window.

Parameters

ui_provider

the AgsUiProvider

 

window

the AgsWindow

 

Since: 2.0.0


ags_ui_provider_set_window ()

void
ags_ui_provider_set_window (AgsUiProvider *ui_provider,
                            GtkWidget *window);

ags_ui_provider_get_gui_thread ()

AgsThread *
ags_ui_provider_get_gui_thread (AgsUiProvider *ui_provider);

Set gui thread.

Parameters

ui_provider

the AgsUiProvider

 

gui_thread

the AgsGuiThread

 

Since: 2.0.0


ags_ui_provider_set_gui_thread ()

void
ags_ui_provider_set_gui_thread (AgsUiProvider *ui_provider,
                                AgsThread *gui_thread);

ags_ui_provider_get_show_animation ()

gboolean
ags_ui_provider_get_show_animation (AgsUiProvider *ui_provider);

Get show animation.

Parameters

ui_provider

the AgsUiProvider

 

Returns

TRUE if animation does show, else FALSE

Since: 2.0.0


ags_ui_provider_set_show_animation ()

void
ags_ui_provider_set_show_animation (AgsUiProvider *ui_provider,
                                    gboolean do_show_animation);

Set show animation.

Parameters

ui_provider

the AgsUiProvider

 

do_show_animation

do show animation

 

Since: 2.0.0


ags_ui_provider_get_gui_ready ()

gboolean
ags_ui_provider_get_gui_ready (AgsUiProvider *ui_provider);

Get GUI ready.

Parameters

ui_provider

the AgsUiProvider

 

Returns

TRUE if gui is ready, else FALSE

Since: 2.0.0


ags_ui_provider_set_gui_ready ()

void
ags_ui_provider_set_gui_ready (AgsUiProvider *ui_provider,
                               gboolean is_gui_ready);

Set GUI ready.

Parameters

ui_provider

the AgsUiProvider

 

is_gui_ready

is GUI ready

 

Since: 2.0.0


ags_ui_provider_get_animation_window ()

GtkWidget *
ags_ui_provider_get_animation_window (AgsUiProvider *ui_provider);

Set animation window.

Parameters

ui_provider

the AgsUiProvider

 

animation_window

the GtkWidget

 

Since: 2.2.33


ags_ui_provider_set_animation_window ()

void
ags_ui_provider_set_animation_window (AgsUiProvider *ui_provider,
                                      GtkWidget *animation_window);

AGS_IS_UI_PROVIDER()

#define AGS_IS_UI_PROVIDER(obj)                 (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_UI_PROVIDER))

AGS_IS_UI_PROVIDER_INTERFACE()

#define AGS_IS_UI_PROVIDER_INTERFACE(vtable)    (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_UI_PROVIDER))

AGS_UI_PROVIDER()

#define AGS_UI_PROVIDER(obj)                    (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_UI_PROVIDER, AgsUiProvider))

AGS_UI_PROVIDER_GET_INTERFACE()

#define AGS_UI_PROVIDER_GET_INTERFACE(obj)      (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_UI_PROVIDER, AgsUiProviderInterface))

AGS_UI_PROVIDER_INTERFACE()

#define AGS_UI_PROVIDER_INTERFACE(vtable)       (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_UI_PROVIDER, AgsUiProviderInterface))

ags_ui_provider_get_type ()

GType
ags_ui_provider_get_type ();

Types and Values

AGS_UI_PROVIDER_DEFAULT_TIMEOUT

#define AGS_UI_PROVIDER_DEFAULT_TIMEOUT (1.0 / 30.0)

AGS_TYPE_UI_PROVIDER

#define AGS_TYPE_UI_PROVIDER                    (ags_ui_provider_get_type())

AgsUiProvider

typedef struct _AgsUiProvider AgsUiProvider;

struct AgsUiProviderInterface

struct AgsUiProviderInterface {
  GTypeInterface ginterface;
  
  GtkWidget* (*get_window)(AgsUiProvider *ui_provider);
  void (*set_window)(AgsUiProvider *ui_provider,
		     GtkWidget *window);

  AgsThread* (*get_gui_thread)(AgsUiProvider *ui_provider);
  void (*set_gui_thread)(AgsUiProvider *ui_provider,
			 AgsThread *gui_thread);
  
  gboolean (*get_show_animation)(AgsUiProvider *ui_provider);
  void (*set_show_animation)(AgsUiProvider *ui_provider,
			     gboolean do_show_animation);

  gboolean (*get_gui_ready)(AgsUiProvider *ui_provider);
  void (*set_gui_ready)(AgsUiProvider *ui_provider,
			gboolean is_gui_ready);  

  GtkWidget* (*get_animation_window)(AgsUiProvider *ui_provider);
  void (*set_animation_window)(AgsUiProvider *ui_provider,
			       GtkWidget *animation_window);
};