Re: gtkmm-list Digest, Vol 26, Issue 17



Hi,
using signal_response like this:
opt_padcolour_diag->signal_response().connect(sigc::ptr_fun(on_opt_padcolour_diag_destroy) );

gives me this error:

/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: In member function 'typename sigc::adaptor_functor<T_functor>::deduce_result_type<T_arg1, void, void, void, void, void, void>::type sigc::adaptor_functor<T_functor>::operator()(T_arg1) const [with T_arg1 = const int&, T_functor = sigc::pointer_functor0<void>]':
/usr/include/sigc++-2.0/sigc++/functors/slot.h:137:   instantiated from 'static T_return sigc::internal::slot_call1<T_functor, T_return, T_arg1>::call_it(sigc::internal::slot_rep*, typename sigc::type_trait<T_arg3>::take) [with T_functor = sigc::pointer_functor0<void>, T_return = void, T_arg1 = int]'
/usr/include/sigc++-2.0/sigc++/functors/slot.h:144:   instantiated from 'static void* (* sigc::internal::slot_call1<T_functor, T_return, T_arg1>::address())(void*) [with T_functor = sigc::pointer_functor0<void>, T_return = void, T_arg1 = int]'
/usr/include/sigc++-2.0/sigc++/functors/slot.h:529:   instantiated from 'sigc::slot1<T_return, T_arg1>::slot1(const T_functor&) [with T_functor = sigc::pointer_functor0<void>, T_return = void, T_arg1 = int]'
/usr/include/sigc++-2.0/sigc++/functors/slot.h:1157:   instantiated from 'sigc::slot<T_return, T_arg1, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::slot(const T_functor&) [with T_functor = sigc::pointer_functor0<void>, T_return = void, T_arg1 = int]'
main.cc:178:   instantiated from here
/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:84: error: no match for call to '(sigc::pointer_functor0<void>) (const int&)'
/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:76: note: candidates are: T_return sigc::pointer_functor0<T_return>::operator()() const [with T_return = void]/usr/include/sigc++- 2.0/sigc++/adaptors/adaptor_trait.h:84: error: return-statement with a value, in function returning 'void'
make: *** [main.o] Error 1

Please help.. thanks!
p.s. where can i find signal names like "signal_clicked"? can i use glade to add signals? Thanks.

On 6/11/06, gtkmm-list-request gnome org <gtkmm-list-request gnome org > wrote:
Send gtkmm-list mailing list submissions to
         gtkmm-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.gnome.org/mailman/listinfo/gtkmm-list
or, via email, send a message with subject or body 'help' to
        gtkmm-list-request gnome org

You can reach the person managing the list at
        gtkmm-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gtkmm-list digest..."


Today's Topics:

   1. Re: Website update? (Jonathon Jongsma)
   2. Re: Website update? (Murray Cumming)
   3. Re: Website update? (Jan Pfeifer)
   4. Signal emitted when Gtk::ColourSelectionDialog's close button
      is        clicked (weijie)
   5. Re: Signal emitted when Gtk::ColourSelectionDialog's close
      button    is clicked (Murray Cumming)


----------------------------------------------------------------------

Message: 1
Date: Fri, 9 Jun 2006 11:23:23 -0500
From: "Jonathon Jongsma" < jonathon jongsma gmail com>
Subject: Re: Website update?
To: "Murray Cumming" <murrayc murrayc com>
Cc: gtkmm-list < gtkmm-list gnome org>
Message-ID:
        <ee2fcb570606090923icd105fcuad56b54a72ce09e2 mail gmail com >
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 6/7/06, Jonathon Jongsma <jonathon jongsma gmail com> wrote:
> Well, I've finally gotten around to doing an implementation of a new
> website for gtkmm.  For the most part, the content has not been
> changed (there were a few things that I added and a few things that I
> shuffled around, but nothing too significant).  So it's essentially
> just a facelift.

Since I've only gotten minor suggestions and positive comments, should
I assume that the general design is acceptable to everybody?  I'd like
to move forward on getting a new site pushed out soon if possible.  If
anybody has any serious problems with the proposal, speak up soon.
Feel free to be critical of the design if you have concerns about it,
but try to limit your criticisms to the design and organization of the
proposal and not the content of the website.  After a new design is
implemented, we can try to tackle updating the content if necessary.
Murray, I'd also really appreciate your thoughts and suggestions as
the maintainer of gtkmm.

Thanks,
Jonner


------------------------------

Message: 2
Date: Fri, 09 Jun 2006 19:16:56 +0200
From: Murray Cumming <murrayc murrayc com>
Subject: Re: Website update?
To: Jonathon Jongsma <jonathon jongsma gmail com>
Cc: gtkmm-list <gtkmm-list gnome org>
Message-ID: <1149873416 8058 11 camel localhost localdomain>
Content-Type: text/plain

On Fri, 2006-06-09 at 11:23 -0500, Jonathon Jongsma wrote:
> On 6/7/06, Jonathon Jongsma <jonathon jongsma gmail com> wrote:
> > Well, I've finally gotten around to doing an implementation of a new
> > website for gtkmm.  For the most part, the content has not been
> > changed (there were a few things that I added and a few things that I
> > shuffled around, but nothing too significant).  So it's essentially
> > just a facelift.
>
> Since I've only gotten minor suggestions and positive comments, should
> I assume that the general design is acceptable to everybody?  I'd like
> to move forward on getting a new site pushed out soon if possible.  If
> anybody has any serious problems with the proposal, speak up soon.
> Feel free to be critical of the design if you have concerns about it,
> but try to limit your criticisms to the design and organization of the
> proposal and not the content of the website.  After a new design is
> implemented, we can try to tackle updating the content if necessary.
> Murray, I'd also really appreciate your thoughts and suggestions as
> the maintainer of gtkmm.

Sorry, it was on my todo list.

> The new site is located here:
> http://jonathon.quotidian.org/gtkmm.org/index.shtml
> (be gentle with the server, though.  It's only served on a DSL line
> for now)

It looks generally more up-to-date, though not radically cool.

Some minor points:
0. ", and more" is superfluous necessary in the title.
1. I'd prefer to see "gtkmm" in the title rather than the domain name.
2. We don't need the "What is gtkmm?" title, though that text block is
good.
3. The "Other Resources" title is odd, because I didn't at first see
that the "main" menu items are in a horizontal list at the top. I'm
quite sure that this will lead to people not finding stuff. I like the
idea of making some links obvious (their text could be bigger), but I
don't have a good idea for where to put the secondary stuff.
4. On the other pages (not the first page), the page looks rather plain
- both the left and right hand sides are just black on a white
background. But I don't like the thin lines that we have on the current
site.

I think we need to fix 3 and 4 before making this live.

Many thanks for pushing this.

--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com



------------------------------

Message: 3
Date: Fri, 9 Jun 2006 15:26:47 -0700 (PDT)
From: Jan Pfeifer <pfjan yahoo com br>
Subject: Re: Website update?
To: Jonathon Jongsma <jonathon jongsma gmail com>,      Murray Cumming
        <murrayc murrayc com>
Cc: gtkmm-list < gtkmm-list gnome org>
Message-ID: <20060609222647 54250 qmail web52110 mail yahoo com>
Content-Type: text/plain; charset=us-ascii

hi Jonathon,

I'm new here, so I didn't want to comment on the contents.

But from a normal user perspective, I enjoyed the new design. Not only it's much better than the previous, but also it gives the site with a fresh visual for the next couple of years. Better than that only if you find  someway to put some ajax and make some funky special fx :D

thx a lot for the hard work!

- jan


----- Original Message ----
From: Jonathon Jongsma <jonathon jongsma gmail com>
To: Murray Cumming < murrayc murrayc com>
Cc: gtkmm-list <gtkmm-list gnome org>
Sent: Friday, June 9, 2006 1:23:23 PM
Subject: Re: Website update?

On 6/7/06, Jonathon Jongsma <jonathon jongsma gmail com> wrote:
> Well, I've finally gotten around to doing an implementation of a new
> website for gtkmm.  For the most part, the content has not been
> changed (there were a few things that I added and a few things that I
> shuffled around, but nothing too significant).  So it's essentially
> just a facelift.

Since I've only gotten minor suggestions and positive comments, should
I assume that the general design is acceptable to everybody?  I'd like
to move forward on getting a new site pushed out soon if possible.  If
anybody has any serious problems with the proposal, speak up soon.
Feel free to be critical of the design if you have concerns about it,
but try to limit your criticisms to the design and organization of the
proposal and not the content of the website.  After a new design is
implemented, we can try to tackle updating the content if necessary.
Murray, I'd also really appreciate your thoughts and suggestions as
the maintainer of gtkmm.

Thanks,
Jonner
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list





------------------------------

Message: 4
Date: Sat, 10 Jun 2006 10:59:56 +0800
From: weijie <weijie90 gmail com>
Subject: Signal emitted when Gtk::ColourSelectionDialog's close button
        is      clicked
To: gtkmm-list gnome org
Message-ID: <1149908397 6429 6 camel localhost>
Content-Type: text/plain

Hi,
What is the signal emitted when a Gtk::ColourSelectionDialog's close
button is clicked? i am using libglademm.

For example, if i want to connect a signal handler to a button's
signal_clicked() event, i use this:

"exitbtn->signal_clicked().connect( sigc::ptr_fun(on_exitbtn_clicked) );"

So which signal should i use for a colour selection dialog? the docs are
not helpful here.

can anyone please point me to a site containing all the signals emitted,
espically in the context of libglademm? thanks!

wei jie



------------------------------

Message: 5
Date: Sat, 10 Jun 2006 10:18:07 +0200
From: Murray Cumming <murrayc murrayc com>
Subject: Re: Signal emitted when Gtk::ColourSelectionDialog's close
        button  is clicked
To: weijie <weijie90 gmail com>
Cc: gtkmm-list gnome org
Message-ID: < 1149927487 5779 7 camel localhost localdomain>
Content-Type: text/plain

On Sat, 2006-06-10 at 10:59 +0800, weijie wrote:
> Hi,
> What is the signal emitted when a Gtk::ColourSelectionDialog's close
> button is clicked? i am using libglademm.
>
> For example, if i want to connect a signal handler to a button's
> signal_clicked() event, i use this:
>
> "exitbtn->signal_clicked().connect( sigc::ptr_fun(on_exitbtn_clicked) );"
>
> So which signal should i use for a colour selection dialog? the docs are
> not helpful here.
>
> can anyone please point me to a site containing all the signals emitted,
> espically in the context of libglademm? thanks!
>
> wei jie

I guess you would want to handle Gtk::Dialog::signal_response. Or you
could use Gtk::Dialog::run(), which blocks until the dialog has been
closed.

--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com



------------------------------

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


End of gtkmm-list Digest, Vol 26, Issue 17
******************************************



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