child-displacement-... style properties and gtk_widget_set_state
- From: John Boncek <jboncek Hunter COM>
- To: gtk-app-devel-list gnome org
- Subject: child-displacement-... style properties and gtk_widget_set_state
- Date: Mon, 31 Jan 2011 07:49:11 -0800 (PST)
Using the "child-displacement-x" and "child-displacement-y" style properties
of GtkButton in my gtkrc file works when a button is clicked with the mouse
but doesn't seem to do anything (the button content isn't displaced) when I
use:
gtk_widget_set_state(m_pButton, GTK_STATE_ACTIVE);
to set the button state, even followed by gdk_window_process_updates. The
button image (from the gtkrc file via engine "pixmap") changes in both cases
indicating that the button is actually being set to active. Is there
something else I need to do to cause gtk_widget_set_state to have the same
effect as clicking the button?
--
View this message in context:
http://old.nabble.com/child-displacement-...-style-properties-and-gtk_widget_set_state-tp30807757p30807757.html
Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]