Re: show signal problem

2009-03-17 Thread Perriman
Hi again, As I can see, anyone knows how to solve this... Then I will overwrite the show method of my GscInfo object (inherit from GtkWindow) and I will emit a before-show signal or a show-info signal before to call GtkWindow-show. Regads, Perriman El Sun, 15 Mar 2009 04:06:59

show signal problem

2009-03-14 Thread Perriman
2.- I get a flicker because the window is show at (0,0) and then moved to the correct position. The show signal is emited after the real show mechanism and configure and map events don't work... Can you help me? Thanks a lot Perriman

Re: Window events problems

2008-12-31 Thread Perriman
again El Wed, 31 Dec 2008 08:15:13 -0600 Michael Cronenworth m...@cchtml.com escribió: Original Message Subject: Window events problems From: Perriman chuchiperri...@gmail.com To: gtk-app-devel-list@gnome.org Date: 12/30/2008 07:21 PM Can you help me? I found

Window events problems

2008-12-30 Thread Perriman
Hi all!! I have problems trying to catch a signal in a window. I need to know when the user press a button in a window (any widget in the window) to do something. Currently, if I connect to button-press-event in the window, it doesn't work. I've tried with GtkEventBox but nothing...

Re: Focus problem

2008-12-01 Thread Perriman
(thank Jesse and gedit) but I cannot show the decoration because the popup is a GTK_WINDOW_POPUP :) I'll try some changes to do it work on all environments Regards, Perriman #include gtk/gtk.h #include gdk/gdkkeysyms.h static GtkWidget *window; static GtkWidget *view; static GtkWidget

Re: Focus problem

2008-11-30 Thread Perriman
); gtk_main (); return 0; } El Sat, 29 Nov 2008 16:50:09 -0600 Michael Cronenworth [EMAIL PROTECTED] escribió: Perriman wrote: Can you help me?? (I attach the example) Sorry, I don't see the example. ___ gtk-app-devel-list mailing

Re: Focus problem

2008-11-30 Thread Perriman
... I'm desperated Can you help me? Thank you again!! El Sun, 30 Nov 2008 23:37:29 +0100 Perriman [EMAIL PROTECTED] escribió: Hi Michael I paste the code: #include gtk/gtk.h #include gdk/gdkkeysyms.h static GtkWidget *window; static GtkWidget *view; static GtkWidget *popup; static

Focus problem

2008-11-29 Thread Perriman
Hi all, I have a problem with the window focus. I have a main window and a second window. I want to show the second window always on top but set the focus in the main window. I'm setted this in the second window: gtk_window_set_transient_for(GTK_WINDOW(popup),GTK_WINDOW(window));

Utf8 strings manipulation

2008-09-29 Thread Perriman
a character or delete a character. Perhaps I need to allocate a gchar* array first and then use g_utf8_strncpy in all _, I don't know. In that case, I don't know how much memory I need to allocate. Can you help me? Regards, Perriman ___ gtk-app

Re: Utf8 strings manipulation

2008-09-29 Thread Perriman
) ); memcpy( *parts, tmp, strlen( tmp ) ); g_free( tmp ); } string_new = g_strjoinv( NULL, parts_bk ); g_strfreev( parts_bk ); printf( %s\n, string_new ); return( 0 ); } /CODE = Hope it's been helpfull. 2008/9/29 Perriman [EMAIL PROTECTED

Re: Utf8 strings manipulation

2008-09-29 Thread Perriman
Hi Michael, Thanks a lot for the idea!! I will use regexp because it will be easier than doing by hand. Thanks all!! El Mon, 29 Sep 2008 08:25:02 -0600 Michael Torrie [EMAIL PROTECTED] escribió: Perriman wrote: Hi all, I'm trying to transform an utf8 string. I have some problems

Re: Key handling problems

2008-09-18 Thread Perriman
Thank you very much I have a question: Why I check GDK_MOD1_MASK and not another mask? I want the control+j but not the lock caps+control+j neither num lock+control+j etc. Regards, Perriman El Wed, 17 Sep 2008 21:50:08 -0400 (EDT) Allin Cottrell [EMAIL PROTECTED] escribió

Key handling problems

2008-09-17 Thread Perriman
.- If I press contro+shift+j doesn't work because the j is not J but the state check sais true I have tried 1000 ways to do it, I have see a lot of code but I have not luck Can you help me? I'm desperated :( Regards, Perriman ___ gtk-app-devel

GtkWindow problem

2008-07-11 Thread Perriman
Hi all I have a problem with GtkWindow. This is very difficult because I need to have a GtkWindow with type POPUP and, if I pass an option, the GtkWindow must be TOPLEVEL. I need to do it because I need show a completion popup that it is visible while the user writes in the GtkTextView but, If