Re: 2 questions more



eduardo fiss beloni wrote:

thanks guy, but according to this link:
http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1Widget.html#a30

Gtk::Widget::grab_default() and
Gtk::Widget::grab_focus() don't take arguments. so I
write:

// causes entry_rule to become the default Widget
entry_rule.grab_default();
// causes entry_rule Gtk::Widget to have the keyboard
// focus for the Gtk::Window it's inside
entry_rule.grab_focus();

and not happened ( as you can see on attached
screenshot ) where the first button keeps default...

I'm must take the Gtk::Entry the default... have you
another idea ???



--- Jason Burchfield <jason burchfield cas-inc com>
escreveu:

eduardo fiss beloni wrote:

hello there again again

well, I'm finalizing my project and I have two
questions more:

How do set the cursor on a Gtk::Entry by defult on
a
Gtk::Window derived ??


Gtk::Widget::grab_default(Gtk::Widget&)

And may I change the application picture theme of
the
upper left corner of a Gtk::Window derived


Gtk::Window::set_icon_from_file(Glib::ustring
filename)

thanks


		
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis.
Instale o discador agora!
http://br.acesso.yahoo.com
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list



Try those...  I think thats what you are looking
for.


Jason

--
Jason Burchfield
CAS, Inc.
(256) 971-6096
Jason.Burchfield at cas-inc dot com




		
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.com


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



--
Jason Burchfield
CAS, Inc.
(256) 971-6096
Jason.Burchfield at cas-inc dot com




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