RE: GtkEntry format

2006-12-14 Thread Andrea Zagli
> Am Freitag, den 15.12.2006, 10:45 +0530 schrieb Anurag Chaudhary: > > Any help on this: > > I want > > 12345678 > > to be displayed like > > > Hi, > look here, http://www.chipx86.com/wiki/Main_Page ,may be you will find > what you search! or here http://gtkmaskedentry.sourceforge.net/

RE: GtkEntry format

2006-12-14 Thread Bernd Demian
Am Freitag, den 15.12.2006, 10:45 +0530 schrieb Anurag Chaudhary: > Any help on this: > I want > 12345678 > to be displayed like > Hi, look here, http://www.chipx86.com/wiki/Main_Page ,may be you will find what you search! Bernd ___ gtk-app-de

RE: GtkEntry format

2006-12-14 Thread Anurag Chaudhary
Any help on this: I want 12345678 to be displayed like From: "Anurag Chaudhary" <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Subject: GtkEntry format Date: Wed, 29 Nov 2006 09:29:10 +0530 Hi, I am porting an application's GUI from OS/2 presentation manager to GTK on linux.

Re: Memory Issue

2006-12-14 Thread Liam R E Quin
On Fri, 2006-15-12 at 09:28 +0530, Preeti Joshi wrote: > Does GTK > have a bug that doesn't free the memory used by a window (say dialog) even > after it has been destroyed? It's often simpler to keep dialogues around and hide/show them. Also make sure you unref everything! In general the toolk

Memory Issue

2006-12-14 Thread Preeti Joshi
Hi, I am working on an NMS developed using GTK 1.2. On seeing memory usage through 'system monitor', it shows constant increase in memory usage by GUI screens though I have destroyed all widgets/windows on close event. Does GTK have a bug that doesn't free the memory used by a window (say dialog)

RE: Display date and time using gtkmm2.4

2006-12-14 Thread SIRISHA MUPPAVARAPU
Thanks Madhusudan... Your pointers were great for me to start off. I was looking for the corresponding method in gtkmm. For those new like me out there... this is what I did: Called: Glib::signal_timeout().connect(sigc::mem_fun(*this,&className::periodicTask),1000); bool className :: periodicT

Re: textview scrolling fails

2006-12-14 Thread control H
Thanks a lot Michael, that turned out to be the problem! Man did I spent much time on this problem. Wonder why I used the _add_with_viewport() call anyway. Anyway, thanks a lot. ^H On 12/14/06, Michael 'Mickey' Lauer <[EMAIL PROTECTED]> wrote: > control H wrote: > > This search does find what I

RE: Display date and time using gtkmm2.4

2006-12-14 Thread SIRISHA MUPPAVARAPU
Thanks for the inputs Madhusudan. I'll definitely try this out and will let you know. Thanks Sirisha On Thu, 2006-12-14 at 10:39 +0530, Madhusudan E wrote: > Hi, > You may use > > For ex: > > g_timeout_add_full(G_PRIORITY_DEFAULT,1000, periodicTask, NULL, > (GDestroyNotify)go_to_timeout); > >

glib question: more configurable version of g_strescape?

2006-12-14 Thread Reed Hedges
Does anyone know if Glib has a more configurable version of g_strescape? g_strescape makes a new string in which certain characters are escaped by adding a '\' in front of them, but doesn't seem to have a way to override what those certain characters are. If such a function does not already e

Re: textview scrolling fails

2006-12-14 Thread Michael 'Mickey' Lauer
control H wrote: > This search does find what I'm searching: on the console the "match" > is printed, and also the tag is aplied to the textbuffer at the found > section. But no scrolling occurs. Just a shot in the dark, but I once had the same problem and it turned out I accidantly added the Tree

textview scrolling fails

2006-12-14 Thread control H
Hi, my call to gtk_text_view_scroll_to_iter fails and I really can't figure out why. Here's some actual code I use: if(gtk_text_iter_forward_search(&iter, text, 0, &mstart, &mend, NULL)){ printf("match\n"); gtk_text_buffer_apply_tag_by_name(tb,"found", &mstart, &mend); last_po

Drawable and Colormap question...!!

2006-12-14 Thread Kumar Siddharth
Hi, I am new to GTK. What will happen(say visually) if the following code throws assertion: pixmap = gdk_pixmap_new(NULL,x,y, gdk_rgb_get_visual()->depth); gdk_drawable_set_colormap(pixmap, gdk_rgb_get_colormap()); Assertion: depth of drawable is not equal to the depth of colormap...!! Here