Change view of GtkCheckMenuItem without trigger the action



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]