GtkCheckMenuItem::active

Access: Read Only
Type: bool

The active property provides a means of testing whether the GtkCheckMenuItem is currently in the active state - in which case the returned value will be true - or otherwise.

<?php

$active_state = $checkmenuitem->active;
if($active_state == 1) echo "This GtkCheckMenuItem is active\n";

?>