Back to index

unity  6.0.0
Classes | Defines | Functions
unity-dash-view-accessible.cpp File Reference
#include <glib/gi18n.h>
#include "unity-dash-view-accessible.h"
#include "unitya11y.h"
#include "DashView.h"

Go to the source code of this file.

Classes

struct  _UnityDashViewAccessiblePrivate

Defines

#define UNITY_DASH_VIEW_ACCESSIBLE_GET_PRIVATE(obj)

Functions

static void unity_dash_view_accessible_class_init (UnityDashViewAccessibleClass *klass)
static void unity_dash_view_accessible_init (UnityDashViewAccessible *self)
static void unity_dash_view_accessible_finalize (GObject *object)
static void unity_dash_view_accessible_initialize (AtkObject *accessible, gpointer data)
AtkObject * unity_dash_view_accessible_new (nux::Object *object)

Class Documentation

struct _UnityDashViewAccessiblePrivate

Definition at line 55 of file unity-dash-view-accessible.cpp.


Define Documentation

Value:
(G_TYPE_INSTANCE_GET_PRIVATE ((obj), UNITY_TYPE_DASH_VIEW_ACCESSIBLE,  \
                                UnityDashViewAccessiblePrivate))

Definition at line 51 of file unity-dash-view-accessible.cpp.


Function Documentation

static void unity_dash_view_accessible_class_init ( UnityDashViewAccessibleClass *  klass) [static]

Definition at line 62 of file unity-dash-view-accessible.cpp.

{
  GObjectClass* gobject_class = G_OBJECT_CLASS(klass);
  AtkObjectClass* atk_class = ATK_OBJECT_CLASS(klass);

  gobject_class->finalize = unity_dash_view_accessible_finalize;

  /* AtkObject */
  atk_class->initialize = unity_dash_view_accessible_initialize;

  g_type_class_add_private(gobject_class, sizeof(UnityDashViewAccessiblePrivate));
}

Here is the call graph for this function:

static void unity_dash_view_accessible_finalize ( GObject *  object) [static]

Definition at line 85 of file unity-dash-view-accessible.cpp.

{
  G_OBJECT_CLASS(unity_dash_view_accessible_parent_class)->finalize(object);
}

Here is the caller graph for this function:

static void unity_dash_view_accessible_init ( UnityDashViewAccessible *  self) [static]

Definition at line 76 of file unity-dash-view-accessible.cpp.

{
  UnityDashViewAccessiblePrivate* priv =
    UNITY_DASH_VIEW_ACCESSIBLE_GET_PRIVATE(self);

  self->priv = priv;
}
static void unity_dash_view_accessible_initialize ( AtkObject *  accessible,
gpointer  data 
) [static]

Definition at line 107 of file unity-dash-view-accessible.cpp.

{
  ATK_OBJECT_CLASS(unity_dash_view_accessible_parent_class)->initialize(accessible, data);

  accessible->role = ATK_ROLE_PANEL;
}

Here is the caller graph for this function:

AtkObject* unity_dash_view_accessible_new ( nux::Object *  object)

Definition at line 91 of file unity-dash-view-accessible.cpp.

{
  AtkObject* accessible = NULL;

  g_return_val_if_fail(dynamic_cast<DashView*>(object), NULL);

  accessible = ATK_OBJECT(g_object_new(UNITY_TYPE_DASH_VIEW_ACCESSIBLE, NULL));

  atk_object_initialize(accessible, object);
  atk_object_set_name(accessible, _("Dash"));

  return accessible;
}

Here is the caller graph for this function: