|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Custom signal emissionI want to run on_size_allocate() by emiting the corresponding signal. how to do that ? thanks in advance, Mauro. ____________________________________________________________________________________ Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Custom signal emissionIf i understand you correctly, you need to run
someWidget.signal_size_allocate().emit(p); where someWidget is an instance of your widget and p is a Gtk::Allocation object. 2009/10/15, Renato Merli <nmc_br@...>: > > I want to run on_size_allocate() by emiting the corresponding signal. how > to do that ? > > > thanks in advance, Mauro. > > > > > ____________________________________________________________________________________ > Veja quais são os assuntos do momento no Yahoo! +Buscados > http://br.maisbuscados.yahoo.com > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@... > http://mail.gnome.org/mailman/listinfo/gtkmm-list > gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Custom signal emission--- Em qui, 15/10/09, Галымжан Кожаев <kozhayev@...> escreveu:
> If i understand you correctly, you > need to run > someWidget.signal_size_allocate().emit(p); where someWidget > is an > instance of your widget and p is a Gtk::Allocation object. When i try what you told, i get the following error message: 'class Glib::SignalProxy1<void, Gtk::Allocation&>' has no member named 'emit' > > I want to run on_size_allocate() by emiting the > corresponding signal. how > > to do that ? > > > > > > > ____________________________________________________________________________________ > > Veja quais são os assuntos do momento no Yahoo! > +Buscados > > http://br.maisbuscados.yahoo.com > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list@... > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@... > http://mail.gnome.org/mailman/listinfo/gtkmm-list > ____________________________________________________________________________________ Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Custom signal emissionOn Thu, 2009-10-15 at 17:38 -0700, Renato Merli wrote:
> --- Em qui, 15/10/09, Галымжан Кожаев <kozhayev@...> escreveu: > > > If i understand you correctly, you > > need to run > > someWidget.signal_size_allocate().emit(p); where someWidget > > is an > > instance of your widget and p is a Gtk::Allocation object. > > > When i try what you told, i get the following error message: > > 'class Glib::SignalProxy1<void, Gtk::Allocation&>' has no member named 'emit' Standard gtkmm signals wrap existing GTK+ signals. They don't offer a way to emit them because this is generaly not a good idea. If you must then you can use the regular C API to emit the underlying C signal. Sometimes there is a C function that emits the specific signal, sometimes doing extra checks. It's generally impossible to say if emitting a particular GTK+ signal is a good idea without knowing more about what you are doing. > > > I want to run on_size_allocate() by emiting the > > corresponding signal. how > > > to do that ? -- murrayc@... www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
| Free embeddable forum powered by Nabble | Forum Help |