selection_changed problem

2005-05-08 Thread poonam chokshi
hello I am using the GTKList widget on which i am having the selection_changed signal fired...Now i am using the lookup_widget() function in it It works till now...But when i try to close the window then my destroy event is fired and it gives me the fatal error dialog box saying the segmentat

GTK scribble example

2005-05-08 Thread Alex Schultz
Hi, I'm making a small drawing program with GTK, and I'm having an issue that's also in the "scribble" example tutorial (using this as an example because people would likely know what I'm talking about that way). Anyways, the issue that I'm having is that the program doesn't receive mouse movem

how to implement a modal window: gtk_run

2005-05-08 Thread Paul Santa Maria
Hi - 1. Register an event handler with your pushbutton. 2. In the event handler, create your dialog as you normally would ... 3. ...but use "gtk_run()" instead of "gtk_widget_show()". Hope that helps .. PSM > Gurus, > > I want to implement below behavior > > 1.main window has a button.

GtkTextView horizontal seperators...

2005-05-08 Thread Freddie Unpenstein
Greetings people of the list... I was wondering if anyone knows how I could draw a horizontal red line across a GtkTextView buffer. I could probably throw in a GtkHSeperator widget, or something, but it's not a red line. I could throw in an image which is a red line, but how would I get it to

how to implement a modal window

2005-05-08 Thread Neo Liu
Gurus, I want to implement below behavior 1.main window has a button. 2.when the button is pressed, a new modal window pops up. However, it seems neither gtk_window_set_modal nor gtk_grab_add does help. What's the right way to use that? Is there any sample code that I can refer to? thanks in adva

Re: ask for help: why gtk_grab_get_current returns NULL

2005-05-08 Thread Neo Liu
Yes, it is a widget that GTK_WIDGET_IS_SENSITIVE returns TRUE. any other hints? ln Gabriel de Perthuis wrote: Le dimanche 08 mai 2005 Ã 16:36 -0700, Neo Liu a Ãcrit : ... After gtk_grab_add is executed, gtk_grab_get_current returns NULL. Why? What kind of a widget is grabWidget? I

gtkhtml tutorial

2005-05-08 Thread Городничев Денис
where i can download gtkhtml tutorial? -- ÐÐÑÑÐÐ Ñ <[EMAIL PROTECTED]> ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: ask for help: why gtk_grab_get_current returns NULL

2005-05-08 Thread Gabriel de Perthuis
Le dimanche 08 mai 2005 Ã 16:36 -0700, Neo Liu a Ãcrit : > ... > After gtk_grab_add is executed, gtk_grab_get_current returns NULL. Why? What kind of a widget is grabWidget? I think it should be able to receive events (GTK_WIDGET_IS_SENSITIVE, "sensitive" property). It is at least a doc bug, so i

Re: g_signal_connect arguments

2005-05-08 Thread Paul Pogonyshev
[EMAIL PROTECTED] wrote: > Hi all, > > I am new to GTK programming, and I've got a very simple question about > callbacks. In the application interface that I am encoding the next > function brings up a window containing several GtkEntries and a > GtkCheckButton to gather the options chosen b

report generator

2005-05-08 Thread Denis
need some report generator without using qt. -- Denis <[EMAIL PROTECTED]> ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtkhtml tutorial

2005-05-08 Thread Denis
where i can download gtkhtml tutorial? -- Denis <[EMAIL PROTECTED]> ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

g_signal_connect arguments

2005-05-08 Thread franfernandezb
Hi all, I am new to GTK programming, and I've got a very simple question about callbacks. In the application interface that I am encoding the next function brings up a window containing several GtkEntries and a GtkCheckButton to gather the options chosen by the user: void menu_qdisc(){

ask for help: why gtk_grab_get_current returns NULL

2005-05-08 Thread Neo Liu
Gurus, Running below code, the result confused me. GtkWidget *grabWidget = nsnull; GetToplevelWidget(&grabWidget); if (!grabWidget) return NS_ERROR_FAILURE; if (aModal) gtk_grab_add(grabWidget); else gtk_grab_remove(grabWidget); printf("grab widget is %p\n", grabWidget); printf("current gr

ask for help: why gtk_grab_get_current returns NULL

2005-05-08 Thread Neo Liu
Gurus, Running below code, the result confused me. GtkWidget *grabWidget = nsnull; GetToplevelWidget(&grabWidget); if (!grabWidget) return NS_ERROR_FAILURE; if (aModal) gtk_grab_add(grabWidget); else gtk_grab_remove(grabWidget); printf("grab widget is %p\n", grabWidget); printf("current gr