Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 05:34
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Xwin. + gtkdialog function library.
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: Sat 12 Jun 2010, 11:00    Post subject:  Xwin. + gtkdialog function library.  

This is a first draft of a set of common functions for working with GUIs.
The function library`s help (-h):
### lib_x-gtkdialog ### List of functions:
# gtkinfo: Get info on all gtkdialog GUIs running.
# Usage: gtkinfo ## Returns: $TITLE, $ID, $X, $Y, $W, $H
# guiinfo: Get info on specified GUI.
# Usage: guiinfo (Xwin.Title) ## Returns: $TITLE, $ID, $X, $Y, $W, $H
# scrnres: Get screen resolution.
# Usage: scrnres ## Returns: $sW, $sH
# xtitle: Search for Title of running Xwin. GUI.
# Usage: xtitle (Partial or Full Xwin. Title) ## Returns: $TITLE
# gtktitle: Search for Title of running gtkdialog GUI.
# Usage: gtktitle (Partial or Full gtkdialog Title) ## Returns: $TITLE
# over: Show child GUI over parent GUI position. ## Returns: $X, $Y
# Usage: over (Parent Xwin.Title) (Child W) (Child H) [offX] [offY]
# dock: Get docked child GUIs position.
# Usage: dock (Parent Xwin.Title) (Child W) (Child H) ## Returns: $X, $Y
## Screen docking positions for GUI. Commands:
# topleft, top, topright, left, center, right, bottomleft, bottom, bottomright.
# Usage: scrndock (Command) (Child W) (Child H) ## Returns: $X, $Y

I couldn`t think of any more functions to add, suggestions?

There`s a library Demo. file: lib_x-gtkdialog.demo
lib_x-gtkdialog_b1.zip
Description  Unzip the two files into: /root/my-applications/bin
zip

 Download 
Filename  lib_x-gtkdialog_b1.zip 
Filesize  4.17 KB 
Downloaded  183 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0362s ][ Queries: 13 (0.0035s) ][ GZIP on ]