No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Hello, I'm using wxwidgets under linux. When I use the wx.Toolbar I wraps around the largest icons on the toolbar. When I try to set the size of the icons (through SetToolBitmapSize) nothing changes. Any ideas why this doesnt work in my code? [code] self.Toolbar=wx.ToolBar(panel,-1,style=wx.NO_BORDER) self.Toolbar.SetToolBitmapSize((21,21)) self.Toolbar.AddTool(-1,wx.Bitmap('/home/bart/python/icons/open.png')) self.Toolbar.SetToolBitmapSize((28,28)) self.Toolbar.Realize() [/code] … | |
Hello, Is there a way to read an imagefile into a binary string? I know I can use [code]open(FILE,"rb")[/code] but this produces something unreadable that looks a bit like hexdata (I'm a newbie here :-). What I am trying to accomplish is to convert it to a string of ones … |
The End.