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

show signal problem

2009-03-14 Thread Perriman
ize is not properly calculated 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" even

Re: Window events problems

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

Re: Window events problems

2008-12-31 Thread Perriman
The problem is in the GtkEntry. In the frame, works fine but the GtkEntry gets the button-press signal and I cannot get this signal connected to the window. Any idea? Thanks, Perriman El Wed, 31 Dec 2008 02:21:05 +0100 Perriman escribió: > Hi all!! > > I have problems

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
modal (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 #include static GtkWidget *window; static GtkWidget *view; static GtkWidget *popup; static

Re: Focus problem

2008-11-30 Thread Perriman
work... 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 > #include > > static GtkWidget *window; > static GtkWidget *view; &g

Re: Focus problem

2008-11-30 Thread Perriman
ocale (); gtk_init (&argc, &argv); window = create_window (); popup = create_popup(); gtk_widget_show_all (window); gtk_main (); return 0; } El Sat, 29 Nov 2008 16:50:09 -0600 Michael Cronenworth <[EMAIL PROTECTED]> escribió: > Perri

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)); gtk_wind

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 trans

Re: Utf8 strings manipulation

2008-09-29 Thread Perriman
ring_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]>:

Utf8 strings manipulation

2008-09-29 Thread Perriman
now how replace 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 __

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]> es

Key handling problems

2008-09-17 Thread Perriman
(It may fail because I want to check control+j not control+alt+j) 5.- 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,

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 the

GtkWindow problem

2008-07-10 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 the