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, 07:14
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
GtkDialog - tips
Post new topic   Reply to topic View previous topic :: View next topic
Page 63 of 64 [955 Posts]   Goto page: Previous 1, 2, 3, ..., 61, 62, 63, 64 Next
Author Message
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Tue 29 Apr 2014, 11:42    Post subject:  

JWM can be set by placing this in /root/.jwm/jwmrc-personal-
Code:
<Group>
<Name>on-top</Name>
<Class>on-top</Class>
<Option>layer:12</Option>
</Group>


Openbox set by openbox rc.xml "layer" property.
http://openbox.org/wiki/Help:Applications#Graphically_managing_per-application_settings

Cheers,
s
Back to top
View user's profile Send private message 
neerajkolte


Joined: 10 Feb 2014
Posts: 297
Location: Pune, India.

PostPosted: Sat 24 May 2014, 03:05    Post subject:  

Nice thread. Just bookmarking for reference.
_________________
"One of my most productive days was throwing away 1000 lines of code."— Ken Thompson
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 1835
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sat 24 May 2014, 04:44    Post subject:  

Bonjour,
JWM Configuration web page wrote:
layer
The layer of the tray. The default is above. Valid values are below, normal, and above.

So, depending on the JWM version you are running:
Code:
<Group>
<Name>on-top</Name>
<Class>on-top</Class>
<Option>layer:12</Option>
</Group>

... is now deprecated and doesn't work properly.
It should be:
Code:
<Group>
<Name>on-top</Name>
<Class>on-top</Class>
<Option>layer:above</Option>
</Group>


Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
puppy_apprentice


Joined: 07 Feb 2012
Posts: 135

PostPosted: Sun 25 May 2014, 15:33    Post subject:  

I want to make buttons UP and DOWN to move item on the list/tree gadget one place up or down. Is there built-in function for this task or i will have make own bash function for this? Maybe someone has code snippet for this?
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 432
Location: Japan

PostPosted: Mon 26 May 2014, 20:04    Post subject:  

puppy_apprentice wrote:
I want to make buttons UP and DOWN to move item on the list/tree gadget one place up or down. Is there built-in function for this task or i will have make own bash function for this? Maybe someone has code snippet for this?
Zigbert provides a code snippet on the first page of this thread ("The next script shows how to move items in list by drag'n drop"). Not really buttons and I haven't tested, but maybe a start.
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Tue 27 May 2014, 01:55    Post subject:  

pBurn use buttons to move items up/down in a <tree>.
/usr/local/pburn/func_gui - line 351
Code:
     <button tooltip-text=\" $(gettext 'Move item UP') \">
      <variable>MOVE_UP</variable>
      <input file stock=\"gtk-go-up\"></input>
      <visible>$VISIBLE_MOVE_UPDOWN</visible>
      <action>DIRECTION=up; . $APPDIR/func -move_up_down; . $APPDIR/func -info_burn</action>
      <action>refresh:BURNLIST</action>
     </button>
function -move_up_down is found in /usr/local/pburn/func - line 424

In the pMusic playqueue, you can move items by drag'n'drop.
/usr/local/pmusic/gui_playlist - line 27-29
Code:
 <action signal="button-press-event">grep -F "$PLAYLIST" '$WORKDIR'/playlist > '$WORKDIR'/PLAYLIST_PRESS_EVENT; [ "$PLAYLIST" ] && . '$APPDIR'/menu_playqueue</action>
 <action signal="button-release-event">. '$APPDIR'/func -playlist_move</action> ##this will play the track as well
 <action signal="button-release-event">refresh:PLAYLIST</action>
The -playlist_move function is found in /usr/local/pmusic/func - line 479
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
puppy_apprentice


Joined: 07 Feb 2012
Posts: 135

PostPosted: Tue 27 May 2014, 13:38    Post subject:  

thx for both of you i will check this
Back to top
View user's profile Send private message 
titi89

Joined: 02 Apr 2010
Posts: 17

PostPosted: Wed 02 Jul 2014, 09:48    Post subject: color cell tree  

Hello, saddened for my English it is possible to color a cell(unit) in a tree?
And if yes how?
Thank you
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Fri 04 Jul 2014, 09:06    Post subject:  

I don't think that is possible inside the <tree> widget.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
titi89

Joined: 02 Apr 2010
Posts: 17

PostPosted: Fri 04 Jul 2014, 11:36    Post subject:  

ok thank you
Back to top
View user's profile Send private message 
walter leonardo


Joined: 10 Dec 2009
Posts: 232

PostPosted: Sat 12 Jul 2014, 17:24    Post subject: ROhms  

Program to calculate resistors by color codes. Cool
ROhms.tar.gz
Description  Program to calculate resistors by color codes.
gz

 Download 
Filename  ROhms.tar.gz 
Filesize  97.04 KB 
Downloaded  62 Time(s) 
Back to top
View user's profile Send private message 
Scooby

Joined: 03 Mar 2012
Posts: 319

PostPosted: Thu 17 Jul 2014, 15:37    Post subject:    

thanks for very useful gtkdialog tips Exclamation
Back to top
View user's profile Send private message 
mister_electronico


Joined: 20 Jan 2008
Posts: 660
Location: Asturias_ España

PostPosted: Sat 02 Aug 2014, 12:00    Post subject: Gif inside Pixmap  

Hello I was looking for ways to introduce a gif into a pixmap and set the following.

I am not a good programmer so surely anyone can improve.

However this opens possibilities for other things I want to do.

To run the pixmap_gif decompress directory and execute within:

. / pixmap_gif
pixmax_gif.tar.gz
Description 
gz

 Download 
Filename  pixmax_gif.tar.gz 
Filesize  19.01 KB 
Downloaded  30 Time(s) 
Back to top
View user's profile Send private message Yahoo Messenger 
mister_electronico


Joined: 20 Jan 2008
Posts: 660
Location: Asturias_ España

PostPosted: Sat 02 Aug 2014, 12:07    Post subject: No forget  

Do not forget that if not executed give execute permissions to pixmap_gif and script_01.

Greetings.
Back to top
View user's profile Send private message Yahoo Messenger 
mister_electronico


Joined: 20 Jan 2008
Posts: 660
Location: Asturias_ España

PostPosted: Sat 02 Aug 2014, 15:07    Post subject: Another one  

Another one, this time a Counter.

See you.
counter.tar.gz
Description 
gz

 Download 
Filename  counter.tar.gz 
Filesize  60.64 KB 
Downloaded  28 Time(s) 
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 63 of 64 [955 Posts]   Goto page: Previous 1, 2, 3, ..., 61, 62, 63, 64 Next
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.0970s ][ Queries: 12 (0.0258s) ][ GZIP on ]