[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: Fake pushing a GTK+ button
From:       "danielg RHCE" <danielg () rhce ! us>
Date:       2007-05-23 15:00:15
Message-ID: 20070523145859.M49882 () ankylosaur ! com
[Download RAW message or body]

> gtk_button_clicked() emits the clicked signal on a button.
> 
> However, unless it is unavoidable, I would submit that thinking about
> related actions in terms of the buttons to which they're connected is
> seldom useful.  You have an action, "refresh directory listing."  It 
> is invoked by the refresh button.  Could you not just make a change 
> of directory also invoke this action?
> 
> Granted, there may be situations where this isn't practical.  But if 
> you can think in this way, I think it will lead to a better program structure.
>

I'm trying mostly to just get back in the books. It's been a few years since
I've been inside C and I'm doing the 1) make it work THEN 2) make it pretty
theory until I can start thinking on my own.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic