I know window-state-event is used to check whenever a window is
maximized. But is there a way to check whether a window has been
unmaximized. I don't want to check a window is in unmaximized state or
not. I want to check a window has been unmaximized when the
window-state-event is emitted. Any help
gtk_toolbar_set_style(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_BOTH_HORIZ);
both_horiz is not working for me. I'm only getting icons.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Sun, 2011-11-20 at 13:00 +0100, Bernhard Schuster wrote:
> Attach some output of your code please and offload big code pieces to
> pastie.org, susepaste.org or similar to keep this list readable.
>
> Regards
>
> Bernhard Schuster
Here is the code.. http://pastie.org/2892563.
I hope this exp
On Sun, 2011-11-20 at 12:57 +0100, Bernhard Schuster wrote:
> 2011/11/20 Dipesh Sudershan :
> > On Sun, 2011-11-20 at 12:29 +0100, Bernhard Schuster wrote:
> >> 2011/11/20 Dipesh Sudershan :
> >> > On Sun, 2011-11-20 at 11:55 +0100, Bernhard Schuster wrote:
> >
On Sun, 2011-11-20 at 12:29 +0100, Bernhard Schuster wrote:
> 2011/11/20 Dipesh Sudershan :
> > On Sun, 2011-11-20 at 11:55 +0100, Bernhard Schuster wrote:
> >> Screw it, replace the "|" with an "&". Sorry screwed this up.
> >>
> >> Regar
On Sun, 2011-11-20 at 11:55 +0100, Bernhard Schuster wrote:
> Screw it, replace the "|" with an "&". Sorry screwed this up.
>
> Regards
This is working fine. But i still can't solve the problem i have.
I have a gtkimage inside an eventbox. the eventbox inside a gtklayout
and finally the gtklayou
On Sun, 2011-11-20 at 10:37 +0100, Bernhard Schuster wrote:
> 2011/11/20 Dipesh Sudershan :
> > GdkEventWindowState
>
> According to this:
> http://developer.gnome.org/gdk/stable/gdk-Event-Structures.html#GdkWindowState
> and
> http://developer.gnome.org/gdk/stable/g
How do i check a window is maximized or not?
static gboolean window_state_event_handler(GtkWidget *window,
GdkEventWindowState *event)
{
}
GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
g_signal_connect(window, "window-state-event",
G_CALLBACK(window_state_event_handler), NULL);
I'm