Mercurial > audlegacy-plugins
comparison src/skins/ui_skinned_button.c @ 2860:2e081c64a529
transform UiSkinnedTextbox into windowless widget
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sun, 03 Aug 2008 15:28:02 +0200 |
parents | 312ba23cbb87 |
children | 7c7471554d88 |
comparison
equal
deleted
inserted
replaced
2859:312ba23cbb87 | 2860:2e081c64a529 |
---|---|
186 | 186 |
187 attributes.x = widget->allocation.x; | 187 attributes.x = widget->allocation.x; |
188 attributes.y = widget->allocation.y; | 188 attributes.y = widget->allocation.y; |
189 attributes.width = widget->allocation.width; | 189 attributes.width = widget->allocation.width; |
190 attributes.height = widget->allocation.height; | 190 attributes.height = widget->allocation.height; |
191 attributes.window_type = GDK_INPUT_ONLY; | 191 attributes.wclass = GDK_INPUT_ONLY; |
192 attributes.window_type = GDK_WINDOW_CHILD; | |
192 attributes.event_mask = gtk_widget_get_events(widget); | 193 attributes.event_mask = gtk_widget_get_events(widget); |
193 attributes.event_mask |= GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK; | 194 attributes.event_mask |= GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK; |
194 | 195 |
195 attributes.wclass = GDK_INPUT_ONLY; | 196 attributes.wclass = GDK_INPUT_ONLY; |
196 attributes_mask = GDK_WA_X | GDK_WA_Y; | 197 attributes_mask = GDK_WA_X | GDK_WA_Y; |