Re: [gtk-list] Non-Square buttons
- From: Havoc Pennington <rhp zirx pair com>
- To: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: Re: [gtk-list] Non-Square buttons
- Date: Wed, 12 May 1999 00:04:10 -0400 (EDT)
On Tue, 11 May 1999, Key, Chris wrote:
> Have I missed the documentation, or is it still being 'worked on', but is it
> possible to create and use a rounded button (ie round corners) rather than
> the normal boxy square buttons that are normally created? Thanks, just
> curious.
>
This is determined by the theme the user selects; some themes, for
example, the MacOS theme, have rounded buttons. You should not hard code
it in your program and Gtk deliberately prevents you from doing so.
If you really need to have rounded buttons, your options are to write a
new button widget (99% copied from the existing one probably), or ship a
special theme with your app.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]