On Fri, Jan 04, 2008 at 07:36:40PM +0530, Ajax John wrote: > Hi All, > > I'm new to Gtk app. develoment. and trying to develop small applications. > I have 2 queries. > 1)By default the shape of GtkButton is rectangle. > I want to change it's shape to some other shape, say round rectangle. > How to do that in Gtk?
The best way is infact to develop your own widget. This is not to hard. I can send you some exaples if you like. A push button should look like a push button. What kind of buttons would you like to put together? > 2) I want to change the color of my Button to some color. > I guess I have to create my custom style and assign it to my button... > How to do that? Well. If you make your own widget this is no problem. > > Regards, > Ajax. > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list -- Göran Hasse ---------------------------------------------------------------- Göran Hasse email: [EMAIL PROTECTED] Tel: 08-6949270 Raditex AB http://www.raditex.se Planiavägen 15, 1tr Mob: 070-5530148 131 34 NACKA, SWEDEN OrgNr: 556240-0589 VAT: SE556240058901 ------------------------------------------------------------------ _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list