menubar bevel

2005-06-06 Thread sudrien
Is there any way to remove the bevel from a Gtk::MenuBar? gtk-sharp and pygtk seem to think so... -Sud. ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

IconView and clicking

2005-06-03 Thread sudrien
now, though. I need to figure out where the person is left clicking - if the mouse is over an icon or not (and if it's over the icon, select it). This is to decide what the context popup looks like. So how do I get if/which ifon the mous

Changing widget styles

2005-05-16 Thread sudrien
I have two issues that are more a problem of style then function - but good style is important. 1. I have an eventbox, which I currently set the background color to white - like a textviw widget. But not all themes have white as their lighter color - where can I access this color information?

debugging Gtk-CRITICAL **: messages

2005-05-03 Thread Sudrien
I get the error (darimasen:14353): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed in rather predictable circumstances when running my program - but I can not figure out where it happens in the code - or *if* it is somthing in my own code to fix. Si

Accelerating a Menubar's MenuItems

2005-04-30 Thread Sudrien
It's fairly easy to add accelerators to items in a menu, while doing a push_back(). Is there a way to accelerate the top-level menus? Like, select Alt+1 and a menu opens (as in, it is not a letter in the menu title)? An example of menus being activated via keyboard? -Sud.

IconView customization

2005-04-24 Thread Sudrien
room that way - its like a large Homogenous table. HOw could I: 1. set the iconview's columns so they aren't homogenous? 2. Is there a way to test how wide the icon labels would be if they remain unwrapped? -Sudrien By the way, current code is at http://svn.berlios.de/viewcvs/darimase

Re: Signals to and from menus

2005-04-06 Thread Sudrien
- Original Message - > On Mon, 2005-04-04 at 15:52 -0500, Sudrien wrote: > > I have hacked away at the Gtk::Menu::popup() stuff to find that the way I > > am popping up menus can not control where they pop up. > > That should be possible. I think some of the pop

Signals to and from menus

2005-04-04 Thread Sudrien
I have hacked away at the Gtk::Menu::popup() stuff to find that the way I am popping up menus can not control where they pop up. *sigh* I come back to questions of when signals are emmited, and where to, beyond the scope of the libsigc++ documentation. 1. When you click a title in a menubar, obv

positioning menu popups

2005-03-29 Thread Sudrien
So I am reading in the documentaion that there is a function void Gtk::Menu::popup(const SlotPositionCalc&, guint, guint32) to position a popup. And I'm seeing the definition typedef sigc::slot Gtk::Menu::SlotPositionCalc Which I have no idea how to implement. I figure I'll get the position off

Accessing a Gtk::notebook page's child

2005-03-21 Thread Sudrien
I have a notebook called Tabber, each tab which has an object derived from an eventbox - a 'DaIconModes'. I'm trying to access a function in each of them in turn - SwitchHidden(). The function is called, but I get errors when there is any accessing of data. The ustring in the code below is the only

Re: Static signals (was:(no subject) )

2005-03-16 Thread Sudrien
> Message: 5 > Date: Wed, 16 Mar 2005 08:11:06 0100 > From: Antonio Coralles <[EMAIL PROTECTED]> > > I have a derived widget - derived from an EventBox. It has a funtion "void > > doShowHidden(bool);". > > > > There are several instances of these derived widgets on different notebook > > pages -

Re: Static signals (was:(no subject) )

2005-03-16 Thread Sudrien
> Message: 5 > Date: Wed, 16 Mar 2005 08:11:06 0100 > From: Antonio Coralles <[EMAIL PROTECTED]> > > I have a derived widget - derived from an EventBox. It has a funtion "void > > doShowHidden(bool);". > > > > There are several instances of these derived widgets on different notebook > > pages -

(no subject)

2005-03-15 Thread Sudrien
I have a derived widget - derived from an EventBox. It has a funtion "void doShowHidden(bool);". There are several instances of these derived widgets on different notebook pages - so it is not easy to get direct access to them. So is is possible that I could call all their doShowHidden(bool) funct

re-using menus

2005-02-22 Thread Sudrien
Yet another not-a-normal-use. I have a menu filled with several Gtk::MenuItems that have been attatch()ed in various places. One of the functions of this menu alters its own content - which I have almost gotten to work. I can tell because it has exactly the right height - bu no text. The menu is

Gtk::notebook - switching tabs changes stuff outside?

2005-02-19 Thread Sudrien
http://svn.berlios.de/viewcvs/darimasen/trunk/src/darimasen.cpp?rev=27&view=markup if additional reference is needed... I have a Gtk::Notebook, "tabber", which shows the contents of different directories in different tabs. I want to change items outside tabber when a different tab is selected -

Gtk::Toolbar has overflow?

2005-01-27 Thread Sudrien
Ok, this is a follow up to question to the signal_size_allocate() answer; I used that call to try and determine if there was enough spce to properly display a toolitem with the overflow menu enabled. The calculation is 6 pixels off. I figure it's a theme issue, which isn't easily fixed. So is the

Re: How to find width of a menubar?

2005-01-26 Thread Sudrien
Yes, that does get set off a lot - but The window already has its own on_configure_event, so I expected it to happen frequently. But not that frequently. Wow. At least it gives the immediate responce I needed - now just to figure out exactly when I need it. Thank you. -Sudrien

How to find width of a menubar?

2005-01-25 Thread Sudrien
I have a menubar in a toolbar item, with buttons on either side. I have no idea how wide this menu will be, and I find if it gets too wide, first the buttons go into an overflow menu, and then the menubar dissapears altogether. If I knew the width of the menubar, I could modify its contents so ev