The time now is Mon 20 May 2013, 03:33
All times are UTC - 4 |
| Author |
Message |
sunburnt

Joined: 08 Jun 2005 Posts: 4001 Location: Arizona, U.S.A.
|
Posted: Thu 08 Apr 2010, 18:26 Post subject:
HowTo get rid of gtkDialog title bar`s 3 control buttons? |
|
How do you get rid of the 3 buttons on right of the window`s title bar?
I tried these items with no luck:
| Code: | <window no_buttons=\"true\">
<window no_buttons=\"false\">
<window controls=\"false\"> |
The GUI still works, the items above just have no effect.
" decorated=\"false\" " removes the entire window title bar and frame, so you can`t position it.
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Fri 09 Apr 2010, 09:19 Post subject:
|
|
I'm not sure how to do it directly with gtkdialog, but you can set up groups in jwm and define it as "notitle" ... if you still want the title, you can use an hbox formatted however you'd like
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 4001 Location: Arizona, U.S.A.
|
Posted: Fri 09 Apr 2010, 15:25 Post subject:
|
|
Thanks technosaurus; I need the title bar so the user can position it on the screen.
DriveMan is so small that the 3 buttons take up almost all of the title bar`s space.
All the bottom buttons for Rox, mount, settings etc. are now on a popup menu.
Zigbert pointed me to using a TreeBox for a popup menu, but it has 2 problems.
The popup menu and the DriveMan GUI are both in 1 script, clicking DriveMan gets the menu.
But the menu can`t refresh the TableBox on the DriveMan GUI.
It seems that one gtkDialog GUI cannot interact with another one even if they`re in the same script.
The other problem is the TreeBox has a big blank space at the left of the entries.
It was not like this, and now it`s this way and I can`t figure out why it`s doing it.
| Description |
|
| Filesize |
4.83 KB |
| Viewed |
349 Time(s) |

|
|
|
Back to top
|
|
 |
|
|
|
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.0373s ][ Queries: 12 (0.0045s) ][ GZIP on ] |