Re: paned property_min_position and property_max_position



On 29/11/2012 20:04, Murray Cumming wrote:
> On Thu, 2012-11-29 at 18:17 +0800, Chow Loong Jin wrote:
>> On 29/11/2012 17:58, Giuseppe Penone wrote:
>>> Hi,
>>> I'm on gtkmm 3.4.0, I would need to limit the positions of the paned with a
>>> minimum and maximum value.
>>> I see that there are the properties min_position and max_position but they seem
>>> to be read only.
>>> Is there a way to change those values?
>>> Thanks and best regards,
>>> Giuseppe.
>>
>> Judging by this[1], nope. I see some signals you could hook onto in Gtk+ though.
>> But the signal_*() functions don't seem to exist in Gtk::Paned.
>>
>> [1] http://developer.gnome.org/gtk/stable/GtkPaned.html
> 
> http://developer.gnome.org/gtk3/stable/GtkPaned.html
> is a better link.
> 
> These are all "action" or "keybinding" signals that should not be used
> by applications in either C or C++. We intentionally do not wrap them:
> http://git.gnome.org/browse/gtkmm/tree/gtk/src/paned.hg#n95

What are "action" and "keybinding" signals and why shouldn't they be used in
applications?

-- 
Kind regards,
Loong Jin

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]