Re: top-level window's title bar handling
- From: Emil Nowak <emiml wp pl>
- To: gtkmm-list gnome org
- Subject: Re: top-level window's title bar handling
- Date: Fri, 5 Oct 2007 12:16:54 +0200
On 4-10-2007, at 11:19:18 Ofer Oshri wrote:
> hi,
> i am trying to disable the minimize/maximize/menu icons from the title bar
> of a top-level window (keeping only the close icon) with no luck. i thought
> the way to do it is through the gdk::window and its method set_decorations()
> but i could not access the top_window's gdk::window. is there a way to
> disable those icons from the title bar?
You can use
Glib::RefPtr<Gdk::Window> Gtk::Widget::get_window();
on your toplevel Gtk::Window.
> also, is there a way to know the
> height of the top-level window title bar?
probably it is not possible.
--
Pozdrowienia
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]