Change view of GtkCheckMenuItem without trigger the action
- From: KC <kcc1967 gmail com>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Change view of GtkCheckMenuItem without trigger the action
- Date: Tue, 10 Aug 2010 14:01:58 +0800
Hi,
Is it possible to change view (check/uncheck) of GtkCheckMenuItem without
trigger the connected ('toggled') callback function ?
I have a GUI application which also allow control from client (from network).
When user click on GtkCheckMenuItem, the application will do:
User click on GtkCheckMenuItem ---> callback, update internal data
When user issue command from client:
update internal data ---> change view of GtkCheckMenuItem without callback.
Is this possible ? Or any better approach ?
I believe this is related to MVC model for GtkWidget ...
TextView/TreeView offer MVC model, but how about other GtkWidget ?
Regards
KC
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]