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 Fri 31 Oct 2014, 08:53
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 Posts_count_1  
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5039
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:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0509s ][ Queries: 12 (0.0145s) ][ GZIP on ]