aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/e-table/gal-a11y-e-cell-toggle.h
Commit message (Collapse)AuthorAgeFilesLines
* override the function in base class, to retrieve the content of the text.Tim Wo2003-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-21 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_name): override the function in base class, to retrieve the content of the text. (ect_do_action_edit): begin edit the cell when issuing the action. (ect_class_init): override the "get_name" function. (ect_init): add an action "edit" to the object. (gal_a11y_e_cell_text_get_type): add AtkAction interface to this type. * gal/a11y/e-table/gal-a11y-e-cell-toggle.c (gal_a11y_e_cell_toggle_dispose): disconnect the connected signal when disposing. (gal_a11y_e_cell_toggle_class_init): to override the dispose function. (toggle_cell_action): set position of the click event more precisely. (model_change_cb): set or remove the ATK_STATE_CHECKED flag according to the value in the model when it changes. (gal_a11y_e_cell_toggle_new): init the ATK_STATE_CHECKED flag and connect to the model cell change signal. * gal/a11y/e-table/gal-a11y-e-cell-toggle.h: add one member to save the connected signal id. * gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_grab_focus): notify the selection model that the cursor has been changed. * gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_a11y_cursor_changed_cb): emiting a signal to notify the AT applictions that the active descendant has been changed. (#51055) svn path=/trunk/; revision=23466
* add new file for toggle cell a11y object. new a11y object toggle cellYuedong Du2003-10-281-0/+47
2003-10-26 Yuedong Du <yuedong.du@sun.com> * gal/a11y/e-table/Makefile.am: add new file for toggle cell a11y object. * gal/a11y/e-table/gal-a11y-e-cell-toggle.c: new a11y object toggle cell (gal_a11y_e_cell_toggle_get_type), (gal_a11y_e_cell_toggle_class_init), (toggle_cell_action), the implementation of toggle cell action. (gal_a11y_e_cell_toggle_new): * gal/a11y/e-table/gal-a11y-e-cell-toggle.h: ditto * gal/a11y/e-table/gal-a11y-e-cell.c: (_gal_a11y_e_cell_get_action_info), (_gal_a11y_e_cell_destroy_action_info), (gal_a11y_e_cell_add_action), (gal_a11y_e_cell_remove_action), (gal_a11y_e_cell_remove_action_by_name), (gal_a11y_e_cell_action_get_n_actions), (gal_a11y_e_cell_action_get_name), (gal_a11y_e_cell_action_get_description), (gal_a11y_e_cell_action_set_description), (gal_a11y_e_cell_action_get_keybinding), (idle_do_action), (gal_a11y_e_cell_action_do_action), (gal_a11y_e_cell_atk_action_interface_init), (gal_a11y_e_cell_type_add_action_interface), (gal_a11y_e_cell_add_state): helper functions for add a action, stealed from gailcell.c * gal/a11y/e-table/gal-a11y-e-cell.h: * gal/e-table/e-cell-toggle.c: (e_cell_toggle_class_init): register toggle's a11y object. svn path=/trunk/; revision=23095