Re: "changed" signal



muppet wrote:


Indeed, because "changed" is one of Gtk2::Adjustment's signals, not a Gtk2::Scale's.

Also, the "changed" signal means that the properties of the adjustment have changed -- e.g. the max value, the min


yes, actually I'm trying to catch the "resize-window" event, i.e., when the user resizes the window, the scrollbar is also resized and its page_size changes... anyway, I think I'm going back to inherit my custom widget from ScrolledWindow (which I got working) and not reinvent that from scratch just to insert Rulers nicely..

In my custom widget I have an image, which I make on the fly. I also can't seem to make the widget support flexible resizing of the window, this also works in ScrolledWindow.

Ari




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