Gtkdialog Development
New Fileselect Filters
Ah....This is way better!
- Attachments
-
- PetCheck-gtk3.png
- (99.99 KiB) Downloaded 1865 times
- thunor
- Posts: 350
- Joined: Thu 14 Oct 2010, 15:24
- Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
- Contact:
zigbert, 01micko and ttuuxxx: Ok, where to start with this. I'll list the C code for the widgets that support theme icons:
button widget
pixmap widget
menuitem widget
tree widget (the task is handled by a GTK+ function)
I didn't write the icon theme loading code and I haven't particularly researched it either; it was already there and working and all I've done is make it more robust, but the results within the tree widget are identical to the other widgets so I personally wouldn't focus my attention on the code at this point.
I did very recently modify the menuitem theme icon code to show the missing icon image if it wasn't found and I'm now thinking that it'd be better not to show the image within the menu so I intend to change that.
I should point out too that there's more to theme icons than the gtk-stock-id images we are dealing with here. I recently fixed a few examples within the examples folder that were referencing invalid theme icons and I replaced them with a selection that I know are located within /usr/share/icons and /usr/share/mini-icons, so can everybody see icons from those folders?
Updated 2011-08-27 23:41: You should see all of the icons except for gtk-discard which is a known GTK+ "issue".
Here's an example that attempts to show all the stock images by loading them as theme icons:
Regards,
Thunor
button widget
pixmap widget
menuitem widget
tree widget (the task is handled by a GTK+ function)
I didn't write the icon theme loading code and I haven't particularly researched it either; it was already there and working and all I've done is make it more robust, but the results within the tree widget are identical to the other widgets so I personally wouldn't focus my attention on the code at this point.
I did very recently modify the menuitem theme icon code to show the missing icon image if it wasn't found and I'm now thinking that it'd be better not to show the image within the menu so I intend to change that.
I should point out too that there's more to theme icons than the gtk-stock-id images we are dealing with here. I recently fixed a few examples within the examples folder that were referencing invalid theme icons and I replaced them with a selection that I know are located within /usr/share/icons and /usr/share/mini-icons, so can everybody see icons from those folders?
Updated 2011-08-27 23:41: You should see all of the icons except for gtk-discard which is a known GTK+ "issue".
Here's an example that attempts to show all the stock images by loading them as theme icons:
Code: Select all
#!/bin/sh
# NOTE: This example requires at least gtkdialog-0.7.21 (please visit
# http://code.google.com/p/gtkdialog/). Additionally if you are using
# Puppy Linux then you may find that an historical version of gtkdialog
# already exists in /usr/sbin, and if that is the case then you should
# modify the shell variable below to point to the new gtkdialog binary.
GTKDIALOG=gtkdialog
window_width=800
icon_names=(echo $(<icon-names.txt))
type=icon
mnuCreate() {
for ((x = 0; x < 7; x++)); do
echo '<menu label="Menu'$x'" width-request="'$(($window_width/7+1))'">'
for ((y = 0; y < 15; y++)); do
i=$((x*15*2+y*2+1))
echo '<menuitem '$type'="'${icon_names[$i]}'">
<label>""</label>
</menuitem>'
done
echo '</menu>'
done
}
pixCreate() {
for ((x = 0; x < 7; x++)); do
echo '<vbox spacing="0" scrollable="true">'
for ((y = 0; y < 15; y++)); do
i=$((x*15*2+y*2+1))
echo '<pixmap>
<input file '$type'="'${icon_names[$i]}'"></input>
</pixmap>'
done
echo '</vbox>'
done
}
btnCreate() {
for ((x = 0; x < 7; x++)); do
echo '<vbox spacing="0" scrollable="true">'
for ((y = 0; y < 15; y++)); do
i=$((x*15*2+y*2+1))
echo '<button>
<input file '$type'="'${icon_names[$i]}'"></input>
</button>'
done
echo '</vbox>'
done
}
treCreate() {
for ((x = 0; x < 3; x++)); do
echo '<tree>
<label>Name|GTK+</label>'
for ((y = 0; y < 35; y++)); do
i=$((x*35*2+y*2+1))
echo '<item '$type'="'${icon_names[$i]}'">"'${icon_names[$i]}'|'
if [ ${icon_names[$(($i+1))]} != 0 ]; then
echo ${icon_names[$(($i+1))]}
fi
echo '"</item>'
done
echo '</tree>'
done
}
export MAIN_DIALOG='
<window title="Theme Icon Test" width-request="'$window_width'"
border-width="0" resizable="false">
<vbox spacing="0">
<menubar>
'"$(mnuCreate)"'
</menubar>
<hbox spacing="0" height-request="200">
'"$(pixCreate)"'
</hbox>
<hbox spacing="0" height-request="200">
'"$(btnCreate)"'
</hbox>
<hbox spacing="0" height-request="200">
'"$(treCreate)"'
</hbox>
</vbox>
<action signal="hide">exit:Exit</action>
</window>
'
$GTKDIALOG --center --program=MAIN_DIALOG
Thunor
- Attachments
-
- icon-names.txt.gz
- icon-names.txt required by the example (gunzip it)
- (655 Bytes) Downloaded 583 times
Last edited by thunor on Sat 27 Aug 2011, 22:40, edited 1 time in total.
- thunor
- Posts: 350
- Joined: Thu 14 Oct 2010, 15:24
- Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
- Contact:
You say "now you are not allowed to give it another label" but I wasn't aware that you could before. If a stock menuitem didn't have the label I wanted I would use a theme icon menuitem with a custom label which is what you've been doing and not having much joy with.zigbert wrote:...<menuitem icon="gtk-undo"> fails but setting <menuitem stock="gtk-undo"> will work - but now you are not allowed to give it another label than the stock-label. Even more strange is it that gtk-media-stop works with both icon and stock setting, while gtk-media-play only works with the stock.
I decided tonight to investigate making the menuitem operate similarly to the button widget whereby you can use a stock icon with a custom label and to my surprise I found that it was already possible! :
Code: Select all
<menuitem stock="gtk-undo" label="_Undo Something"
use-underline="true" accel-key="0x5a" accel-mods="4">
</menuitem>
This is news to me! I think that I should update my menuitem example and the one in the examples folder so that it's documented.
I'd still like to know though why some stock icons loaded as theme icons don't show. I'm going to see if I can find the answer to that.
Regards,
Thunor
Check out 09.03-tree_icon_columns in the examples.thunor wrote: I'd still like to know though why some stock icons loaded as theme icons don't show. I'm going to see if I can find the answer to that.
I was able to add the icons that do not show in your theme_icon_example.
I had also noticed missing icons, but after examining the one above, it shed light on things.
Still, it is interesting that some icons show and others do not.
Ok, it appears a bug has crept in.. (and got worse?)
Slacko Beta 1 ships with r220 that I compiled. I reverted to the original from the iso and this displays:
Not quite OK, I think.
When I just installed r241 I see what zigbert sees, definitely not OK!.
Hope this helps
Slacko Beta 1 ships with r220 that I compiled. I reverted to the original from the iso and this displays:
Not quite OK, I think.
When I just installed r241 I see what zigbert sees, definitely not OK!.
Hope this helps
Puppy Linux Blog - contact me for access
- thunor
- Posts: 350
- Joined: Thu 14 Oct 2010, 15:24
- Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
- Contact:
There's no bug and you are essentially seeing the same thing!01micko wrote:Ok, it appears a bug has crept in.. (and got worse?)
Slacko Beta 1 ships with r220 that I compiled. I reverted to the original from the iso and this displays:
[image]
Not quite OK, I think.
When I just installed r241 I see what zigbert sees, definitely not OK!.
Hope this helps
In r226 I "modified icon from theme code so that a gtk-missing-image is shown when an image isn't found" (not the tree widget as it's not under my control) so in >= r226 you will see a missing-image icon whereby prior to that you weren't
Look in the column under Menu1 in your screenshot and you can see the compressed buttons that are missing an image but you aren't seeing the missing-image icons, and look at the pixmaps above and you can't immediately tell that they are missing because again you aren't seeing the missing-image icons and the empty pixmaps have no dimension. You could tell though by looking in the tree widgets or in the menus and comparing, and creating a list to check against.
I recommend that you use the latest Gtkdialog (r241) so that we are all testing the same thing and looking at the same thing.
Also when testing it is important to be thorough which is why I compiled a list of the icons that aren't showing.
Anyway, seeing as most stock-icons-loaded-through-the-theme show from Gtkdialog's C code or the tree widget's GTK+ function with identical results , I'm investigating the theme. I'm working on this right now in fact and have some debugging messages dumped to the terminal:
Code: Select all
[root@ese:theme-icon-support]# ./theme-icon-test
widget_button_create(): error='Icon 'gtk-discard' not present in theme'
widget_button_create(): error='Icon 'gtk-goto-first' not present in theme'
widget_button_create(): error='Icon 'gtk-goto-last' not present in theme'
widget_button_create(): error='Icon 'gtk-go-back' not present in theme'
widget_button_create(): error='Icon 'gtk-go-forward' not present in theme'
widget_button_create(): error='Icon 'gtk-indent' not present in theme'
widget_button_create(): error='Icon 'gtk-jump-to' not present in theme'
widget_button_create(): error='Icon 'gtk-media-forward' not present in theme'
widget_button_create(): error='Icon 'gtk-media-next' not present in theme'
widget_button_create(): error='Icon 'gtk-media-play' not present in theme'
widget_button_create(): error='Icon 'gtk-media-previous' not present in theme'
widget_button_create(): error='Icon 'gtk-media-rewind' not present in theme'
widget_button_create(): error='Icon 'gtk-redo' not present in theme'
widget_button_create(): error='Icon 'gtk-revert-to-saved' not present in theme'
widget_button_create(): error='Icon 'gtk-undelete' not present in theme'
widget_button_create(): error='Icon 'gtk-undo' not present in theme'
widget_button_create(): error='Icon 'gtk-unindent' not present in theme'
EXIT="Exit"
[root@ese:theme-icon-support]#
Regards,
Thunor
- thunor
- Posts: 350
- Joined: Thu 14 Oct 2010, 15:24
- Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
- Contact:
Here's something that makes sense:zigbert wrote:that makes sense
The icons are built-in to GTK+ and in most cases the filenames are equivalent to their corresponding stock-ids except for the ones that I've noted as not showing for me in lupu-520 with GTK+ 2.20.0 using the Crux theme:
gtk-discard (this is not built-in, it's a known GTK+ "issue")
gtk-goto-first
gtk-goto-last
gtk-go-back
gtk-go-forward
gtk-indent
gtk-jump-to
gtk-media-forward
gtk-media-next
gtk-media-play
gtk-media-previous
gtk-media-rewind
gtk-redo
gtk-revert-to-saved
gtk-undelete
gtk-undo
gtk-unindent
The solution is to append every one of those stock-ids with "-ltr" or "rtl" which will give you the correct theme icon name. I can now see everything except gtk-discard.
I discovered this by looking at /usr/include/gtk-2.0/gtk/gtkstock.h
Now, I don't know the list of icons that are not showing in Slacko beta 1 because I haven't been given that information, but I can see from your screenshot that you can't see:
gtk-dialog-authentication
gtk-dialog-error
gtk-dialog-info
gtk-dialog-question
gtk-dialog-warning
gtk-discard (this is not built-in, it's a known GTK+ "issue")
gtk-goto-first
gtk-goto-last
gtk-go-back
gtk-info
gtk-jump-to
gtk-new
gtk-undelete
...
etc. etc..
Here's something that doesn't make sense: in Slacko beta 1 you can't see gtk-info, gtk-new or any of the gtk-dialog-* icons!!! In /usr/include/gtk-2.0/gtk/gtkstock.h you should see something like this:
Code: Select all
...
/**
* GTK_STOCK_NEW:
*
* The "New" item.
* <inlinegraphic fileref="gtk-new.png" format="PNG"></inlinegraphic>
*/
#define GTK_STOCK_NEW "gtk-new"
...
I've updated my icon_names.txt list a few posts back so you might want to download it and try the example again.
Regards,
Thunor
Hi Thunor... (excuse my dopiness , not a programmer at all, just a concreter, I tend to do silly things and ask silly questions)
Ok, (with ltr appended?) these are missing:
gtk-dialog-authentication
gtk-dialog-error
gtk-dialog-info
gtk-dialog-question
gtk-dialog-warning
gtk-disacard (known issue)
gtk-info
gtk-new
gtk-save
They all show ok in example 09.10
What do you think?
If it's a Slacko gtk issue I can certainly try to recompile. I'll go through the patches too. But I won't jump the gun .
Cheers
Ok, (with ltr appended?) these are missing:
gtk-dialog-authentication
gtk-dialog-error
gtk-dialog-info
gtk-dialog-question
gtk-dialog-warning
gtk-disacard (known issue)
gtk-info
gtk-new
gtk-save
They all show ok in example 09.10
What do you think?
If it's a Slacko gtk issue I can certainly try to recompile. I'll go through the patches too. But I won't jump the gun .
Cheers
Puppy Linux Blog - contact me for access
I have been playing with the example 09.03-tree_column_icons.
I modified it and made a support file called icon-names1.txt.
It shows all icons with their names except for gtk-discard which shows blank for the icon.
I also did not have to append -ltr or -rtl to any of the names for it.
If you want to play or use it as a reference, it is attached.
I modified it and made a support file called icon-names1.txt.
It shows all icons with their names except for gtk-discard which shows blank for the icon.
I also did not have to append -ltr or -rtl to any of the names for it.
If you want to play or use it as a reference, it is attached.
- Attachments
-
- All_gtk_icons.tar.gz
- Example that shows all GTK icons with names
- (1.4 KiB) Downloaded 299 times
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
This may be similar. I posted it in the tips thread a long time ago... Just something I keep handy to find the name of a stock icon... but could be useful
Code: Select all
#! /bin/sh
export MAIN_DIALOG='
<vbox><hbox>
<pixmap icon_size="6" tooltip-text="gtk-about"><input file stock="gtk-about"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-add"><input file stock="gtk-add"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-apply"><input file stock="gtk-apply"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-bold"><input file stock="gtk-bold"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-cancel"><input file stock="gtk-cancel"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-cdrom"><input file stock="gtk-cdrom"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-clear"><input file stock="gtk-clear"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-close"><input file stock="gtk-close"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-color-picker"><input file stock="gtk-color-picker"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-connect"><input file stock="gtk-connect"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-convert"><input file stock="gtk-convert"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-copy"><input file stock="gtk-copy"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-cut"><input file stock="gtk-cut"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-delete"><input file stock="gtk-delete"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-dialog-authentication"><input file stock="gtk-dialog-authentication"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-dialog-error"><input file stock="gtk-dialog-error"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-dialog-info"><input file stock="gtk-dialog-info"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-dialog-question"><input file stock="gtk-dialog-question"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-dialog-warning"><input file stock="gtk-dialog-warning"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-directory"><input file stock="gtk-directory"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-disconnect"><input file stock="gtk-disconnect"></input></pixmap>
</hbox><hbox>
<pixmap icon_size="6" tooltip-text="gtk-dnd"><input file stock="gtk-dnd"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-dnd-multiple"><input file stock="gtk-dnd-multiple"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-edit"><input file stock="gtk-edit"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-execute"><input file stock="gtk-execute"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-file"><input file stock="gtk-file"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-find"><input file stock="gtk-find"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-find-and-replace"><input file stock="gtk-find-and-replace"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-floppy"><input file stock="gtk-floppy"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-fullscreen"><input file stock="gtk-fullscreen"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-go-back"><input file stock="gtk-go-back"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-go-down"><input file stock="gtk-go-down"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-go-forward"><input file stock="gtk-go-forward"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-go-up"><input file stock="gtk-go-up"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-goto-bottom"><input file stock="gtk-goto-bottom"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-goto-first"><input file stock="gtk-goto-first"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-goto-last"><input file stock="gtk-goto-last"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-goto-top"><input file stock="gtk-goto-top"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-harddisk"><input file stock="gtk-harddisk"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-help"><input file stock="gtk-help"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-home"><input file stock="gtk-home"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-indent"><input file stock="gtk-indent"></input></pixmap>
</hbox><hbox>
<pixmap icon_size="6" tooltip-text="gtk-index"><input file stock="gtk-index"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-info"><input file stock="gtk-info"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-italic"><input file stock="gtk-italic"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-jump-to"><input file stock="gtk-jump-to"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-justify-center"><input file stock="gtk-justify-center"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-justify-fill"><input file stock="gtk-justify-fill"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-justify-left"><input file stock="gtk-justify-left"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-justify-right"><input file stock="gtk-justify-right"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-leave-fullscreen"><input file stock="gtk-leave-fullscreen"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-media-forward"><input file stock="gtk-media-forward"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-media-next"><input file stock="gtk-media-next"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-media-pause"><input file stock="gtk-media-pause"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-media-play"><input file stock="gtk-media-play"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-media-previous"><input file stock="gtk-media-previous"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-media-record"><input file stock="gtk-media-record"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-media-rewind"><input file stock="gtk-media-rewind"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-media-stop"><input file stock="gtk-media-stop"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-missing-image"><input file stock="gtk-missing-image"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-network"><input file stock="gtk-network"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-new"><input file stock="gtk-new"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-no"><input file stock="gtk-no"></input></pixmap>
</hbox><hbox>
<pixmap icon_size="6" tooltip-text="gtk-ok"><input file stock="gtk-ok"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-open"><input file stock="gtk-open"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-orientation-landscape"><input file stock="gtk-orientation-landscape"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-orientation-portrait"><input file stock="gtk-orientation-portrait"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-orientation-reverse-landscape"><input file stock="gtk-orientation-reverse-landscape"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-orientation-reverse-portrait"><input file stock="gtk-orientation-reverse-portrait"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-page-setup"><input file stock="gtk-page-setup"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-paste"><input file stock="gtk-paste"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-preferences"><input file stock="gtk-preferences"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-print"><input file stock="gtk-print"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-print-error"><input file stock="gtk-print-error"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-print-paused"><input file stock="gtk-print-paused"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-print-preview"><input file stock="gtk-print-preview"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-print-report"><input file stock="gtk-print-report"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-print-warning"><input file stock="gtk-print-warning"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-properties"><input file stock="gtk-properties"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-quit"><input file stock="gtk-quit"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-redo"><input file stock="gtk-redo"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-refresh"><input file stock="gtk-refresh"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-remove"><input file stock="gtk-remove"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-revert-to-saved"><input file stock="gtk-revert-to-saved"></input></pixmap>
</hbox><hbox>
<pixmap icon_size="6" tooltip-text="gtk-save"><input file stock="gtk-save"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-save-as"><input file stock="gtk-save-as"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-select-all"><input file stock="gtk-select-all"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-select-color"><input file stock="gtk-select-color"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-select-font"><input file stock="gtk-select-font"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-sort-ascending"><input file stock="gtk-sort-ascending"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-sort-descending"><input file stock="gtk-sort-descending"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-spell-check"><input file stock="gtk-spell-check"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-stop"><input file stock="gtk-stop"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-strikethrough"><input file stock="gtk-strikethrough"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-undelete"><input file stock="gtk-undelete"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-underline"><input file stock="gtk-underline"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-undo"><input file stock="gtk-undo"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-yes"><input file stock="gtk-yes"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-unindent"><input file stock="gtk-unindent"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-zoom-100"><input file stock="gtk-zoom-100"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-zoom-fit"><input file stock="gtk-zoom-fit"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-zoom-in"><input file stock="gtk-zoom-in"></input></pixmap>
<pixmap icon_size="6" tooltip-text="gtk-zoom-out"><input file stock="gtk-zoom-out"></input></pixmap>
</hbox>
<button cancel></button>
</vbox>
'
gtkdialog3 --program=MAIN_DIALOG
- Attachments
-
- stock_icons.png
- (35.13 KiB) Downloaded 819 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Hi technosaurus.
running r241 in Slacko B1 and my pic is identical to yours, no need to post.
running r241 in Slacko B1 and my pic is identical to yours, no need to post.
Puppy Linux Blog - contact me for access
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
technosaurus,
Just tried it, yes, handy.
One point about missing gtk or gnome stock icons. if you put an icon of the appropriate name at /usr/share/icons, then gtk will use it even though it is missing from the theme -- and maybe this would work for missing gtk-builtin icons also.
For example, in Woof: rootfs-skeleton/usr/share/icons/gnome-stock-trash.xpm (doesn't have to be .png).
Just tried it, yes, handy.
One point about missing gtk or gnome stock icons. if you put an icon of the appropriate name at /usr/share/icons, then gtk will use it even though it is missing from the theme -- and maybe this would work for missing gtk-builtin icons also.
For example, in Woof: rootfs-skeleton/usr/share/icons/gnome-stock-trash.xpm (doesn't have to be .png).
[url]https://bkhome.org/news/[/url]
Thunor,
13.37... FWIW.. I booted my Slackware-13.37 install, did an svn update and the results are identical to my last Slacko results.
Cheers
ps, the pic is ok in slackware techno..
13.37... FWIW.. I booted my Slackware-13.37 install, did an svn update and the results are identical to my last Slacko results.
Cheers
ps, the pic is ok in slackware techno..
Puppy Linux Blog - contact me for access
ok, works perfect in Mageia-1
- Attachments
-
- mageia.png
- (75.29 KiB) Downloaded 692 times
Puppy Linux Blog - contact me for access