Re: Problem with a button in a gtk_dialog



Jorgen

Can you send me a screenshot of the problem with the theme/dialog
directly to my mailbox (fourdan xfce org) ?

Thanks,

Cheers,
Olivier.

On Sun, 2002-07-07 at 14:51, Joergen Scheibengruber wrote:
Hi!

I'm having a little problem:

What i want is a gtk_dialog with 2 buttons. One of them is "Cancel" the
other one "Start Recording". Both should have icons, the recording
button should have the GNOME_STOCK_MIC icon.

so i did gtk_dialog_new_with_buttons() using GTK_STOCK_CANCEL and
gtk_dialog_add_action_widget() with the selfmade recording-button (a
button with a box inside cotaining the pixmap and the label).

First everything seemed just fine. But when I tried several themes, and
the xfce-engine draws the button larger than "normal" buttons. I think
there is some problem with the "focus-frame" for the button.

Maybe this is a bug in the xfce-theme-engine, but anyways does someone
know how to work-around this issue? Or maybe I'm doing something wrong.
I tried to add my own stock-icons and to use them instead of creating a
own button, but in this case the button in the dialog only displays the
stock_id as the label and no icon.

Thanks for your help,
Jörgen 



_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

-- 
Olivier               <fourdan xfce org>            http://www.xfce.org
-----------------------------------------------------------------------
XFce is a lightweight  desktop  environment  for  various *NIX systems. 
Designed for productivity,  it loads  and  executes  applications fast,
while conserving  system resources. XFce is all free software, released
under GNU General Public License.    Available from http://www.xfce.org




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