unset GTK_CAN_FOCUS on CList titles



 how can I unset the GTK_CAN_FOCUS flag on CList titles?  my code seems
like:

clist_left = gtk_clist_new (6);
gtk_clist_column_titles_show (GTK_CLIST (clist_left)); 
hbox_left_name = gtk_hbox_new (FALSE, 0); 
gtk_clist_set_column_widget (GTK_CLIST (clist_left), 0, hbox_left_name);
label_left_name = gtk_label_new (_("Name")); 
gtk_box_pack_start (GTK_BOX (hbox_left_name), label_left_name, TRUE, TRUE,
0);
GTK_WIDGET_UNSET_FLAGS (hbox_left_name, GTK_CAN_FOCUS);
GTK_WIDGET_UNSET_FLAGS (label_left_name, GTK_CAN_FOCUS);

..but it doesn't works, titles always gets the keyboard focus..


thanks,
--
  DaP






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