Re: [gtkmm] Variable maps and spin buttons
- From: Alberto Paro <alberto paro homeunix org>
- To: Robert Zeh <rzeh efs-us com>
- Cc: gtkmm <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Variable maps and spin buttons
- Date: Fri, 27 Aug 2004 23:44:38 +0200
Robert Zeh Wrote:
> Has anyone thought of extending the Glade::VariablesMap class to handle
> associations between integers and GtkSpinButtons?
>
Today I've extended Glade::VariablesMap, now it handles:
* Entry,
* ComboTextEntry,
* SpinButton,
* *Scale,
* Calendar
* CheckBox
Tomorrow I'll post the patch on bugzilla.
-----------------
Now I'm managing to connect slot to a widget.
for example:
/** This connect a glade button to a slot
*
* For instance:
* @code
* refXml->connect_button("button", sigc::mem_fun(*this,
&ExampleWindow::on_button_clicked) );
* @endcode
*
* @param name The name of the widget.
* @param pslot The slot to connect to.
*/
void connect_button(const Glib::ustring& name, const
sigc::slot<void,const Gtk::Widget>& slot_);
But I'm studying sigc because I have not understand how to pass a
mem_fun to a function.
Hi,
Alberto
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]