[indent=4] uses AppIndicator Gtk Gee class wAppIndicator : Indicator prop show_menuitem : CheckMenuItem construct (id:string, icon:string, attention_icon_name:string, category:AppIndicator.Category) GLib.Object(id:id, icon_name:icon, category:category_from_enum(category)) def category_from_enum (category: AppIndicator.Category): string var categ_class = (EnumClass) typeof(AppIndicator.Category).class_ref() return categ_class.get_value(category).value_nick init var menu = new Menu() var show_menuitem = new CheckMenuItem.with_label("Show Wasiliana") menu.append(show_menuitem) menu.append(new MenuItem.with_label("Check for new mail")) menu.append(new MenuItem.with_label("Close")) menu.show_all() this.set_menu(menu)