|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
A question regarding gtk_clipboard_request_textI think it would be helpful if the documentation can add some notes about this issue.
What do you guys think? Thanks Yong -----Original Message----- From: Nickolay V. Shmyrev [mailto:nshmyrev@...] Sent: 2005年8月11日 3:39 To: Wang, Yong Y Cc: gtk-devel-list@... Subject: Re: A question regarding gtk_clipboard_request_text В Срд, 10/08/2005 в 14:57 +0800, Wang, Yong Y пишет: > Hi, > > I have a question regarding the function > void gtk_clipboard_request_text (GtkClipboard *clipboard, > > GtkClipboardTextReceivedFunc callback, > gpointer user_data); > > How long is the lifetime of the clipboard data we get via this > function? > Is it as long as the function call to GtkClipboardTextReceivedFunc? > > I wrote two test cases as below: See http://mail.gnome.org/archives/gtk-devel-list/2005-August/msg00030.html for details. > Is my understanding correct? > Yes, see static void request_text_received_func (GtkClipboard *clipboard, GtkSelectionData *selection_data, gpointer data) in gtkclipboard.c there is string g_free (result). the selection data is freed just after the exit of callback. It's better to strdup it if you are planning to use this string later. > Thanks > Yong > > _______________________________________________ > gtk-devel-list mailing list > gtk-devel-list@... > http://mail.gnome.org/mailman/listinfo/gtk-devel-list _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
|
|
Re: A question regarding gtk_clipboard_request_textHi Yong,
if so please send this to the gtk-devel list. @damon: who can relabel the gtk-doc list on the http://mail.gnome.orgmailman/listinfo/ page? It still says: gtk-doc-list Coordination of GTK+ documentation Wouldn't 'Develepment of gtk-doc' be more appropriate ? Stefan Wang, Yong Y wrote: > I think it would be helpful if the documentation can add some notes about this issue. > What do you guys think? > > Thanks > Yong > > -----Original Message----- > From: Nickolay V. Shmyrev [mailto:nshmyrev@...] > Sent: 2005年8月11日 3:39 > To: Wang, Yong Y > Cc: gtk-devel-list@... > Subject: Re: A question regarding gtk_clipboard_request_text > > В Срд, 10/08/2005 в 14:57 +0800, Wang, Yong Y пишет: > >>Hi, >> >>I have a question regarding the function >>void gtk_clipboard_request_text (GtkClipboard *clipboard, >> >>GtkClipboardTextReceivedFunc callback, >> gpointer user_data); >> >>How long is the lifetime of the clipboard data we get via this >>function? >>Is it as long as the function call to GtkClipboardTextReceivedFunc? >> >>I wrote two test cases as below: > > > See http://mail.gnome.org/archives/gtk-devel-list/2005-August/msg00030.html for details. > > >>Is my understanding correct? >> > > Yes, see > > static void > request_text_received_func (GtkClipboard *clipboard, > GtkSelectionData *selection_data, > gpointer data) > > in gtkclipboard.c there is string g_free (result). > > the selection data is freed just after the exit of callback. It's better > to strdup it if you are planning to use this string later. > > >>Thanks >>Yong >> >>_______________________________________________ >>gtk-devel-list mailing list >>gtk-devel-list@... >>http://mail.gnome.org/mailman/listinfo/gtk-devel-list > > > _______________________________________________ > gtk-doc-list mailing list > gtk-doc-list@... > http://mail.gnome.org/mailman/listinfo/gtk-doc-list _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
|
|
describe this mailinglist betterOn Thu, Aug 25, 2005 at 01:13:18PM +0200, Stefan Kost wrote:
> Hi Yong, > > if so please send this to the gtk-devel list. > > @damon: who can relabel the gtk-doc list on the > http://mail.gnome.orgmailman/listinfo/ page? It still says: > > gtk-doc-list Coordination of GTK+ documentation > > Wouldn't 'Develepment of gtk-doc' be more appropriate ? Development of gtk-doc tools > > Stefan Cheers Geert Stappers _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
|
|
Re: describe this mailinglist betterOn Thu, 2005-08-25 at 13:55 +0200, Geert Stappers wrote:
> On Thu, Aug 25, 2005 at 01:13:18PM +0200, Stefan Kost wrote: > > Hi Yong, > > > > if so please send this to the gtk-devel list. > > > > @damon: who can relabel the gtk-doc list on the > > http://mail.gnome.orgmailman/listinfo/ page? It still says: > > > > gtk-doc-list Coordination of GTK+ documentation > > > > Wouldn't 'Develepment of gtk-doc' be more appropriate ? > > Yes, it is. Personaly I prefer > > Development of gtk-doc tools Summary: The gtk-doc documentation tool Description: This list is for discussion of the gtk-doc documentation too. It is should not be used for questions about GTK+ (use gtk-app-devel-list) or discussions about improving GTK+ documentation (use bugzilla or gtk-devel-list) And changed gtk.org/mailinglists.html to read: This list is for discussion of the development of the gtk-doc documentation tool. Questions about how to use GTK+ belong on gtk-app-devel-list. Discussion about improving the GTK+ documentation belongs on gtk-devel-list. Specific suggestions for the documentation should be put in bugzilla. Regards, Owen _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
|
|
Re: describe this mailinglist betterOn Thu, Aug 25, 2005 at 08:40:00AM -0400, Owen Taylor wrote:
> On Thu, 2005-08-25 at 13:55 +0200, Geert Stappers wrote: > > On Thu, Aug 25, 2005 at 01:13:18PM +0200, Stefan Kost wrote: <snip/> > > > @damon: who can relabel the gtk-doc list on the > > > http://mail.gnome.orgmailman/listinfo/ page? It still says: > > > > > > gtk-doc-list Coordination of GTK+ documentation > > > > > > Wouldn't 'Develepment of gtk-doc' be more appropriate ? > > > > Yes, it is. Personaly I prefer > > > > Development of gtk-doc tools > > Changed the mailman config to: > > Summary: The gtk-doc documentation tool > Description: > > This list is for discussion of the gtk-doc documentation too. It is > should not be used for questions about GTK+ (use gtk-app-devel-list) or > discussions about improving GTK+ documentation (use bugzilla or > gtk-devel-list) Especial on http://mail.gnome.org/mailman/listinfo/gtk-doc-list > > And changed gtk.org/mailinglists.html to read: > > This list is for discussion of the development of the gtk-doc > documentation tool. Questions about how to use GTK+ belong on > gtk-app-devel-list. Discussion about improving the GTK+ documentation > belongs on gtk-devel-list. Specific suggestions for the documentation > should be put in bugzilla. > > Regards, > Owen Thanks Geert Stappers _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
| Free Forum Powered by Nabble | Forum Help |