gtk2 :: ex :: ´ëÈ­ »óÀÚ :: ChooseiRectory.

GTK2 :: ex :: Dialogs :: ChooseSirectory´Â ÆÄÀÏ ¼±Åà ´ëÈ­ »óÀÚ¸¦ Á¦°øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

gtk2 :: ex :: ´ëÈ­ »óÀÚ :: ChooseiRectory. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Kevin C. Krinke and James Greenhalgh
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~kck/

gtk2 :: ex :: ´ëÈ­ »óÀÚ :: ChooseiRectory. ű×


gtk2 :: ex :: ´ëÈ­ »óÀÚ :: ChooseiRectory. ¼³¸í

gtk2 :: ex :: dialogs :: ChooseSirectory´Â ÆÄÀÏ ¼±Åà ´ëÈ­ »óÀÚ¸¦ Á¦°øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. gtk2 :: ex :: dialogs :: chooseirectory´Â ÆÄÀÏ ¼±Åà ´ëÈ­ »óÀÚ¸¦ Á¦°øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ½Äº°ÀÚ gtk2 :: ex :: dialks :: chooseirectory (destroy_with_parent => true, modal => true)¸¦ »ç¿ëÇÕ´Ï´Ù. # ¾ÛÀÇ ÁÖ $ âÀ» ¸¸µå´Â °Íó·³ ¸î °¡Áö ÀÛ¾÷, # ¸ðµç ¸Þ½ÃÁö°¡ ¿Ã¹Ù¸¥ »óÀ§¸¦ »ç¿ëÇÏ´ÂÁö È®ÀÎÇÏ·Á¸é ´ÙÀ½À» ¼³Á¤ÇϽʽÿÀ. $ gtk2 :: ex :: dialogs :: chooseirectory :: parent_window = $ À©µµ¿ì; # ÀÌÁ¦ ±âÁ¸ µð·ºÅ丮¸¦ ¼±ÅÃÇϱâÀ§ÇÑ »õ·Î¿î ´ëÈ­ »óÀÚ°¡ Æ˾÷ MY $ DIR = GTK2 :: EX :: ´ëÈ­ »óÀÚ :: ChoStosirectory ( "/ path / / ¾îµò°¡"); # È®ÀÎ, ÀÌÁ¦ »õ µð·ºÅ丮¸¦ ¸¸µé¾î¾ßÇÕ´Ï´Ù (½ÇÁ¦·Î # µð·ºÅ丮¸¦ ¸¸µéÁö ¾ÊÀ½). Á¸ÀçÇÏÁö ¾Ê´Â DIRÀ» ¹ÝȯÇÕ´Ï´Ù. $ dir = gtk2 :: ex :: ´ëÈ­ »óÀÚ :: chooseirectory ( "/ path / to / ¾îµò°¡");ÀÌ ¸ðµâÀº GTK2 :: FileChooser¸¦ °´°üÀûÀ¸·Î ¹­´Â °£´ÜÇÑ ÆÄÀÏ ¼±Åñâ API¸¦ Á¦°øÇÕ´Ï´Ù. ¸ñÇ¥´Â »ç¿ëÀÚ°¡ file.optionsall °ø¿ë ¸Þ¼Òµå (¹× Àüü Ŭ·¡½º)¸¦ ¿­°Å ³ª ÀúÀåÇ϶ó´Â °£´ÜÇÑ ¹æ¹ýÀ¸·Î ´ÙÀ½ ¿É¼ÇÀ» Áö¿øÇÕ´Ï´Ù. title => StringTe ´ëÈ­ »óÀÚ Ã¢ÀÇ Á¦¸ñÀ¸·Î »ç¿ëÇÒ ÅؽºÆ® ¹®ÀÚ¿­ÀÔ´Ï´Ù. ±âº»°ªÀº Context.path => ´ëÈ­ »óÀÚ¸¦ ÃʱâÈ­Çϱâ À§ÇØ ÆÄÀÏ ¶Ç´Â µð·ºÅ丮¿¡ ´ëÇÑ °æ·Î¸¦ ±â¹ÝÀ¸·Î "¼±ÅÃ"¶Ç´Â "¸¸µé±â"·Î ±âº» ¼³Á¤ÇÕ´Ï´Ù. ±âº»°ª ÇöÀç ÀÛ¾÷ directory.parent_window => GTK2 :: WindowReference ÁÖ ÀÀ¿ë ÇÁ·Î±×·¥ À©µµ¿ì À©µµ¿ì => boolwen parent_window°¡ »èÁ¦µÇ¸é ¹«¾ùÀ»Çմϱî? ±âº»°ªÀº false.modal => booldoesÀÌ ´ëÈ­ »óÀÚ°¡ ´ëÈ­ »óÀÚ°¡ÀÖ´Â µ¿¾È parent_window°¡ µ¿°áµÇµµ·ÏÇÕ´Ï´Ù. ±âº»°ªÀº falseÀÔ´Ï´Ù .must_exist => boolthe ÃÖÁ¾ »ç¿ëÀÚ´Â ±âÁ¸ ÆÄÀÏÀ̳ª µð·ºÅ丮¿¡ ´ëÇÑ °æ·Î¸¦ Á¦°øÇؾßÇÕ´Ï´Ù. ÃÖÁ¾ »ç¿ëÀÚ°¡ Á¸ÀçÇÏÁö ¾Ê´Â °æ·Î¸¦ Á¦°ø ÇؾßÇÏ´Â °æ¿ì ±âÁ¸ ÆÄÀÏÀÌ ¼±Åà µÉ ¶§±îÁö ´ëÈ­ »óÀÚ°¡ »ùÇøµµË´Ï´Ù. ±âº»°ªÀº falseÀÔ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


gtk2 :: ex :: ´ëÈ­ »óÀÚ :: ChooseiRectory. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

cgiparse.

CGIParse ÇÁ·ÎÁ§Æ®´Â CGI ÇÁ·Î±×·¥ÀÇ ÀÔ·ÂÀ» ÆĽÌÇϱâÀ§ÇÑ C Ŭ·¡½º ¶óÀ̺귯¸®ÀÔ´Ï´Ù. ...

233

´Ù¿î·Îµå