[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: how the change the shape and color of Gtk Button
- From: G Hasse <gh raditex se>
- To: Ajax John <ajaxjohn gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: how the change the shape and color of Gtk Button
- Date: Fri, 4 Jan 2008 15:22:46 +0100
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: gh raditex se 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
------------------------------------------------------------------
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]