コード例 #1
0
        public int GetGroupPosition(Gtk.ToolItemGroup group)
        {
            int raw_ret = gtk_tool_palette_get_group_position(Handle, group == null ? IntPtr.Zero : group.Handle);
            int ret     = raw_ret;

            return(ret);
        }
コード例 #2
0
        public bool GetExpand(Gtk.ToolItemGroup group)
        {
            bool raw_ret = gtk_tool_palette_get_expand(Handle, group == null ? IntPtr.Zero : group.Handle);
            bool ret     = raw_ret;

            return(ret);
        }
コード例 #3
0
        public Gtk.ToolItemGroup GetDropGroup(int x, int y)
        {
            IntPtr raw_ret = gtk_tool_palette_get_drop_group(Handle, x, y);

            Gtk.ToolItemGroup ret = GLib.Object.GetObject(raw_ret) as Gtk.ToolItemGroup;
            return(ret);
        }
コード例 #4
0
 public void SetGroupPosition(Gtk.ToolItemGroup group, int position)
 {
     gtk_tool_palette_set_group_position(Handle, group == null ? IntPtr.Zero : group.Handle, position);
 }
コード例 #5
0
 public void SetExpand(Gtk.ToolItemGroup group, bool expand)
 {
     gtk_tool_palette_set_expand(Handle, group == null ? IntPtr.Zero : group.Handle, expand);
 }
コード例 #6
0
 public void SetExclusive(Gtk.ToolItemGroup group, bool exclusive)
 {
     gtk_tool_palette_set_exclusive(Handle, group == null ? IntPtr.Zero : group.Handle, exclusive);
 }