Re: [gtkmm] Setting properties of Gtk::Table children.
- From: Murray Cumming <murrayc murrayc com>
- To: Roger Leigh <roger whinlatter uklinux net>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Setting properties of Gtk::Table children.
- Date: Mon, 19 Apr 2004 18:33:49 +0200
On Mon, 2004-04-19 at 18:03, Roger Leigh wrote:
> Gtk::Table_Helpers::Child lets you access the properties of child
> widgets of a Gtk::Table. However, there are only get_ methods.
Yes, and these are accessors for the GtkTableChild struct fields. They
are not properties, because GtkTableChild is not a GObject.
> The Gtk
> docs show these properties
>
> "bottom-attach", "left-attach", "right-attach", "top-attach",
> "x-options", "x-padding" "y-options", "y-padding".
> as being read/write.
I have no idea what a "child property" is here. It might be something to
do with the GtkTableChild struct, or it might be some setting for all
children, or it might be a property that a widget only has when it is
inside this container. I will ask on gtk-list gnome org
> Is there a way to tweak the attach options with
> Gtkmm (I'd like to move the widgets in a table to allow the user to
> customise their positioning). Is there any way to do this?
This might be something that needs new gtkmm API. In the meantime, you
can access the underlying GtkTableChild instance with gobj(), if we can
figure out what you can do and how to do it.
I doubt that it would help you set the GtkTableChild struct fields
directly, because the GtkTable has no way to receive notification of
these changes.
--
Murray Cumming
www.murrayc.com
murrayc murrayc com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]