how to constrain the cursor in just one screen.

2007-05-21 Thread Liu Jie
Hi, I'm working a GTK based applicaion, which uses double screens. Without any constraint, the user can move the cursor freely from one scrren to another. Now, I want to constrain the cursor in just one screen. How can I do it? Is there a gtk function which can help me solve my problem? Andy __

GtkLabel + PangoLayout

2007-05-21 Thread Leonel Freire
/**/ GtkWidget *window; GtkWidget *label; PangoLayout *layout; /* gtk_init() + create window */ ... label = gtk_label_new(""); gtk_container_add(GTK_CONTAINER(window), label); gtk_widget_show(label); layout = gtk_label_get_l

Re: Alternative GTK widgets

2007-05-21 Thread Freddie Unpenstein
Some thoughts about some of the alternative widget sets presented, and how I personally view them as applying to GTK... Most of this I've been mulling over on and off for a while, in one form or another. So I've decided to take this opportunity (since I didn't know most of these toolkits even