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

Re: quick question




Try...

   /* --- Set the button so it can default --- */
   GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);

   /* --- Make button the default --- */
   gtk_widget_grab_default (button);

 -Eric



---Chris Mazuc <chucker@hempseed.com> wrote:
>
> I would like to know how to get the default buttons like in the open
> dialog. I found out how to do this once but forgot. I know you have
to set
> it defaultable first (I think, at least this is the way it used to
work)
> and then you make it the default, but I don't know the functions for
> either and can't find them.
> 
> Chris
> 
> 
> -- 
>          To unsubscribe: mail gtk-app-devel-list-request@redhat.com
with 
>                        "unsubscribe" as the Subject.
> 
> 	Mailing list concerns should be mailed to <listmaster@redhat.com>
> 
> 

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



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