Back to index

unity  6.0.0
Functions
unity-panel-view-accessible.cpp File Reference
#include <glib/gi18n-lib.h>
#include <Nux/Nux.h>
#include "PanelView.h"
#include "unity-panel-view-accessible.h"
#include "unitya11y.h"

Go to the source code of this file.

Functions

static void unity_panel_view_accessible_class_init (UnityPanelViewAccessibleClass *klass)
static void unity_panel_view_accessible_init (UnityPanelViewAccessible *self)
static void unity_panel_view_accessible_initialize (AtkObject *accessible, gpointer data)
static gint unity_panel_view_accessible_get_n_children (AtkObject *accessible)
static AtkObject * unity_panel_view_accessible_ref_child (AtkObject *accessible, gint i)
AtkObject * unity_panel_view_accessible_new (nux::Object *object)

Function Documentation

static void unity_panel_view_accessible_class_init ( UnityPanelViewAccessibleClass *  klass) [static]

Definition at line 52 of file unity-panel-view-accessible.cpp.

{
  AtkObjectClass* atk_class = ATK_OBJECT_CLASS(klass);

  /* AtkObject */
  atk_class->initialize = unity_panel_view_accessible_initialize;
  atk_class->get_n_children = unity_panel_view_accessible_get_n_children;
  atk_class->ref_child = unity_panel_view_accessible_ref_child;
}

Here is the call graph for this function:

static gint unity_panel_view_accessible_get_n_children ( AtkObject *  accessible) [static]

Definition at line 90 of file unity-panel-view-accessible.cpp.

{
  nux::Object* nux_object = NULL;
  gint rc = 0;

  g_return_val_if_fail(UNITY_IS_PANEL_VIEW_ACCESSIBLE(accessible), 0);

  nux_object = nux_object_accessible_get_object(NUX_OBJECT_ACCESSIBLE(accessible));
  if (!nux_object) /* state is defunct */
    return 0;

  return rc;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_panel_view_accessible_init ( UnityPanelViewAccessible *  self) [static]

Definition at line 63 of file unity-panel-view-accessible.cpp.

{
}
static void unity_panel_view_accessible_initialize ( AtkObject *  accessible,
gpointer  data 
) [static]

Definition at line 82 of file unity-panel-view-accessible.cpp.

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

  accessible->role = ATK_ROLE_PANEL;
}

Here is the caller graph for this function:

AtkObject* unity_panel_view_accessible_new ( nux::Object *  object)

Definition at line 68 of file unity-panel-view-accessible.cpp.

{
  AtkObject* accessible;

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

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

  atk_object_initialize(accessible, object);

  return accessible;
}

Here is the caller graph for this function:

static AtkObject * unity_panel_view_accessible_ref_child ( AtkObject *  accessible,
gint  i 
) [static]

Definition at line 105 of file unity-panel-view-accessible.cpp.

{
  nux::Object* nux_object = NULL;
  AtkObject* child_accessible = NULL;

  g_return_val_if_fail(UNITY_IS_PANEL_VIEW_ACCESSIBLE(accessible), NULL);

  nux_object = nux_object_accessible_get_object(NUX_OBJECT_ACCESSIBLE(accessible));
  if (!nux_object) /* state is defunct */
    return NULL;

  return child_accessible;
}

Here is the call graph for this function:

Here is the caller graph for this function: