⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hints.macosx

📁 gtk_server的源代码
💻 MACOSX
字号:
--------------------------------------Hints to install GTK-server on MacOSX1) Install Xcode from http://connect.apple.com2) Install GTK framework from http://www.gtk-osx.org/3) Compile and install 'pkg-config' from http://pkg-config.freedesktop.org/wiki/4) Set CPPFLAGS to the FFI header files at '/usr/include/ffi' as follows:export CPPFLAGS=-I/usr/include/ffi5) Set PKG_CONFIG_PATH:export PKG_CONFIG_PATH=/Library/Frameworks/GLib.framework/Resources/dev/lib/pkgconfig:/Library/Frameworks/Gtk.framework/Resources/dev/lib/pkgconfig:/Library/Frameworks/Cairo.framework/Resources/dev/lib/pkgconfigPreparations are done, run the configure-script:./configure --prefix=/usr --sysconfdir=/etc --with-gtk2But if you need GTK-server compiled as dynamic library, run:./configure --prefix=/usr --sysconfdir=/etc --with-gtk2 --enable-libraryThen compile and install:make; make install--------------------------------------FAQQ: Some of the demoprograms in the GTK-server sourcepackage do not work!A: That's right, some of the programs require GNU Awk instead of the standard AWK of MacOSX. Some programs need Gladewhich at the time of writing was not ported to MacOSX yet. Some programs need OpenGL, this should be supported by your system.Q: Why the GTK error "Unable to find default local directory monitor type" appears when using a fileselector?A: This seems to be a flaw in the current GTK port for Darwin (MacOSX).Q: Why does the GTK window appear behind the current terminal window?A: This seems to be a known issue in MacOSX Quartz. It also happens with users of TK and wxPython. Any program launchedfrom the Terminal window will always popup behind the terminal.It can be worked around by applying 'gtk_window_set_type_hint' to GDK_WINDOW_TYPE_HINT_UTILITY first, and then in your mainloopreset the typehint to GDK_WINDOW_TYPE_HINT_NORMAL again.--------------------------------------Peter van Eertenpeter@gtk-server.org

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -