I'm trying to find why I can't change the prelight foreground color of a
GtkLabel which is inside a GtkEventBox.
I'd first like to point out that the fg[NORMAL] and font_name fields work
correctly for this gtklabel. It is only the hover over event where I'm
having trouble setting the color (or PRE
I've looked up but can't find how I leave focus on an applet or GtkWidget. When I click a button on
a widget, there's a rectangle that surrunds the whole applet. Is there a C call that leaves the
focus of the window or widget?
Craig.
___
gtk-app-devel
Got it working. I made an event box for each button and hid and showed each one when needed. Thanks
for your help earlier.
craig.
Craig Harding wrote:
Sorry for the delay on this, but I'm still in exams. :) When I add both
GtkImages to the applet, and run the program I get the foll
only contain one widget at a time; it already contains a
widget of type GtkImage
-
When the gtk_widget_hide and gtk_widget_show functions are called, the button is hidden, but when
the other button is supposed to show, it doesn't.
Craig.
Yury Aliaev wrote:
Craig Harding scripsit:
Ok,
atic gboolean on_play_button_press (GtkWidget *event_box,GdkEventButton
*event,gpointer data) {
// do show/hide stuff here? how do I do it?
}
--
thanks for any help,
craig.
Yury Aliaev wrote:
Craig Harding scripsit:
Hi, I'm trying to change an image with another when I cl
click on the now changed play button (cause I want the pause button to show)
but this does not work. This is the problem I'm facing.
Thanks for you help previously too..
Craig.
Tristan Van Berkom wrote:
Craig Harding wrote:
Hi, I'm trying to change an image with another when I click o
Hi, I'm trying to change an image with another when I click on my applet button, but it doesn't
work, can anyone help me out?
CODE:
play_button = gtk_image_new_from_file ("/usr/local/pixmaps/play.png");
pause_button = gtk_image_new_from_file("/usr/local/pixmaps/pause.png");
gtk_widget_ref