The original use for the zoom button was to rearrange applications,
but that was extremely unintuitive, so during the last panel rewrite
that was never reimplemented. The idea was to use it for a full-screen
mode similar to what you're suggesting, but plans for that were never
finalized.

If you can implement this full-screen mode in a way that's compatible
with an otherwise unmodified PicoGUI distribution, you could add code
to panel_zoom_callback() in widget/panel.c and send me a patch for
inclusion in the svn repository.

If you don't want to modify the included panel widget, you could create
a custom panel widget using widget/panel.c as a model. The panel widget
is only responsible for managing the buttons and title placed on the panel,
the resizing functionality is all provided by the 'panelbar' container widget.

--Micah

On Fri, Mar 26, 2004 at 02:54:36PM -0800, Raghu Ram Murthy wrote:
> Hi all,
> 
> There is a zoom button in the panel's panel bar. But
> no action is wriiten for that. I want to use it as
> fullscreen button. When it is clicked the window
> should be displayed in the full screen without any
> panelbar and any toolbars. And when ESC is pressed it
> should come to normal state with same windows opened
> before it is full screened. What should I do?
> 
> I am planning to create new div tree for full screen
> and destroying it when fullscreen is closed.
> 
> Any comments?
> 
> =====
> -----------------------------------------
> P.Raghu Ram Murthy, M-tech (Computer Science),
> Room No - 245,
> Brahmaputra Hostel,
> Indian Institute of Technology Madras,
> Chennai - 36.
> 
> Mobile:  ? (0) 98402 81944
> ------------------------------------------ 
> 
> ---------------------------------
> Trouble with windows? Re boot.... 
> Trouble with Linux? Be root....
> ---------------------------------
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on time.
> http://taxes.yahoo.com/filing.html
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Pgui-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/pgui-devel

-- 
Only you can prevent creeping featurism!


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to