glib
Find the position of a string in an array of string with the GLib
I have an array of string, like: char **strings = {\"str1\", \"str2\"}; And i would like to know if there is a function in the glib to find the position of a string in this array.[详细]
2022-12-31 20:32 分类:问答Should a g_object_new have a matching g_object_unref?
I\'m using libnotify to show desktop notifications in my application; notify_notification_new()returns a NotifyNotification*, which should be passed as the first param to further function calls of the[详细]
2022-12-31 13:14 分类:问答tkinter integration with glib mainloop
Is it possible to integrate tkinter with glib mainloop开发者_Go百科 ?Here is one way of doing it:[详细]
2022-12-30 23:59 分类:问答Error while installing dependencies for PyGTK on Mac OS 10.6.3
I tried to install the following dependencies for PyGTK 2.16.0 (the Python GIMP Tool Kit) on Mac OS 10.6.3:[详细]
2022-12-30 04:53 分类:问答Compiling Glib Code on Ubuntu
I\'m trying 开发者_如何学Cto compile ARCCC (https://sourceforge.net/projects/arccc/) on Ubuntu 9.10, but I\'m getting the make error \"glib.h: No such file or directory\", and the autoconfig script re[详细]
2022-12-29 19:42 分类:问答Using `g_object_set_data` for passing user name
I am using g_object_set_data to set user name with event_box so in call back i can get it with in event_box pointer.[详细]
2022-12-29 06:16 分类:问答How to make command-line options mandatory with GLib?
I use GLib to parse some command-line options. The problem is that I want to make two of those options mandatory so that the program terminates with the help screen if the user omits them.[详细]
2022-12-28 14:10 分类:问答Inserting non-pod struct into a GHashTable
I\'m trying to build a GHashTable of instances of a struct containing ints, a time_t and a few char*\'s.[详细]
2022-12-27 03:38 分类:问答Need help in resolving a compiler error: error: invalid conversion from ‘int’ to ‘GIOCondition’
I have a simple cpp 开发者_开发问答file which uses GIO. I have stripped out everything to show my compile error:[详细]
2022-12-25 04:30 分类:问答glib on Symbian S60
I am interested in porting a C library that depends on glib to Symbian. After some research, I found that there is a Symbian port of glib. However I can\'t seem to开发者_Python百科 find much document[详细]
2022-12-24 17:55 分类:问答