[g-a-devel] gtkmm and atk?



Hi.

I am trying to learn as much coding tricks as I need to
make accessibility changes in GTK2 applications directly.

I am facing a gtkmm application which lacks some
label relations.  The following is a minimal template to illustrate
what I am dealing with:

From ardour-2.0.2/gtk2_ardour/new_session_dialog.cc:

NewSessionDialog::NewSessionDialog()
        : ArdourDialog ("session control")
{
        session_name_label = Gtk::manage(new class Gtk::Label(_("Name :")));
        m_name = Gtk::manage(new class Gtk::Entry());
        m_name->set_text(GTK_ARDOUR::session_name);

        ...
}

What header files am I supposed to include to be
able to use ATK from within a gtkmm application (C++)?  Are there C++
bindings to ATK, or am I supposed to somehow fall back to C?
And what code do I need to write to achieve a LABEL_FOR
relation between session_name_label and m_name?

-- 
Thanks in advance,
  Mario | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang db debian org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>

Attachment: pgpEQhnPU0Itx.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]