(no subject)



      hello all,  I have a question when use gtk+, would you help me ? thanks first.
      i want get a notify when selection is OK in GtkText, i think it must use
"selection-notify-event" signal, but its 2nd argument type of callback is 

struct GdkEventSelection
{
  GdkEventType type; 
  GdkWindow *window; 
  gint8 send_event; 
  GdkAtom selection; 
  GdkAtom target;
  GdkAtom property; 
  guint32 requestor; 
  guint32 time; 
};

 in this struct, the member selection , target, property , requestor , time , how to use them  ? and , the most important, how I get data be selected ?

.
 




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