Class: AGTkMenu

Inherits:
AG
  • Object
show all
Defined in:
ext/ae-rad/lib/tk/al-tk.rb

Instance Attribute Summary

Attributes inherited from AG

#ag_parent, #i_ag, #i_name, #obj, #obj_class, #persistent, #props, #props_def, #props_kinds, #renderer, #sniffer, #sons

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AG

#activate, active, #add_require, #build_sons, class_renderer, class_sniffer, #defaults, #defaults_values, #del_require, #delete, #fill_defaults_value_from_agobj, #getControlClassName, #getFileName, #getInstanceClass, #getObjClass, #getViewClassName, #get_implementation_block, #get_implementation_code, #get_implementation_new, #get_path_i_name, #has_sons, #initialize, near_class_wrapped, near_class_wrapper, #new_id, #passed_object, #publish, #publish_def, #publish_del, #publish_mod, publish_property, #register, #retrive_values, #select, #start_properties, #update_property

Constructor Details

This class inherits a constructor from AG

Class Method Details

.class_wrappedObject



2930
2931
2932
# File 'ext/ae-rad/lib/tk/al-tk.rb', line 2930

def AGTkMenu.class_wrapped
  TkMenu
end

Instance Method Details

#new_objectObject



2923
2924
2925
2926
2927
2928
# File 'ext/ae-rad/lib/tk/al-tk.rb', line 2923

def new_object
  if @ag_parent.obj.class == TkMenubar
    @obj=@ag_parent.obj.add_menu(['asdasd',0])
    $arcadia.outln(@obj.to_s)
  end
end

#propertiesObject



2934
2935
2936
# File 'ext/ae-rad/lib/tk/al-tk.rb', line 2934

def properties
  super()
end