converting GTKWidget to Widget (Moftif)

2006-04-14 Thread Dmitriy Chumack
Hi, everyone. I have a little question. I need to create a widget using XtVaCreateManagedWidget(...) function from libXt.so.6 library. This function needs a parent Widget to be passed to it. I use GTK port of wxWidgets to create my GUI and that's why I have only GTKWidget's handles of my

Re: converting GTKWidget to Widget (Moftif)

2006-04-14 Thread John Cupitt
On 4/14/06, Dmitriy Chumack [EMAIL PROTECTED] wrote: I have a little question. I need to create a widget using XtVaCreateManagedWidget(...) function from libXt.so.6 library. No, sorry, GTK and Motif are completely different and you can't mix their APIs. You must use one or the other. If you

problem: text view appends

2006-04-14 Thread Deependra Shekhawat
Hello friends, I am trying to append text in a text view, don't know how to do this (tried alot of things). here is code snippet: gint call_me(gpointer user_data) { int bytes=0,temp; //checks to see whether called for first time or not static int flag=1; GtkWidget

Re: problem: text view appends

2006-04-14 Thread Eduardo M KALINOWSKI
Deependra Shekhawat wrote: Hello friends, I am trying to append text in a text view, don't know how to do this (tried alot of things). here is code snippet: gint call_me(gpointer user_data) { int bytes=0,temp; //checks to see whether called for first time or not static int

changing pango attributes

2006-04-14 Thread control H
Hi, I've made a gtklabel with an underline attribute: pango_attr_underline_new(PANGO_UNDERLINE_ERROR); The label shows up fine with this attribtute. However, later on I want to dynamically change this attribute to PANGO_UNDERLINE_NONE. The code basically looks like this: