catching resize; cursors



Hi,

1. I want to catch resize of a widget, so I put

gtk_signal_connect (GTK_OBJECT (widget), "configure_event",
                   (GtkSignalFunc) configure_event, NULL);

in my code. But this works only if ``widget'' is my top level window :(
		   
2. I want to change cursor of a widget, but it seems that I need to show
it (and all widgets it lays in) before putting

gdk_window_set_cursor (widget, gdk_cursor_new (c));

can this be got round?

Thanks a lot,
-- 
Alexander Kotelnikov
Saint-Petersburg, Russia
mailto:sacha@ak2614.spb.edu



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]