GtkPaned Question
- From: Kevin DeKorte <kdekorte gmail com>
- To: gtk-app-devel-list gnome org
- Subject: GtkPaned Question
- Date: Wed, 12 Nov 2008 19:15:22 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a GtkPaned object that I have added two children too using
paned = gtk_vpaned_new();
' child1 is a vbox with a couple of items in it
' child2 is a vbox with a couple of items in it
gtk_paned_pack1(paned,child1,TRUE,TRUE);
gtk_paned_pack2(paned,child2,TRUE,TRUE);
Later I want to make the child1 not able to resize.
I have tried
g_object_set(G_OBJECT(gtk_paned_get_child1(paned)),"resize",FALSE,NULL);
And that doesn't seem to alter the object as I can still resize the
child1. I even tried going back to the original creation of the paned
object and set resize to FALSE for child1 and I can still resize that pane.
Basically for one state I want the first pane to be flexible with resize
(and this works fine) and then for another state I want the first pane
to be non-resizeable, but have it be the size of the child within it,
but I want the second pane to be resizeable.
Any ideas what I am doing wrong?
Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Remi - http://enigmail.mozdev.org
iEYEARECAAYFAkkbjboACgkQ6w2kMH0L1dFfYgCfTPSbKnPHIUOiubbMLdUz0TEH
0noAnjrqP0eyM/wX3B1wvGLipZKVffCO
=BcUD
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]