Re: GtkTreeView column resizing event
- From: Olexiy Avramchenko <ath beast stu cn ua>
- To: ginxd btopenworld com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkTreeView column resizing event
- Date: Tue, 17 Sep 2002 18:28:51 +0300
ginxd btopenworld com wrote:
Someone MUST have done this. I can't believe no one has or would want to do this. I did it in Gtk1.2 and
can't see how it is done in Gtk2
Ps - the column changed event doesn't notify me of columns changing size.
Hello,
I've gtk+-2.0.6 and it works fine:
---
static void resizing(GtkTreeViewColumn *column)
{
printf("got \"notify::width\" from %p, width == %d\n", column,
column->width);
}
void somewhere_in_code(...)
{
GtkTreeViewColumn *column;
/* some lines skipped */
g_signal_connect(
(GObject*)column,
"notify::width",
G_CALLBACK(resizing),
NULL
);
/* some lines skipped */
}
---
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]