Re: GTK and KDE compatibility

2006-02-28 Thread Colossus
Daniel Espinosa wrote: http://gparts.blogspot.com/ Ok, I see. Does Gimp use Gparts to accept files dragged from the Konqueror window ?? If it doesn't, I'm wondering which GTK functions one have to call to accept events from KDE window inside a GTK one ! -- Colossus Xarchiver, a Linux GTK+2 o

Re: GTK and KDE compatibility

2006-02-28 Thread Colossus
Daniel Espinosa wrote: GTK and KDE has it's own bucle to manage events, there a project working around it at: http://gparts.blogspot.com/ Right now this url is unreachable. Running GIMP under KDE the drag is correctly detected by Gimp, how can this be done ? -- Colossus Xarchiver, a Linux GT

Re: GTK and KDE compatibility

2006-02-28 Thread Daniel Espinosa
GTK and KDE has it's own bucle to manage events, there a project working around it at: http://gparts.blogspot.com/ 2006/2/27, Colossus <[EMAIL PROTECTED]>: > > Hi, > > I connected the signal "drag_data_received" to the window of my app. > However when dragging not from a GTK window ( kde konquero

Re: Glib equivalent to std::set

2006-02-28 Thread Paul Pogonyshev
Peter wrote: > Paul Pogonyshev wrote: > > >Peter wrote: > > > > > >>I've been wanting to start an app in C++, but am leaning towards GLib > >>partly because of its easy Python integration. My question is, what is > >>the best way to get a std::set equivalent in GLib?.. > >> > >> > > > >It s

Re: Glib equivalent to std::set

2006-02-28 Thread Paul Pogonyshev
Peter wrote: > I've been wanting to start an app in C++, but am leaning towards GLib > partly because of its easy Python integration. My question is, what is > the best way to get a std::set equivalent in GLib?.. It seems there is no direct analogue in GLib. However, you can get away with using

Re: Changing font size and color

2006-02-28 Thread Amitesh Singh
On 2/24/06, Sandeep KS <[EMAIL PROTECTED]> wrote: > > Hi everyone, > I want to increase the font size and also change the font color in > GTK. So can anyone please tell me how to do it? Hi sandeep To modify font size PangoFontDescription *font; font=pango_font_description_from_string(

SV: Using: g_key_file_load_from_file() in homedir

2006-02-28 Thread Nikolaj Kiær Thygesen
Yep, that worked - thanx. I never knew that "~" was a shell thing :o) "g_get_home_dir()" is a good thing, so all we need now is a way to find the installation path of a binary like "progdir:" on the Amiga :o) Yes, I know about the "search path" function in glib, but it just ain't quite as cool :

SV: Using: gtk_button_set_image() gives small empty buttons

2006-02-28 Thread Nikolaj Kiær Thygesen
Well, the solution was to use "gtk_container_add(button, image)" instead of "gtk_button_set_image()", but this wasn't documented anywhere. I just thought that the latter function should work for any image type. br - N :o) -Oprindelig meddelelse- Fra: Christian Neumair [mailto:[E