2010-09-01ãã1ã¶æéã®è¨äºä¸è¦§
(2021/7/24)æ¬è¨äºã¯ãPythonã«ãããæååã®ãã©ã¼ãããä»ããã¸ç§»åããã
(2021/7/24)æ¬è¨äºã¯ãPythonã«ãããæååã®ãã©ã¼ãããä»ããã¸ç§»åããã
以åã¯GDMããã°ã©ãã£ã«ã«ãã°ã¤ã³ããã¨ãã«ãç°å¢å¤æ°DISPLAYã®æå®ã®ã¿ã§cronããlibnotifyã®notify-sendã³ãã³ãã«ããéç¥ãè¡ãã¦ããã®ã ãããã®å¾ã®ãã¼ã¸ã§ã³(2.30ç³»æç¹)ã§ã¯ãã¾ãéç¥ã表示ããããX Window Systemä¸ã§åä½ããä»ã®GUIããã°â¦
ãCè¨èªã®GTK+ã§ListStoreãããã¼ã¿ãåãåºãå¦çã«é¢ãã追å ã¡ã¢(åå)ãã®ç¶ãã ãCè¨èªã§GTK+ 2ãæ±ãä¸ã§ã®å¹¾ã¤ãã®ã¡ã¢(第9å)ãã®ä¾ã¨åãå¦çãgtk_tree_model_get()ãç¨ãããã®ã«æ¸ãæããã¨ä¸ã®ããã«ãªããåä½ã¯åããã®ã¨ãªãã [ä»»æ]ãâ¦
ãCè¨èªã§GTK+ 2ãæ±ãä¸ã§ã®å¹¾ã¤ãã®ã¡ã¢(第8å)ãã§ã¯ListStoreã¨ãããã¼ã¿æ§é (ãªãã¸ã§ã¯ã)ãããã¼ã¿ãåãåºãã¨ãã«gtk_tree_model_get_value()ã¨GValueåã®ãã¼ã¿ãç¨ããããããã¯å¤ãåãåºãéã«åãæè»ã«æ±ããåé¢ãå¦çã«é¢åãªã¨ããããâ¦
ãunifiedå½¢å¼ã®diffãåå¾ãã¦GTK+ã®ããã¹ããã¥ã¼ã«è¡¨ç¤ºãã(diffãã¡ã¤ã«ä¿åå¯)ãã§ããã¹ããããã¡ã®ä¸ã§æ¸å¼å¤æ´ãè¡ãããã®ããã¹ãã¿ã°ãå¤ãä½æãã¦ããããã«è²ãã¹ã¿ã¤ã«ãæå®ããããã®å¤ãå ¥ãã¦ããããããã«é¢ä¿ããå¦çãæ´çãã¦ã³ã¼â¦
ãGUdevã©ã¤ãã©ãªã§GNU/Linuxã·ã¹ãã ä¸ã®ããã¤ã¹æ å ±ãåå¾ãã(ãã¼ã¸2/3)ãã®ç¶ãã ä¾2 1ã¤ç®ã®ä¾ã§ã¯ããã¤ã¹ãã¡ã¤ã«ãæå®ãã¦ãã®æ å ±ã表示ããããä»åã®ä¾ã§ã¯ã³ãã³ãè¡å¼æ°ã«æå®ããååã®ãµãã·ã¹ãã (ä¾:block,net,soundãªã©)ã«å±ããå ¨ã¦â¦
ãGUdevã©ã¤ãã©ãªã§GNU/Linuxã·ã¹ãã ä¸ã®ããã¤ã¹æ å ±ãåå¾ãã(ãã¼ã¸1/3)ãã®ç¶ããããã§ã¯ãã¼ã¸1ã®å 容ãè¸ã¾ããä¸ã§ã®ä¾ãè²¼ãä»ãããã³ã¼ãã®ã³ã³ãã¤ã«ã«ã¯GUdevã©ã¤ãã©ãªã®éçºããã±ã¼ã¸ãå¿ è¦ã ä¾1 ã³ãã³ãè¡å¼æ°ã«æå®ããå ´æã®ããã¤â¦
GUdevã¨ããã©ã¤ãã©ãªãç¨ããã¨ãGNU/Linuxã·ã¹ãã (OS)ä¸ã®ããã¤ã¹ã®å種æ å ±ãå¾ããã¨ãã§ãããããã¯/dev/以ä¸ã®ããã¤ã¹ãã¡ã¤ã«ãã·ã¹ãã ã®ç¶æ ã«å¿ãã¦åçã«ä½æ/åé¤ããudevã¨ãããã¼ã«ã®ã½ã¼ã¹ããªã¼ã«å«ã¾ããã©ã¤ãã©ãªã§ãåæ§ã«udevã®â¦
ãCè¨èªã§GTK+ 2ãæ±ãä¸ã§ã®å¹¾ã¤ãã®ã¡ã¢(第8å)ãã®ç¶ãã¨ãã¦ãCè¨èªã§GTK+ 2ã®ããªã¼ãã¥ã¼(ListStore使ç¨)ã®ãã¹ããè¡ãä¾ãè²¼ãä»ããã [ä»»æ]ãã¡ã¤ã«å: treeviewliststoretest.c #include <gtk/gtk.h> #include <stdlib.h> /* * Cè¨èªã«ããGTK+ã®TreeView(ListStore使</stdlib.h></gtk/gtk.h>â¦
ãCè¨èªã§GTK+ 2ãæ±ãä¸ã§ã®å¹¾ã¤ãã®ã¡ã¢(第7å)ãã®ç¶ãã ListStoreã«å¯¾ãããã¼ã¿ã®åºãå ¥ãã¨ããªã¼ãã¥ã¼é¢ä¿ã®æä½ ããªã¼ãã¥ã¼ãªã©ã§è¡¨ç¤ºãããã¼ã¿ã¨ãã¦ç¨ããListStoreã¨ãããã¼ã¿æ§é ã«å¯¾ãããã¼ã¿ã®åºãå ¥ãã®å½¢ãCè¨èªãValaè¨èªã§ã¯PyGTKâ¦
http://cid-3f9be5b1cd4a806c.office.live.com/self.aspx/%E5%85%AC%E9%96%8B/%E3%83%86%E3%82%B9%E3%83%88%E7%94%A8%E7%B4%A0%E6%9D%90/recordMyDesktop%E5%A4%89%E6%8F%9B%E4%B8%8D%E5%85%B7%E5%90%88/pingus-06.ogv ã«ã¢ãããã¼ãããåç»ã®å é ã§æ°ç§éâ¦
æ¦è¦ GLibãGTK+ããã³ãããã«é¢ä¿ã®æ·±ãã©ã¤ãã©ãªããã®è¨èªãã¤ã³ãã£ã³ã°(PyGTKãå«ã)ã¯ã(ã©ã¤ãã©ãªãã¨ã®)éçºããã±ã¼ã¸*1ãã¤ã³ã¹ãã¼ã«ããã¨ãã®(ããã°ã©ã ãè¨è¿°ããä¸ã§ã®)æ©è½ã®ä½¿ãæ¹ãæ¸ãããAPIãªãã¡ã¬ã³ã¹ã®é¡(è±èª)ã/usr/share/gtkâ¦