| GTK2 :: TRAYMANAGER. GTK2 :: TRAYMANAGER´Â eggtrayManagerÀÇ Perl ¹ÙÀεùÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
GTK2 :: TRAYMANAGER. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Christian Borup
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~mlehmann/Gtk2-TrayIcon-0.03/TrayIcon.pm
GTK2 :: TRAYMANAGER. ű×
GTK2 :: TRAYMANAGER. ¼³¸í
GTK2 :: TrayManager´Â eggtrayManagerÀÇ Perl ¹ÙÀεùÀÔ´Ï´Ù. GTK2 :: TRAYMANAGER´Â eggtrayManager¿¡ ´ëÇÑ Perl ¹ÙÀεùÀÔ´Ï´Ù .Synopsis gtk2 -initÀ» »ç¿ëÇÕ´Ï´Ù. gtk2 :: traymanager¸¦ »ç¿ëÇϽʽÿÀ; ³» $ screen = gtk2 :: gdk :: screen-> get_default; if (gtk2 :: traymanager-> check_running ($ ½ºÅ©¸°)) {TRAY STDERR "Æ®·¹ÀÌ °ü¸®ÀÚ°¡ ÀÌ¹Ì ½ÇÇàÁßÀÎ °æ¿ì, Á˼ÛÇÕ´Ï´Ù! N"; Ãⱸ 256; } MY $ TRAY = GTK2 :: TRAYMANAGER-> NEW; $ tray-> manage_screen ($ ½ºÅ©¸°); $ tray-> set_orientation ( '¼öÁ÷'); $ tray-> signal_connect ( 'tray_icon_added', sub {# $ _ Àº gtk2 :: socket})ÀÔ´Ï´Ù. $ tray-> signal_connect ( 'tray_icon_removed', sub {# $ _ Àº GTK2 :: SOCKET}ÀÔ´Ï´Ù). eggtrayManager ¶óÀ̺귯¸®´Â ±×³ðÀÌ ³»ºÎÀûÀ¸·Î »ç¿ëÇÏ¿© ¾Ë¸² ¿µ¿ª (¶Ç´Â ½Ã½ºÅÛ Æ®·¹ÀÌ)ÀÇ ¼¹ö ÃøÀ» ±¸ÇöÇÕ´Ï´Ù. ±Ô¾à. GTK2 :: TRAYMANAGER¸¦ »ç¿ëÇϸé GTK2-PerlÀ» »ç¿ëÇÏ¿© ¾Ë¸² ¿µ¿ª ÀÀ¿ë ÇÁ·Î±×·¥À» ¸¸µé ¼ö ÀÖ½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
GTK2 :: TRAYMANAGER. °ü·Ã ¼ÒÇÁÆ®¿þ¾î