Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一件事有问题。我用 cairo 或 gtk 搜索了显示来自 url 的图像,但我没有找到任何东西。如果这是不可能的,也许我可以使用其他库分解结构中的图像,然后加载它。
有什么想法吗?
GTK+ 没有实现 HTTP 协议客户端,这是从 URL 获取实际图像位所必需的。
您可能想考虑为该任务使用专用库,例如 libcurl。