Generating key press event using gtk button

2009-08-14 Thread Sulabh Bista
Dear all: I am trying to write a virtual keyboard like application that can generate keyboard key press event on click of a button. How do I make a button click generate a key press event ? An example of such program is xvkbd (http://homepage3.nifty.com/tsato/xvkbd/ ). Regards, Sulabh Bista

Table with grid using gtk_table_new()

2008-10-31 Thread Sulabh Bista
Dear all: Is there a way to display grid lines of the table created using gtk_table_new()? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Segmentation Fault [Newbie]

2008-10-30 Thread Sulabh Bista
is never initialized. The pointer window points to some random address. Adding: window = gtk_window_new(GTK_WINDOW_TOPLEVEL); somewhere before gtk_container_add will fix your segfault. Good luck, Larry Reaves On Thu, 2008-10-30 at 09:46 +0545, Sulabh Bista wrote: #include gtk/gtk.h int