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

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 :o)

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(San

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: 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 seems there is no direct

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 konqueror for

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

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

Re: About symbols in gtkfilesystem.h

2006-02-28 Thread Tommi Komulainen
On Mon, 2006-02-27 at 13:33 +0800, ext James Henstridge wrote: GtkFileSystem *_gtk_file_system_create (const char *file_system_name); is not exported. So I cannot really load such a filesystem object in my program. My question is that is it possible to export _gtk_file_system_create

Re: About symbols in gtkfilesystem.h

2006-02-28 Thread Owen Taylor
On Tue, 2006-02-28 at 13:45 +0200, Tommi Komulainen wrote: On Mon, 2006-02-27 at 13:33 +0800, ext James Henstridge wrote: GtkFileSystem *_gtk_file_system_create (const char *file_system_name); is not exported. So I cannot really load such a filesystem object in my program. My

no GTK+ team irc meeting this week

2006-02-28 Thread Matthias Clasen
...I will only have spotty presence this week, and at unusual hours, so if a meeting takes place this afternoon, you will have to do without me... Matthias ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: GTK-Canvas

2006-02-28 Thread Havoc Pennington
On Tue, 2006-02-28 at 16:33 +, Gustavo J. A. M. Carneiro wrote: That sounds complicated to get right in one go. Personally, I'd just be happy to have a canvas that lets you create items, with virtualized draw method, even at position/size statically controlled by the programmer,

GtkTextBuffer crashes from data overload??

2006-02-28 Thread mikecorn
I have a program which writes text into the GtkTextBuffer for an open GtkTextView window, which shows the updates live. After several thousand lines and perhaps a megabyte of text, it crashes with a segmentation fault. Have I run into some limitation on the total number of lines or total amount

Re: GTK-Canvas

2006-02-28 Thread Gustavo J. A. M. Carneiro
On Ter, 2006-02-28 at 12:42 -0500, Havoc Pennington wrote: On Tue, 2006-02-28 at 16:33 +, Gustavo J. A. M. Carneiro wrote: That sounds complicated to get right in one go. Personally, I'd just be happy to have a canvas that lets you create items, with virtualized draw method, even

Re: Pango-1.11.99 Just In Case released [unstable]

2006-02-28 Thread Federico Mena Quintero
On Mon, 2006-02-27 at 20:47 -0500, Behdad Esfahbod wrote: We really need a tinder box that runs benchmarks too. It's too frustrating to not touch my laptop for 10 minutes to run a benchmark, and then repeat it 5 times to average, and then figure out it was a debugging build, loop again. And

Yet another canvas library

2006-02-28 Thread Rick L Vinyard Jr
On Tue, 2006-02-28 at 18:10 +, Gustavo J. A. M. Carneiro wrote: My proposal would be rather different. Have a single CanvasItem object, which would emit a draw signal with a cairo_context_t as argument. I too needed a canvas, so I put one together late last year. If anyone's