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: 1.0.0


ags_ui_provider_set_window ()

void
ags_ui_provider_set_window (AgsUiProvider *ui_provider,
                            GtkWidget *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_TYPE_UI_PROVIDER

#define AGS_TYPE_UI_PROVIDER                    (ags_ui_provider_get_type())

AgsUiProvider

typedef struct _AgsUiProvider AgsUiProvider;

struct AgsUiProviderInterface

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