How to add a GtkWidget to an existing X-Window Widget hierarchy?

2005-03-31 Thread Marcel Ruff
Hi, i'm running on Linux 2.6.8 with gtk-2 and gcc 3.3.4 I have an existing X-Window application (Motif) to which i want to add a GtkWidget. I have for example plain X: Widget w_form = ... guint32 xid = XtWindow(w_form);

Simple question about g_path_get_dirname()

2005-03-31 Thread Jérôme Couderc
Hi, As the filename read on the file system may not be in UTF-8 encoding, must I always convert it to UTF-8 (with g_filename_to_utf8) before to use the function : dirname = g_path_get_dirname(filename) ? Thanks in advance for the reply Regards, Jerome

Re: Themable colors

2005-03-31 Thread Bill Haneman
Soeren Sandmann wrote: Bill Haneman [EMAIL PROTECTED] writes: The ONLY time that an application should choose a specific color (or even a specific value, i.e. 'black' or 'white') is when red means RED, i.e. if the application is a painting application, an image processing application, or

Re: Themable colors

2005-03-31 Thread Calum Benson
On Thu, 2005-03-31 at 10:44, Bill Haneman wrote: Possibly it needs heavy revision. Calum? It should be clear that explicit colors must be avoided except in applications that deal with actual colorspaces, such as image processing. It could certainly do with some improvement-- it really

Re: library dependency reduction (gtkhtml)

2005-03-31 Thread Philippe De Swert
Sorry for my late reply but I missed the previous mail. Well I found out that the components part is for html-editing. It says actually html-editor in the components dir. As I did not need this functionality at all, as I was looking into rendering html I removed this part. So indeed

GtkAdjustment smooth scrolling

2005-03-31 Thread Stephen Bach
Hello, I use a scrolled window in a program of mine, and I've noticed that if I set the value of its adjustment manually, the window is immediately scrolled to the given position. For example, with something like the following code (where vadj is the vertical adjustment of the window): gdouble

pango-1.8.1 compiling error

2005-03-31 Thread Caloro Maurizio
Hello everbody, On me solaris I386 maschine i have alot of truble to compile PANGO-1.8.1 and i don´t knowing how do i solve this problem. please i need help on the maschine i have following software compiled/installed without error and if i want compile Pango i become everytime the same error.

Re: Glib::Object::Subclass, embedding and multiple interpreters

2005-03-31 Thread muppet
On Mar 31, 2005, at 6:58 AM, Eduardo M KALINOWSKI wrote: I'm doing something like this: package KCWin; eval { Glib::Type-list_ancestors(__PACKAGE__); # if we're alive here, the package is already registered. } or Glib::Type-register_object('Gtk2::Window',

Re: Glib::Object::Subclass, embedding and multiple interpreters

2005-03-31 Thread Eduardo M KALINOWSKI
muppet wrote: On Mar 31, 2005, at 6:58 AM, Eduardo M KALINOWSKI wrote: I'm doing something like this: package KCWin; eval { Glib::Type-list_ancestors(__PACKAGE__); # if we're alive here, the package is already registered. } or Glib::Type-register_object('Gtk2::Window',

ListView and Titles

2005-03-31 Thread Stephan Martin
Hi all, i just try to port my application from perl-Gtk to perl-Gtk2. Therefore i'd like to have a ListStore without the title row, only the white content of the list. Is that possible, i don't find anything in the documentation? Thanks stephan --

Re: Segmentation fault in gtk2-perl-application

2005-03-31 Thread Stephan Brunner
Thank you, Ross and muppet, for your mails. You make me hope that this issue is resolvable and not a bad demons sword hanging over the stability of my application... Am Donnerstag 31 März 2005 04:33 schrieb muppet: On Mar 30, 2005, at 4:59 PM, Stephan Brunner wrote: [...] I would be very