tailieunhanh - apress foundations_of gtk plus development 2007 phần 10

Tham khảo tài liệu 'apress foundations_of gtk plus development 2007 phần 10', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 544 APPENDIX B GTK SIGNALS Table B-34. GtkMenuItem Signals Signal Name Additional Parameters Description activate None The menu item was activated. If you need to catch activation of a submenu you should use the activate-item signal. activate-item None The menu item was activated or the menu item has a submenu that was activated. toggle-size-allocate gint new_size The menu item was allocated with a new size. toggle-size-request gpointer size The menu item requested a new size. Table B-35. GtkMenuShell Signals Signal Name Additional Parameters Description activate-current gboolean force_hide Activate the current menu item contained by GtkMenuShell. cancel None Cancel the selection of the selected menu item. This will cause the selection-done signal to be emitted. cycle-focus GtkDirectionType type The focus moved to another menu bar in the given direction. deactivate None The GtkMenuShell was deactivated which usually means that it was erased from the screen. move-current GtkMenuDirectionType type The current menu item moved within the menu shell in the given direction. selection-done None The selection within the menu shell was completed. APPENDIX B GTK SIGNALS 545 Table B-36. GtkMenuToolButton Signals Signal Name Description show-menu This signal is emitted right before the menu is shown giving you a chance to update it before the user sees it. Table B-37. GtkNotebook Signals Signal Name Additional Parameters Description change-current-page gint pages_moved The page currently shown by GtkNotebook was changed. focus-tab GtkNotebookTab type The focus was moved by changing the current tab. The callback function returns TRUE if the signal was handled. move-focus-out GtkDirectionType type The focus was moved out of the GtkNotebook widget in the given direction. page-added GtkWidget child guint page_num A page was added to the GtkNotebook widget. This signal was added in GTK . page-removed GtkWidget child guint page_num A page was removed from the GtkNotebook widget.