Home Index classes Index static functions Index enumerations Index structure types

{Tray|_icon}


CLASS {Tray|_icon} , UNTESTED :



A component to provide an icon in a notifications area and to interact with it (via an event click).


IMPORT : {Form} , {Control} , {Icon} , {File_path} , {Geometry} .


BASE CLASS {Control} .



---------------------------------------------------------------- '��������'

 

FUN New_tray|_icon_from_file (
     
{Form} Form|_owner ,
     
STR Alias|_tray_icon ,
     
STR Icon_file|_path ) ==> {Tray} , NEW



-------------------------------------------------------------- '����������'

BOOL Active|_state , READ


 

METHOD Set_active ( BOOL Value|_active )



------------------------------------------------------------- '�����������'

{Icon} Ico|n_object , READ , INIT


 

METHOD Set_icon ( {Icon} Icon|_object )



------------------------------------------------------------------- '�����'

   

OVERRIDE Get_text ==> STR



OVERRIDE Set_text ( STR T|ext_show ) , REPLACE



OVERRIDE Bounds ==> {Geometry}.{rect} , REPLACE


END