Non full screen window with elementary

Sebastian Krzyszkowiak seba.dos1 at gmail.com
Sun Aug 9 17:47:51 CEST 2009


On 8/9/09, Lev M <lvmtime at gmail.com> wrote:
> Hello everyone!
>
> I am trying to make my first GUI app for the Freerunner.
> The app is suppose to be a wrapper for xrandr that will allow screen
> rotation.
> I am currently running SHR unstable and wanted to use Elementary to get
> a nice GUI with no extra dependencies to install.
> But I can't figure out how to create a non full screen window. I want a
> window like the one you get when you press the power button that lets
> you pick between shutdown, suspend etc.
>
> I've tried this:
>     evas_object_resize(main_win, 10, 10);
>     evas_object_move(main_win, 50, 50);
> but it seems to have no effect. I also tried different window types
> (basic, splash, util) but no difference.
>
> Any advice will be appreciated.
> Best regards,
> Lev.

With Illume you can only get dialog window, maximalized horizontally
(but not verticaly). To do it, set window type as DIALOG (1).

-- 
Sebastian Krzyszkowiak
dos



More information about the devel mailing list