RE: Window activate

2005-05-03 Thread vishwahg
I think check out for gtk_window_grab_focus(window name) function.. Thanks Vishwa -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Deekshit M Sent: Monday, May 02, 2005 11:04 PM To: gtk-app-devel-list@gnome.org Subject: Window activate Hi all, In my

g_signal_connect

2005-05-03 Thread Tomaz Canabrava
Little trouble here =) the g_signal_connect works like what? g_signal_connect(GTK_WIDGET(widget), signal(clicked), G_CALLBACK(Function), (gpointer) Data); but the callbacks functions have the GtkWidget *Widget as a 1st parameter, and... well, i simply don't get it. =) Does anyone cares to

help_focusRectangle

2005-05-03 Thread Ashok jain
I have created a widget by using gtk APIs like this: //Window creation setupmenu_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_object_set_data (GTK_OBJECT (setupmenu_window), setupmenu_window, setupmenu_window); gtk_widget_set_usize (setupmenu_window, WIN_WIDTH, WIN_HEIGHT);

Re: GList

2005-05-03 Thread Vivien Malerba
On 5/2/05,[EMAIL PROTECTED] wrote: i think that the result of next code must be 3. but i have 0 if uncomment l=... it's work correctly #include glib.h int main() { GList* l=NULL; //l=g_list_alloc(); g_list_append(l,GINT_TO_POINTER(1));

Re: GList

2005-05-03 Thread Tim Müller
On Monday 02 May 2005 18:13, wrote: I think that the result of next code must be 3, but I have 0. If uncomment l=... it's work correctly GList* l=NULL; //l=g_list_alloc(); g_list_append(l,GINT_TO_POINTER(1)); g_list_append(l,GINT_TO_POINTER(1));

Re: GList

2005-05-03 Thread Paul Pogonyshev
wrote: i think that the result of next code must be 3. but i have 0 if uncomment l=... it's work correctly #include glib.h int main() { GList* l=NULL; //l=g_list_alloc(); g_list_append(l,GINT_TO_POINTER(1)); g_list_append(l,GINT_TO_POINTER(1));

GtkTreeView SIGNALS

2005-05-03 Thread André Pedralho
I'm trying to use the single click on a GtkTreeView. Is there a way for me? The row-activated signal is activated with a double click... I'm needind one that is launched with just one click! Thanks in advance, -- André Pedralho Bachelor in Computer Science Instituto Nokia de Tecnologia

Re: GtkTreeView SIGNALS

2005-05-03 Thread John Coppens
On Tue, 3 May 2005 10:11:49 -0400 André Pedralho [EMAIL PROTECTED] wrote: I'm trying to use the single click on a GtkTreeView. Is there a way for me? The row-activated signal is activated with a double click... I'm needind one that is launched with just one click! Check 'cursor_changed' -

Re: GtkTreeView SIGNALS

2005-05-03 Thread Vivien Malerba
On 5/3/05, John Coppens [EMAIL PROTECTED] wrote: On Tue, 3 May 2005 10:11:49 -0400 André Pedralho [EMAIL PROTECTED] wrote: I'm trying to use the single click on a GtkTreeView. Is there a way for me? The row-activated signal is activated with a double click... I'm needind one that is

Re: GtkTreeView SIGNALS

2005-05-03 Thread Peter Bloomfield
On 05/03/2005 10:34:02 AM, John Coppens wrote: On Tue, 3 May 2005 10:11:49 -0400 André Pedralho [EMAIL PROTECTED] wrote: I'm trying to use the single click on a GtkTreeView. Is there a way for me? The row-activated signal is activated with a double click... I'm needind one that is launched

Re: GtkTreeView SIGNALS

2005-05-03 Thread John Coppens
On Tue, 3 May 2005 10:48:15 -0400 André Pedralho [EMAIL PROTECTED] wrote: The 'cursor-changed' works very well... Unfortunately the GTK and Glib tutorials are so poor and don't explain in easy words what we want to know! Look at 'cursor-changed' topic: void user_function (GtkTreeView