Mmmm... what I need is a place to put some informations about the image
which is currently being displayed by a GtkImage in the main HildonWindow.
With the version of mrawviewer currently in extras-testing I did that by
painting directly over the image itself, as it is always resized to fit the
scr
On Fri, 2009-11-13 at 10:44 +0100, Hamalainen Kimmo (Nokia-D/Helsinki)
wrote:
> On Thu, 2009-11-12 at 17:21 +0100, ext Luca Donaggio wrote:
> > Thanks a lot Kimmo!
> >
> > At least, now I know what's happening!
> > Now, what to do to solve the problem? If HildonAppMenu behaves like
> > this by des
On Thu, 2009-11-12 at 17:21 +0100, ext Luca Donaggio wrote:
> Thanks a lot Kimmo!
>
> At least, now I know what's happening!
> Now, what to do to solve the problem? If HildonAppMenu behaves like
> this by design (and if the bug regards only the fact that it is first
> mapped and then unmapped whil
Thanks a lot Kimmo!
At least, now I know what's happening!
Now, what to do to solve the problem? If HildonAppMenu behaves like this by
design (and if the bug regards only the fact that it is first mapped and
then unmapped while it shouldn't be mapped at all), is there a way to create
a floating to
On Wed, 2009-11-11 at 08:28 +0100, Hamalainen Kimmo (Nokia-D/Helsinki)
wrote:
> On Tue, 2009-11-10 at 16:15 +0100, ext Luca Donaggio wrote:
> > I thought it was somewhat related to transparency because doing this:
> >
> > gdk_window_reparent(win->window,gtk_widget_get_window(GTK_WIDGET
> > (mainwi
On Tue, 2009-11-10 at 16:15 +0100, ext Luca Donaggio wrote:
> I thought it was somewhat related to transparency because doing this:
>
> gdk_window_reparent(win->window,gtk_widget_get_window(GTK_WIDGET
> (mainwin)),300,200);
>
> makes the HildonAppMenu work again at the price of loosing the
> tran
I thought it was somewhat related to transparency because doing this:
gdk_window_reparent(win->window,gtk_widget_get_window(GTK_WIDGET
(mainwin)),300,200);
makes the HildonAppMenu work again at the price of loosing the transparency
effect (modified code attached).
--
Luca Donaggio
2009/11/10 Ki
On Tue, 2009-11-10 at 14:12 +0100, ext Luca Donaggio wrote:
> Hi Kimmo,
>
> I'm sorry to bother you again, but the problem I'm facing is not how
> to get a transparent window, but that if I create such a window the
> HildonAppMenu of its parent HildonWindow doesn't show anymore.
> I (slightly) mod
Hi Kimmo,
I'm sorry to bother you again, but the problem I'm facing is not how to get
a transparent window, but that if I create such a window the HildonAppMenu
of its parent HildonWindow doesn't show anymore.
I (slightly) modified your code to exemplify my situation.
Thanks for your time,
Luca
Hi,
Sorry, took some time, I was busy with some bug fixing... I started
with the Home applet example and managed to whip up a small example
(attached) that shows a transparent pop-up window.
-Kimmo
/*
gcc -Wall `pkg-config gtk+-2.0 --cflags --libs` rgba-window-example.c -o rgba-window-example
2009/11/3 Luca Donaggio
> 2009/11/3 Kimmo Hämäläinen
>
> On Tue, 2009-11-03 at 15:06 +0100, ext Luca Donaggio wrote:
>> > I'm still banging my head against a wall with this:
>> >
>> > why without reparenting the popup undecorated window to the main app
>> > window it becomes transparent but the
2009/11/3 Kimmo Hämäläinen
> On Tue, 2009-11-03 at 15:06 +0100, ext Luca Donaggio wrote:
> > I'm still banging my head against a wall with this:
> >
> > why without reparenting the popup undecorated window to the main app
> > window it becomes transparent but the app menu doesn't work (it starts
On Tue, 2009-11-03 at 15:06 +0100, ext Luca Donaggio wrote:
> I'm still banging my head against a wall with this:
>
> why without reparenting the popup undecorated window to the main app
> window it becomes transparent but the app menu doesn't work (it starts
> to be drawn but immediately disappea
I'm still banging my head against a wall with this:
why without reparenting the popup undecorated window to the main app window
it becomes transparent but the app menu doesn't work (it starts to be drawn
but immediately disappears) and viceversa?
The final version of my function is this:
void cr
Thanks Kimmo, somehow I haven't seen it in the manual page!
But... I found it's not necessary: the thing which was preventing the
transparency effect to work as expected was this instruction:
gdk_window_reparent(myapp->imgparamwin->window,gtk_widget_get_window(GTK_WIDGET
(myapp->mainwin)),offset,o
On Fri, 2009-10-30 at 14:36 +0100, ext Luca Donaggio wrote:
> Thanks Conny and Kimmo,
>
> here are my progresses:
>
> I'm able to draw to the GtkWindow using Cairo only if I do it in a
> callback attached to the expose event of the window itself, but I'm
> still getting no transparency!
> I'm sur
Hi Luca,
have a look at this file:
https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/conboy/src/fullscreenmanager.c?revision=517&root=conboy&view=markup
The creation of the overlay window is done in fullscreen_ui_create() and
the cairo drawing on the window is in on_expose_event().
This
Thanks Conny and Kimmo,
here are my progresses:
I'm able to draw to the GtkWindow using Cairo only if I do it in a callback
attached to the expose event of the window itself, but I'm still getting no
transparency!
I'm sure this is the problem with the window manager that Kimmo pointed out,
but I
On Thu, 2009-10-29 at 17:29 +0100, ext Luca Donaggio wrote:
> I'm trying to create a transparent, non-decorated popup GtkWindow on
> top af my app HildonWindow and draw something on its underlying
> GdkWindow object using cairo.
> All I was able to obtain so far is a black (or whatever is the
> bac
Hi Luca,
create a window like this and then use cairo to draw on it:
GtkWidget *overlay = gtk_window_new(GTK_WINDOW_POPUP);
gtk_window_set_decorated(GTK_WINDOW(overlay), FALSE);
gtk_widget_set_size_request(overlay, 100 100);
gtk_window_set_resizable(GTK_WINDOW(overlay), FALSE);
GdkScreen *screen
I'm trying to create a transparent, non-decorated popup GtkWindow on top af
my app HildonWindow and draw something on its underlying GdkWindow object
using cairo.
All I was able to obtain so far is a black (or whatever is the background
colour of the selected theme) rectangle -ie it's not transpare
21 matches
Mail list logo