next up previous contents
Next: Effacement Up: Tutorial Previous: Taille de l'image

Ouverture et fermeture

La fonction gsc_iconify() met xgsc sous forme d'icone. La fonction gsc_deiconify() ouvre l'icone. La fonction gsc_hide_image() dépunaise l'image. La fonction gsc_show_image() faire réaparaître l'image dépunaisée. Exemple

 
main()
{
   struct gop_connect *connect_gsc;
   int    hscroll, vscroll;
   ...
   if(gsc_iconify(connect_gsc) != GOP_OK)
       {...}
   if(gsc_deiconify(connect_gsc) != GOP_OK)
       {...}
   if(gsc_hide_image(connect_gsc) != GOP_OK)
       {...}
   if(gsc_show_image(connect_gsc) != GOP_OK)
       {...}
   ...
}


WEBER Luc
Mon May 10 13:40:23 MET DST 1999