Back to index

unity  6.0.0
Classes | Defines | Typedefs | Functions
nux-area-accessible.h File Reference
#include <atk/atk.h>
#include "nux-object-accessible.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _NuxAreaAccessible
struct  _NuxAreaAccessibleClass

Defines

#define NUX_TYPE_AREA_ACCESSIBLE   (nux_area_accessible_get_type ())
#define NUX_AREA_ACCESSIBLE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), NUX_TYPE_AREA_ACCESSIBLE, NuxAreaAccessible))
#define NUX_AREA_ACCESSIBLE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), NUX_TYPE_AREA_ACCESSIBLE, NuxAreaAccessibleClass))
#define NUX_IS_AREA_ACCESSIBLE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NUX_TYPE_AREA_ACCESSIBLE))
#define NUX_IS_AREA_ACCESSIBLE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), NUX_TYPE_AREA_ACCESSIBLE))
#define NUX_AREA_ACCESSIBLE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), NUX_TYPE_AREA_ACCESSIBLE, NuxAreaAccessibleClass))

Typedefs

typedef struct _NuxAreaAccessible
typedef struct _NuxAreaAccessibleClass
typedef struct _NuxAreaAccessiblePrivate

Functions

GType nux_area_accessible_get_type (void)
AtkObject * nux_area_accessible_new (nux::Object *object)
gboolean nux_area_accessible_check_pending_notification (NuxAreaAccessible *self)
gboolean nux_area_accessible_parent_window_active (NuxAreaAccessible *self)
AtkObject * nux_area_accessible_get_parent_window (NuxAreaAccessible *self)

Class Documentation

struct _NuxAreaAccessible

Definition at line 39 of file nux-area-accessible.h.

Class Members
NuxObjectAccessible parent
NuxAreaAccessiblePrivate * priv

Define Documentation

#define NUX_AREA_ACCESSIBLE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), NUX_TYPE_AREA_ACCESSIBLE, NuxAreaAccessible))

Definition at line 29 of file nux-area-accessible.h.

#define NUX_AREA_ACCESSIBLE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), NUX_TYPE_AREA_ACCESSIBLE, NuxAreaAccessibleClass))

Definition at line 30 of file nux-area-accessible.h.

#define NUX_AREA_ACCESSIBLE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), NUX_TYPE_AREA_ACCESSIBLE, NuxAreaAccessibleClass))

Definition at line 33 of file nux-area-accessible.h.

#define NUX_IS_AREA_ACCESSIBLE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NUX_TYPE_AREA_ACCESSIBLE))

Definition at line 31 of file nux-area-accessible.h.

#define NUX_IS_AREA_ACCESSIBLE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), NUX_TYPE_AREA_ACCESSIBLE))

Definition at line 32 of file nux-area-accessible.h.

Definition at line 28 of file nux-area-accessible.h.


Typedef Documentation

typedef struct _NuxAreaAccessible

Definition at line 35 of file nux-area-accessible.h.

typedef struct _NuxAreaAccessibleClass

Definition at line 36 of file nux-area-accessible.h.

typedef struct _NuxAreaAccessiblePrivate

Definition at line 37 of file nux-area-accessible.h.


Function Documentation

gboolean nux_area_accessible_check_pending_notification ( NuxAreaAccessible *  self)

Definition at line 500 of file nux-area-accessible.cpp.

{
  NuxAreaAccessibleClass* klass = NULL;

  klass = NUX_AREA_ACCESSIBLE_GET_CLASS(self);
  if (klass->check_pending_notification)
    return klass->check_pending_notification(self);
  else
    return FALSE;
}

Here is the caller graph for this function:

AtkObject* nux_area_accessible_get_parent_window ( NuxAreaAccessible *  self)

Definition at line 581 of file nux-area-accessible.cpp.

{
  g_return_val_if_fail(NUX_IS_AREA_ACCESSIBLE(self), NULL);

  /* Ensures that at least whe made a search for it */
  check_parent_window_connected(self);

  return self->priv->parent_window;
}

Here is the call graph for this function:

GType nux_area_accessible_get_type ( void  )
AtkObject* nux_area_accessible_new ( nux::Object *  object)

Definition at line 148 of file nux-area-accessible.cpp.

{
  AtkObject* accessible = NULL;

  g_return_val_if_fail(dynamic_cast<nux::Area*>(object), NULL);

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

  atk_object_initialize(accessible, object);

  return accessible;
}

Here is the caller graph for this function:

gboolean nux_area_accessible_parent_window_active ( NuxAreaAccessible *  self)

Definition at line 444 of file nux-area-accessible.cpp.

{
  gboolean active = FALSE;
  AtkStateSet* state_set = NULL;

  check_parent_window_connected(self);

  state_set = atk_object_ref_state_set(ATK_OBJECT(self->priv->parent_window));

  active = atk_state_set_contains_state(state_set, ATK_STATE_ACTIVE);

  g_object_unref(state_set);

  return active;
}

Here is the call graph for this function:

Here is the caller graph for this function: