Re: Help with clist widget
- From: Matthew <matthew mattshouse com>
- To: Nicholas <mcmxc freemail gr>
- Cc: gtk-list gnome org
- Subject: Re: Help with clist widget
- Date: Sat, 22 Jul 2000 21:11:06 -0500
On Sat, 22 Jul 2000, you wrote:
> hi people
>
> one small question: how do i connect a signal into an active title?
>
> if i have a clist:
> GtkWidget *gtk_clist_new_with_titles(gint columns, gchar *titles[]);
> and the first title is "title1", how do i refer to it so that i can
> connect a signal?
Create your callback on the "click_column" signal like so:
gtk_signal_connect (GTK_OBJECT (clist), "click_column",
GTK_SIGNAL_FUNC(on_title_click_column),
NULL);
Matthew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]