Problem with a button in a gtk_dialog
- From: Joergen Scheibengruber <Joergen Scheibengruber informatik uni-ulm de>
- To: gtk-app-devel-list gnome org
- Subject: Problem with a button in a gtk_dialog
- Date: 07 Jul 2002 14:51:14 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]